field.css
Same filename in this branch
- 8.9.x core/profiles/demo_umami/themes/umami/css/components/fields/field.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/field.css
- 8.9.x core/themes/seven/css/classy/components/field.css
- 8.9.x core/themes/claro/css/classy/components/field.css
- 8.9.x core/themes/bartik/css/components/field.css
- 8.9.x core/themes/classy/css/components/field.css
Same filename in other branches
- 7.x modules/field/theme/field.css
- 9 core/profiles/demo_umami/themes/umami/css/components/fields/field.css
- 9 core/profiles/demo_umami/themes/umami/css/classy/components/field.css
- 9 core/themes/olivero/css/components/field.css
- 9 core/themes/seven/css/classy/components/field.css
- 9 core/themes/claro/css/classy/components/field.css
- 9 core/themes/bartik/css/components/field.css
- 9 core/themes/bartik/css/classy/components/field.css
- 9 core/themes/starterkit_theme/css/components/field.css
- 9 core/themes/classy/css/components/field.css
- 10 core/profiles/demo_umami/themes/umami/css/components/fields/field.css
- 10 core/profiles/demo_umami/themes/umami/css/classy/components/field.css
- 10 core/themes/olivero/css/components/field.css
- 10 core/themes/claro/css/classy/components/field.css
- 10 core/themes/starterkit_theme/css/components/field.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/fields/field.css
- 11.x core/profiles/demo_umami/themes/umami/css/classy/components/field.css
- 11.x core/themes/olivero/css/components/field.css
- 11.x core/themes/claro/css/classy/components/field.css
- 11.x core/themes/starterkit_theme/css/components/field.css
Visual styles for fields.
File
-
core/
themes/ bartik/ css/ classy/ components/ field.css
View source
- /**
- * @file
- * Visual styles for fields.
- */
-
- .field__label {
- font-weight: bold;
- }
- .field--label-inline .field__label,
- .field--label-inline .field__items {
- float: left; /* LTR */
- }
- .field--label-inline .field__label,
- .field--label-inline > .field__item,
- .field--label-inline .field__items {
- padding-right: 0.5em;
- }
- [dir="rtl"] .field--label-inline .field__label,
- [dir="rtl"] .field--label-inline .field__items {
- padding-right: 0;
- padding-left: 0.5em;
- }
- .field--label-inline .field__label::after {
- content: ":";
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.