-
Notifications
You must be signed in to change notification settings - Fork 66
/
_theme.scss
104 lines (77 loc) · 2.35 KB
/
_theme.scss
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
@include exports( "list/theme" ) {
.k-list {}
.k-list__group-header { // sass-lint:disable-line class-name-format
color: $component-text;
border-color: $component-border;
box-shadow: $list-container-shadow;
}
.k-list__item__group { // sass-lint:disable-line class-name-format
color: $component-bg;
background: $component-text;
}
.k-list__item:hover, // sass-lint:disable-line class-name-format
.k-list__item.k-state-hover { // sass-lint:disable-line class-name-format
@include fill(
$list-item-hovered-text,
$list-item-hovered-bg
);
&.k-state-selected {
color: $list-item-selected-text;
background-color: shade( $list-item-selected-bg );
}
}
.k-list__item:focus, // sass-lint:disable-line class-name-format
.k-list__item.k-state-focused { // sass-lint:disable-line class-name-format
@include box-shadow( $list-item-focused-shadow );
}
.k-list__item.k-state-selected { // sass-lint:disable-line class-name-format
@include fill(
$list-item-selected-text,
$list-item-selected-bg
);
}
}
@include exports( "listcontainer/theme" ) {
.k-list-container {
// Button normal state
.k-button {
@include box-shadow( none );
}
// Button hover state
.k-button:hover,
.k-button.k-state-hover {
@include fill(
$list-item-hovered-text,
$list-item-hovered-bg
);
}
// Button active state
.k-button:active,
.k-button.k-state-active {
@include fill(
inherit,
inherit
);
}
// Button selected state
.k-button.k-state-selected {
@include fill(
$list-item-selected-text,
$list-item-selected-bg
);
}
// Button focus state
.k-button:focus,
.k-button.k-state-focus,
.k-button.k-state-focused {
box-shadow: $list-item-focused-shadow;
}
// Button disabled state
.k-button.k-state-disabled {
background: transparent;
}
.k-nodata {
color: $list-container-no-data-text;
}
}
}