Mercurial > hg > cmmr2012-drupal-site
diff core/themes/classy/css/components/form.css @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/themes/classy/css/components/form.css Thu Feb 28 13:11:55 2019 +0000 +++ b/core/themes/classy/css/components/form.css Thu May 09 15:34:47 2019 +0100 @@ -48,10 +48,10 @@ .form-composite > legend, .label { display: inline; + margin: 0; + padding: 0; font-size: inherit; font-weight: bold; - margin: 0; - padding: 0; } .form-checkboxes .form-item, .form-radios .form-item { @@ -64,23 +64,23 @@ } [dir="rtl"] .form-type-radio .description, [dir="rtl"] .form-type-checkbox .description { + margin-right: 2.4em; margin-left: 0; - margin-right: 2.4em; } .marker { color: #e00; } .form-required:after { - content: ''; + display: inline-block; + width: 6px; + height: 6px; + margin: 0 0.3em; + content: ""; vertical-align: super; - display: inline-block; /* Use a background image to prevent screen readers from announcing the text. */ background-image: url(../../../../misc/icons/ee0000/required.svg); background-repeat: no-repeat; background-size: 6px 6px; - width: 6px; - height: 6px; - margin: 0 0.3em; } abbr.tabledrag-changed, abbr.ajax-changed { @@ -94,10 +94,10 @@ /* Inline error messages. */ .form-item--error-message:before { - content: ''; display: inline-block; + width: 14px; height: 14px; - width: 14px; + content: ""; vertical-align: sub; background: url(../../../../misc/icons/e32700/error.svg) no-repeat; background-size: contain;