node-add.pcss.css 722 B

12345678910111213141516171819202122232425262728293031
  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. }