node-add.pcss.css

Same filename in other branches
  1. 9 core/themes/claro/css/layout/node-add.pcss.css
/**
 * Layout overrides for node add/edit form.
 */

@import "../base/variables.pcss.css";

.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: var(--space-l);
}

File

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

View source
  1. /**
  2. * Layout overrides for node add/edit form.
  3. */
  4. @import "../base/variables.pcss.css";
  5. .layout-region-node-footer__content {
  6. margin-top: 1.5em;
  7. }
  8. /**
  9. * Widescreen
  10. *
  11. * Both of the following media queries must *exactly* match what is in
  12. * node.module.css. This is rather crazy.
  13. *
  14. * @todo Figure out how to reduce media query duplication across files
  15. * and modules. Layout styles only allowed in themes?
  16. */
  17. @media
  18. screen and (min-width: 780px),
  19. (orientation: landscape) and (min-device-height: 780px) {
  20. .layout-region-node-footer__content {
  21. margin-top: 0.5em;
  22. }
  23. }
  24. /* Push sidebar down to horizontal align with form section */
  25. .layout-region-node-secondary {
  26. margin-top: var(--space-l);
  27. }

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