1234567891011121314151617181920212223242526272829303132333435 |
- //
- // Inputs Flavor
- // --------------------------------------------------
- // default input
- input.form-control {
- border-color: @input-border;
- box-shadow: inset 0px 0px 0px 1px @input-border;
- &:focus {
- border-color: @input-border-focus;
- box-shadow: inset 0px 0px 0px 1px @input-border-focus;
- }
- }
- .has-error input.form-control {
- border-color: @state-danger-border;
- box-shadow: inset 0px 0px 0px 1px @state-danger-border;
- &:focus {
- border-color: lighten(@state-danger-border, 20%);
- box-shadow: inset 0px 0px 0px 1px lighten(@state-danger-border, 20%);
- }
- }
- .has-success input.form-control {
- border-color: @state-success-border;
- box-shadow: inset 0px 0px 0px 1px @state-success-border;
- &:focus {
- border-color: lighten(@state-success-border, 20%);
- box-shadow: inset 0px 0px 0px 1px lighten(@state-success-border, 20%);
- }
- }
|