summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_buttons.scss
blob: abf5b772f7859133907b2e6eb979eefc37fb422b (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@charset 'UTF-8';

.btn {
    @include single-transition(all, .25s, ease-in);
    @include border-radius($border-rad);

    &.btn-primary {
        background: $primary-color;
        border-color: transparent;

        &:hover,
        &:focus,
        &:active {
            background: $primary-color--hover;
        }
    }

    &.btn-default {
        background: alpha-color($black, .7);
        color: $white;

        &:hover,
        &:focus,
        &:active {
            background: alpha-color($black, .8);
            color: $white;
        }
    }

    &.btn-danger {
        color: $white;

        .app__body & {
            color: $white;

            &:hover,
            &:focus,
            &:active {
                color: $white;
            }
        }

        &:hover,
        &:focus,
        &:active {
            color: $white;
        }
    }

    &.btn-inactive {
        background: $light-gray;
        border-color: transparent;
        color: $white;
    }
}