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.
- */
-
- [dir="ltr"] .node-preview-container {
- padding-left: 0.5625rem;
- }
-
- [dir="rtl"] .node-preview-container {
- padding-right: 0.5625rem;
- }
-
- [dir="ltr"] .node-preview-container {
- padding-right: 0.5625rem;
- }
-
- [dir="rtl"] .node-preview-container {
- padding-left: 0.5625rem;
- }
-
- .node-preview-container {
- padding-top: 0;
- padding-bottom: 0;
- background: #fff;
- box-shadow: -36px 1px 36px rgba(0, 0, 0, 0.08); /* LTR */
- }
-
- [dir="rtl"] .node-preview-container {
- box-shadow: 36px 1px 36px rgba(0, 0, 0, 0.08);
- }
-
- body.toolbar-vertical.toolbar-tray-open .node-preview-container {
- max-width: calc(100vw - 15.875rem);
- }
-
- .node-preview-form-select {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- }
-
- [dir="ltr"] .node-preview-backlink {
- margin-left: 0;
- }
-
- [dir="rtl"] .node-preview-backlink {
- margin-right: 0;
- }
-
- [dir="ltr"] .node-preview-backlink {
- margin-right: auto;
- }
-
- [dir="rtl"] .node-preview-backlink {
- margin-left: auto;
- }
-
- .node-preview-backlink {
- margin-top: 0.5625rem;
- margin-bottom: 0.5625rem;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.