skins/chameleon

Aleksander Machniak machniak at kolabsys.com
Mon Feb 16 18:46:19 CET 2015


 skins/chameleon/styles.less |   16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

New commits:
commit 7c817b7f54c62eba901370c3b223d41e93dfac35
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Mon Feb 16 08:50:56 2015 -0500

    Fix buttons hover style (toolbar buttons and managesieve form buttons) (#4473)

diff --git a/skins/chameleon/styles.less b/skins/chameleon/styles.less
index c86d8fa..b431d3a 100644
--- a/skins/chameleon/styles.less
+++ b/skins/chameleon/styles.less
@@ -1144,6 +1144,7 @@ a.button span.icon,
 .toolbar a.button:hover,
 .toolbar a.button:focus,
 .toolbar a.button.disabled,
+.toolbar a.button.disabled:hover,
 .boxpagenav a.icon,
 .draglayercopy:before,
 .dropbutton .dropbuttontip,
@@ -1405,12 +1406,16 @@ input.button:focus,
 .formbuttons input.button:hover {
 	border: none;
 	color: @button-color;
-	background: #e0e0e0;
+	background-color: #e0e0e0;
 	box-shadow: none;
 	-moz-box-shadow: none;
 	-webkit-box-shadow: none;
 }
 
+.toolbar a.button {
+	color: @text-color;
+}
+
 .ui-dialog .ui-dialog-buttonpane button.mainaction:focus,
 .ui-dialog .ui-dialog-buttonpane button.mainaction:hover,
 input.button.mainaction:focus,
@@ -1445,13 +1450,20 @@ a.button.disabled:hover,
 input.button.disabled:hover,
 input.button[disabled]:hover {
 	color: lighten(@button-color, 50%);
-	background: #e7e7e7;
+	background-color: #e7e7e7;
 	box-shadow: none;
 	-moz-box-shadow: none;
 	-webkit-box-shadow: none;
 	opacity: 0.85;
 }
 
+.toolbar a.button.disabled,
+.toolbar a.button.disabled:hover {
+	color: lighten(@button-color, 50%);
+	background-color: transparent;
+	opacity: 0.4;
+}
+
 .pagenav a.button,
 .pagenav a.button:hover,
 .pagenav.dark a.button,




More information about the commits mailing list