__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
// Button variants
//
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
@mixin button-variant($background, $border, $hover-background: darken($background, 7.5%), $hover-border: darken($border, 10%), $active-background: darken($background, 10%), $active-border: darken($border, 12.5%)) {
color: color-yiq($background);
@include gradient-bg($background);
border-color: $border;
@include box-shadow($btn-box-shadow);
@include hover() {
color: color-yiq($hover-background);
@include gradient-bg($hover-background);
border-color: $hover-border;
}
&:focus,
&.focus {
color: color-yiq($hover-background);
@include gradient-bg($hover-background);
border-color: $hover-border;
@if $enable-shadows {
@include box-shadow($btn-box-shadow, 0 0 0 $btn-focus-width rgba(mix(color-yiq($background), $border, 15%), .5));
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: 0 0 0 $btn-focus-width rgba(mix(color-yiq($background), $border, 15%), .5);
}
}
// Disabled comes first so active can properly restyle
&.disabled,
&:disabled {
color: color-yiq($background);
background-color: $background;
border-color: $border;
// Remove CSS gradients if they're enabled
@if $enable-gradients {
background-image: none;
}
}
&:not(:disabled):not(.disabled):active,
&:not(:disabled):not(.disabled).active,
.show > &.dropdown-toggle {
color: color-yiq($active-background);
background-color: $active-background;
@if $enable-gradients {
background-image: none; // Remove the gradient for the pressed/active state
}
border-color: $active-border;
&:focus {
@if $enable-shadows and $btn-active-box-shadow != none {
@include box-shadow($btn-active-box-shadow, 0 0 0 $btn-focus-width rgba(mix(color-yiq($background), $border, 15%), .5));
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: 0 0 0 $btn-focus-width rgba(mix(color-yiq($background), $border, 15%), .5);
}
}
}
}
@mixin button-outline-variant($color, $color-hover: color-yiq($color), $active-background: $color, $active-border: $color) {
color: $color;
border-color: $color;
@include hover() {
color: $color-hover;
background-color: $active-background;
border-color: $active-border;
}
&:focus,
&.focus {
box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
}
&.disabled,
&:disabled {
color: $color;
background-color: transparent;
}
&:not(:disabled):not(.disabled):active,
&:not(:disabled):not(.disabled).active,
.show > &.dropdown-toggle {
color: color-yiq($active-background);
background-color: $active-background;
border-color: $active-border;
&:focus {
@if $enable-shadows and $btn-active-box-shadow != none {
@include box-shadow($btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($color, .5));
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
}
}
}
}
// Button sizes
@mixin button-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
padding: $padding-y $padding-x;
@include font-size($font-size);
line-height: $line-height;
// Manually declare to provide an override to the browser default
@include border-radius($border-radius, 0);
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| _alert.scss | File | 242 B | 0777 |
|
| _background-variant.scss | File | 695 B | 0777 |
|
| _badge.scss | File | 320 B | 0777 |
|
| _border-radius.scss | File | 1.79 KB | 0777 |
|
| _box-shadow.scss | File | 532 B | 0777 |
|
| _breakpoints.scss | File | 4.38 KB | 0777 |
|
| _buttons.scss | File | 3.44 KB | 0777 |
|
| _caret.scss | File | 1.39 KB | 0777 |
|
| _clearfix.scss | File | 93 B | 0777 |
|
| _deprecate.scss | File | 613 B | 0777 |
|
| _float.scss | File | 392 B | 0777 |
|
| _forms.scss | File | 5.68 KB | 0777 |
|
| _gradients.scss | File | 2 KB | 0777 |
|
| _grid-framework.scss | File | 2.04 KB | 0777 |
|
| _grid.scss | File | 2.04 KB | 0777 |
|
| _hover.scss | File | 757 B | 0777 |
|
| _image.scss | File | 1.13 KB | 0777 |
|
| _list-group.scss | File | 433 B | 0777 |
|
| _lists.scss | File | 170 B | 0777 |
|
| _nav-divider.scss | File | 369 B | 0777 |
|
| _pagination.scss | File | 462 B | 0777 |
|
| _reset-text.scss | File | 481 B | 0777 |
|
| _resize.scss | File | 202 B | 0777 |
|
| _screen-reader.scss | File | 827 B | 0777 |
|
| _size.scss | File | 148 B | 0777 |
|
| _table-row.scss | File | 794 B | 0777 |
|
| _text-emphasis.scss | File | 474 B | 0777 |
|
| _text-hide.scss | File | 326 B | 0777 |
|
| _text-truncate.scss | File | 168 B | 0777 |
|
| _transition.scss | File | 681 B | 0777 |
|
| _visibility.scss | File | 189 B | 0777 |
|