19 lines
567 B
SCSS
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%)};
|
|
}
|
|
}
|