diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/css/apps.scss | 1 | ||||
-rw-r--r-- | core/js/apps.js | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index 1812a13cb43..08bbc3ed3b2 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -610,6 +610,7 @@ kbd { border-right: 1px solid $color-border; width: 250px; box-sizing: border-box; + background-color: $color-main-background; } .settings-button { diff --git a/core/js/apps.js b/core/js/apps.js index 4daab5ce4c4..8aebbbd418c 100644 --- a/core/js/apps.js +++ b/core/js/apps.js @@ -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(); |