summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-02-16 13:50:56 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-02-16 13:50:56 (GMT)
commit7c817b7f54c62eba901370c3b223d41e93dfac35 (patch)
treea66c97db61ee1a62fe15a310e1d9e94d4a5c61b9
parentf443c0579cc9acb069d1b1c418f39ac95de6629e (diff)
downloadroundcubemail-skin-chameleon-7c817b7f54c62eba901370c3b223d41e93dfac35.tar.gz
Fix buttons hover style (toolbar buttons and managesieve form buttons) (#4473)
-rw-r--r--skins/chameleon/styles.less16
1 files changed, 14 insertions, 2 deletions
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,