blob: 5c9e8a32bb815c4fe579e3b27f4ff73187b14b36 (
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
|
@mixin reindeer-button-small-style($primaryStyleName : v-button) {
.#{$primaryStyleName}-small:focus {
background-image: url(img/small-left-focus.png); /** sprite-ref: buttons */
}
.#{$primaryStyleName}-small:focus .#{$primaryStyleName}-wrap {
background-image: url(img/small-right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
}
.#{$primaryStyleName}-small:active,
.#{$primaryStyleName}-small.v-pressed {
background-image: url(img/small-left-pressed.png); /** sprite-ref: buttons */
}
.#{$primaryStyleName}-small:active .#{$primaryStyleName}-wrap,
.#{$primaryStyleName}-small.v-pressed .#{$primaryStyleName}-wrap {
background-image: url(img/small-right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
}
.#{$primaryStyleName}-small,
.v-disabled.#{$primaryStyleName}-small {
background-image: url(img/small-left.png); /** sprite-ref: buttons */
height: 20px;
}
.#{$primaryStyleName}-small .#{$primaryStyleName}-wrap,
.v-disabled.#{$primaryStyleName}-small .#{$primaryStyleName}-wrap {
background-image: url(img/small-right.png); /** sprite-ref: buttons; sprite-alignment: right */
height: 19px;
padding: 1px 14px 0 8px;
}
.#{$primaryStyleName}-small .#{$primaryStyleName}-caption {
font-weight: normal;
}
/* Black style */
.black .#{$primaryStyleName}-small:focus {
background-image: url(img/black/small-left-focus.png); /** sprite-ref: black-buttons */
}
.black .#{$primaryStyleName}-small:focus .#{$primaryStyleName}-wrap {
background-image: url(img/black/small-right-focus.png); /** sprite-ref: black-buttons; sprite-alignment: right */
}
.black .#{$primaryStyleName}-small:active,
.black .#{$primaryStyleName}-small.v-pressed {
background-image: url(img/black/small-left-pressed.png); /** sprite-ref: black-buttons */
}
.black .#{$primaryStyleName}-small:active .#{$primaryStyleName}-wrap,
.black .#{$primaryStyleName}-small.v-pressed .#{$primaryStyleName}-wrap {
background-image: url(img/black/small-right-pressed.png); /** sprite-ref: black-buttons; sprite-alignment: right */
}
.black .#{$primaryStyleName}-small,
.black .v-disabled.#{$primaryStyleName}-small {
background-image: url(img/black/small-left.png); /** sprite-ref: black-buttons */
}
.black .#{$primaryStyleName}-small .#{$primaryStyleName}-wrap,
.black .v-disabled.#{$primaryStyleName}-small .#{$primaryStyleName}-wrap {
background-image: url(img/black/small-right.png); /** sprite-ref: black-buttons; sprite-alignment: right */
}
}
|