LP1895398 Bootstrap OPAC Follow Up #2
authorChris Burton <cburton@nflibrary.ca>
Fri, 25 Sep 2020 12:10:42 +0000 (08:10 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 7 Oct 2020 15:29:45 +0000 (11:29 -0400)
1) Fix some whitespace issues
2) Move CSS for language pickuper to style.css.tt2

Signed-off-by: Chris Burton <cburton@nflibrary.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2
Open-ILS/src/templates-bootstrap/opac/parts/css/colors.tt2
Open-ILS/src/templates-bootstrap/opac/parts/pref_locale_picker.tt2

index 3027831..403a9f9 100755 (executable)
@@ -3991,6 +3991,23 @@ label[for*=expert_]
     color: #424fa6;
 }
 
-#locale_picker_form label {
-    color: #fff;
+.language_form button {
+    background:none;
+    border:none;
+    margin:0;
+    padding:0;
+    color:[% css_colors.footer_link %];
+}
+.language_form button:disabled {
+    color:[% css_colors.footer_link_disabled %];
 }
+.language_form ul{
+    list-style:none;
+}
+.language_form h6{
+    color:[% css_colors.footer_link %];
+        }
+.language_form{
+    float: right;
+padding: 15px;
+}
\ No newline at end of file
index 622fe57..6367281 100755 (executable)
@@ -4,14 +4,15 @@
 
 #The counts that appear in the navigation when signed into the OPAC -EX. X Ready For Pickup where x is the modified number
 
-            zero_count = "#c1ffbf", #Logged in item/charges count at 0
+        zero_count = "#c1ffbf", #Logged in item/charges count at 0
         non_zero_count = "#ffc107", #Logged in item/charges count NOT at 0
 
-            facets_back = "#006042", #search list facet backgrounds
+        facets_back = "#006042", #search list facet backgrounds
         facets_text = "#fff",
-            footer_link = "#fff",
+        footer_link = "#fff",
+        footer_link_disabled = "#000",
 
-            nav_separation = "#007a54",
+        nav_separation = "#007a54",
         header_primary = "#007a54", #Primary Header Color
         header_primary_fade = "#007a54", #Fade Header Color, make equal to header_primary for no fade
         footer_primary = "#007a54", #Primary Footer Color
index 63c8acc..a188a64 100755 (executable)
@@ -6,29 +6,7 @@
 
     set_locale = CGI.param('set_eg_locale') || CGI.cookie('eg_locale') || base_locale;
 %]
-<style>.language_form button {
-    background:none;
-    border:none;
-    margin:0;
-    padding:0;
-    color:#fff;
-}
-.language_form button:disabled {
-    color:#000;
-}
-    .language_form ul{
-        list-style:none;
-       
-    }
-    .language_form h6{
-        color: #fff;
-            }
-    .language_form{
-        float: right;
-    padding: 15px;
-    }
-    
-</style>
+
 <form id="pref_locale_picker_form" class="language_form" action="[% mkurl() %]" method="post">
     <h6><i class="fas fa-globe"></i> [% l("Language") %]</h6>
     [%- FOREACH param IN CGI.params(); -%]