Browse Source
Fix settings button state and opacity
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/6669/head
John Molakvoæ (skjnldsv)
8 years ago
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
2 changed files with
5 additions and
0 deletions
-
core/css/apps.scss
-
core/js/apps.js
|
|
|
@ -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(); |
|
|
|
|