From 855a011697c018d5e30dd380227cbf992c967fd1 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Tue, 4 Dec 2012 16:58:42 +0100 Subject: [PATCH] group related input fields visually --- core/css/styles.css | 18 ++++++++++++++++++ core/templates/installation.php | 14 +++++++------- core/templates/login.php | 4 ++-- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/core/css/styles.css b/core/css/styles.css index 646a760f989..4de9cbd8fef 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -79,7 +79,25 @@ input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text- #login form { width:22em; margin:2em auto 2em; padding:0; } #login form fieldset { background:0; border:0; margin-bottom:2em; padding:0; } #login form fieldset legend { font-weight:bold; } + +/* Nicely grouping input field sets */ +.grouptop input { + margin-bottom:0; + border-bottom:0; border-bottom-left-radius:0; border-bottom-right-radius:0; +} +.groupmiddle input { + margin-top:0; margin-bottom:0; + border-top:0; border-radius:0; + box-shadow:0 1px 1px #fff,0 1px 0 #ddd inset; +} +.groupbottom input { + margin-top:0; + border-top:0; border-top-right-radius:0; border-top-left-radius:0; + box-shadow:0 1px 1px #fff,0 1px 0 #ddd inset; +} + #login form label { margin:.95em 0 0 .85em; color:#666; } +#login .groupmiddle label, #login .groupbottom label { margin-top:13px; } /* NEEDED FOR INFIELD LABELS */ p.infield { position: relative; } label.infield { cursor: text !important; } diff --git a/core/templates/installation.php b/core/templates/installation.php index 1e7983eae53..79d30eff539 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -34,11 +34,11 @@
t( 'Create an admin account' ); ?> -

+

-

+

@@ -101,15 +101,15 @@
-

+

-

+

-

+

@@ -117,13 +117,13 @@
-

+

-

+

diff --git a/core/templates/login.php b/core/templates/login.php index d6b09c83d3a..cb4b6717b61 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -16,11 +16,11 @@ -

+

autocomplete="on" required />

-

+

/>

-- 2.39.5