aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/shadow/shadow.scss
blob: 3c369d3feff59dde780572b81dec9f628598e96b (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
73
74
75
76
77
78
@mixin base-shadow($primaryStyleName : v-shadow) {

.#{$primaryStyleName} {
	position: absolute;
	display: none;
	pointer-events: none;
	
	.v-ie8 & {
	  display: block;
	}
}

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

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

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

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

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

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

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

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

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

}