/
usr
/
share
/
sass
/
bootstrap
/
/usr/share/sass/bootstrap
mkdir
upload
Name
Size
Mode
Actions
mixins/
-
0755
rm
utilities/
-
0755
rm
vendor/
-
0755
rm
bootstrap-grid.scss
598
0644
edit
dl
rm
bootstrap-reboot.scss
409
0644
edit
dl
rm
bootstrap.scss
918
0644
edit
dl
rm
_alert.scss
1164
0644
edit
dl
rm
_badge.scss
1121
0644
edit
dl
rm
_breadcrumb.scss
1326
0644
edit
dl
rm
_button-group.scss
3626
0644
edit
dl
rm
_buttons.scss
2685
0644
edit
dl
rm
_card.scss
5935
0644
edit
dl
rm
_carousel.scss
4794
0644
edit
dl
rm
_close.scss
940
0644
edit
dl
rm
_code.scss
1012
0644
edit
dl
rm
_custom-forms.scss
15688
0644
edit
dl
rm
_dropdown.scss
4436
0644
edit
dl
rm
_forms.scss
9242
0644
edit
dl
rm
_functions.scss
4181
0644
edit
dl
rm
_grid.scss
1745
0644
edit
dl
rm
_images.scss
1157
0644
edit
dl
rm
_input-group.scss
6318
0644
edit
dl
rm
_jumbotron.scss
405
0644
edit
dl
rm
_list-group.scss
3870
0644
edit
dl
rm
_media.scss
83
0644
edit
dl
rm
_mixins.scss
1050
0644
edit
dl
rm
_modal.scss
6308
0644
edit
dl
rm
_nav.scss
2154
0644
edit
dl
rm
_navbar.scss
7529
0644
edit
dl
rm
_pagination.scss
1823
0644
edit
dl
rm
_popover.scss
4705
0644
edit
dl
rm
_print.scss
3033
0644
edit
dl
rm
_progress.scss
1171
0644
edit
dl
rm
_reboot.scss
11539
0644
edit
dl
rm
_root.scss
572
0644
edit
dl
rm
_spinners.scss
1263
0644
edit
dl
rm
_tables.scss
3544
0644
edit
dl
rm
_toasts.scss
1132
0644
edit
dl
rm
_tooltip.scss
2512
0644
edit
dl
rm
_transitions.scss
261
0644
edit
dl
rm
_type.scss
2222
0644
edit
dl
rm
_utilities.scss
536
0644
edit
dl
rm
_variables.scss
48498
0644
edit
dl
rm
Edit:
/usr/share/sass/bootstrap/_button-group.scss
(3626B)
// stylelint-disable selector-no-qualifying-type // Make the div behave like a button .btn-group, .btn-group-vertical { position: relative; display: inline-flex; vertical-align: middle; // match .btn alignment given font-size hack above > .btn { position: relative; flex: 1 1 auto; // Bring the hover, focused, and "active" buttons to the front to overlay // the borders properly @include hover() { z-index: 1; } &:focus, &:active, &.active { z-index: 1; } } } // Optional: Group multiple button groups together for a toolbar .btn-toolbar { display: flex; flex-wrap: wrap; justify-content: flex-start; .input-group { width: auto; } } .btn-group { // Prevent double borders when buttons are next to each other > .btn:not(:first-child), > .btn-group:not(:first-child) { margin-left: -$btn-border-width; } // Reset rounded corners > .btn:not(:last-child):not(.dropdown-toggle), > .btn-group:not(:last-child) > .btn { @include border-right-radius(0); } > .btn:not(:first-child), > .btn-group:not(:first-child) > .btn { @include border-left-radius(0); } } // Sizing // // Remix the default button sizing classes into new ones for easier manipulation. .btn-group-sm > .btn { @extend .btn-sm; } .btn-group-lg > .btn { @extend .btn-lg; } // // Split button dropdowns // .dropdown-toggle-split { padding-right: $btn-padding-x * .75; padding-left: $btn-padding-x * .75; &::after, .dropup &::after, .dropright &::after { margin-left: 0; } .dropleft &::before { margin-right: 0; } } .btn-sm + .dropdown-toggle-split { padding-right: $btn-padding-x-sm * .75; padding-left: $btn-padding-x-sm * .75; } .btn-lg + .dropdown-toggle-split { padding-right: $btn-padding-x-lg * .75; padding-left: $btn-padding-x-lg * .75; } // The clickable button for toggling the menu // Set the same inset shadow as the :active state .btn-group.show .dropdown-toggle { @include box-shadow($btn-active-box-shadow); // Show no shadow for `.btn-link` since it has no other button styles. &.btn-link { @include box-shadow(none); } } // // Vertical button groups // .btn-group-vertical { flex-direction: column; align-items: flex-start; justify-content: center; > .btn, > .btn-group { width: 100%; } > .btn:not(:first-child), > .btn-group:not(:first-child) { margin-top: -$btn-border-width; } // Reset rounded corners > .btn:not(:last-child):not(.dropdown-toggle), > .btn-group:not(:last-child) > .btn { @include border-bottom-radius(0); } > .btn:not(:first-child), > .btn-group:not(:first-child) > .btn { @include border-top-radius(0); } } // Checkbox and radio options // // In order to support the browser's form validation feedback, powered by the // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use // `display: none;` or `visibility: hidden;` as that also hides the popover. // Simply visually hiding the inputs via `opacity` would leave them clickable in // certain cases which is prevented by using `clip` and `pointer-events`. // This way, we ensure a DOM element is visible to position the popover from. // // See https://github.com/twbs/bootstrap/pull/12794 and // https://github.com/twbs/bootstrap/pull/14559 for more information. .btn-group-toggle { > .btn, > .btn-group > .btn { margin-bottom: 0; // Override default `<label>` value input[type="radio"], input[type="checkbox"] { position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; } } }
Save
cmd:
run