TPAC: More button consolidation collab/dbs/responsive-tpac
authorDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:18:54 +0000 (18:18 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:18:54 +0000 (18:18 -0400)
Let's make the logged-in 'dash' button look the same as the button
which got us there.  Also, make both buttons more visible when
hovering.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/css/style.css.tt2

index 2e02894..7806d16 100644 (file)
@@ -1242,12 +1242,9 @@ a.dash-link:hover { text-decoration: underline !important; }
 }
 
 .opac-multiline-button > a:hover,
-.opac-button:hover, .results_header_btns a:hover, #simple-detail-view-links a:hover {
+.opac-button:hover, .results_header_btns a:hover, #simple-detail-view-links a:hover, #dash_wrapper a.opac-button:hover {
     background: [% css_colors.primary %];
 }
-.dash_account_buttons a:hover {
-    background: [% css_colors.primary_offset %];
-}
 
 .opac-button:disabled {
     color: [% css_colors.accent_medium %];
@@ -1267,12 +1264,15 @@ button.opac-button::-moz-focus-inner, input.opac-button::-moz-focus-inner {
     display: table-cell;
 }
 
-.opac-button-header {
+.opac-button-header, #dash_wrapper .opac-button {
     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 %];
+}
 
 .opac-multiline-button > a {
     display: inline-block;
@@ -1281,7 +1281,6 @@ button.opac-button::-moz-focus-inner, input.opac-button::-moz-focus-inner {
 #dash_wrapper .opac-button {
     position: relative;
     top: 10px;
-    display:inline;
 }
 
 #myopac_checked_div {