Project

General

Profile

1
// shadows
2
.boxShadowHelper(@level: 1){
3
    & when (@level = 0) {
4
        box-shadow: none !important;
5
    }
6
    & when (@level = 1) {
7
        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
8
    }
9
    & when (@level = 2) {
10
        box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
11
    }
12
    & when (@level = 3) {
13
        box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
14
    }
15
    & when (@level = 4) {
16
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
17
    }
18
    & when (@level = 5) {
19
        box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
20
    }
21
}
22

    
23
.md-box-shadow-left() {
24
    box-shadow: -2px 2px 5px rgba(0,0,0,.26);
25
}
26
.md-box-shadow-right() {
27
    box-shadow: 2px 2px 5px rgba(0,0,0,.26);
28
}
29
.md-box-shadow-medium-right() {
30
    box-shadow: 4px 0 8px rgba(0,0,0,.26);
31
}
32

    
33
/* bg colors */
34
.md-bg-cyan {
35
    background-color: @md-color-cyan-600 !important;
36
    color: @white;
37
}
38
.md-bg-light-green {
39
    background-color: @md-color-light-green-600 !important;
40
    color: @white;
41
}
42
.md-bg-grey {
43
    background-color: @md-color-grey-700 !important;
44
    color: @white;
45
}
46
.md-bg-red {
47
    background-color: @md-color-red-700 !important;
48
    color: @white;
49
}
50
.md-bg-light-blue {
51
    background-color: @md-color-light-blue-700 !important;
52
    color: @white;
53
}
54
.md-bg-teal {
55
    background-color: @md-color-teal-600 !important;
56
    color: @white;
57
}
58
.md-bg-purple {
59
    background-color: @md-color-purple-600 !important;
60
    color: @white;
61
}
(11-11/12)