mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 17:11:48 +02:00
Blacklist border-radius property (use mixin instead) (#27900)
This commit is contained in:
committed by
XhmikosR
parent
6a5a1b073d
commit
39b14c9806
@@ -23,7 +23,7 @@
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
max-width: 330px;
|
||||
border-radius: 4px;
|
||||
@include border-radius(4px);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
overflow: hidden;
|
||||
color: $bd-purple;
|
||||
background-color: #f9f9f9;
|
||||
border-radius: .25rem;
|
||||
@include border-radius;
|
||||
|
||||
.inverse {
|
||||
color: $white;
|
||||
@@ -79,7 +79,7 @@
|
||||
height: 4rem;
|
||||
margin-right: .25rem;
|
||||
margin-left: .25rem;
|
||||
border-radius: .25rem;
|
||||
@include border-radius;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
width: 6rem;
|
||||
|
@@ -8,7 +8,7 @@
|
||||
margin-bottom: 1.25rem;
|
||||
border: 1px solid #eee;
|
||||
border-left-width: .25rem;
|
||||
border-radius: .25rem;
|
||||
@include border-radius;
|
||||
|
||||
h4 {
|
||||
margin-top: 0;
|
||||
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
code {
|
||||
border-radius: .25rem;
|
||||
@include border-radius;
|
||||
}
|
||||
|
||||
+ .bd-callout {
|
||||
|
@@ -28,7 +28,7 @@
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
border-radius: .25rem;
|
||||
@include border-radius;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
|
@@ -87,7 +87,7 @@
|
||||
height: 3rem;
|
||||
margin-bottom: .5rem;
|
||||
background-color: lighten($blue, 50%);
|
||||
border-radius: .25rem;
|
||||
@include border-radius;
|
||||
}
|
||||
|
||||
.bd-example-container-sidebar {
|
||||
@@ -95,14 +95,14 @@
|
||||
width: 4rem;
|
||||
height: 8rem;
|
||||
background-color: lighten($blue, 25%);
|
||||
border-radius: .25rem;
|
||||
@include border-radius;
|
||||
}
|
||||
|
||||
.bd-example-container-body {
|
||||
height: 8rem;
|
||||
margin-right: 4.5rem;
|
||||
background-color: lighten($bd-purple, 25%);
|
||||
border-radius: .25rem;
|
||||
@include border-radius;
|
||||
}
|
||||
|
||||
.bd-example-container-fluid {
|
||||
|
Reference in New Issue
Block a user