_position.scss 650 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Position
  2. .clearfix {
  3. @include clearfix();
  4. }
  5. .float-left {
  6. float: left !important;
  7. }
  8. .float-right {
  9. float: right !important;
  10. }
  11. .relative {
  12. position: relative;
  13. }
  14. .absolute {
  15. position: absolute;
  16. }
  17. .fixed {
  18. position: fixed;
  19. }
  20. .centered {
  21. display: block;
  22. float: none;
  23. margin-left: auto;
  24. margin-right: auto;
  25. }
  26. .flex-centered {
  27. align-items: center;
  28. display: flex;
  29. justify-content: center;
  30. }
  31. // Spacing
  32. @include margin-variant(0, 0);
  33. @include margin-variant(1, $unit-1);
  34. @include margin-variant(2, $unit-2);
  35. @include padding-variant(0, 0);
  36. @include padding-variant(1, $unit-1);
  37. @include padding-variant(2, $unit-2);