From 26028a111b7e3bdcac7019875ff03730e47d7955 Mon Sep 17 00:00:00 2001 From: Matthew Harrison-Jones Date: Wed, 31 Jul 2013 12:40:46 +0100 Subject: [PATCH] Improved the semantics of the Settings page This introduces a new class of `.form-group` to replace the label containing the elements. I have also included `name=""` attributes to inputs where there were non. --- ghost/admin/assets/sass/modules/forms.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ghost/admin/assets/sass/modules/forms.scss b/ghost/admin/assets/sass/modules/forms.scss index c0b0badce6..bb9f0199d7 100644 --- a/ghost/admin/assets/sass/modules/forms.scss +++ b/ghost/admin/assets/sass/modules/forms.scss @@ -36,11 +36,8 @@ form { label { display:block; - margin:1.5em 0; - padding-left:140px; - position:relative; - b { + strong { display:inline-block; position: absolute; top:0.5em; @@ -126,6 +123,12 @@ form { cursor: pointer; } + .form-group { + position:relative; + margin:1.5em 0; + padding-left:140px; + } + }//form