aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/progressindicator/progressindicator.scss
blob: 56eb2cc6c91a2f4ac19f3b42e1932c3398993d1d (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@mixin chameleon-progressindicator($primaryStyleName : v-progressindicator) {

.#{$primaryStyleName}-wrapper {
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: #eee url(../../img/grad-dark-bottom.png) repeat-x left bottom;
	overflow: visible;
	font-size: 1px;
	line-height: 1px;
	}

.#{$primaryStyleName}-indicator {
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: #c9c9c9 url(../../img/grad-light-top.png) repeat-x 0 -10px;
	margin: -1px;
	height: 7px;
	border: 1px solid #b3b3b3;
	}


/*******************************************************************************
 * Small
 ******************************************************************************/
.#{$primaryStyleName}-small {
	width: 110px;
	}

.#{$primaryStyleName}-small .#{$primaryStyleName}-wrapper,
.#{$primaryStyleName}-small .#{$primaryStyleName}-indicator {
	height: 2px;
	border-radius: 1px;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	}


/*******************************************************************************
 * Big
 ******************************************************************************/
.#{$primaryStyleName}-big {
	width: 250px;
	}

.#{$primaryStyleName}-big .#{$primaryStyleName}-wrapper,
.#{$primaryStyleName}-big .#{$primaryStyleName}-indicator {
	height: 14px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	}


/*******************************************************************************
 * Indeterminates
 ******************************************************************************/
.#{$primaryStyleName}-indeterminate.#{$primaryStyleName}-big {
	width: 42px;
	height: 42px;
	background: #fff url(../../../base/common/img/ajax-loader-big.gif) no-repeat 50%;
	}

.#{$primaryStyleName}-indeterminate.v-disabled {
	display: none;
	}

.#{$primaryStyleName}-indeterminate.#{$primaryStyleName}-bar {
	display: block;
	width: 150px;
	height: 9px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	}

.#{$primaryStyleName}-indeterminate.bar.#{$primaryStyleName}-small {
	width: 110px;
	height: 4px;
	}

.#{$primaryStyleName}-indeterminate.bar.#{$primaryStyleName}-big {
	width: 200px;
	height: 16px;
	}

.#{$primaryStyleName}-indeterminate.bar .#{$primaryStyleName}-wrapper {
	display: block;
	background: #fff url(../../img/indeterminate-progress.gif);
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	overflow: hidden;
	}

.#{$primaryStyleName}-indeterminate.bar .#{$primaryStyleName}-indicator {
	display: block;
	background: transparent url(../../img/grad-light-top.png) repeat-x;
	border: none;
	margin: 0;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	overflow: hidden;
	}

.#{$primaryStyleName}-indeterminate.bar.#{$primaryStyleName}-small .#{$primaryStyleName}-indicator {
	background: transparent;
	}

.#{$primaryStyleName}-indeterminate.bar.v-disabled .#{$primaryStyleName}-indicator {
	background: #fff;
	}

}