From c1d26ca43111fe9e243087540a63f51692f936df Mon Sep 17 00:00:00 2001 From: Piotr Przybylski Date: Sat, 16 Apr 2011 22:50:32 +0200 Subject: [PATCH] Fix background for hovered "Create table" link in nav frame --- themes/pmahomme/css/theme_left.css.php | 30 ++++++++++++++++++-------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/themes/pmahomme/css/theme_left.css.php b/themes/pmahomme/css/theme_left.css.php index 0f4d4fc34..4b2460590 100644 --- a/themes/pmahomme/css/theme_left.css.php +++ b/themes/pmahomme/css/theme_left.css.php @@ -192,20 +192,32 @@ div#left_tableList li { white-space: nowrap; } -#newtable{border:1px solid #aaa;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;margin-top:15px !important;padding:1px !important; - - background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); - background: -moz-linear-gradient(top, #ffffff, #cccccc); - background: -o-linear-gradient(top, #ffffff, #cccccc); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc'); - +#newtable { + margin-top: 15px !important; } -#newtable:hover{ + +#newtable a { + display: block; + padding: 1px; + background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); + background: -moz-linear-gradient(top, #ffffff, #cccccc); + background: -o-linear-gradient(top, #ffffff, #cccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc'); + border: 1px solid #aaa; + -moz-border-radius: 20px; + -webkit-border-radius: 20px; + border-radius: 20px; +} + +#newtable li:hover { + background: transparent !important; +} + +#newtable a:hover { background: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#dddddd)) !important; background: -moz-linear-gradient(top, #cccccc, #dddddd) !important; background: -o-linear-gradient(top, #cccccc, #dddddd) !important; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#dddddd') !important; - cursor:pointer !important; } select{