summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-07-13 03:40:47 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-07-13 03:40:47 +0200
commit06b2952cee72f549959b321cdfaf922461d07fdc (patch)
treeb2c8de657eba560127966a784fc5116e8a9ce04e /core
parent26db9540d41cbbaa9a4161b5d07325dea5ff5dd6 (diff)
downloadnextcloud-server-06b2952cee72f549959b321cdfaf922461d07fdc.tar.gz
nextcloud-server-06b2952cee72f549959b321cdfaf922461d07fdc.zip
Override server SCSS rules for inputs in guest pages
As the server defines some SCSS rules using "input:not([type='range'])" the selector is more specific than just "input" used in "guest.css", so the server SCSS rules took precedence over the guest CSS rules. Now that selector was added to the guest rules too; as the guest rules are loaded after the server ones now the guest rules for input elements take precedence over the server ones. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/guest.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/css/guest.css b/core/css/guest.css
index a5f6b57533f..c15596f3c3c 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -166,7 +166,8 @@ form #datadirField legend {
input, textarea, select, button, div[contenteditable=true] {
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
}
-input {
+input,
+input:not([type='range']) {
font-size: 20px;
margin: 5px;
padding: 11px 10px 9px;