From 06b2952cee72f549959b321cdfaf922461d07fdc Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Fri, 13 Jul 2018 03:40:47 +0200 Subject: Override server SCSS rules for inputs in guest pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- core/css/guest.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') 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; -- cgit v1.2.3