summaryrefslogtreecommitdiffstats
path: root/core/modules/system/css/components/field.theme.css
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/css/components/field.theme.css')
-rw-r--r--core/modules/system/css/components/field.theme.css25
1 files changed, 14 insertions, 11 deletions
diff --git a/core/modules/system/css/components/field.theme.css b/core/modules/system/css/components/field.theme.css
index 89a16aa..0ef4c2d 100644
--- a/core/modules/system/css/components/field.theme.css
+++ b/core/modules/system/css/components/field.theme.css
@@ -3,20 +3,23 @@
* Visual styles for fields.
*/
-.field .field-label {
+.field__label {
font-weight: bold;
}
-.field-label-inline .field-label,
-.field-label-inline .field-items {
- float:left; /*LTR*/
- margin-right: 0.5em; /*LTR*/
+.field--label-inline .field__label,
+.field--label-inline .field__items {
+ float: left; /*LTR*/
}
-[dir="rtl"] .field-label-inline .field-label,
-[dir="rtl"] .field-label-inline .field-items {
- float: right;
- margin-left: 0.5em;
- margin-right: 0;
+.field--label-inline .field__label,
+.field--label-inline > .field__item,
+.field--label-inline .field__items {
+ padding-right: 0.5em;
}
-.field-label-inline .field-label::after {
+[dir="rtl"] .field--label-inline .field__label,
+[dir="rtl"] .field--label-inline .field__items {
+ padding-left: 0.5em;
+ padding-right: 0;
+}
+.field--label-inline .field__label::after {
content: ':';
}