aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/slider/slider.scss
blob: 30c5eb85cb778954015c808379fdf0ca34646593 (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
@mixin chameleon-slider($primaryStyleName : v-slider) {

.#{$primaryStyleName} {
	border-top: 1px solid #9a9c9e;
	border-bottom: 1px solid #bdbfc1;
	margin: 3px 0;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	}

.#{$primaryStyleName}-base {
	height: 4px;
	background: #e0e2e2 url(../../img/grad-dark-top2.png) repeat-x;
	border-top: 1px solid #adb0b1;
	border-left: 1px solid #a0a3a6;
	border-right: 1px solid #a0a3a6;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	}

.#{$primaryStyleName}-handle {
	background: #c9c9c9 url(../../img/grad-dark-bottom2.png) repeat-x left bottom;
	border: 1px solid #b3b3b3;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.5);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.5);
	cursor: pointer;
	}

.#{$primaryStyleName}-handle-active {
	background-color: #afafaf;
	}

.#{$primaryStyleName}-vertical {
	width: auto;
	margin: 0 4px;
	border-width: 0 1px;
	}

.#{$primaryStyleName}-vertical .#{$primaryStyleName}-base {
	background-image: none;
	width: 4px;
	border-width: 1px 1px 0;
	}

.#{$primaryStyleName}-vertical .#{$primaryStyleName}-handle {
	width: 10px;
	height: 10px;
	margin: 0;
	margin-left: -5px;
	}

}