2
0

_utilities.legacy.scss 945 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .u-hidden {
  2. // stylelint-disable-next-line declaration-no-important
  3. display: none !important;
  4. }
  5. .clearfix {
  6. @include clearfix();
  7. }
  8. .nice-padding {
  9. padding-inline-start: $mobile-nice-padding;
  10. padding-inline-end: $mobile-nice-padding;
  11. @include media-breakpoint-up(sm) {
  12. padding-inline-start: $desktop-nice-padding;
  13. padding-inline-end: $desktop-nice-padding;
  14. }
  15. }
  16. @include media-breakpoint-up(sm) {
  17. .divider-before {
  18. border-inline-start: 1px solid theme('colors.border-furniture');
  19. }
  20. }
  21. body.reordering {
  22. overflow: visible;
  23. }
  24. // Show a transparency grid in background
  25. .show-transparency {
  26. background: url('#{$images-root}transparency.svg');
  27. }
  28. // make a block-level element inline
  29. .inline {
  30. display: inline;
  31. }
  32. .inline-block {
  33. display: inline-block;
  34. }
  35. .block {
  36. display: block;
  37. }
  38. // utility class to allow things to be scrollable if their contents can't wrap more nicely
  39. .overflow {
  40. overflow: auto;
  41. }