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