Layout von Websiten mit Bootstrap und Foundation
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.

_borders.scss 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // stylelint-disable property-blacklist, 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-sm {
  27. border-radius: $border-radius-sm !important;
  28. }
  29. .rounded {
  30. border-radius: $border-radius !important;
  31. }
  32. .rounded-top {
  33. border-top-left-radius: $border-radius !important;
  34. border-top-right-radius: $border-radius !important;
  35. }
  36. .rounded-right {
  37. border-top-right-radius: $border-radius !important;
  38. border-bottom-right-radius: $border-radius !important;
  39. }
  40. .rounded-bottom {
  41. border-bottom-right-radius: $border-radius !important;
  42. border-bottom-left-radius: $border-radius !important;
  43. }
  44. .rounded-left {
  45. border-top-left-radius: $border-radius !important;
  46. border-bottom-left-radius: $border-radius !important;
  47. }
  48. .rounded-lg {
  49. border-radius: $border-radius-lg !important;
  50. }
  51. .rounded-circle {
  52. border-radius: 50% !important;
  53. }
  54. .rounded-pill {
  55. border-radius: $rounded-pill !important;
  56. }
  57. .rounded-0 {
  58. border-radius: 0 !important;
  59. }