node.preview.css

Same filename in this branch
  1. 9 core/themes/stable9/css/node/node.preview.css
  2. 9 core/modules/node/css/node.preview.css
Same filename in other branches
  1. 8.9.x core/themes/stable/css/node/node.preview.css
  2. 8.9.x core/modules/node/css/node.preview.css
  3. 10 core/themes/stable9/css/node/node.preview.css
  4. 10 core/modules/node/css/node.preview.css
  5. 11.x core/themes/stable9/css/node/node.preview.css
  6. 11.x core/modules/node/css/node.preview.css

Styles for node preview page.

File

core/themes/stable/css/node/node.preview.css

View source
  1. /**
  2. * @file
  3. * Styles for node preview page.
  4. */
  5. .node-preview-container {
  6. position: fixed;
  7. z-index: 499;
  8. box-sizing: border-box;
  9. width: 100%;
  10. padding: 10px;
  11. }
  12. @media only screen and (min-width: 36em) {
  13. .node-preview-container .form-type-select {
  14. margin-left: 25%; /* LTR */
  15. }
  16. [dir="rtl"] .node-preview-container .form-type-select {
  17. margin-right: 25%;
  18. margin-left: 0;
  19. }
  20. }

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