node-preview-container.pcss.css

Same filename in other branches
  1. 10 core/themes/olivero/css/components/node-preview-container.pcss.css
  2. 11.x core/themes/olivero/css/components/node-preview-container.pcss.css

Node preview container styling.

File

core/themes/olivero/css/components/node-preview-container.pcss.css

View source
  1. /**
  2. * @file
  3. * Node preview container styling.
  4. */
  5. @import "../base/variables.pcss.css";
  6. .node-preview-container {
  7. padding-block: 0;
  8. padding-inline-start: var(--sp0-5);
  9. padding-inline-end: var(--sp0-5);
  10. background: var(--color--white);
  11. box-shadow: -36px 1px 36px rgba(0, 0, 0, 0.08); /* LTR */
  12. }
  13. [dir="rtl"] .node-preview-container {
  14. box-shadow: 36px 1px 36px rgba(0, 0, 0, 0.08);
  15. }
  16. body.toolbar-vertical.toolbar-tray-open .node-preview-container {
  17. max-width: calc(100vw - var(--toolbar-tray-vertical-width) - var(--scrollbar-width));
  18. }
  19. .node-preview-form-select {
  20. display: flex;
  21. flex-wrap: wrap;
  22. align-items: center;
  23. }
  24. .node-preview-backlink {
  25. margin-block: var(--sp0-5);
  26. margin-inline-start: 0;
  27. margin-inline-end: auto;
  28. }

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