Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-05-07 11:56:01 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-05-07 13:12:14 +0300
commitf2e5ef1cbfcc2bb2ba7181b10d447ecd3a13499a (patch)
treed93f4eb7354f69ac4afd46a6efabe22f98665691 /core/css
parente719bd595f5fbb217d1f5b8e2e7a34cb5c583843 (diff)
Remove extra margin from warning messages in authenticate page
In the public share authentication page the form elements appear inside a container that uses the "warning" CSS class. When the given password is wrong a warning message is shown inside that container; this message uses the "warning" CSS class too, so the top margin set for ".warning" elements need to be removed in that case. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/publicshareauth.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/css/publicshareauth.css b/core/css/publicshareauth.css
index 2206f21dff6..c3713ff0e8b 100644
--- a/core/css/publicshareauth.css
+++ b/core/css/publicshareauth.css
@@ -26,3 +26,8 @@ input[type='submit'].icon-confirm {
height: 45px;
background-color: transparent !important;
}
+
+.warning > .warning {
+ /* Do not use a top margin for warning messages in the warning container. */
+ margin-top: 0;
+}