mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 00:39:54 +00:00
Actual gutter definition (#27797)
This commit is contained in:
parent
af60644d2f
commit
c618f67187
@ -11,7 +11,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
min-height: ($font-size-base * $line-height-base);
|
min-height: ($font-size-base * $line-height-base);
|
||||||
padding-left: $custom-control-gutter;
|
padding-left: ($custom-control-gutter + $custom-control-indicator-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-control-inline {
|
.custom-control-inline {
|
||||||
@ -75,7 +75,7 @@
|
|||||||
&::before {
|
&::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
|
top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
|
||||||
left: -$custom-control-gutter;
|
left: -($custom-control-gutter + $custom-control-indicator-size);
|
||||||
display: block;
|
display: block;
|
||||||
width: $custom-control-indicator-size;
|
width: $custom-control-indicator-size;
|
||||||
height: $custom-control-indicator-size;
|
height: $custom-control-indicator-size;
|
||||||
@ -90,7 +90,7 @@
|
|||||||
&::after {
|
&::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
|
top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
|
||||||
left: -$custom-control-gutter;
|
left: -($custom-control-gutter + $custom-control-indicator-size);
|
||||||
display: block;
|
display: block;
|
||||||
width: $custom-control-indicator-size;
|
width: $custom-control-indicator-size;
|
||||||
height: $custom-control-indicator-size;
|
height: $custom-control-indicator-size;
|
||||||
|
@ -515,7 +515,7 @@ $input-group-addon-border-color: $input-border-color !default;
|
|||||||
|
|
||||||
$custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
$custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
||||||
|
|
||||||
$custom-control-gutter: 1.5rem !default;
|
$custom-control-gutter: .5rem !default;
|
||||||
$custom-control-spacer-x: 1rem !default;
|
$custom-control-spacer-x: 1rem !default;
|
||||||
|
|
||||||
$custom-control-indicator-size: 1rem !default;
|
$custom-control-indicator-size: 1rem !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user