File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
site/content/docs/4.3/components Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 148
148
// See https://github.com/twbs/bootstrap/pull/12794 and
149
149
// https://github.com/twbs/bootstrap/pull/14559 for more information.
150
150
151
- .btn-group- input {
151
+ .btn-input {
152
152
position : absolute ;
153
153
clip : rect (0 , 0 , 0 , 0 );
154
154
pointer-events : none ;
Original file line number Diff line number Diff line change 17
17
18
18
& :focus ,
19
19
& .focus ,
20
- .btn-group- input :focus ~ & {
20
+ .btn-input :focus ~ & {
21
21
color : color-yiq ($hover-background );
22
22
@include gradient-bg ($hover-background );
23
23
border-color : $hover-border ;
43
43
44
44
& :not (:disabled ):not (.disabled ):active ,
45
45
& :not (:disabled ):not (.disabled ).active ,
46
- .btn-group- input :checked ~ & ,
46
+ .btn-input :checked ~ & ,
47
47
.show > & .dropdown-toggle {
48
48
color : color-yiq ($active-background );
49
49
background-color : $active-background ;
75
75
76
76
& :focus ,
77
77
& .focus ,
78
- .btn-group- input :focus ~ & {
78
+ .btn-input :focus ~ & {
79
79
box-shadow : 0 0 0 $btn-focus-width rgba ($color , .5 );
80
80
}
81
81
87
87
88
88
& :not (:disabled ):not (.disabled ):active ,
89
89
& :not (:disabled ):not (.disabled ).active ,
90
- .btn-group- input :checked ~ & ,
90
+ .btn-input :checked ~ & ,
91
91
.show > & .dropdown-toggle {
92
92
color : color-yiq ($active-background );
93
93
background-color : $active-background ;
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ Note that pre-checked buttons require you to manually add the `checked` attribut
114
114
115
115
{{< example >}}
116
116
<div class =" btn-group " >
117
- <input type =" checkbox " class =" btn-group- input " id =" btnGroupCheckSingle " checked >
117
+ <input type =" checkbox " class =" btn-input " id =" btnGroupCheckSingle " checked >
118
118
<label class =" btn btn-primary " for =" btnGroupCheckSingle " >
119
119
Checked button
120
120
</label >
@@ -124,15 +124,15 @@ Note that pre-checked buttons require you to manually add the `checked` attribut
124
124
{{< example >}}
125
125
<div class =" btn-group " >
126
126
<div class =" btn-group " >
127
- <input type="radio" class="btn-group- input" name="btnGroupRadio" id="btnGroupRadio1" checked>
127
+ <input type="radio" class="btn-input" name="btnGroupRadio" id="btnGroupRadio1" checked>
128
128
<label class="btn btn-primary" for="btnGroupRadio1">Radio button</label>
129
129
</div >
130
130
<div class =" btn-group " >
131
- <input type="radio" class="btn-group- input" name="btnGroupRadio" id="btnGroupRadio2">
131
+ <input type="radio" class="btn-input" name="btnGroupRadio" id="btnGroupRadio2">
132
132
<label class="btn btn-primary" for="btnGroupRadio2">Radio button</label>
133
133
</div >
134
134
<div class =" btn-group " >
135
- <input type="radio" class="btn-group- input" name="btnGroupRadio" id="btnGroupRadio3">
135
+ <input type="radio" class="btn-input" name="btnGroupRadio" id="btnGroupRadio3">
136
136
<label class="btn btn-primary" for="btnGroupRadio3">Radio button</label>
137
137
</div >
138
138
</div >
You can’t perform that action at this time.
0 commit comments