From 80abb69b60699f04a3c4bc68a8cb28ec7c9c562b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 11 Nov 2016 09:59:20 +0100 Subject: [PATCH] Show a little explanation above the input field Signed-off-by: Joas Schilling --- core/css/styles.css | 10 +++++++--- core/templates/layout.user.php | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/core/css/styles.css b/core/css/styles.css index 7b2be87f610..6e0156d2238 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -998,6 +998,8 @@ fieldset.warning legend + p, fieldset.update legend + p { top: 45%; left: 40%; border: 1px solid #e9322d; + color: #e9322d; + font-weight: bold; z-index: 1000; background: #e4b9c0; border-radius: 10px; @@ -1010,7 +1012,9 @@ fieldset.warning legend + p, fieldset.update legend + p { } #sudo-login-form .confirm { - position: absolute; - top: 25px; - right: 25px; + position: relative; + right: 32px; + border: none; + opacity: .3; + background-color: transparent; } diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 8689bf859af..1d0ac5fa146 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -148,6 +148,7 @@