Fix settings button state and opacity
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
9ff07bd280
commit
13aed0b58d
|
@ -610,6 +610,7 @@ kbd {
|
|||
border-right: 1px solid $color-border;
|
||||
width: 250px;
|
||||
box-sizing: border-box;
|
||||
background-color: $color-main-background;
|
||||
}
|
||||
|
||||
.settings-button {
|
||||
|
|
|
@ -78,11 +78,15 @@
|
|||
area.slideUp(OC.menuSpeed*4, function() {
|
||||
area.trigger(new $.Event('hide'));
|
||||
});
|
||||
area.removeClass('opened');
|
||||
$(button).removeClass('opened');
|
||||
}
|
||||
function showArea() {
|
||||
area.slideDown(OC.menuSpeed*4, function() {
|
||||
area.trigger(new $.Event('show'));
|
||||
});
|
||||
area.addClass('opened');
|
||||
$(button).addClass('opened');
|
||||
var input = $(areaSelector + ' [autofocus]');
|
||||
if (input.length === 1) {
|
||||
input.focus();
|
||||
|
|
Loading…
Reference in New Issue