__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
// 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;
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| mixins | Folder | 0777 |
|
|
| utilities | Folder | 0777 |
|
|
| vendor | Folder | 0777 |
|
|
| _alert.scss | File | 1.14 KB | 0777 |
|
| _badge.scss | File | 1.09 KB | 0777 |
|
| _breadcrumb.scss | File | 1.29 KB | 0777 |
|
| _button-group.scss | File | 3.54 KB | 0777 |
|
| _buttons.scss | File | 2.62 KB | 0777 |
|
| _card.scss | File | 5.8 KB | 0777 |
|
| _carousel.scss | File | 4.73 KB | 0777 |
|
| _close.scss | File | 940 B | 0777 |
|
| _code.scss | File | 1012 B | 0777 |
|
| _custom-forms.scss | File | 15.33 KB | 0777 |
|
| _dropdown.scss | File | 4.33 KB | 0777 |
|
| _forms.scss | File | 9.03 KB | 0777 |
|
| _functions.scss | File | 5.26 KB | 0777 |
|
| _grid.scss | File | 1.7 KB | 0777 |
|
| _images.scss | File | 1.13 KB | 0777 |
|
| _input-group.scss | File | 6.37 KB | 0777 |
|
| _jumbotron.scss | File | 406 B | 0777 |
|
| _list-group.scss | File | 3.78 KB | 0777 |
|
| _media.scss | File | 83 B | 0777 |
|
| _mixins.scss | File | 1.03 KB | 0777 |
|
| _modal.scss | File | 6.16 KB | 0777 |
|
| _nav.scss | File | 2.29 KB | 0777 |
|
| _navbar.scss | File | 7.35 KB | 0777 |
|
| _pagination.scss | File | 1.78 KB | 0777 |
|
| _popover.scss | File | 4.61 KB | 0777 |
|
| _print.scss | File | 2.78 KB | 0777 |
|
| _progress.scss | File | 1.14 KB | 0777 |
|
| _reboot.scss | File | 11.27 KB | 0777 |
|
| _root.scss | File | 572 B | 0777 |
|
| _spinners.scss | File | 1.26 KB | 0777 |
|
| _tables.scss | File | 3.46 KB | 0777 |
|
| _toasts.scss | File | 1.11 KB | 0777 |
|
| _tooltip.scss | File | 2.46 KB | 0777 |
|
| _transitions.scss | File | 363 B | 0777 |
|
| _type.scss | File | 2.17 KB | 0777 |
|
| _utilities.scss | File | 536 B | 0777 |
|
| _variables.scss | File | 47.48 KB | 0777 |
|
| bootstrap-grid.scss | File | 598 B | 0777 |
|
| bootstrap-reboot.scss | File | 409 B | 0777 |
|
| bootstrap.scss | File | 918 B | 0777 |
|