Elastic: remove hover effect on dropbuttons when primary action is disabled (#6597)

pull/6611/head
johndoh 6 years ago committed by Aleksander Machniak
parent 9fe46a4a9a
commit fa754c4ebc

@ -162,7 +162,7 @@ function rcube_webmail()
return disabled = false;
}
});
$(this[0]).addClass(disabled ? 'disabled' : 'active').removeClass(disabled ? 'active' : 'disabled');
$(this[0]).add($(this[0]).parent('.dropbutton')).addClass(disabled ? 'disabled' : 'active').removeClass(disabled ? 'active' : 'disabled');
});
}, 50);
};

@ -695,7 +695,7 @@ html.ie11 .toolbar .dropbutton a.dropdown:before {
height: @layout-header-height;
display: inline-block;
&:hover {
&:not(.disabled):hover {
background-color: @color-toolbar-button-background-hover;
}

Loading…
Cancel
Save