[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. a5d6c259f02f894dc9a67df291dd702387149ed2

Evergreen Git git at git.evergreen-ils.org
Fri Oct 25 23:32:48 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  a5d6c259f02f894dc9a67df291dd702387149ed2 (commit)
      from  4cb4ab7aa8f68799b1b4c0df4447d7f252c2d5d1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a5d6c259f02f894dc9a67df291dd702387149ed2
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Fri Oct 25 15:55:40 2013 -0400

    Tweak TPAC header layout styles
    
    The TPAC header relies heavily on fixed pixel measurements and relative
    positioning, which makes it fragile and overly difficult to customize.
    
    To improve the situation, we can greatly reduce the number of styles
    while still achieving the same overall effect.
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2
index 03c59bf..35319fd 100644
--- a/Open-ILS/src/templates/opac/css/style.css.tt2
+++ b/Open-ILS/src/templates/opac/css/style.css.tt2
@@ -20,7 +20,7 @@ img {
 }
 
 #topnav_logo {
-    padding-bottom: 25px;
+    margin: 2em 0;
 }
 
 #homesearch_main_logo {
@@ -93,48 +93,31 @@ div.select-box-wrapper {
     text-align:left;
 }
 
-#dash_wrapper {
-    position: relative;
-    top: -2em;
-}
-
 #dash_wrapper div {
-    position: relative;
-    vertical-align: middle;
     background: [% css_colors.primary %];
     border-radius: 5px;
-    height: 3em;
-    padding: 0em 1em 0em 1em;
+    padding: 0em 1em;
 }
 
-span.dash_divider {
-    margin: 0em 1em 0em 1em;
-    position: relative;
-    top: 10px;
+.dash_divider {
+    margin: 1em;
     color: [% css_colors.primary_fade %];
+    display:inline-block;
 }
 
 #dashboard {
-    clear:both;
-    float:right;
     margin-top: 1em;
-    background: [% css_colors.primary %];
-    border-radius: 5px;
     height: 3em;
 }
 
 #dashboard span.dash-align a {
     font-weight: bold;
     text-decoration: none;
-    position: relative;
-    top: 10px;
 }
 
 #dash_user {
     font-weight: bold;
     text-transform: capitalize;
-    position: relative;
-    top: 10px;
 }
 
 #logout_link { left: 1px; }
@@ -152,8 +135,8 @@ span.dash_divider {
 }
 #header {
     color: [% css_colors.background %];
-    padding-top: 26px;
     margin-left: 1em;
+    margin-right: 1em;
     font-size: [% css_fonts.size_small %];
 }
 
@@ -204,8 +187,8 @@ span.dash_divider {
     text-decoration: underline;
 }
 
-#header #your-acct-login {
-    padding-top:10px;
+#your-acct-login {
+    padding-top:2em;
 }
 
 #gold-links {
@@ -1269,7 +1252,6 @@ button.opac-button::-moz-focus-inner, input.opac-button::-moz-focus-inner {
     background: [% css_colors.control %];
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
     font-size: [% css_fonts.size_base %];
-    display:inline;
 }
 a.opac-button-header:hover, #dash_wrapper a.opac-button:hover {
     border-color: [% css_colors.control %];
@@ -1279,11 +1261,6 @@ a.opac-button-header:hover, #dash_wrapper a.opac-button:hover {
     display: inline-block;
 }
 
-#dash_wrapper .opac-button {
-    position: relative;
-    top: 10px;
-}
-
 #myopac_checked_div {
     padding: 0px;
 }
@@ -1738,14 +1715,14 @@ a.preflib_change {
     }
     #your-acct-login {
         padding: 0px;
-        padding-top: 10px;
+        padding-top: 5px;
     }
     #your-acct-login a {
         margin: 0px;
         padding: 5px;
     }
     #topnav_logo {
-        padding: 0px;
+        margin: 0;
     }
     #topnav_logo img {
         width: 200px;
@@ -1922,6 +1899,10 @@ a.preflib_change {
     .mobile_hide {
 	display: none;
     } 
+    #dash_user {
+        display: block;
+        padding: 0.5em;
+    }
     .dash_divider {
 	display: none;
     }

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/css/style.css.tt2 |   47 +++++++-----------------
 1 files changed, 14 insertions(+), 33 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list