blob: 238a694e281edb027b20009357307636f1433327 (
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($primaryStyleName : v-button) {
.#{$primaryStyleName}-primary:focus {
background-image: url(img/primary-left-focus.png); /** sprite-ref: buttons */
}
.#{$primaryStyleName}-primary:focus .#{$primaryStyleName}-wrap {
background-image: url(img/primary-right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
}
.#{$primaryStyleName}-primary:active,
.#{$primaryStyleName}-primary.v-pressed {
background-image: url(img/primary-left-pressed.png); /** sprite-ref: buttons */
}
.#{$primaryStyleName}-primary:active .#{$primaryStyleName}-wrap,
.#{$primaryStyleName}-primary.v-pressed .#{$primaryStyleName}-wrap {
background-image: url(img/primary-right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
}
.#{$primaryStyleName}-primary,
.v-disabled.#{$primaryStyleName}-primary {
background-image: url(img/primary-left.png); /** sprite-ref: buttons */
}
.#{$primaryStyleName}-primary .#{$primaryStyleName}-wrap,
.v-disabled.#{$primaryStyleName}-primary .#{$primaryStyleName}-wrap {
background-image: url(img/primary-right.png); /** sprite-ref: buttons; sprite-alignment: right */
}
/* Black style */
.black .#{$primaryStyleName}-primary:focus {
background-image: url(img/black/primary-left-focus.png); /** sprite-ref: black-buttons */
}
.black .#{$primaryStyleName}-primary:focus .#{$primaryStyleName}-wrap {
background-image: url(img/black/primary-right-focus.png); /** sprite-ref: black-buttons; sprite-alignment: right */
color: #eaf4fb;
}
.black .#{$primaryStyleName}-primary:active,
.black .#{$primaryStyleName}-primary.v-pressed {
background-image: url(img/black/primary-left-pressed.png); /** sprite-ref: black-buttons */
}
.black .#{$primaryStyleName}-primary:active .#{$primaryStyleName}-wrap,
.black .#{$primaryStyleName}-primary.v-pressed .#{$primaryStyleName}-wrap {
background-image: url(img/black/primary-right-pressed.png); /** sprite-ref: black-buttons; sprite-alignment: right */
}
.black .#{$primaryStyleName}-primary,
.black .v-disabled.#{$primaryStyleName}-primary {
background-image: url(img/black/primary-left.png); /** sprite-ref: black-buttons */
}
.black .#{$primaryStyleName}-primary .#{$primaryStyleName}-wrap,
.black .v-disabled.#{$primaryStyleName}-primary .#{$primaryStyleName}-wrap {
background-image: url(img/black/primary-right.png); /** sprite-ref: black-buttons; sprite-alignment: right */
}
}
|