field.css
Same filename in this branch
- 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/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
Same filename in other branches
- 7.x modules/field/theme/field.css
- 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/bartik/css/classy/components/field.css
- 8.9.x 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/ olivero/ css/ components/ field.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Visual styles for fields.
- */
-
- .field:not(:last-child) {
- margin-bottom: 2.25rem;
- }
-
- .node--view-mode-teaser .field {
- margin-bottom: 1.125rem;
- }
-
- .node--view-mode-teaser .field:last-child {
- margin-bottom: 0;
- }
-
- @media (min-width: 62.5rem) {
-
- .node--view-mode-teaser .field {
- margin-bottom: 2.25rem;
- }
- }
-
- .field__label {
- font-weight: bold;
- }
-
- [dir="ltr"] .field--label-inline .field__label,
- [dir="ltr"] .field--label-inline .field__items {
- float: left;
- }
-
- [dir="rtl"] .field--label-inline .field__label,
- [dir="rtl"] .field--label-inline .field__items {
- float: right;
- }
-
- [dir="ltr"] .field--label-inline .field__label,
- [dir="ltr"] .field--label-inline > .field__item,
- [dir="ltr"] .field--label-inline .field__items {
- padding-right: 0.5em;
- }
-
- [dir="rtl"] .field--label-inline .field__label,
- [dir="rtl"] .field--label-inline > .field__item,
- [dir="rtl"] .field--label-inline .field__items {
- 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.