From 477d1f7b39ef5b925c8aa37fc5abd3602b3e8c1a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 27 Sep 2010 01:12:45 +0000 Subject: - Patch #162047 by sun, Gurpartap Singh: .container-inline class overridden by system.theme.css; also not working with .form-actions. --- modules/system/system.theme.css | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'modules') diff --git a/modules/system/system.theme.css b/modules/system/system.theme.css index 27be0528b..eb37db267 100644 --- a/modules/system/system.theme.css +++ b/modules/system/system.theme.css @@ -69,7 +69,8 @@ td.active { /** * Markup generated by Form API. */ -.form-item { +.form-item, +.form-actions { margin-top: 1em; margin-bottom: 1em; } @@ -82,18 +83,14 @@ tr.even .form-item { .form-item .description { font-size: 0.85em; } -.form-item label { +label { display: block; font-weight: bold; } -.form-item label.option { +label.option { display: inline; font-weight: normal; } -.form-checkboxes, -.form-radios { - margin: 1em 0; -} .form-checkboxes .form-item, .form-radios .form-item { margin-top: 0.4em; @@ -117,6 +114,15 @@ input.form-radio { border: 2px solid red; } +/** + * Inline items. + */ +.container-inline .form-actions, +.container-inline.form-actions { + margin-top: 0; + margin-bottom: 0; +} + /** * Markup generated by theme_more_link(). */ -- cgit v1.2.3