Skip to content

Commit 7cbb5e3

Browse files
committed
brite: fix btn-group borders
1 parent 8b3571a commit 7cbb5e3

14 files changed

+58
-12
lines changed

dist/brite/_bootswatch.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,24 @@
101101
color: $white;
102102
}
103103

104+
.btn-group {
105+
.btn {
106+
margin-left: 0;
107+
}
108+
}
109+
104110
.btn-group,
105111
.btn-group-vertical {
106112
.btn {
107113
&:hover,
114+
&:active,
108115
&:focus {
109116
z-index: 0;
110117
}
118+
111119
}
112120

121+
> .btn-check:focus + .btn,
113122
> .btn-check:checked + .btn {
114123
z-index: 0;
115124
}

dist/brite/bootstrap.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12246,12 +12246,19 @@ textarea.form-control-lg {
1224612246
color: #fff;
1224712247
}
1224812248

12249-
.btn-group .btn:hover, .btn-group .btn:focus,
12249+
.btn-group .btn {
12250+
margin-left: 0;
12251+
}
12252+
12253+
.btn-group .btn:hover, .btn-group .btn:active, .btn-group .btn:focus,
1225012254
.btn-group-vertical .btn:hover,
12255+
.btn-group-vertical .btn:active,
1225112256
.btn-group-vertical .btn:focus {
1225212257
z-index: 0;
1225312258
}
12259+
.btn-group > .btn-check:focus + .btn,
1225412260
.btn-group > .btn-check:checked + .btn,
12261+
.btn-group-vertical > .btn-check:focus + .btn,
1225512262
.btn-group-vertical > .btn-check:checked + .btn {
1225612263
z-index: 0;
1225712264
}

dist/brite/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/brite/bootstrap.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/brite/bootstrap.rtl.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12220,12 +12220,19 @@ textarea.form-control-lg {
1222012220
color: #fff;
1222112221
}
1222212222

12223-
.btn-group .btn:hover, .btn-group .btn:focus,
12223+
.btn-group .btn {
12224+
margin-right: 0;
12225+
}
12226+
12227+
.btn-group .btn:hover, .btn-group .btn:active, .btn-group .btn:focus,
1222412228
.btn-group-vertical .btn:hover,
12229+
.btn-group-vertical .btn:active,
1222512230
.btn-group-vertical .btn:focus {
1222612231
z-index: 0;
1222712232
}
12233+
.btn-group > .btn-check:focus + .btn,
1222812234
.btn-group > .btn-check:checked + .btn,
12235+
.btn-group-vertical > .btn-check:focus + .btn,
1222912236
.btn-group-vertical > .btn-check:checked + .btn {
1223012237
z-index: 0;
1223112238
}

dist/brite/bootstrap.rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/brite/bootstrap.rtl.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/5/brite/_bootswatch.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,24 @@
101101
color: $white;
102102
}
103103

104+
.btn-group {
105+
.btn {
106+
margin-left: 0;
107+
}
108+
}
109+
104110
.btn-group,
105111
.btn-group-vertical {
106112
.btn {
107113
&:hover,
114+
&:active,
108115
&:focus {
109116
z-index: 0;
110117
}
118+
111119
}
112120

121+
> .btn-check:focus + .btn,
113122
> .btn-check:checked + .btn {
114123
z-index: 0;
115124
}

docs/5/brite/bootstrap.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12246,12 +12246,19 @@ textarea.form-control-lg {
1224612246
color: #fff;
1224712247
}
1224812248

12249-
.btn-group .btn:hover, .btn-group .btn:focus,
12249+
.btn-group .btn {
12250+
margin-left: 0;
12251+
}
12252+
12253+
.btn-group .btn:hover, .btn-group .btn:active, .btn-group .btn:focus,
1225012254
.btn-group-vertical .btn:hover,
12255+
.btn-group-vertical .btn:active,
1225112256
.btn-group-vertical .btn:focus {
1225212257
z-index: 0;
1225312258
}
12259+
.btn-group > .btn-check:focus + .btn,
1225412260
.btn-group > .btn-check:checked + .btn,
12261+
.btn-group-vertical > .btn-check:focus + .btn,
1225512262
.btn-group-vertical > .btn-check:checked + .btn {
1225612263
z-index: 0;
1225712264
}

docs/5/brite/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/5/brite/bootstrap.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/5/brite/bootstrap.rtl.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12220,12 +12220,19 @@ textarea.form-control-lg {
1222012220
color: #fff;
1222112221
}
1222212222

12223-
.btn-group .btn:hover, .btn-group .btn:focus,
12223+
.btn-group .btn {
12224+
margin-right: 0;
12225+
}
12226+
12227+
.btn-group .btn:hover, .btn-group .btn:active, .btn-group .btn:focus,
1222412228
.btn-group-vertical .btn:hover,
12229+
.btn-group-vertical .btn:active,
1222512230
.btn-group-vertical .btn:focus {
1222612231
z-index: 0;
1222712232
}
12233+
.btn-group > .btn-check:focus + .btn,
1222812234
.btn-group > .btn-check:checked + .btn,
12235+
.btn-group-vertical > .btn-check:focus + .btn,
1222912236
.btn-group-vertical > .btn-check:checked + .btn {
1223012237
z-index: 0;
1223112238
}

docs/5/brite/bootstrap.rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/5/brite/bootstrap.rtl.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)