field.css in Drupal 10
Same filename in this branch
- 10 core/themes/starterkit_theme/css/components/field.css
- 10 core/themes/classy/css/components/field.css
- 10 core/themes/olivero/css/components/field.css
- 10 core/themes/bartik/css/components/field.css
- 10 core/themes/claro/css/classy/components/field.css
- 10 core/themes/seven/css/classy/components/field.css
- 10 core/themes/bartik/css/classy/components/field.css
- 10 core/profiles/demo_umami/themes/umami/css/classy/components/field.css
- 10 core/profiles/demo_umami/themes/umami/css/components/fields/field.css
Same filename and directory in other branches
Visual styles for fields.
File
core/themes/olivero/css/components/field.cssView 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.
- */
-
- /*
- * Media query breakpoints.
- * Processed by postcss/postcss-custom-media.
- */
-
- /* Navigation related breakpoints */
-
- /* Grid related breakpoints */
-
- /* Grid shifts from 6 to 14 columns. */
-
- /* Width of the entire grid maxes out. */
-
- .field:not(:last-child) {
- margin-bottom: var(--sp2);
- }
-
- .node--view-mode-teaser .field {
- margin-bottom: var(--sp)
- }
-
- .node--view-mode-teaser .field:last-child {
- margin-bottom: 0;
- }
-
- @media (min-width: 62.5rem) {
-
- .node--view-mode-teaser .field {
- margin-bottom: var(--sp2)
- }
- }
-
- .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: ":";
- }