summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/runo/slider/slider.scss
blob: aa8cbe3e7abf5344e72c21fb9dea105ae00694d0 (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
@mixin runo-slider($primaryStyleName : v-slider) {

.#{$primaryStyleName} {
	border-top: 1px solid #cccfd0;
	border-bottom: 1px solid #cccfd0;
	margin: 5px 0;
}
.#{$primaryStyleName}-base {
	/* changing the borders will require adjustments to ISlider.java */
	height: 2px;
	background: #f3f3f4;
	border-top: 1px solid #cbcdce;
	border-left: 1px solid #cccfd0;
	border-right: 1px solid #cccfd0;
}
.#{$primaryStyleName}-handle {
	background: transparent url(img/handle-horizontal.png);
	width: 12px;
	height: 12px;
	margin-top: -5px;
	cursor: pointer;
}
.#{$primaryStyleName}-handle:hover {
	background-position: left bottom;
}
.#{$primaryStyleName}-scrollbar .#{$primaryStyleName}-handle,
.#{$primaryStyleName}-scrollbar.#{$primaryStyleName}-vertical .#{$primaryStyleName}-handle {
	background: #ffffff;
	border: 1px solid #cccfd0;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

.#{$primaryStyleName}-vertical {
	width: 3px;
	margin: 0 5px;
	border: none;
	border-left: 1px solid #cccfd0;
	border-right: 1px solid #cccfd0;
}
.#{$primaryStyleName}-vertical .#{$primaryStyleName}-base {
	width: 2px;
	border-left: 1px solid #cbcdce;
	border-right: none;
	background: #f3f3f4;
	border-top: 1px solid #cccfd0;
	border-bottom: 1px solid #cccfd0;	
}
.#{$primaryStyleName}-vertical .#{$primaryStyleName}-handle {
	background: transparent url(img/handle-vertical.png);
	width: 12px;
	height: 12px;
	margin-left: -5px;
}
.#{$primaryStyleName}-vertical .#{$primaryStyleName}-handle-active {
	background-position: left bottom;
}

/* Disabled by default
.#{$primaryStyleName}-error .#{$primaryStyleName}-base {
	background:transparent;
	background-color: #FFE0E0;
}
*/

/* Disabled by default
.#{$primaryStyleName}-required .#{$primaryStyleName}-base {
	background:transparent;
	background-color: #FFE0E0;
}
*/
}