mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-11 03:52:27 +01:00
890c6041f3
* Fixed some linting issues * Run npm tasks after scss cleanup * Revert "Run npm tasks after scss cleanup" This reverts commit 1103a0da68d1846ad592eb4a105046a939557830. * Property sort order for grid * Let's respest the property order in the mixins * Respect property sort order in reboot file * ::-ms-expand is a vendor-prefix, add it to the scss-lint disable * Revert hover mixin comment * Fixed missing mixin hover-focus
36 lines
722 B
SCSS
36 lines
722 B
SCSS
// Single side border-radius
|
|
|
|
@mixin border-radius($radius: $border-radius) {
|
|
@if $enable-rounded {
|
|
border-radius: $radius;
|
|
}
|
|
}
|
|
|
|
@mixin border-top-radius($radius) {
|
|
@if $enable-rounded {
|
|
border-top-left-radius: $radius;
|
|
border-top-right-radius: $radius;
|
|
}
|
|
}
|
|
|
|
@mixin border-right-radius($radius) {
|
|
@if $enable-rounded {
|
|
border-top-right-radius: $radius;
|
|
border-bottom-right-radius: $radius;
|
|
}
|
|
}
|
|
|
|
@mixin border-bottom-radius($radius) {
|
|
@if $enable-rounded {
|
|
border-bottom-right-radius: $radius;
|
|
border-bottom-left-radius: $radius;
|
|
}
|
|
}
|
|
|
|
@mixin border-left-radius($radius) {
|
|
@if $enable-rounded {
|
|
border-top-left-radius: $radius;
|
|
border-bottom-left-radius: $radius;
|
|
}
|
|
}
|