entity-meta.pcss.css

Same filename in other branches
  1. 9 core/themes/claro/css/components/entity-meta.pcss.css
  2. 10 core/themes/claro/css/components/entity-meta.pcss.css
  3. 11.x core/themes/claro/css/components/entity-meta.pcss.css

Entity meta.

File

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

View source
  1. /**
  2. * @file
  3. * Entity meta.
  4. */
  5. @import "../base/variables.pcss.css";
  6. :root {
  7. --size-entity-meta-spacing: var(--space-xs);
  8. }
  9. .entity-meta__header {
  10. padding: calc(var(--space-m) - var(--size-entity-meta-spacing)) var(--space-m) calc(var(--space-l) - var(--size-entity-meta-spacing));
  11. color: var(--color-fg);
  12. border: var(--details-border-size) solid var(--details-border-color);
  13. border-radius: var(--details-accordion-border-size-radius);
  14. background-color: var(--color-bg);
  15. }
  16. @media screen and (min-width: 48em) {
  17. .entity-meta__header {
  18. padding: calc(var(--space-l) - var(--size-entity-meta-spacing)) var(--space-l) var(--space-l);
  19. }
  20. }
  21. .entity-meta__header .form-item {
  22. margin-top: var(--size-entity-meta-spacing);
  23. margin-bottom: var(--size-entity-meta-spacing);
  24. }
  25. .entity-meta__title {
  26. margin: 0.25em 0;
  27. text-shadow: 0 1px 0 #fff;
  28. font-size: 1.231em;
  29. font-weight: bold;
  30. }
  31. .entity-meta__revision {
  32. margin-top: var(--space-l);
  33. }
  34. .entity-meta__header .form-type--item .form-item__label {
  35. display: inline-block;
  36. margin: 0;
  37. font-size: var(--font-size-base);
  38. }
  39. .entity-meta__header .form-type--item .form-item__label::after {
  40. content: ":";
  41. }

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