entity-meta.pcss.css

Same filename in other branches
  1. 9 core/themes/claro/css/components/entity-meta.pcss.css
  2. 8.9.x core/themes/claro/css/components/entity-meta.pcss.css
  3. 11.x core/themes/claro/css/components/entity-meta.pcss.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.pcss.css

View source
  1. /**
  2. * @file
  3. * Entity meta.
  4. * This file contains the styles for the top right hand sidebar of the node/add form.
  5. *
  6. */
  7. .entity-meta {
  8. --entity-meta-spacing-xs: var(--space-xs);
  9. --entity-meta-spacing-l: var(--space-l);
  10. --entity-meta-spacing-m: var(--space-m);
  11. --entity-meta-color-fg: var(--color-fg);
  12. --entity-meta-color-bg: var(--color-bg);
  13. --entity-meta-color-white: var(--color-white);
  14. --entity-meta-border-size: var(--details-border-size);
  15. --entity-meta-border-color: var(--details-border-color);
  16. --entity-meta-border-size-radius: var(--details-accordion-border-size-radius);
  17. --entity-meta-font-size-base: var(--font-size-base);
  18. }
  19. .entity-meta__header {
  20. 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));
  21. color: var(--entity-meta-color-fg);
  22. border: var(--entity-meta-border-size) solid var(--entity-meta-border-color);
  23. border-radius: var(--entity-meta-border-size-radius);
  24. background-color: var(--entity-meta-color-bg);
  25. & .form-item {
  26. margin-block: var(--entity-meta-spacing-xs);
  27. }
  28. & .form-type--item .form-item__label {
  29. display: inline-block;
  30. margin: 0;
  31. font-size: var(--entity-meta-font-size-base);
  32. &::after {
  33. content: ":";
  34. }
  35. }
  36. @media screen and (min-width: 48em) {
  37. padding: calc(var(--entity-meta-spacing-l) - var(--entity-meta-spacing-xs)) var(--entity-meta-spacing-l) var(--entity-meta-spacing-l);
  38. }
  39. }
  40. .entity-meta__title {
  41. margin: 0.25em 0;
  42. text-shadow: 0 1px 0 var(--entity-meta-color-white);
  43. font-size: 1.231em;
  44. font-weight: bold;
  45. }
  46. .entity-meta__revision {
  47. margin-block-start: var(--entity-meta-spacing-l);
  48. }

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