Skip to content

Commit f71eb60

Browse files
committed
versa: tweak btn-group
1 parent c7de54c commit f71eb60

14 files changed

+74
-8
lines changed

dist/versa/_bootswatch.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,32 @@ $border-dark: rgba(255, 255, 255, .08) !default;
203203
}
204204

205205
.btn-group {
206+
box-shadow: $box-shadow;
207+
206208
.btn:first-child {
207209
border-color: transparent;
208210
border-width: 0 0 0 1px;
209211
box-shadow: none;
210212
}
211213

214+
.btn-secondary {
215+
// border-color: $gray-200;
216+
217+
&:first-child {
218+
border: 1px solid $gray-200;
219+
}
220+
}
221+
212222
:not(.btn-check) + .btn {
213223
border-color: $gray-200;
214224
border-width: 0 0 0 1px;
215225
box-shadow: none;
216226

227+
&-secondary {
228+
// border-color: $gray-200;
229+
border-width: 1px;
230+
}
231+
217232
&:hover {
218233
z-index: 0;
219234
}

dist/versa/bootstrap.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12226,16 +12226,25 @@ textarea.form-control-lg {
1222612226
border-color: rgba(255, 255, 255, 0.08);
1222712227
}
1222812228

12229+
.btn-group {
12230+
box-shadow: rgba(0, 0, 0, 0.05) 0 1px 2px 0;
12231+
}
1222912232
.btn-group .btn:first-child {
1223012233
border-color: transparent;
1223112234
border-width: 0 0 0 1px;
1223212235
box-shadow: none;
1223312236
}
12237+
.btn-group .btn-secondary:first-child {
12238+
border: 1px solid #e5e5e5;
12239+
}
1223412240
.btn-group :not(.btn-check) + .btn {
1223512241
border-color: #e5e5e5;
1223612242
border-width: 0 0 0 1px;
1223712243
box-shadow: none;
1223812244
}
12245+
.btn-group :not(.btn-check) + .btn-secondary {
12246+
border-width: 1px;
12247+
}
1223912248
.btn-group :not(.btn-check) + .btn:hover {
1224012249
z-index: 0;
1224112250
}

dist/versa/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/versa/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/versa/bootstrap.rtl.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12200,16 +12200,25 @@ textarea.form-control-lg {
1220012200
border-color: rgba(255, 255, 255, 0.08);
1220112201
}
1220212202

12203+
.btn-group {
12204+
box-shadow: rgba(0, 0, 0, 0.05) 0 1px 2px 0;
12205+
}
1220312206
.btn-group .btn:first-child {
1220412207
border-color: transparent;
1220512208
border-width: 0 1px 0 0;
1220612209
box-shadow: none;
1220712210
}
12211+
.btn-group .btn-secondary:first-child {
12212+
border: 1px solid #e5e5e5;
12213+
}
1220812214
.btn-group :not(.btn-check) + .btn {
1220912215
border-color: #e5e5e5;
1221012216
border-width: 0 1px 0 0;
1221112217
box-shadow: none;
1221212218
}
12219+
.btn-group :not(.btn-check) + .btn-secondary {
12220+
border-width: 1px;
12221+
}
1221312222
.btn-group :not(.btn-check) + .btn:hover {
1221412223
z-index: 0;
1221512224
}

dist/versa/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/versa/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/versa/_bootswatch.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,32 @@ $border-dark: rgba(255, 255, 255, .08) !default;
203203
}
204204

205205
.btn-group {
206+
box-shadow: $box-shadow;
207+
206208
.btn:first-child {
207209
border-color: transparent;
208210
border-width: 0 0 0 1px;
209211
box-shadow: none;
210212
}
211213

214+
.btn-secondary {
215+
// border-color: $gray-200;
216+
217+
&:first-child {
218+
border: 1px solid $gray-200;
219+
}
220+
}
221+
212222
:not(.btn-check) + .btn {
213223
border-color: $gray-200;
214224
border-width: 0 0 0 1px;
215225
box-shadow: none;
216226

227+
&-secondary {
228+
// border-color: $gray-200;
229+
border-width: 1px;
230+
}
231+
217232
&:hover {
218233
z-index: 0;
219234
}

docs/5/versa/bootstrap.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12226,16 +12226,25 @@ textarea.form-control-lg {
1222612226
border-color: rgba(255, 255, 255, 0.08);
1222712227
}
1222812228

12229+
.btn-group {
12230+
box-shadow: rgba(0, 0, 0, 0.05) 0 1px 2px 0;
12231+
}
1222912232
.btn-group .btn:first-child {
1223012233
border-color: transparent;
1223112234
border-width: 0 0 0 1px;
1223212235
box-shadow: none;
1223312236
}
12237+
.btn-group .btn-secondary:first-child {
12238+
border: 1px solid #e5e5e5;
12239+
}
1223412240
.btn-group :not(.btn-check) + .btn {
1223512241
border-color: #e5e5e5;
1223612242
border-width: 0 0 0 1px;
1223712243
box-shadow: none;
1223812244
}
12245+
.btn-group :not(.btn-check) + .btn-secondary {
12246+
border-width: 1px;
12247+
}
1223912248
.btn-group :not(.btn-check) + .btn:hover {
1224012249
z-index: 0;
1224112250
}

docs/5/versa/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.

0 commit comments

Comments
 (0)