From 02409d3b99fe7601cf5ed03d07b03112f2fe0c38 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Wed, 2 Sep 2009 22:35:54 -0600 Subject: Fix bg images in tables bug in webkit and ie. #718 --- modules/gallery/views/admin_maintenance.html.php | 8 ++-- themes/admin_default/css/screen.css | 47 ++++++++++++------------ 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/modules/gallery/views/admin_maintenance.html.php b/modules/gallery/views/admin_maintenance.html.php index 4bca8653..ce693d73 100644 --- a/modules/gallery/views/admin_maintenance.html.php +++ b/modules/gallery/views/admin_maintenance.html.php @@ -7,7 +7,7 @@

- +
- "> + severity) ?>"> @@ -69,7 +69,7 @@ - "> + state == "stalled" ? "gWarning" : "" ?>"> @@ -142,7 +142,7 @@ - "> + state == "success" ? "gSuccess" : "gError" ?>"> diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 24328133..c81db58d 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -356,48 +356,47 @@ li.gError select { .gInfo, .gSuccess, .gWarning { - background-position: .4em 50%; - background-repeat: no-repeat; padding: .4em .5em .4em 30px; } -.gError { - background-color: #f6cbca; - background-image: url('../images/ico-error.png'); +.gError, tr.gError td.gError { + background: #f6cbca url('../images/ico-error.png') no-repeat .4em 50%; } .gInfo { - background-color: #e8e8e8; - background-image: url('../images/ico-info.png'); + background: #e8e8e8 url('../images/ico-info.png') no-repeat .4em 50%; } .gSuccess { - background-color: #d9efc2; - background-image: url('../images/ico-success.png'); + background: #d9efc2 url('../images/ico-success.png') no-repeat .4em 50%; } -.gWarning { - background-color: #fcf9ce; - background-image: url('../images/ico-warning.png'); +.gWarning, tr.gWarning td.gWarning { + background: #fcf9ce url('../images/ico-warning.png') no-repeat .4em 50%; +} + +.gPager .gInfo, +tr.gError, +tr.gInfo, +tr.gSuccess, +tr.gWarning { + background: none; } -table .gError { - background-color: #f6cbca !important; +.gInfo td.gInfo { + background-color: transparent; } -table .gWarning { - background-color: #fcf9ce !important; +.gSuccess td.gSuccess { + background-color: transparent; } -.gPager .gInfo, -form .gError, -table .gInfo, -table .gSuccess { - background-color: transparent !important; +.gError td { + background-color: #f6cbca; } -.gPager .gInfo { - background-image: none !important; +.gWarning td { + background-color: #fcf9ce; } /* Inline layout (forms, lists) ~~~~~~~~~~ */ @@ -643,7 +642,7 @@ li.gGroup { li.gGroup h4 { background-color: #eee; - border-bottom: 1px dashed ccc; + border-bottom: 1px dashed #ccc; padding: .5em 0 .5em .5em; } li.gGroup .gButtonLink { -- cgit v1.2.3
@@ -21,7 +21,7 @@
name ?>
"> updated) ?>
"> updated) ?>