summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/button/button-primary-style.scss
blob: ffb4d250d3bbe1789e81d357fda63f8fce2d2971 (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
@mixin reindeer-button-primary-style {

.v-button-primary:focus {
	background-image: url(img/primary-left-focus.png); /** sprite-ref: buttons */
	}
	
.v-button-primary:focus .v-button-wrap {
	background-image: url(img/primary-right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
	}
	
.v-button-primary:active,
.v-button-primary.v-pressed {
	background-image: url(img/primary-left-pressed.png); /** sprite-ref: buttons */
	}

.v-button-primary:active .v-button-wrap,
.v-button-primary.v-pressed .v-button-wrap {
	background-image: url(img/primary-right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
	}

.v-button-primary,
.v-disabled.v-button-primary {
	background-image: url(img/primary-left.png); /** sprite-ref: buttons */
	}
	
.v-button-primary .v-button-wrap,
.v-disabled.v-button-primary .v-button-wrap {
	background-image: url(img/primary-right.png); /** sprite-ref: buttons; sprite-alignment: right */
	}
	



/* Black style */


.black .v-button-primary:focus {
	background-image: url(img/black/primary-left-focus.png); /** sprite-ref: black-buttons */
	}
	
.black .v-button-primary:focus .v-button-wrap {
	background-image: url(img/black/primary-right-focus.png); /** sprite-ref: black-buttons; sprite-alignment: right */
	color: #eaf4fb;
	}
	
.black .v-button-primary:active,
.black .v-button-primary.v-pressed {
	background-image: url(img/black/primary-left-pressed.png); /** sprite-ref: black-buttons */
	}
	
.black .v-button-primary:active .v-button-wrap,
.black .v-button-primary.v-pressed .v-button-wrap {
	background-image: url(img/black/primary-right-pressed.png); /** sprite-ref: black-buttons; sprite-alignment: right */
	}

.black .v-button-primary,
.black .v-disabled.v-button-primary {
	background-image: url(img/black/primary-left.png); /** sprite-ref: black-buttons */
	}
	
.black .v-button-primary .v-button-wrap,
.black .v-disabled.v-button-primary .v-button-wrap {
	background-image: url(img/black/primary-right.png); /** sprite-ref: black-buttons; sprite-alignment: right */
	}

}