look-ui 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.scss +42 -0
- package/package.json +12 -0
- package/src/css/alert/index.scss +66 -0
- package/src/css/bread-crumb/index.scss +6 -0
- package/src/css/button/index.scss +250 -0
- package/src/css/calendar/index.scss +22 -0
- package/src/css/card/index.scss +34 -0
- package/src/css/cascader/index.scss +25 -0
- package/src/css/checkbox/index.scss +29 -0
- package/src/css/date-picker/index.scss +73 -0
- package/src/css/dialog/index.scss +9 -0
- package/src/css/dropdown/index.scss +19 -0
- package/src/css/form/index.scss +8 -0
- package/src/css/index.scss +42 -0
- package/src/css/input/index.scss +75 -0
- package/src/css/input-number/index.scss +45 -0
- package/src/css/loading/index.scss +15 -0
- package/src/css/message-box/index.scss +43 -0
- package/src/css/nav-menu/index.scss +169 -0
- package/src/css/notification/index.scss +10 -0
- package/src/css/page-header/index.scss +39 -0
- package/src/css/pagination/index.scss +40 -0
- package/src/css/picker/index.scss +17 -0
- package/src/css/popover/index.scss +23 -0
- package/src/css/radio/index.scss +23 -0
- package/src/css/select/index.scss +43 -0
- package/src/css/slider/index.scss +9 -0
- package/src/css/steps/index.scss +52 -0
- package/src/css/switch/index.scss +10 -0
- package/src/css/table/index.scss +272 -0
- package/src/css/tabs/index.scss +24 -0
- package/src/css/time-picker/index.scss +58 -0
- package/src/css/transfer/index.scss +19 -0
- package/src/css/upload/index.scss +32 -0
package/index.scss
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// base
|
|
2
|
+
@import './src/css/button/index.scss';
|
|
3
|
+
|
|
4
|
+
// data
|
|
5
|
+
@import './src/css/table/index.scss';
|
|
6
|
+
@import './src/css/pagination/index.scss';
|
|
7
|
+
|
|
8
|
+
// form
|
|
9
|
+
@import './src/css/radio/index.scss';
|
|
10
|
+
@import './src/css/checkbox/index.scss';
|
|
11
|
+
@import './src/css/input/index.scss';
|
|
12
|
+
@import './src/css/input-number/index.scss';
|
|
13
|
+
@import './src/css/select/index.scss';
|
|
14
|
+
@import './src/css/cascader/index.scss';
|
|
15
|
+
@import './src/css/switch/index.scss';
|
|
16
|
+
@import './src/css/slider/index.scss';
|
|
17
|
+
@import './src/css/picker/index.scss';
|
|
18
|
+
@import './src/css/time-picker/index.scss';
|
|
19
|
+
@import './src/css/date-picker/index.scss';
|
|
20
|
+
@import './src/css/upload/index.scss';
|
|
21
|
+
@import './src/css/transfer/index.scss';
|
|
22
|
+
@import './src/css/form/index.scss';
|
|
23
|
+
|
|
24
|
+
// navigation
|
|
25
|
+
@import './src/css/bread-crumb/index.scss';
|
|
26
|
+
@import './src/css/dropdown/index.scss';
|
|
27
|
+
@import './src/css/nav-menu/index.scss';
|
|
28
|
+
@import './src/css/page-header/index.scss';
|
|
29
|
+
@import './src/css/tabs/index.scss';
|
|
30
|
+
@import './src/css/steps/index.scss';
|
|
31
|
+
|
|
32
|
+
// notification
|
|
33
|
+
@import './src/css/alert/index.scss';
|
|
34
|
+
@import './src/css/loading/index.scss';
|
|
35
|
+
@import './src/css/notification/index.scss';
|
|
36
|
+
@import './src/css/message-box/index.scss';
|
|
37
|
+
|
|
38
|
+
// others
|
|
39
|
+
@import './src/css/dialog/index.scss';
|
|
40
|
+
@import './src/css/popover/index.scss';
|
|
41
|
+
@import './src/css/card/index.scss';
|
|
42
|
+
@import './src/css/calendar/index.scss';
|
package/package.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "look-ui",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "a ui library which is based on element-ui",
|
|
5
|
+
"main": "index.scss",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [],
|
|
10
|
+
"author": "Shiyan Chen",
|
|
11
|
+
"license": "ISC"
|
|
12
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@import '../index.scss';
|
|
2
|
+
.lookui-alert {
|
|
3
|
+
&.el-alert--success {
|
|
4
|
+
&.is-light {
|
|
5
|
+
background-color: $--green-100;
|
|
6
|
+
color: #000;
|
|
7
|
+
border: 1px solid $--green-400
|
|
8
|
+
}
|
|
9
|
+
&.is-dark {
|
|
10
|
+
background-color: $--green-900;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
&.el-alert--info {
|
|
14
|
+
&.is-light {
|
|
15
|
+
background-color: $--themeColor-100;
|
|
16
|
+
color: #000;
|
|
17
|
+
border: 1px solid $--themeColor-400;
|
|
18
|
+
}
|
|
19
|
+
&.is-dark {
|
|
20
|
+
background-color: $--themeColor;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
&.el-alert--warning {
|
|
24
|
+
&.is-light {
|
|
25
|
+
background-color: $--yellow-100;
|
|
26
|
+
color: #000;
|
|
27
|
+
border: 1px solid $--yellow-400;
|
|
28
|
+
}
|
|
29
|
+
&.is-dark {
|
|
30
|
+
background-color: $--orange-900;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
&.el-alert--error {
|
|
34
|
+
&.is-light {
|
|
35
|
+
background-color: $--red-100;
|
|
36
|
+
color: #000;
|
|
37
|
+
border: 1px solid $--red-400;
|
|
38
|
+
}
|
|
39
|
+
&.is-dark {
|
|
40
|
+
background-color: $--red-900;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.el-icon {
|
|
44
|
+
&-success {
|
|
45
|
+
color: $--green-900;
|
|
46
|
+
}
|
|
47
|
+
&-info {
|
|
48
|
+
color: $--themeColor;
|
|
49
|
+
}
|
|
50
|
+
&-warning {
|
|
51
|
+
color: $--orange-900;
|
|
52
|
+
}
|
|
53
|
+
&-error {
|
|
54
|
+
color: $--red-900;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.el-alert__content {
|
|
58
|
+
.el-alert__title.is-bold {
|
|
59
|
+
font-weight: normal;
|
|
60
|
+
font-size: 14px;
|
|
61
|
+
}
|
|
62
|
+
.el-alert__description {
|
|
63
|
+
color: #000;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
@import '../index.scss';
|
|
2
|
+
|
|
3
|
+
.lookui-btn {
|
|
4
|
+
&.el-button {
|
|
5
|
+
&--default {
|
|
6
|
+
color: #666;
|
|
7
|
+
// background-color: $--themeColor;
|
|
8
|
+
// border-color: $--themeColor;
|
|
9
|
+
&:hover {
|
|
10
|
+
color: $--themeColor;
|
|
11
|
+
background-color: #f1f4fa;
|
|
12
|
+
border-color: $--themeColor-100;
|
|
13
|
+
}
|
|
14
|
+
&:focus {
|
|
15
|
+
color: $--themeColor;
|
|
16
|
+
background-color: #f1f4fa;
|
|
17
|
+
border-color: $--themeColor-700;
|
|
18
|
+
}
|
|
19
|
+
&.is-disabled {
|
|
20
|
+
color: #bfbfbf;
|
|
21
|
+
background-color: #f5f5f5;
|
|
22
|
+
border-color: #d9d9d9;
|
|
23
|
+
}
|
|
24
|
+
&.is-plain {
|
|
25
|
+
color: #666;
|
|
26
|
+
&:hover {
|
|
27
|
+
color: $--themeColor;
|
|
28
|
+
background-color: #f1f4fa;
|
|
29
|
+
border-color: $--themeColor-100;
|
|
30
|
+
}
|
|
31
|
+
&:focus {
|
|
32
|
+
color: $--themeColor;
|
|
33
|
+
background-color: #f1f4fa;
|
|
34
|
+
border-color: $--themeColor-700;
|
|
35
|
+
}
|
|
36
|
+
&.is-disabled {
|
|
37
|
+
color: #bfbfbf;
|
|
38
|
+
background-color: #f5f5f5;
|
|
39
|
+
border-color: #d9d9d9;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
&--primary {
|
|
44
|
+
color: #fff;
|
|
45
|
+
background-color: $--themeColor;
|
|
46
|
+
border-color: $--themeColor;
|
|
47
|
+
&:hover {
|
|
48
|
+
color: #fff;
|
|
49
|
+
background-color: $--themeColor-700;
|
|
50
|
+
border-color: $--themeColor-700;
|
|
51
|
+
}
|
|
52
|
+
&:focus {
|
|
53
|
+
color: #fff;
|
|
54
|
+
background-color: #3f57ae;
|
|
55
|
+
border-color: #3f57ae;
|
|
56
|
+
}
|
|
57
|
+
&.is-disabled {
|
|
58
|
+
color: #fff;
|
|
59
|
+
background-color: $--themeColor-400;
|
|
60
|
+
border-color: $--themeColor-400;
|
|
61
|
+
}
|
|
62
|
+
&.is-plain {
|
|
63
|
+
color: $--themeColor;
|
|
64
|
+
background-color: $--themeColor-100;
|
|
65
|
+
border-color: $--themeColor-400;
|
|
66
|
+
&:hover {
|
|
67
|
+
color: #fff;
|
|
68
|
+
background-color: $--themeColor;
|
|
69
|
+
border-color: $--themeColor;
|
|
70
|
+
}
|
|
71
|
+
&:focus {
|
|
72
|
+
color: #fff;
|
|
73
|
+
background-color: #3f57ae;
|
|
74
|
+
border-color: #3f57ae;
|
|
75
|
+
}
|
|
76
|
+
&.is-disabled {
|
|
77
|
+
color: $--themeColor-400;
|
|
78
|
+
background-color: $--themeColor-100;
|
|
79
|
+
border-color: $--themeColor-400;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
&--success {
|
|
84
|
+
color: #fff;
|
|
85
|
+
background-color: $--green-900;
|
|
86
|
+
border-color: $--green-900;
|
|
87
|
+
&:hover {
|
|
88
|
+
color: #fff;
|
|
89
|
+
background-color: $--green-700;
|
|
90
|
+
border-color: $--green-700;
|
|
91
|
+
}
|
|
92
|
+
&:focus {
|
|
93
|
+
color: #fff;
|
|
94
|
+
background-color: #5ba88a;
|
|
95
|
+
border-color: #5ba88a;
|
|
96
|
+
}
|
|
97
|
+
&.is-disabled {
|
|
98
|
+
color: #fff;
|
|
99
|
+
background-color: $--green-400;
|
|
100
|
+
border-color: $--green-400;
|
|
101
|
+
}
|
|
102
|
+
&.is-plain {
|
|
103
|
+
color: $--green-900;
|
|
104
|
+
background-color: $--green-100;
|
|
105
|
+
border-color: $--green-400;
|
|
106
|
+
&:hover {
|
|
107
|
+
color: #fff;
|
|
108
|
+
background-color: $--green-900;
|
|
109
|
+
border-color: $--green-900;
|
|
110
|
+
}
|
|
111
|
+
&:focus {
|
|
112
|
+
color: #fff;
|
|
113
|
+
background-color: #5ba88a;
|
|
114
|
+
border-color: #5ba88a;
|
|
115
|
+
}
|
|
116
|
+
&.is-disabled {
|
|
117
|
+
color: $--green-400;
|
|
118
|
+
background-color: $--green-100;
|
|
119
|
+
border-color: $--green-400;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
&--info {
|
|
124
|
+
color: #6b5400;
|
|
125
|
+
background-color: $--yellow-900;
|
|
126
|
+
border-color: $--yellow-900;
|
|
127
|
+
&:hover {
|
|
128
|
+
color: #6b5400;
|
|
129
|
+
background-color: $--yellow-700;
|
|
130
|
+
border-color: $--yellow-700;
|
|
131
|
+
}
|
|
132
|
+
&:focus {
|
|
133
|
+
color: #6b5400;
|
|
134
|
+
background-color: #deb148;
|
|
135
|
+
border-color: #deb148;
|
|
136
|
+
}
|
|
137
|
+
&.is-disabled {
|
|
138
|
+
color: #fff;
|
|
139
|
+
background-color: $--yellow-400;
|
|
140
|
+
border-color: $--yellow-400;
|
|
141
|
+
}
|
|
142
|
+
&.is-plain {
|
|
143
|
+
color: #6b5400;
|
|
144
|
+
background-color: $--yellow-100;
|
|
145
|
+
border-color: $--yellow-400;
|
|
146
|
+
&:hover {
|
|
147
|
+
color: #6b5400;
|
|
148
|
+
background-color: $--yellow-900;
|
|
149
|
+
border-color: $--yellow-900;
|
|
150
|
+
}
|
|
151
|
+
&:focus {
|
|
152
|
+
color: #6b5400;
|
|
153
|
+
background-color: #deb148;
|
|
154
|
+
border-color: #deb148;
|
|
155
|
+
}
|
|
156
|
+
&.is-disabled {
|
|
157
|
+
color: $--yellow-400;
|
|
158
|
+
background-color: $--yellow-100;
|
|
159
|
+
border-color: $--yellow-400;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
&--warning {
|
|
164
|
+
color: #fff;
|
|
165
|
+
background-color: $--orange-900;
|
|
166
|
+
border-color: $--orange-900;
|
|
167
|
+
&:hover {
|
|
168
|
+
color: #fff;
|
|
169
|
+
background-color: $--orange-700;
|
|
170
|
+
border-color: $--orange-700;
|
|
171
|
+
}
|
|
172
|
+
&:focus {
|
|
173
|
+
color: #fff;
|
|
174
|
+
background-color: #d4733d;
|
|
175
|
+
border-color: #d4733d;
|
|
176
|
+
}
|
|
177
|
+
&.is-disabled {
|
|
178
|
+
color: #fff;
|
|
179
|
+
background-color: $--orange-400;
|
|
180
|
+
border-color: $--orange-400;
|
|
181
|
+
}
|
|
182
|
+
&.is-plain {
|
|
183
|
+
color: $--orange-900;
|
|
184
|
+
background-color: $--orange-100;
|
|
185
|
+
border-color: $--orange-400;
|
|
186
|
+
&:hover {
|
|
187
|
+
color: #fff;
|
|
188
|
+
background-color: $--orange-900;
|
|
189
|
+
border-color: $--orange-900;
|
|
190
|
+
}
|
|
191
|
+
&:focus {
|
|
192
|
+
color: #fff;
|
|
193
|
+
background-color: #d4733d;
|
|
194
|
+
border-color: #d4733d;
|
|
195
|
+
}
|
|
196
|
+
&.is-disabled {
|
|
197
|
+
color: $--orange-400;
|
|
198
|
+
background-color: $--orange-100;
|
|
199
|
+
border-color: $--orange-400;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
&--danger {
|
|
204
|
+
color: #fff;
|
|
205
|
+
background-color: $--red-900;
|
|
206
|
+
border-color: $--red-900;
|
|
207
|
+
&:hover {
|
|
208
|
+
color: #fff;
|
|
209
|
+
background-color: $--red-700;
|
|
210
|
+
border-color: $--red-700;
|
|
211
|
+
}
|
|
212
|
+
&:focus {
|
|
213
|
+
color: #fff;
|
|
214
|
+
background-color: #d2383a;
|
|
215
|
+
border-color: #d2383a;
|
|
216
|
+
}
|
|
217
|
+
&.is-disabled {
|
|
218
|
+
color: #fff;
|
|
219
|
+
background-color: $--red-400;
|
|
220
|
+
border-color: $--red-400;
|
|
221
|
+
}
|
|
222
|
+
&.is-plain {
|
|
223
|
+
color: $--red-900;
|
|
224
|
+
background-color: $--red-100;
|
|
225
|
+
border-color: $--red-400;
|
|
226
|
+
&:hover {
|
|
227
|
+
color: #fff;
|
|
228
|
+
background-color: $--red-900;
|
|
229
|
+
border-color: $--red-900;
|
|
230
|
+
}
|
|
231
|
+
&:focus {
|
|
232
|
+
color: #fff;
|
|
233
|
+
background-color: #d2383a;
|
|
234
|
+
border-color: #d2383a;
|
|
235
|
+
}
|
|
236
|
+
&.is-disabled {
|
|
237
|
+
color: $--red-400;
|
|
238
|
+
background-color: $--red-100;
|
|
239
|
+
border-color: $--red-400;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
&--text {
|
|
244
|
+
color: $--themeColor;
|
|
245
|
+
&.is-disabled {
|
|
246
|
+
color: #bfbfbf;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import '../index.scss';
|
|
2
|
+
|
|
3
|
+
.lookui-calendar {
|
|
4
|
+
.el-calendar-table td {
|
|
5
|
+
&.is-selected {
|
|
6
|
+
background-color: $--themeColor;
|
|
7
|
+
color: #fff;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.el-calendar-table .el-calendar-day:hover {
|
|
11
|
+
background-color: $--themeColor;
|
|
12
|
+
color: #fff;
|
|
13
|
+
}
|
|
14
|
+
.el-button {
|
|
15
|
+
&:hover,
|
|
16
|
+
&:focus {
|
|
17
|
+
background-color: $--themeColor-100;
|
|
18
|
+
border-color: $--themeColor-400;
|
|
19
|
+
color: $--themeColor;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import '../index.scss';
|
|
2
|
+
.lookui-card {
|
|
3
|
+
.el-card__header {
|
|
4
|
+
> div {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
align-items: center;
|
|
8
|
+
> span {
|
|
9
|
+
color: $--themeColor;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.info {
|
|
14
|
+
padding: 8px 16px;
|
|
15
|
+
.name {
|
|
16
|
+
color: $--themeColor;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
}
|
|
19
|
+
.description {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
.txt {
|
|
25
|
+
color: #666666;
|
|
26
|
+
font-size: 12px;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
text-overflow: ellipsis;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
margin-right: 10px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import '../index.scss';
|
|
2
|
+
.lookui-cascader {
|
|
3
|
+
.el-input .el-input__inner:focus,
|
|
4
|
+
.el-input.is-focus .el-input__inner {
|
|
5
|
+
border-color: $--themeColor;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.lookui-cascader-popper {
|
|
10
|
+
.el-cascader-node:not(.is-disabled):focus,
|
|
11
|
+
.el-cascader-node:not(.is-disabled):hover {
|
|
12
|
+
background: $--themeColor-100;
|
|
13
|
+
}
|
|
14
|
+
.el-cascader-node.in-active-path,
|
|
15
|
+
.el-cascader-node.is-active,
|
|
16
|
+
.el-cascader-node.is-selectable.in-checked-path {
|
|
17
|
+
color: $--themeColor;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
}
|
|
20
|
+
.el-checkbox__input.is-checked .el-checkbox__inner,
|
|
21
|
+
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
22
|
+
background-color: $--themeColor;
|
|
23
|
+
border-color: $--themeColor;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import '../index.scss';
|
|
2
|
+
.lookui-checkbox {
|
|
3
|
+
.el-checkbox__input.is-checked+.el-checkbox__label {
|
|
4
|
+
color: $--themeColor;
|
|
5
|
+
padding-left: 8px;
|
|
6
|
+
}
|
|
7
|
+
.el-checkbox__input.is-checked .el-checkbox__inner,
|
|
8
|
+
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
9
|
+
background-color: $--themeColor;
|
|
10
|
+
border-color: $--themeColor;
|
|
11
|
+
width: 16px;
|
|
12
|
+
height: 16px;
|
|
13
|
+
}
|
|
14
|
+
.el-checkbox__input.is-disabled+span.el-checkbox__label {
|
|
15
|
+
color:#bfbfbf;
|
|
16
|
+
}
|
|
17
|
+
.el-checkbox__input.is-disabled .el-checkbox__inner {
|
|
18
|
+
width: 16px;
|
|
19
|
+
height: 16px;
|
|
20
|
+
line-height: 16px;
|
|
21
|
+
background-color:#f5f5f5;
|
|
22
|
+
border:1px solid #d9d9d9;
|
|
23
|
+
border-radius:2px;
|
|
24
|
+
}
|
|
25
|
+
.el-checkbox__inner::after {
|
|
26
|
+
left: 5px;
|
|
27
|
+
top: 2px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
@import '../index.scss';
|
|
2
|
+
.lookui-date-popper {
|
|
3
|
+
.el-date-table td {
|
|
4
|
+
&.today span {
|
|
5
|
+
color: $--themeColor;
|
|
6
|
+
}
|
|
7
|
+
&.available:hover {
|
|
8
|
+
color: $--themeColor;
|
|
9
|
+
}
|
|
10
|
+
// 选中的日期
|
|
11
|
+
&.current:not(.disabled) span {
|
|
12
|
+
background-color: $--themeColor;
|
|
13
|
+
color: #fff;
|
|
14
|
+
}
|
|
15
|
+
// 多个日期
|
|
16
|
+
&.selected span {
|
|
17
|
+
background-color: $--themeColor;
|
|
18
|
+
}
|
|
19
|
+
// 日期范围(今天日期(开始 || 结束))
|
|
20
|
+
&.today.end-date span {
|
|
21
|
+
color: #fff;
|
|
22
|
+
}
|
|
23
|
+
&.today.start-date span {
|
|
24
|
+
color: #fff;
|
|
25
|
+
}
|
|
26
|
+
// 周:
|
|
27
|
+
&.start-date span {
|
|
28
|
+
background-color: $--themeColor;
|
|
29
|
+
}
|
|
30
|
+
&.end-date span {
|
|
31
|
+
background-color: $--themeColor;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
// 月、年
|
|
35
|
+
.el-month-table td, .el-year-table td {
|
|
36
|
+
&.today .cell {
|
|
37
|
+
color: $--themeColor;
|
|
38
|
+
}
|
|
39
|
+
.cell:hover {
|
|
40
|
+
color: $--themeColor;
|
|
41
|
+
}
|
|
42
|
+
// 选中的月份
|
|
43
|
+
&.current:not(.disabled) .cell {
|
|
44
|
+
color: $--themeColor;
|
|
45
|
+
}
|
|
46
|
+
// 月份范围(选中月份(开始 || 结束))
|
|
47
|
+
&.start-date .cell {
|
|
48
|
+
background-color: $--themeColor;
|
|
49
|
+
color: #fff;
|
|
50
|
+
}
|
|
51
|
+
&.end-date .cell {
|
|
52
|
+
background-color: $--themeColor;
|
|
53
|
+
color: #fff;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
// 顶部年份切换箭头
|
|
57
|
+
.el-picker-panel__icon-btn:hover {
|
|
58
|
+
color: $--themeColor;
|
|
59
|
+
}
|
|
60
|
+
// 顶部年份切换 label
|
|
61
|
+
.el-date-picker__header-label {
|
|
62
|
+
&.active {
|
|
63
|
+
color: $--themeColor;
|
|
64
|
+
}
|
|
65
|
+
&:hover {
|
|
66
|
+
color: $--themeColor;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
// 快捷选项
|
|
70
|
+
.el-picker-panel__shortcut:hover {
|
|
71
|
+
color: $--themeColor;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@import '../index.scss';
|
|
2
|
+
.lookui-dropdown-menu {
|
|
3
|
+
.el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover {
|
|
4
|
+
background-color: #f1f5fd;
|
|
5
|
+
color: #666;
|
|
6
|
+
}
|
|
7
|
+
.el-badge__content--primary {
|
|
8
|
+
background-color: $--themeColor;
|
|
9
|
+
margin-top: 9px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.lookui-dropdown {
|
|
14
|
+
.el-button--primary {
|
|
15
|
+
color: #FFF;
|
|
16
|
+
background-color: $--themeColor;
|
|
17
|
+
border-color: $--themeColor;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
$--themeColor: #506eda;
|
|
2
|
+
$--themeColor-100: #e4e8fb;
|
|
3
|
+
$--themeColor-400: #acb7f1;
|
|
4
|
+
$--themeColor-700: #8493e9;
|
|
5
|
+
|
|
6
|
+
$--green-100: #def9f1;
|
|
7
|
+
$--green-400: #8ee1c7;
|
|
8
|
+
$--green-700: #6fcfaa;
|
|
9
|
+
$--green-900: #55bf96;
|
|
10
|
+
|
|
11
|
+
$--blue-100: #e4f5ff;
|
|
12
|
+
$--blue-400: #bfe8ff;
|
|
13
|
+
$--blue-700: #75ceff;
|
|
14
|
+
$--blue-900: #43bcff;
|
|
15
|
+
|
|
16
|
+
$--yellow-100: #fff7e5;
|
|
17
|
+
$--yellow-400: #fbdda2;
|
|
18
|
+
$--yellow-700: #f5d087;
|
|
19
|
+
$--yellow-900: #ffc800;
|
|
20
|
+
|
|
21
|
+
$--orange-100: #ffeee5;
|
|
22
|
+
$--orange-400: #fbc2a2;
|
|
23
|
+
$--orange-700: #f8a779;
|
|
24
|
+
$--orange-900: #f68d52;
|
|
25
|
+
|
|
26
|
+
$--red-100: #fbeced;
|
|
27
|
+
$--red-400: #fbbbbb;
|
|
28
|
+
$--red-700: #fe8989;
|
|
29
|
+
$--red-900: #ff4d4f;
|
|
30
|
+
|
|
31
|
+
$--grey-100: #f5f5f5;
|
|
32
|
+
$--grey-400: #d9d9d9;
|
|
33
|
+
$--grey-700: #bfbfbf;
|
|
34
|
+
$--grey-900: #666666;
|
|
35
|
+
|
|
36
|
+
$--main-font-color: #000000;
|
|
37
|
+
$--normal-font-color: #666666;
|
|
38
|
+
$--secondary-font-color: #bfbfbf;
|
|
39
|
+
|
|
40
|
+
$--solid-border-color: #d9d9d9;
|
|
41
|
+
$--dashed-border-color: #bfbfbf;
|
|
42
|
+
|