summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/runo/shadow/shadow.scss
blob: f24cab1bd2c47f7223e8b44995c7c952e99f296c (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@mixin runo-shadow($primaryStyleName : v-shadow) {

.#{$primaryStyleName} {
	position: absolute;
}

.#{$primaryStyleName} .top-left {
    position: absolute; overflow: hidden;
    top: -3px;             left: -4px;
    width: 8px;         height: 8px;
    background: transparent url(img/top-left.png);
}

.#{$primaryStyleName} .top {
    position: absolute; overflow: hidden;
    top: -3px;             left: 4px;
    height: 8px;           right: 4px;
    background: transparent url(img/top.png);
}

.#{$primaryStyleName} .top-right {
    position: absolute; overflow: hidden;
    top: -3px;             right: -4px;
    width: 8px;         height: 8px;
    background: transparent url(img/top-right.png);
}

.#{$primaryStyleName} .left {
    position: absolute; overflow: hidden;
    top: 5px;           left: -4px;
    width: 8px;
    bottom: 3px;
    background: transparent url(img/left.png);
}

.#{$primaryStyleName} .center {
    position: absolute; overflow: hidden;
    top: 5px;           left: 4px;
    bottom: 3px;        right: 4px;
    background: transparent url(img/center.png);
}

.#{$primaryStyleName} .right {
    position: absolute; overflow: hidden;
    top: 5px;           right: -4px;
    width: 8px;
    bottom: 3px;
    background: transparent url(img/right.png);
}

.#{$primaryStyleName} .bottom-left {
    position: absolute; overflow: hidden;
    bottom: -5px;           left: -4px;
    width: 8px;          height: 8px;
    background: transparent url(img/bottom-left.png);
}

.#{$primaryStyleName} .bottom {
    position: absolute; overflow: hidden;
    bottom: -5px;           left: 4px;
    right: 4px;          height: 8px;
    background: transparent url(img/bottom.png);
}

.#{$primaryStyleName} .bottom-right {
    position: absolute; overflow: hidden;
    bottom: -5px;           right: -4px;
    width: 8px;          height: 8px;
    background: transparent url(img/bottom-right.png);
}

}