From e062057cf6e6bb93478823cbb476e15cd428f6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Fri, 13 Jul 2018 04:10:10 +0200 Subject: [PATCH] Override server SCSS rules for confirm button 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 "XXX + .icon-confirm" 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 a more specific selector was added to the guest and public share auth rules; as the guest and public share auth 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 | 2 ++ core/css/publicshareauth.css | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/css/guest.css b/core/css/guest.css index c15596f3c3c..75ad1a787da 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -176,6 +176,7 @@ input:not([type='range']) { -webkit-appearance: none; } input[type='submit'], +input[type='submit'].icon-confirm, input[type='button'], button, .button, select { @@ -208,6 +209,7 @@ input.login { background-position: right 16px center; } input[type='submit'], +input[type='submit'].icon-confirm, input.updateButton, input.update-continue { padding: 10px 20px; /* larger log in and installation buttons */ diff --git a/core/css/publicshareauth.css b/core/css/publicshareauth.css index 7f83e0b41e7..2f7622ea221 100644 --- a/core/css/publicshareauth.css +++ b/core/css/publicshareauth.css @@ -14,7 +14,8 @@ form fieldset { min-width: 0; /* FF hack for to override default value */ } -input[type='submit'] { +input[type='submit'], +input[type='submit'].icon-confirm { width: 45px; height: 45px; margin-left: 0 !important;