summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_inputs.scss
blob: 42ab561287aa34de7e9c378571d9af0c58b70d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@charset 'UTF-8';

.form-control {
    @include border-radius($border-rad);

    &:focus {
        @include box-shadow(none);
    }

    &.no-padding {
        line-height: 32px;
        padding: 0;
    }

    &.no-resize {
        resize: none;
    }

    &[disabled],
    [readonly] {
        @include alpha-property(background, $white, .1);
        color: inherit;
        cursor: auto;
    }
}

fieldset {
    &[disabled] {
        .form-control {
            @include alpha-property(background, $white, .1);
            color: inherit;
            cursor: auto;
        }
    }
}