look-ui 1.0.11 → 1.1.12
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/README.md +16 -0
- package/jsconfig.json +19 -0
- package/package.json +19 -2
- package/src/App.vue +197 -0
- package/src/main.js +14 -0
- package/src/normalize.css +9 -0
- package/utils/api.js +13 -0
- package/utils/request.js +26 -0
- package/index.scss +0 -43
- package/src/components/look-empty.vue +0 -30
- package/src/components/tab-scroll.vue +0 -221
- package/src/css/alert/index.scss +0 -66
- package/src/css/bread-crumb/index.scss +0 -6
- package/src/css/button/index.scss +0 -250
- package/src/css/calendar/index.scss +0 -22
- package/src/css/card/index.scss +0 -34
- package/src/css/cascader/index.scss +0 -25
- package/src/css/checkbox/index.scss +0 -29
- package/src/css/date-picker/index.scss +0 -73
- package/src/css/descriptions/index.scss +0 -10
- package/src/css/dialog/index.scss +0 -17
- package/src/css/dropdown/index.scss +0 -19
- package/src/css/form/index.scss +0 -9
- package/src/css/index.scss +0 -42
- package/src/css/input/index.scss +0 -75
- package/src/css/input-number/index.scss +0 -45
- package/src/css/loading/index.scss +0 -15
- package/src/css/message-box/index.scss +0 -43
- package/src/css/nav-menu/index.scss +0 -169
- package/src/css/notification/index.scss +0 -10
- package/src/css/page-header/index.scss +0 -39
- package/src/css/pagination/index.scss +0 -40
- package/src/css/picker/index.scss +0 -17
- package/src/css/popover/index.scss +0 -23
- package/src/css/radio/index.scss +0 -23
- package/src/css/select/index.scss +0 -43
- package/src/css/slider/index.scss +0 -9
- package/src/css/steps/index.scss +0 -52
- package/src/css/switch/index.scss +0 -10
- package/src/css/table/index.scss +0 -305
- package/src/css/tabs/index.scss +0 -24
- package/src/css/time-picker/index.scss +0 -58
- package/src/css/transfer/index.scss +0 -19
- package/src/css/upload/index.scss +0 -32
- package/src/imgs/empty.png +0 -0
- package/src/index.js +0 -10
|
@@ -1,250 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
package/src/css/card/index.scss
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-dialog {
|
|
3
|
-
.el-dialog__header {
|
|
4
|
-
background-color: $--themeColor;
|
|
5
|
-
border-bottom: 1px solid #d9d9d9;
|
|
6
|
-
padding: 12px;
|
|
7
|
-
.el-dialog__title {
|
|
8
|
-
color: #fff;
|
|
9
|
-
}
|
|
10
|
-
.el-dialog__headerbtn {
|
|
11
|
-
color: #fff;
|
|
12
|
-
.el-dialog__close {
|
|
13
|
-
color: #fff;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|
package/src/css/form/index.scss
DELETED
package/src/css/index.scss
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
|
package/src/css/input/index.scss
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-input {
|
|
3
|
-
&.el-input--medium {
|
|
4
|
-
.el-input__inner {
|
|
5
|
-
height: 36px;
|
|
6
|
-
line-height: 36px;
|
|
7
|
-
}
|
|
8
|
-
.el-input__icon {
|
|
9
|
-
line-height: 36px;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
&.el-input--small {
|
|
13
|
-
.el-input__inner {
|
|
14
|
-
height: 32px;
|
|
15
|
-
line-height: 32px;
|
|
16
|
-
}
|
|
17
|
-
.el-input__icon {
|
|
18
|
-
line-height: 32px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
&.el-input--mini {
|
|
22
|
-
.el-input__inner {
|
|
23
|
-
height: 28px;
|
|
24
|
-
line-height: 28px;
|
|
25
|
-
}
|
|
26
|
-
.el-input__icon {
|
|
27
|
-
line-height: 28px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
input, input[type="text"], input[type="password"]{
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
color: #303030;
|
|
33
|
-
border-radius: 0;
|
|
34
|
-
border: 1px solid rgba(217, 217, 217, 1);
|
|
35
|
-
}
|
|
36
|
-
.el-input__inner {
|
|
37
|
-
width: 100%;
|
|
38
|
-
height: 40px;
|
|
39
|
-
line-height: 40px;
|
|
40
|
-
&:focus {
|
|
41
|
-
border: 1px solid $--themeColor !important;
|
|
42
|
-
}
|
|
43
|
-
&::placeholder {
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
color: #bfbfbf;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.el-input__icon {
|
|
49
|
-
line-height: 40px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.el-input__prefix, .el-input__suffix {
|
|
53
|
-
top: 1px;
|
|
54
|
-
}
|
|
55
|
-
&.is-disabled .el-input__inner {
|
|
56
|
-
background-color: #d9d9d9;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.el-textarea__inner {
|
|
60
|
-
padding: 5px 12px;
|
|
61
|
-
line-height: 22px;
|
|
62
|
-
}
|
|
63
|
-
.el-textarea__inner::placeholder {
|
|
64
|
-
color: #bfbfbf;
|
|
65
|
-
font-size: 14px;
|
|
66
|
-
}
|
|
67
|
-
.el-textarea__inner:focus {
|
|
68
|
-
border: 1px solid $--themeColor;
|
|
69
|
-
}
|
|
70
|
-
// avoid "-internal-autofill-selected" style to be applied
|
|
71
|
-
input:-webkit-autofill,
|
|
72
|
-
input:-webkit-autofill:focus {
|
|
73
|
-
transition: background-color 600000s 0s, color 600000s 0s;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-input-number {
|
|
3
|
-
&.el-input-number--medium {
|
|
4
|
-
.el-input.el-input--medium {
|
|
5
|
-
.el-input__inner {
|
|
6
|
-
height: 36px;
|
|
7
|
-
line-height: 36px;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
&.el-input-number--small {
|
|
12
|
-
.el-input.el-input--small {
|
|
13
|
-
.el-input__inner {
|
|
14
|
-
height: 32px;
|
|
15
|
-
line-height: 32px;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
&.el-input-number--mini {
|
|
20
|
-
.el-input.el-input--mini {
|
|
21
|
-
.el-input__inner {
|
|
22
|
-
height: 28px;
|
|
23
|
-
line-height: 28px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
.el-input.is-active .el-input__inner,
|
|
28
|
-
.el-input__inner:focus {
|
|
29
|
-
border-color: $--themeColor;
|
|
30
|
-
}
|
|
31
|
-
input[type='text'] {
|
|
32
|
-
color: #000;
|
|
33
|
-
border-radius: 2px;
|
|
34
|
-
}
|
|
35
|
-
.el-input-number__decrease,
|
|
36
|
-
.el-input-number__increase {
|
|
37
|
-
width: 22px;
|
|
38
|
-
&:hover {
|
|
39
|
-
color: $--themeColor;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
.el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled) {
|
|
43
|
-
border-color: $--themeColor;
|
|
44
|
-
}
|
|
45
|
-
}
|