Modifications to the TTPac color scheme
authorMichael Peters <mrpeters@library.in.gov>
Thu, 19 Jan 2012 17:54:34 +0000 (12:54 -0500)
committerMichael Peters <mrpeters@library.in.gov>
Thu, 19 Jan 2012 17:58:35 +0000 (12:58 -0500)
Tweaked the buttons, gradients, etc. in TTPac to eradicate the blue/grey elements.

Began with the Evergreen Logo's official color (Pantone 340 as found at http://www.georgialibraries.org/lib/pines/evergreenlogo/)
and complimented the colors accordingly, replacing dark blues with dark greens, light blues with light greens, etc.

This also adds two new selectors in styles.css to control the logo placement.  Logos were also centered on the page, rather than being crowded
into neighboring elements.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/templates/opac/parts/homesearch.tt2
Open-ILS/src/templates/opac/parts/topnav_logo.tt2
Open-ILS/web/css/skin/default/opac/style.css

index 0a8b7a8..c267482 100644 (file)
        <event code="7024" textcode="HOLD_RESERVATION_CONFLICT">
                <desc xml:lang="en-US">Both a hold and a reservation exist for this item; staff intervention is required to resolve the conflict.</desc>
        </event>
-
+        <event code='7025' textcode='MERGED_USER_IN_COLLECTIONS'>
+                <desc xml:lang="en-US">You cannot merge a patron who has been sent to collections.  Please resolve the collections status before attempting to merge.</desc>
+        </event>
 
 
        <!-- ================================================================ -->
index 4ed9017..e99e1b1 100644 (file)
@@ -1,3 +1,3 @@
-<div style='width:664px;height:35px;background:#FFFFFF;'>
+<div id="homesearch_main_logo">
     <strong><center><img src="[% ctx.media_prefix %]/opac/images/main_logo.png" /></center></strong>
 </div>
index cd067d6..74a7474 100644 (file)
@@ -1,2 +1,2 @@
-        <a href="http://evergreen-ils.org"><img alt="[% l('Evergreen Logo') %]" 
-            src="[% ctx.media_prefix %]/opac/images/small_logo.png" /></a>
+        <div id="topnav_logo"><a href="http://evergreen-ils.org"><img alt="[% l('Evergreen Logo') %]" 
+            src="[% ctx.media_prefix %]/opac/images/small_logo.png" /></a></div>
index 62eb298..81a3ffa 100644 (file)
@@ -2,15 +2,23 @@ body {
        margin:0;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
-       background: #252525;
+       background: #00593d;
 }
 
 img {
        border: none;
 }
 
+#topnav_logo {
+       padding-bottom: 25px;
+}
+
+#homesearch_main_logo {
+        padding-top: 60px;
+}
+
 a {
-       color: #003399;
+       color: #00593d;
 }
 
 #search-wrapper input[type=text] {
@@ -83,7 +91,7 @@ div.select-wrapper:hover {
 #dash_wrapper div {
        position: relative;
     vertical-align: middle;
-    background: #252525;
+    background: #00593d;
     border-radius: 5px;
     height: 3em;
     padding: 0em 1em 0em 1em;
@@ -93,14 +101,14 @@ span.dash_divider {
     margin: 0em 1em 0em 1em;
        position: relative;
     top: 10px;
-    color: black;
+    color: #007a54;
 }
 
 #dashboard {
        clear:both;
        float:right;
     margin-top: 1em;
-    background: #252525;
+    background: #00593d;
     border-radius: 5px;
     height: 3em;
 }
@@ -108,6 +116,7 @@ span.dash_divider {
 #dashboard span.dash-align a {
        font-weight: bold;
        position: relative;
+       text-decoration: none;
     top: 10px;
 }
 
@@ -125,11 +134,11 @@ span.dash_divider {
 #dash_pickup { color: #1dd93c; }
 #dash_fines { color: #f41d36; }
 #header-wrap {
-    background: linear-gradient(lightGreen, #252525);
-    background: -moz-linear-gradient(lightGreen, #252525);
-    background: -o-linear-gradient(lightGreen, #252525);
-    background: -webkit-linear-gradient(lightGreen, #252525);
-    background-color: lightGreen;
+    background: linear-gradient(#00593d, #007a54);
+    background: -moz-linear-gradient(#00593d, #007a54);
+    background: -o-linear-gradient(#00593d, #007a54);
+    background: -webkit-linear-gradient(#00593d, #007a54);
+    background-color: #007a54;
 }
 #header {
        color: #fff;
@@ -148,7 +157,7 @@ span.dash_divider {
 }
 
 #header-links {
-       color: #afafaf;
+       color: white;
        font-size: 11px;
        font-weight: bold;
        position: relative;
@@ -157,7 +166,7 @@ span.dash_divider {
 }
 
 #header-links a {
-       color: #afafaf;
+       color: white;
        display: block;
        float:left;
        margin-right:22px;
@@ -165,6 +174,7 @@ span.dash_divider {
 
 #header-links a:hover {
        color: white;
+       text-shadow: 0 0 0.2em #00593d, 0 0 0.2em #00593d;
        text-decoration: none;
 }
 
@@ -272,30 +282,39 @@ span.dash_divider {
     display: block;
     margin: 10px 7px 10px 0px;
     padding: 10px 0px 10px 0px;
-    -moz-border-radius: 7px 7px 0px 0px; 
-    border-radius: 7px 7px 0px 0px;
+    -moz-border-radius: 10px 10px 0px 0px; 
+    border-radius: 10px 10px 0px 0px;
     font-weight: bold;
-    color: #45709b;
-    background: #9ad0f1;
+    color: white;
+    background: #69A088;
     font-weight: bold;
+    text-decoration: none;
 }
 
 #adv_search_tabs a, #acct_tabs a, #acct_fines_tabs a {
     padding: 1em 1em 0.5em;
 }
 
+#adv_search_tabs a:hover, #acct_tabs a:hover, #acct_fines_tabs a:hover, #acct_checked_tabs a:hover, #acct_holds_tabs a:hover, #acct_prefs_tabs a:hover {
+    background: #00593d; 
+    color: white;
+    text-decoration: none;
+}
+
 #adv_search.on, #num_search.on, #expert_search.on {
     color: #333333;
     background: white;
+    text-decoration: none;
 }
 
 #adv_search_tabs a.acct-tab-on, #acct_tabs a.acct-tab-on, #acct_fines_tabs a.acct-tab-on {
     color: #333333;
     background: white;
+    text-decoration: none;
 }
 
 .acct-tab-off {
-    background: #9ad0f1;
+    background: #69A088;
 }
 
 #acct_checked_tabs a, #acct_holds_tabs a, #acct_prefs_tabs a {
@@ -322,7 +341,7 @@ span.dash_divider {
 }
 
 #rdetail_results a {
-    color:#074079;
+    color:#007a54;
     font-weight:bold;
     font-size: 1.2em;
 }
@@ -708,7 +727,7 @@ div.format_icon {
 .results_header_nav1 .h1 {
        font-size:14px;
        font-weight:bold;
-       color:#074079;
+       color:#007a54;
 }
 
 .start_end_links_span {
@@ -811,7 +830,7 @@ div.result_place_hold {
        height:22px;
        font-size:14px;
        font-weight:bold;
-       color:#074079;
+       color:#007a54;
        padding: 0px 7px 0px 0px;
        border-bottom: 1px dotted #ccc;
 }
@@ -909,8 +928,7 @@ div.result_place_hold {
 }
 
 #myopac_tabs, #adv_search_parent, #fines_payments_wrapper {
-       background: #929292;
-       border-top:1px solid #8b8b8b;
+       background: #007a54;
        padding-top:5px;
        margin-bottom:20px;
 }
@@ -985,7 +1003,7 @@ div.facet_sidebar {
        overflow:hidden;
        background:url('/images/facet_box_bg.png') no-repeat;
        font-weight:bold;
-       color:#074079;
+       color:#007a54;
        padding-top:4px;
 }
 
@@ -1047,11 +1065,11 @@ div.facet_sidebar {
 }
 
 #footer-wrap {
-    background: linear-gradient(lightGreen, #252525);
-    background: -moz-linear-gradient(lightGreen, #252525);
-    background: -o-linear-gradient(lightGreen, #252525);
-    background: -webkit-linear-gradient(lightGreen, #252525);
-    background-color: lightGreen;
+    background: linear-gradient(#007a54, #00593d);
+    background: -moz-linear-gradient(#007a54, #00593d);
+    background: -o-linear-gradient(#007a54, #00593d);
+    background: -webkit-linear-gradient(#007a54, #00593d);
+    background-color: #00593d;
 }
 
 #footer {
@@ -1062,7 +1080,9 @@ div.facet_sidebar {
 }
 
 #footer a {
-       color: black;
+       color: white;
+       text-decoration: none;
+       text-shadow: 0 0 0.2em #00593d, 0 0 0.2em #00593d;
 }
 
 .color_4 {
@@ -1089,7 +1109,7 @@ div.facet_sidebar {
 .row-remover { position: relative; top: 1px; vertical-align: middle; }
 .subtle-button {
     background-color: #ffffff;
-    color: #003399; text-decoration: none;
+    color: #00593d; text-decoration: none;
     font-size: 12px;
     padding: 0; border: 0; margin: 0;
     vertical-align: middle;
@@ -1155,9 +1175,10 @@ a.dash-link:hover { text-decoration: underline !important; }
 .opac-button, .results_header_btns, #simple-detail-view-links { 
     color: white; 
     font-weight: bold; 
-    -moz-border-radius: 5%;
-    border-radius: 5%;
-    background: #1784c7; 
+    text-decoration: none;
+    -moz-border-radius: 5px;
+    border-radius: 5px;
+    background: #69A088; 
 }
 
 .results_header_btns a, #simple-detail-view-links a {
@@ -1340,3 +1361,8 @@ table.bookbag-specific {
 .result-bookbag-description { font-size: 120%; font-style: italic; }
 .result-bookbag-item-note { font-style: italic; }
 .lowhits-bookbag-name { font-weight: bold; }
+
+
+#copyright_text, #footer_logo {
+    color: white;
+}