summaryrefslogtreecommitdiffstats
path: root/client/components/forms/forms.styl
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-09-25 20:27:54 +0900
committernztqa <nztqa@users.noreply.github.com>2017-09-25 20:27:54 +0900
commit61ee107c27ea4b5be3b8b9bcb6d6a36de65dfcd1 (patch)
treef530b4a5c3f8bf657e5d071d90e198d421514407 /client/components/forms/forms.styl
parentb503ba1144454234c3b9f852aefcde6e4a262a63 (diff)
downloadwekan-61ee107c27ea4b5be3b8b9bcb6d6a36de65dfcd1.tar.gz
wekan-61ee107c27ea4b5be3b8b9bcb6d6a36de65dfcd1.tar.bz2
wekan-61ee107c27ea4b5be3b8b9bcb6d6a36de65dfcd1.zip
Disable button when "Hide system messages" in user profile setting is valid
Diffstat (limited to 'client/components/forms/forms.styl')
-rw-r--r--client/components/forms/forms.styl5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/components/forms/forms.styl b/client/components/forms/forms.styl
index 4c8ff7b0..1947c11d 100644
--- a/client/components/forms/forms.styl
+++ b/client/components/forms/forms.styl
@@ -668,11 +668,11 @@ button
left: 20px
background-color: #179588
-.toggle-switch:disabled ~ .toggle-label
+.toggle-switch:checked:disabled ~ .toggle-label
background-color: #d5d5d5
pointer-events: none
- &after
+ &:after
background-color: #bcbdbc
.toggle-switch
@@ -682,6 +682,7 @@ button
margin: 0 0.5em
display: flex
+
@media screen and (max-width: 800px)
.edit-controls,
.add-controls