entity-meta.css

Same filename in other branches
  1. 9 core/themes/seven/css/components/entity-meta.css
  2. 9 core/themes/claro/css/components/entity-meta.css
  3. 8.9.x core/themes/seven/css/components/entity-meta.css
  4. 8.9.x core/themes/claro/css/components/entity-meta.css
  5. 10 core/themes/claro/css/components/entity-meta.css

Entity meta. This file contains the styles for the top right hand sidebar of the node/add form.

File

core/themes/claro/css/components/entity-meta.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Entity meta.
  10. * This file contains the styles for the top right hand sidebar of the node/add form.
  11. *
  12. */
  13. .entity-meta {
  14. --entity-meta-spacing-xs: var(--space-xs);
  15. --entity-meta-spacing-l: var(--space-l);
  16. --entity-meta-spacing-m: var(--space-m);
  17. --entity-meta-color-fg: var(--color-fg);
  18. --entity-meta-color-bg: var(--color-bg);
  19. --entity-meta-color-white: var(--color-white);
  20. --entity-meta-border-size: var(--details-border-size);
  21. --entity-meta-border-color: var(--details-border-color);
  22. --entity-meta-border-size-radius: var(--details-accordion-border-size-radius);
  23. --entity-meta-font-size-base: var(--font-size-base);
  24. }
  25. .entity-meta__header {
  26. padding: calc(var(--entity-meta-spacing-m) - var(--entity-meta-spacing-xs)) var(--entity-meta-spacing-m) calc(var(--entity-meta-spacing-l) - var(--entity-meta-spacing-xs));
  27. color: var(--entity-meta-color-fg);
  28. border: var(--entity-meta-border-size) solid var(--entity-meta-border-color);
  29. border-radius: var(--entity-meta-border-size-radius);
  30. background-color: var(--entity-meta-color-bg);
  31. }
  32. .entity-meta__header .form-item {
  33. margin-block: var(--entity-meta-spacing-xs);
  34. }
  35. .entity-meta__header .form-type--item .form-item__label {
  36. display: inline-block;
  37. margin: 0;
  38. font-size: var(--entity-meta-font-size-base);
  39. }
  40. .entity-meta__header .form-type--item .form-item__label::after {
  41. content: ":";
  42. }
  43. @media screen and (min-width: 48em) {
  44. .entity-meta__header {
  45. padding: calc(var(--entity-meta-spacing-l) - var(--entity-meta-spacing-xs)) var(--entity-meta-spacing-l) var(--entity-meta-spacing-l);
  46. }
  47. }
  48. .entity-meta__title {
  49. margin: 0.25em 0;
  50. text-shadow: 0 1px 0 var(--entity-meta-color-white);
  51. font-size: 1.231em;
  52. font-weight: bold;
  53. }
  54. .entity-meta__revision {
  55. margin-block-start: var(--entity-meta-spacing-l);
  56. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.