summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-28 16:23:28 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-28 17:13:00 +0200
commit13aed0b58dbb3a1f6cad0a001fb5b140dcec0fa6 (patch)
tree23ca9f1458ea3d865cf63b897fdfcaa43e940809 /core
parent9ff07bd2800c3c6e4450fe3a49b86b78da7821a0 (diff)
downloadnextcloud-server-13aed0b58dbb3a1f6cad0a001fb5b140dcec0fa6.tar.gz
nextcloud-server-13aed0b58dbb3a1f6cad0a001fb5b140dcec0fa6.zip
Fix settings button state and opacity
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss1
-rw-r--r--core/js/apps.js4
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();