LP1054053 - Fix login area background for Internet Explorer user/bshum/login_css
authorBen Shum <bshum@biblio.org>
Sun, 2 Sep 2012 09:44:22 +0000 (05:44 -0400)
committerBen Shum <bshum@biblio.org>
Sun, 20 Jan 2013 06:51:08 +0000 (01:51 -0500)
Unlike Firefox, Chrome, etc. Internet Explorer does not display the login
area background.

This commit adds the necessary piece to enable a gradient background. Also,
the "eee" for accent_lightest needed to be set to "eeeeee" otherwise IE
rendered the gradient background darker than expected.

Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/css/colors.tt2

index 145368a..e66e5fc 100644 (file)
@@ -547,6 +547,7 @@ div.format_icon {
     background: -ms-linear-gradient(bottom, [% css_colors.accent_ultralight %] 15%, [% css_colors.accent_lightest %] 55%, [% css_colors.accent_ultralight %] 85%);
     background: -o-linear-gradient(bottom, [% css_colors.accent_ultralight %] 15%, [% css_colors.accent_lightest %] 55%, [% css_colors.accent_ultralight %] 85%);
     background: -webkit-linear-gradient(bottom, [% css_colors.accent_ultralight %] 15%, [% css_colors.accent_lightest %] 55%, [% css_colors.accent_ultralight %] 85%);
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=[% css_colors.accent_ultralight %], endColorstr=[% css_colors.accent_lightest %]);
 
     color: [% css_colors.accent_darker %];
 }
index eda641d..e1e03d7 100644 (file)
@@ -19,7 +19,7 @@
         accent_light = "#ccc", #  grey (light)
         accent_lighter = "#ddd", #  grey (lighter)
         accent_lighter2 = "#d8d8d8", #  grey (lighter again)
-        accent_lightest = "#eee", #  grey (lightest)
+        accent_lightest = "#eeeeee", #  grey (lightest)
         accent_ultralight = "#f0f0f0", # ivory
         accent_medium = "#999", # gun metal grey (medium)
         accent_mediumdark = "#888", # gun metal grey (medium dark)