summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-common/client/app/styles/buttons.less
blob: dd11101cd723feaceb240aeee87c43f6b5769531 (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
.ecomp-btn {
    .white14m;
    border-style: solid;
    border-width: 1px;
    border-radius: 6px;
    box-shadow: 0px 1px 0.99px 0.01px rgba(2, 60, 89, 0.004);
    height: 29px;
    line-height: 29px;
    cursor: pointer;
    text-align: center;

    &:disabled {
        opacity: .5;
        cursor: default;
    }
    &:focus {
        outline: 0;
        border: 1px solid @funcRed;
    }
}
.btn-green {
    .ecomp-btn;
    border-color: @green-border;
    background: @green-active;
    &:hover {
        &:disabled {
            background: @green-active;
        }
        background: @green-hover;
    }
}
.btn-blue {
    .ecomp-btn;
    //border-color: @blue-border;
    background: @blue-active;

    &:hover {
        -webkit-transition: background-color .3s ease-out;
        -moz-transition: background-color .3s ease-out;
        transition: background-color .3s ease-out;
        background: @blue-hover;
        color : @funcBkgGray;
        &.disabled {
            background: @blue-active;
            opacity: 0.5;
            cursor: default;
        }
    }

    &.disabled {
        opacity: 0.5;
        cursor: default;
    }
}