You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_helpers.sss 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. @import '../variables.sss'
  2. @import '../theme.sss'
  3. %flexy
  4. display: flex
  5. justify-content: center
  6. align-items: center
  7. .f
  8. &-row, &-col
  9. @extend %flexy
  10. &.start
  11. align-items: flex-start
  12. justify-content: flex-start
  13. &.end
  14. align-items: flex-end
  15. justify-content: flex-end
  16. &.between
  17. justify-content: space-between
  18. &.around
  19. justify-content: space-around
  20. &.even
  21. justify-content: space-evenly
  22. &.stretch
  23. align-content: stretch
  24. &.center
  25. align-items: flex-start
  26. justify-content: flex-start
  27. &.wrap
  28. flex-wrap: wrap
  29. &-row
  30. flex-direction: row
  31. &-col
  32. flex-direction: column
  33. &-grow
  34. flex-grow: 1
  35. .b
  36. &-none
  37. border: none
  38. &-solid
  39. border: 1px solid $dark
  40. &-dot
  41. border: 1px dotted $dark
  42. &-solid, &-dot
  43. &.rounded
  44. border-radius: $ms-0
  45. &.invert
  46. border-color: $light
  47. .bg
  48. &-none
  49. background-color: none
  50. &-primary
  51. background-color: $primary
  52. &-dark
  53. background-color: $dark
  54. &-light
  55. background-color: $light
  56. .primary
  57. color: $primary
  58. .dark
  59. color: $dark
  60. .light
  61. color: $light