Clean up and re-style AlgomaU's OPAC templates.
authorRick Scott <rick@shadowspar.dyndns.org>
Thu, 30 Aug 2012 20:13:25 +0000 (16:13 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 8 May 2013 15:25:29 +0000 (11:25 -0400)
In addition to adding the same graphical header so that the OPAC
more closely resembles the new Wishart website, this change
incorporates several smaller fixes:
    * replace the AlgomaU "small university/big education" logo
      with the small AlgomaU wordmark
    * center the logo via CSS, not <center>
    * fix vertical centering of the "your account log in" text --
      needs margins only left & right, not on all 4 sides
    * replace border on the user/pass input boxen so that they
      are visible once again.

Signed-off-by: Rick Scott <rick@shadowspar.dyndns.org>
Open-ILS/src/templates_algoma/opac/css/style.css.tt2
Open-ILS/src/templates_algoma/opac/parts/css/colors.tt2
Open-ILS/src/templates_algoma/opac/parts/homesearch.tt2
Open-ILS/web/opac/images/au-header-bg.jpg [new file with mode: 0644]
Open-ILS/web/opac/images/au_bigsmall.jpg [deleted file]
Open-ILS/web/opac/images/au_logo.png
Open-ILS/web/opac/images/au_wordmark.png [new file with mode: 0644]

index 0a38a9d..5303cbd 100644 (file)
@@ -17,6 +17,7 @@ img {
 
 #homesearch_main_logo {
         padding-top: 60px;
+        text-align: center;
 }
 
 a {
@@ -146,6 +147,8 @@ span.dash_divider {
     background: -o-linear-gradient([% css_colors.primary %], [% css_colors.primary_fade %]);
     background: -webkit-linear-gradient([% css_colors.primary %], [% css_colors.primary_fade %]);
     background-color: [% css_colors.primary_fade %];
+    background-image: url("/opac/images/au-header-bg.jpg");
+    background-repeat: repeat-x;
 }
 #header {
        color: [% css_colors.background %];
@@ -217,7 +220,8 @@ span.dash_divider {
 
 #gold-links-holder {
     height: 24px;
-    background: [% css_colors.background_invert %];
+    position: absolute;
+    top: 135px;
 }
 
 #util-bar {
@@ -673,7 +677,6 @@ div.format_icon {
        height:18px;
        margin:0;
        padding:0;
-       border:none;
        background: none;
        font-size: 15px;
        color: [% css_colors.accent_medium %];
@@ -1390,8 +1393,14 @@ table.bookbag-specific {
     height: 15px;
 }
 .alert { color: [% css_colors.text_alert %]; }
+
 .float-left { float: left; }
-.float-right { float: right; margin:15px;}
+
+.float-right { 
+    float: right; 
+    margin-left: 15px;
+    margin-right: 15px;
+}
 
 .saved-searches-header { width: 100%; font-weight: bold; font-size: 120%; }
 .saved-searches-header .button { float: right; width: 28px; }
index a2ba254..d9d28a9 100644 (file)
@@ -11,8 +11,8 @@
         text_goodnews = "#1dd93c", # lime green
         text_invert = "#fff", # white
         text_match = "#c00", # deep red
-        primary = "#c94842", # tomato red
-        primary_fade = "#d46d68", # tomato red (light)
+        primary = "#7d0417", # algomau maroon 
+        primary_fade = "#aa0417", # algomau red (brighter)
         control = "#ccc", # grey (light)
         accent_light = "#ccc", #  grey (light)
         accent_lighter = "#ddd", #  grey (lighter)
index 75d5c88..98bf3d1 100644 (file)
@@ -1,3 +1,5 @@
 <div id="homesearch_main_logo">
-    <strong><center><a href="http://experience.algomau.ca"><img src="[% ctx.media_prefix %]/opac/images/au_bigsmall.jpg" /></a></center></strong>
+    <a href="http://algomau.ca/">
+        <img src="[% ctx.media_prefix %]/opac/images/au_wordmark.png" />
+    </a>
 </div>
diff --git a/Open-ILS/web/opac/images/au-header-bg.jpg b/Open-ILS/web/opac/images/au-header-bg.jpg
new file mode 100644 (file)
index 0000000..fd9125c
Binary files /dev/null and b/Open-ILS/web/opac/images/au-header-bg.jpg differ
diff --git a/Open-ILS/web/opac/images/au_bigsmall.jpg b/Open-ILS/web/opac/images/au_bigsmall.jpg
deleted file mode 100644 (file)
index 4964706..0000000
Binary files a/Open-ILS/web/opac/images/au_bigsmall.jpg and /dev/null differ
index c8a704c..07af0dc 100644 (file)
Binary files a/Open-ILS/web/opac/images/au_logo.png and b/Open-ILS/web/opac/images/au_logo.png differ
diff --git a/Open-ILS/web/opac/images/au_wordmark.png b/Open-ILS/web/opac/images/au_wordmark.png
new file mode 100644 (file)
index 0000000..af3a951
Binary files /dev/null and b/Open-ILS/web/opac/images/au_wordmark.png differ