LP#1681943: Use variables for CSS colors
authorBen Shum <ben@evergreener.net>
Tue, 2 May 2017 02:27:10 +0000 (22:27 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 18 Aug 2017 12:00:35 +0000 (08:00 -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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/css/style.css.tt2

index 092640d..3ba4634 100644 (file)
@@ -626,7 +626,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 %]
@@ -2686,7 +2686,7 @@ div.result_table_utils {
         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 {
@@ -2707,7 +2707,7 @@ div.result_table_utils {
     }
     .bbag-content {
         padding:5px;
-        border:1px #ccc solid;
+        border:1px solid [% css_colors.accent_light %];
     }
     .bbag-action {
         margin-left:0px;