node-add.css

Same filename in this branch
  1. 8.9.x core/themes/seven/css/layout/node-add.css
Same filename in other branches
  1. 9 core/themes/seven/css/layout/node-add.css
  2. 9 core/themes/claro/css/layout/node-add.css
/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/2815083
 * @preserve
 */

/**
 * Layout overrides for node add/edit form.
 */

.layout-region-node-footer__content {
  margin-top: 1.5em;
}

/**
 * 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) {
  .layout-region-node-footer__content {
    margin-top: 0.5em;
  }
}

/* Push sidebar down to horizontal align with form section */

.layout-region-node-secondary {
  margin-top: 1.5rem;
}

File

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

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/2815083
  5. * @preserve
  6. */
  7. /**
  8. * Layout overrides for node add/edit form.
  9. */
  10. .layout-region-node-footer__content {
  11. margin-top: 1.5em;
  12. }
  13. /**
  14. * Widescreen
  15. *
  16. * Both of the following media queries must *exactly* match what is in
  17. * node.module.css. This is rather crazy.
  18. *
  19. * @todo Figure out how to reduce media query duplication across files
  20. * and modules. Layout styles only allowed in themes?
  21. */
  22. @media
  23. screen and (min-width: 780px), (orientation: landscape) and (min-device-height: 780px) {
  24. .layout-region-node-footer__content {
  25. margin-top: 0.5em;
  26. }
  27. }
  28. /* Push sidebar down to horizontal align with form section */
  29. .layout-region-node-secondary {
  30. margin-top: 1.5rem;
  31. }

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