/home/techb158/dev.balacoffee.com/resources/src/assets/styles/vendor/bootstrap/mixins
NameSizeModeActions
_alert.scss2420644editdlrm
_background-variant.scss4740644editdlrm
_badge.scss2300644editdlrm
_border-radius.scss7220644editdlrm
_box-shadow.scss870644editdlrm
_breakpoints.scss44690644editdlrm
_buttons.scss32450644editdlrm
_caret.scss14780644editdlrm
_clearfix.scss930644editdlrm
_float.scss1930644editdlrm
_forms.scss34870644editdlrm
_gradients.scss20500644editdlrm
_grid-framework.scss18990644editdlrm
_grid.scss16060644editdlrm
_hover.scss7490644editdlrm
_image.scss11720644editdlrm
_list-group.scss4310644editdlrm
_lists.scss1680644editdlrm
_nav-divider.scss2610644editdlrm
_pagination.scss4530644editdlrm
_reset-text.scss5470644editdlrm
_resize.scss2020644editdlrm
_screen-reader.scss7330644editdlrm
_size.scss980644editdlrm
_table-row.scss6470644editdlrm
_text-emphasis.scss2590644editdlrm
_text-hide.scss3980644editdlrm
_text-truncate.scss1680644editdlrm
_transition.scss2740644editdlrm
_visibility.scss1340644editdlrm
Edit: /home/techb158/dev.balacoffee.com/resources/src/assets/styles/vendor/bootstrap/mixins/_forms.scss (3487B)
// Form control focus state // // Generate a customized focus state and for any input with the specified color, // which defaults to the `$input-focus-border-color` variable. // // We highly encourage you to not customize the default value, but instead use // this to tweak colors on an as-needed basis. This aesthetic change is based on // WebKit's default styles, but applicable to a wider range of browsers. Its // usability and accessibility should be taken into account with any change. // // Example usage: change the default blue border and shadow to white for better // contrast against a dark gray background. @mixin form-control-focus() { &:focus { color: $input-focus-color; background-color: $input-focus-bg; border-color: $input-focus-border-color; outline: 0; // Avoid using mixin so we can pass custom focus shadow properly @if $enable-shadows { box-shadow: $input-box-shadow, $input-focus-box-shadow; } @else { box-shadow: $input-focus-box-shadow; } } } @mixin form-validation-state($state, $color) { .#{$state}-feedback { display: none; width: 100%; margin-top: $form-feedback-margin-top; font-size: $form-feedback-font-size; color: $color; } .#{$state}-tooltip { position: absolute; top: 100%; z-index: 5; display: none; max-width: 100%; // Contain to parent when possible padding: $tooltip-padding-y $tooltip-padding-x; margin-top: .1rem; font-size: $tooltip-font-size; line-height: $line-height-base; color: color-yiq($color); background-color: rgba($color, $tooltip-opacity); @include border-radius($tooltip-border-radius); } .form-control, .custom-select { .was-validated &:#{$state}, &.is-#{$state} { border-color: $color; &:focus { border-color: $color; box-shadow: 0 0 0 $input-focus-width rgba($color, .25); } ~ .#{$state}-feedback, ~ .#{$state}-tooltip { display: block; } } } .form-control-file { .was-validated &:#{$state}, &.is-#{$state} { ~ .#{$state}-feedback, ~ .#{$state}-tooltip { display: block; } } } .form-check-input { .was-validated &:#{$state}, &.is-#{$state} { ~ .form-check-label { color: $color; } ~ .#{$state}-feedback, ~ .#{$state}-tooltip { display: block; } } } .custom-control-input { .was-validated &:#{$state}, &.is-#{$state} { ~ .custom-control-label { color: $color; &::before { background-color: lighten($color, 25%); } } ~ .#{$state}-feedback, ~ .#{$state}-tooltip { display: block; } &:checked { ~ .custom-control-label::before { @include gradient-bg(lighten($color, 10%)); } } &:focus { ~ .custom-control-label::before { box-shadow: 0 0 0 1px $body-bg, 0 0 0 $input-focus-width rgba($color, .25); } } } } // custom file .custom-file-input { .was-validated &:#{$state}, &.is-#{$state} { ~ .custom-file-label { border-color: $color; &::after { border-color: inherit; } } ~ .#{$state}-feedback, ~ .#{$state}-tooltip { display: block; } &:focus { ~ .custom-file-label { box-shadow: 0 0 0 $input-focus-width rgba($color, .25); } } } } }