mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-18 03:11:19 +02:00
Move border-radius mixin from scss/_mixins.scss to scss/mixins/_border-radius.scss
Reunites the family. Closes #17791
This commit is contained in:
@@ -2,12 +2,6 @@
|
|||||||
//
|
//
|
||||||
// Used in conjunction with global variables to enable certain theme features.
|
// Used in conjunction with global variables to enable certain theme features.
|
||||||
|
|
||||||
@mixin border-radius($radius: $border-radius) {
|
|
||||||
@if $enable-rounded {
|
|
||||||
border-radius: $radius;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin box-shadow($shadow...) {
|
@mixin box-shadow($shadow...) {
|
||||||
@if $enable-shadows {
|
@if $enable-shadows {
|
||||||
box-shadow: $shadow;
|
box-shadow: $shadow;
|
||||||
|
@@ -1,5 +1,11 @@
|
|||||||
// Single side border-radius
|
// Single side border-radius
|
||||||
|
|
||||||
|
@mixin border-radius($radius: $border-radius) {
|
||||||
|
@if $enable-rounded {
|
||||||
|
border-radius: $radius;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@mixin border-top-radius($radius) {
|
@mixin border-top-radius($radius) {
|
||||||
@if $enable-rounded {
|
@if $enable-rounded {
|
||||||
border-top-right-radius: $radius;
|
border-top-right-radius: $radius;
|
||||||
|
Reference in New Issue
Block a user