node-preview-container.css
Same filename in other branches
Node preview container styling.
File
-
core/
themes/ olivero/ css/ components/ node-preview-container.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Node preview container styling.
- */
-
- .node-preview-container {
- padding-block: 0;
- padding-inline-start: calc(var(--sp0-5) + var(--drupal-displace-offset-left, 0rem));
- padding-inline-end: calc(var(--sp0-5) + var(--drupal-displace-offset-right, 0rem));
- background: var(--color--white);
- box-shadow: -36px 1px 36px rgba(0, 0, 0, 0.08); /* LTR */
- }
-
- [dir="rtl"] .node-preview-container {
- padding-inline-start: calc(var(--sp0-5) + var(--drupal-displace-offset-right, 0rem));
- padding-inline-end: calc(var(--sp0-5) + var(--drupal-displace-offset-left, 0rem));
- box-shadow: 36px 1px 36px rgba(0, 0, 0, 0.08);
- }
-
- .toolbar-vertical.toolbar-tray-open .node-preview-container {
- max-width: calc(100vw - var(--toolbar-tray-vertical-width) - var(--scrollbar-width));
- }
-
- .node-preview-form-select {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- }
-
- .node-preview-backlink {
- margin-block: var(--sp0-5);
- margin-inline-start: 0;
- margin-inline-end: auto;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.