summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-12-11 10:25:48 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2018-12-11 13:48:37 +0000
commit2a06ca4daec32f4b13933a4b9263f763c06e78a4 (patch)
treeca615dcc51ab6265a9cf289e16deacfa9cbca173
parent2c09c05f1332271a7723422b29d2c32968d7e654 (diff)
downloadnextcloud-server-2a06ca4daec32f4b13933a4b9263f763c06e78a4.tar.gz
nextcloud-server-2a06ca4daec32f4b13933a4b9263f763c06e78a4.zip
Use default cursor for disabled primary buttons
Disabled buttons use the default cursor, but as the cursor property for primary buttons is set after the cursor property for disabled buttons the latter is always overridden, even if the primary button is also disabled. Due to this it is necessary to explicitly set the default cursor for disabled primary buttons. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--core/css/inputs.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index 8b4198644da..eea6fa0fe59 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -110,6 +110,7 @@ div[contenteditable=true],
// opacity is already defined to .5 if disabled
background-color: var(--color-primary-element);
color: var(--color-primary-text-dark);
+ cursor: default;
}
}
}