node.preview.css
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/css/node/node.preview.css
- 9 core/themes/stable/css/node/node.preview.css
- 9 core/modules/node/css/node.preview.css
- 8.9.x core/themes/stable/css/node/node.preview.css
- 8.9.x core/modules/node/css/node.preview.css
- 10 core/themes/stable9/css/node/node.preview.css
- 10 core/modules/node/css/node.preview.css
Styles for node preview page.
File
-
core/
modules/ node/ css/ node.preview.css
View source
- /**
- * @file
- * Styles for node preview page.
- */
-
- .node-preview-container {
- position: fixed;
- z-index: 499;
- box-sizing: border-box;
- width: 100%;
- padding-inline-start: var(--drupal-displace-offset-left, 10px);
- padding-inline-end: var(--drupal-displace-offset-right, 10px);
- padding-block: 10px;
- }
-
- [dir="rtl"] .node-preview-container {
- padding-inline-start: var(--drupal-displace-offset-right, 10px);
- padding-inline-end: var(--drupal-displace-offset-left, 10px);
- }
-
- @media only screen and (min-width: 36em) {
- .node-preview-container .form-type-select {
- margin-left: 25%; /* LTR */
- }
- [dir="rtl"] .node-preview-container .form-type-select {
- margin-right: 25%;
- margin-left: 0;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.