cycat-project-website/_sass/bootstrap/utilities/_borders.scss

76 lines
1.7 KiB
SCSS
Raw Normal View History

2020-08-23 12:01:06 +02:00
// stylelint-disable property-blacklist, declaration-no-important
2018-12-09 08:21:01 +01:00
//
// Border
//
.border { border: $border-width solid $border-color !important; }
.border-top { border-top: $border-width solid $border-color !important; }
.border-right { border-right: $border-width solid $border-color !important; }
.border-bottom { border-bottom: $border-width solid $border-color !important; }
.border-left { border-left: $border-width solid $border-color !important; }
.border-0 { border: 0 !important; }
.border-top-0 { border-top: 0 !important; }
.border-right-0 { border-right: 0 !important; }
.border-bottom-0 { border-bottom: 0 !important; }
.border-left-0 { border-left: 0 !important; }
@each $color, $value in $theme-colors {
.border-#{$color} {
border-color: $value !important;
}
}
.border-white {
border-color: $white !important;
}
//
// Border-radius
//
2020-08-23 12:01:06 +02:00
.rounded-sm {
border-radius: $border-radius-sm !important;
}
2018-12-09 08:21:01 +01:00
.rounded {
border-radius: $border-radius !important;
}
2020-08-23 12:01:06 +02:00
2018-12-09 08:21:01 +01:00
.rounded-top {
border-top-left-radius: $border-radius !important;
border-top-right-radius: $border-radius !important;
}
2020-08-23 12:01:06 +02:00
2018-12-09 08:21:01 +01:00
.rounded-right {
border-top-right-radius: $border-radius !important;
border-bottom-right-radius: $border-radius !important;
}
2020-08-23 12:01:06 +02:00
2018-12-09 08:21:01 +01:00
.rounded-bottom {
border-bottom-right-radius: $border-radius !important;
border-bottom-left-radius: $border-radius !important;
}
2020-08-23 12:01:06 +02:00
2018-12-09 08:21:01 +01:00
.rounded-left {
border-top-left-radius: $border-radius !important;
border-bottom-left-radius: $border-radius !important;
}
2020-08-23 12:01:06 +02:00
.rounded-lg {
border-radius: $border-radius-lg !important;
}
2018-12-09 08:21:01 +01:00
.rounded-circle {
border-radius: 50% !important;
}
2020-08-23 12:01:06 +02:00
.rounded-pill {
border-radius: $rounded-pill !important;
}
2018-12-09 08:21:01 +01:00
.rounded-0 {
border-radius: 0 !important;
}