From d4214ca2203db30f661ddc051a5069c89dad50b3 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Thu, 2 Feb 2012 11:58:01 -0500 Subject: [PATCH] Tweak the opac-button elements to avoid blending with backgrounds Signed-off-by: Michael Peters Signed-off-by: Dan Wells --- Open-ILS/src/templates/opac/parts/topnav.tt2 | 2 +- Open-ILS/web/css/skin/default/opac/style.css | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/topnav.tt2 b/Open-ILS/src/templates/opac/parts/topnav.tt2 index 8971723829..de9aeaaedd 100644 --- a/Open-ILS/src/templates/opac/parts/topnav.tt2 +++ b/Open-ILS/src/templates/opac/parts/topnav.tt2 @@ -8,7 +8,7 @@ [% IF !ctx.user %] diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index c1af0fb211..d3594a463b 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -1188,14 +1188,25 @@ a.dash-link:hover { text-decoration: underline !important; } height: 26px; } -/* TODO: gradients */ .opac-button, .results_header_btns, #simple-detail-view-links { - color: white; + color: #FBF9F9; font-weight: bold; text-decoration: none; + text-shadow: 1px 1px 1px #555555; + cursor: pointer !important; -moz-border-radius: 5px; border-radius: 5px; - background: #69A088; + border: 1px solid #007a54; + 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; +} + +.opac-button-header { + background: #69A088; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); } .results_header_btns a, #simple-detail-view-links a { -- 2.11.0