ldc-agis/resources/sass/fo/utilities/bs-customs/_input.scss
2023-12-19 15:09:12 +00:00

19 lines
567 B
SCSS

.form-control {
border: inherit;
background-color: inherit;
@include input-shape($input-bg);
// Customize the `:focus` state to imitate native WebKit styles.
&:focus {
background-color: inherit;
}
// Disabled inputs
// HTML5 says that controls under a fieldset > legend:first-child won't be
// disabled if the fieldset is disabled. Due to implementation difficulty, we
// don't honor that edge case; we style them as disabled anyway.
&:disabled {
background-color: #{shade-color($body-bg, 20%)};
}
}