LP#1681943: Use variables for CSS colors
authorBen Shum <ben@evergreener.net>
Tue, 2 May 2017 02:27:10 +0000 (22:27 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 9 Jun 2017 16:11:36 +0000 (12:11 -0400)
There were some hardcoded references to #ccc in the stylesheet, and
those should be variables like [% css_colors.accent_light %] instead.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>

Open-ILS/src/templates/opac/css/style.css.tt2

index 8165392..fbcbeea 100644 (file)
@@ -594,7 +594,7 @@ span#rdetail_hold_counts p {
 .rdetail_aux_utils {
     padding-bottom: 6px;
     [% IF rtl == 't' -%]
-    border-right: 1px dotted #ccc;
+    border-right: 1px dotted [% css_colors.accent_light %];
     padding-right:17px;
     padding-left:70px;
     [%- ELSE %]
@@ -2600,7 +2600,7 @@ a.preflib_change {
         width: 95%;
         margin: 5px 0px 5px 0px;
         text-align: left;
-        border: 1px #ccc solid;
+        border: 1px solid [% css_colors.accent_light %];
         padding:5px;
     }
     .bookbag-specific div.meta {
@@ -2621,7 +2621,7 @@ a.preflib_change {
     }
     .bbag-content {
         padding:5px;
-        border:1px #ccc solid;
+        border:1px solid [% css_colors.accent_light %];
     }
     .bbag-action {
         margin-left:0px;