_forms.scss 636 B

1234567891011121314151617181920212223242526272829303132333435
  1. @use 'sass:map';
  2. // These are the generic stylings for forms of any type.
  3. // If you're styling something specific to the page editing interface,
  4. // it probably ought to go in layouts/page-editor.scss
  5. form {
  6. ul,
  7. li {
  8. list-style-type: none;
  9. }
  10. ul {
  11. margin: 0;
  12. padding: 0;
  13. }
  14. }
  15. fieldset {
  16. border: 0;
  17. padding: 0 0 2em;
  18. margin: 0;
  19. }
  20. // Special styles to counteract Firefox's completely unwarranted assumptions about button styles
  21. input[type='submit'],
  22. input[type='reset'],
  23. input[type='button'],
  24. button {
  25. padding: 0 1em;
  26. @include media-breakpoint-up(sm) {
  27. &.button-small {
  28. height: 2em;
  29. }
  30. }
  31. }