File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ // stylelint-disable selector-no-qualifying-type
2
+
3
+ * [dir = " rtl" ] {
4
+ .btn-group {
5
+ // Prevent double borders when buttons are next to each other
6
+ > .btn :not (:first-child ),
7
+ > .btn-group :not (:first-child ) {
8
+ margin-right : - $btn-border-width ;
9
+ }
10
+
11
+ // Reset rounded corners
12
+ > .btn :not (:last-child ):not (.dropdown-toggle ),
13
+ > .btn-group :not (:last-child ) > .btn {
14
+ @include border-radius ($border-radius , 0 );
15
+ @include border-left-radius (0 );
16
+ }
17
+
18
+ > .btn :not (:first-child ),
19
+ > .btn-group :not (:first-child ) > .btn {
20
+ @include border-radius ($border-radius , 0 );
21
+ @include border-right-radius (0 );
22
+ }
23
+
24
+ > .btn :not (:first-child ):not (:last-child ):not (.dropdown-toggle ) {
25
+ @include border-left-radius (0 );
26
+ @include border-right-radius (0 );
27
+ }
28
+ }
29
+ }
Original file line number Diff line number Diff line change 29
29
@import " breadcrumb" ;
30
30
@import " brand-card" ;
31
31
@import " brand-buttons" ;
32
+ @import " button-group" ;
32
33
@import " buttons" ;
33
34
@import " callout" ;
34
35
@import " card" ;
You can’t perform that action at this time.
0 commit comments