node-add.css

Same filename in this branch
  1. 9 core/themes/claro/css/layout/node-add.css
Same filename in other branches
  1. 8.9.x core/themes/seven/css/layout/node-add.css
  2. 8.9.x core/themes/claro/css/layout/node-add.css
.layout-region-node-footer__content {
  margin-top: 1.5em;
  padding-top: 0.5em;
  border-top: 1px solid #bebfb9;
}

/**
 * Widescreen
 *
 * Both of the following media queries must *exactly* match what is in
 * node.module.css. This is rather crazy.
 *
 * @todo Figure out how to reduce media query duplication across files
 *       and modules. Layout styles only allowed in themes?
 */
@media
  screen and (min-width: 780px),
  (orientation: landscape) and (min-device-height: 780px) {
  .node-form-layout .messages {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .layout-region-node-footer__content {
    margin-top: 0.5em;
  }
}

File

core/themes/seven/css/layout/node-add.css

View source
  1. .layout-region-node-footer__content {
  2. margin-top: 1.5em;
  3. padding-top: 0.5em;
  4. border-top: 1px solid #bebfb9;
  5. }
  6. /**
  7. * Widescreen
  8. *
  9. * Both of the following media queries must *exactly* match what is in
  10. * node.module.css. This is rather crazy.
  11. *
  12. * @todo Figure out how to reduce media query duplication across files
  13. * and modules. Layout styles only allowed in themes?
  14. */
  15. @media
  16. screen and (min-width: 780px),
  17. (orientation: landscape) and (min-device-height: 780px) {
  18. .node-form-layout .messages {
  19. margin-top: 1em;
  20. margin-bottom: 1em;
  21. }
  22. .layout-region-node-footer__content {
  23. margin-top: 0.5em;
  24. }
  25. }

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