From 41d020b35ea72984fd9c8096daee8526c320b376 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Fri, 22 Mar 2013 12:05:13 +0800 Subject: [PATCH] MDL-38645 form: Added margin between checkbox/radio and label --- theme/base/style/core.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/theme/base/style/core.css b/theme/base/style/core.css index fe8463324dc..625840427e9 100644 --- a/theme/base/style/core.css +++ b/theme/base/style/core.css @@ -259,10 +259,18 @@ a.skip:active {position: static;display: block;} .mform label .req, .mform label .adv {cursor: help;} .mform .fcheckbox input {margin-left: 0;} +.mform .fcheckbox label, +.mform .fduration label, .mform .fitem fieldset.fgroup label, .mform .fradio label, -.mform .fcheckbox label, -.mform fieldset.fdate_selector label {display:inline;float: none;width: auto;} +.mform fieldset.fdate_selector label, +.mform fieldset.fdate_time_selector label {display:inline;float: none; margin-left: .3em; vertical-align: text-bottom;} +.dir-rtl .mform .fcheckbox label, +.dir-rtl .mform .fduration label, +.dir-rtl .mform .fitem fieldset.fgroup label, +.dir-rtl .mform .fradio label, +.dir-rtl .mform fieldset.fdate_selector label, +.dir-rtl .mform fieldset.fdate_time_selector label {margin-right: .3em; margin-left: 0;} .mform .ftags label.accesshide {display: block;position: static;} .mform .ftags select {margin-bottom: 0.7em;min-width: 22em;} .mform .helplink img { margin: 0 0 0 .45em; padding: 0;}