diff options
-rw-r--r-- | modules/system/system.theme.css | 20 | ||||
-rw-r--r-- | themes/garland/style-rtl.css | 2 | ||||
-rw-r--r-- | themes/garland/style.css | 18 |
3 files changed, 18 insertions, 22 deletions
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; @@ -118,6 +115,15 @@ input.form-radio { } /** + * Inline items. + */ +.container-inline .form-actions, +.container-inline.form-actions { + margin-top: 0; + margin-bottom: 0; +} + +/** * Markup generated by theme_more_link(). */ .more-link { diff --git a/themes/garland/style-rtl.css b/themes/garland/style-rtl.css index df6e03c7b..0093cf462 100644 --- a/themes/garland/style-rtl.css +++ b/themes/garland/style-rtl.css @@ -77,7 +77,7 @@ dl dd { .form-button, .form-submit { - margin: 2em 0 1em 0.5em; + margin: 0 0 0 0.5em; } .region-header h2 { diff --git a/themes/garland/style.css b/themes/garland/style.css index e8e175063..4434a2d2b 100644 --- a/themes/garland/style.css +++ b/themes/garland/style.css @@ -301,22 +301,12 @@ span.form-required { margin-bottom: 2em; } +.form-actions { + margin: 2em 0 1em; +} .form-button, .form-submit { - margin: 2em 0.5em 1em 0; /* LTR */ -} - -#dblog-form-overview .form-submit, -.confirmation .form-submit, -.search-form .form-submit, -.poll .form-submit, -fieldset .form-button, -fieldset .form-submit, -.sidebar .form-button, -.sidebar .form-submit, -table .form-button, -table .form-submit { - margin: 0; + margin: 0 0.5em 0 0; /* LTR */ } /** |