_borders.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // stylelint-disable declaration-no-important
  2. //
  3. // Border
  4. //
  5. .border { border: $border-width solid $border-color !important; }
  6. .border-top { border-top: $border-width solid $border-color !important; }
  7. .border-right { border-right: $border-width solid $border-color !important; }
  8. .border-bottom { border-bottom: $border-width solid $border-color !important; }
  9. .border-left { border-left: $border-width solid $border-color !important; }
  10. .border-0 { border: 0 !important; }
  11. .border-top-0 { border-top: 0 !important; }
  12. .border-right-0 { border-right: 0 !important; }
  13. .border-bottom-0 { border-bottom: 0 !important; }
  14. .border-left-0 { border-left: 0 !important; }
  15. @each $color, $value in $theme-colors {
  16. .border-#{$color} {
  17. border-color: $value !important;
  18. }
  19. }
  20. .border-white {
  21. border-color: $white !important;
  22. }
  23. //
  24. // Border-radius
  25. //
  26. .rounded {
  27. border-radius: $border-radius !important;
  28. }
  29. .rounded-top {
  30. border-top-left-radius: $border-radius !important;
  31. border-top-right-radius: $border-radius !important;
  32. }
  33. .rounded-right {
  34. border-top-right-radius: $border-radius !important;
  35. border-bottom-right-radius: $border-radius !important;
  36. }
  37. .rounded-bottom {
  38. border-bottom-right-radius: $border-radius !important;
  39. border-bottom-left-radius: $border-radius !important;
  40. }
  41. .rounded-left {
  42. border-top-left-radius: $border-radius !important;
  43. border-bottom-left-radius: $border-radius !important;
  44. }
  45. .rounded-circle {
  46. border-radius: 50% !important;
  47. }
  48. .rounded-0 {
  49. border-radius: 0 !important;
  50. }