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.
@@ -0,0 +1,272 @@
1
+ .lookui-table {
2
+ font-family: Helvetica CE;
3
+ &::before {
4
+ display: none;
5
+ }
6
+ .el-table__header-wrapper {
7
+ .el-table__header {
8
+ .is-leaf {
9
+ border-bottom: 2px solid #506eda;
10
+ }
11
+ .el-table__cell {
12
+ font-weight: 700;
13
+ color: #333333;
14
+ font-size: 14px;
15
+ padding: 14px 0;
16
+ background-color: #f1f4fa;
17
+ border-radius: 4px 4px 0px 0px;
18
+ .cell {
19
+ line-height: 24px;
20
+ .caret-wrapper {
21
+ position: absolute;
22
+ top: 50%;
23
+ transform: translateY(-50%);
24
+ .descending {
25
+ border-top-color: #506eda;
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ .el-table__body-wrapper {
33
+ .el-table__body {
34
+ tr {
35
+ &:hover td {
36
+ &.el-table__cell {
37
+ background-color: #f1f4fa;
38
+ }
39
+ }
40
+ }
41
+ .el-table__cell {
42
+ padding: 14px 0;
43
+
44
+ .cell {
45
+ color: #666;
46
+ .lookui-table-status {
47
+ position: relative;
48
+ box-sizing: border-box;
49
+ padding-left: 14px;
50
+ &::before {
51
+ content: '';
52
+ width: 6px;
53
+ height: 6px;
54
+ border-radius: 50%;
55
+ position: absolute;
56
+ top: 50%;
57
+ left: 0;
58
+ transform: translateY(-50%);
59
+ background-color: currentColor;
60
+ }
61
+ }
62
+ .lookui-table-option {
63
+ .el-button {
64
+ padding: 0;
65
+ &:hover {
66
+ opacity: 0.65;
67
+ }
68
+ }
69
+ .el-button + .el-button {
70
+ margin-left: 16px;
71
+ position: relative;
72
+ &::after {
73
+ content: '';
74
+ height: 80%;
75
+ width: 1px;
76
+ background-color: #d9d9d9;
77
+ position: absolute;
78
+ top: 50%;
79
+ left: -9px;
80
+ transform: translateY(-50%);
81
+ }
82
+ }
83
+ }
84
+ .lookui-status__primary {
85
+ color: #506eda;
86
+ }
87
+ .lookui-status__warning {
88
+ color: #f68d52;
89
+ }
90
+ .lookui-status__danger {
91
+ color: #ff4d4f;
92
+ }
93
+ .lookui-status__success {
94
+ color: #55bf96;
95
+ }
96
+ .lookui-status__process {
97
+ color: #43bcff;
98
+ }
99
+ .lookui-status__info {
100
+ color: #000000a6;
101
+ }
102
+ }
103
+ }
104
+ .el-table__row {
105
+ &.lookui-table-status__primary {
106
+ background-color: #e1e7ff;
107
+ }
108
+ &.lookui-table-status__warning {
109
+ background-color: #ffede2;
110
+ }
111
+ &.lookui-table-status__danger {
112
+ background-color: #ffe1e1;
113
+ }
114
+ &.lookui-table-status__success {
115
+ background-color: #def9f1;
116
+ }
117
+ &.lookui-table-status__process {
118
+ background-color: #e4f5ff;
119
+ }
120
+ &.lookui-table-status__info {
121
+ background-color: #fff9f9;
122
+ }
123
+ }
124
+ .el-table__row--striped {
125
+ .el-table__cell {
126
+ background-color: #d3d9f91a;
127
+ }
128
+ }
129
+ }
130
+ }
131
+ .el-table__fixed,
132
+ .el-table__fixed-right {
133
+ .el-table__fixed-header-wrapper {
134
+ .el-table__header {
135
+ .el-table__cell {
136
+ font-weight: 700;
137
+ color: #333333;
138
+ font-size: 14px;
139
+ padding: 14px 0;
140
+ background-color: #f1f4fa;
141
+ border-radius: 4px 4px 0px 0px;
142
+ border-bottom: 2px solid #506eda;
143
+ .cell {
144
+ line-height: 24px;
145
+ .caret-wrapper {
146
+ position: absolute;
147
+ top: 50%;
148
+ transform: translateY(-50%);
149
+ .descending {
150
+ border-top-color: #506eda;
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ .el-table__fixed-body-wrapper {
158
+ .el-table__body {
159
+ tr {
160
+ &:hover td {
161
+ &.el-table__cell {
162
+ background-color: #f1f4fa;
163
+ }
164
+ }
165
+ }
166
+ .el-table__cell {
167
+ padding: 14px 0;
168
+ .cell {
169
+ color: #666;
170
+ .lookui-table-status {
171
+ position: relative;
172
+ box-sizing: border-box;
173
+ padding-left: 14px;
174
+ &::before {
175
+ content: '';
176
+ width: 6px;
177
+ height: 6px;
178
+ border-radius: 50%;
179
+ position: absolute;
180
+ top: 50%;
181
+ left: 0;
182
+ transform: translateY(-50%);
183
+ background-color: currentColor;
184
+ }
185
+ }
186
+ .lookui-table-option {
187
+ .el-button {
188
+ padding: 0;
189
+ &:hover {
190
+ opacity: 0.65;
191
+ }
192
+ }
193
+ .el-button + .el-button {
194
+ margin-left: 16px;
195
+ position: relative;
196
+ &::after {
197
+ content: '';
198
+ height: 80%;
199
+ width: 1px;
200
+ background-color: #d9d9d9;
201
+ position: absolute;
202
+ top: 50%;
203
+ left: -9px;
204
+ transform: translateY(-50%);
205
+ }
206
+ }
207
+ }
208
+ .lookui-status__primary {
209
+ color: #506eda;
210
+ }
211
+ .lookui-status__warning {
212
+ color: #f68d52;
213
+ }
214
+ .lookui-status__danger {
215
+ color: #ff4d4f;
216
+ }
217
+ .lookui-status__success {
218
+ color: #55bf96;
219
+ }
220
+ .lookui-status__process {
221
+ color: #43bcff;
222
+ }
223
+ .lookui-status__info {
224
+ color: #000000a6;
225
+ }
226
+ }
227
+ }
228
+ .el-table__row {
229
+ &.lookui-table-status__primary {
230
+ background-color: #e1e7ff;
231
+ }
232
+ &.lookui-table-status__warning {
233
+ background-color: #ffede2;
234
+ }
235
+ &.lookui-table-status__danger {
236
+ background-color: #ffe1e1;
237
+ }
238
+ &.lookui-table-status__success {
239
+ background-color: #def9f1;
240
+ }
241
+ &.lookui-table-status__process {
242
+ background-color: #e4f5ff;
243
+ }
244
+ &.lookui-table-status__info {
245
+ background-color: #fff9f9;
246
+ }
247
+ }
248
+ .el-table__row--striped {
249
+ .el-table__cell {
250
+ background-color: #d3d9f91a;
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ .el-checkbox {
257
+ .is-checked {
258
+ .el-checkbox__inner {
259
+ background-color: #506eda;
260
+ border-color: #506eda;
261
+ }
262
+ }
263
+ }
264
+ // 取消文档默认样式
265
+ th, td {
266
+ border: 0;
267
+ }
268
+ // 取消文档默认样式
269
+ tr:nth-child(2n) {
270
+ background-color: #fff;
271
+ }
272
+ }
@@ -0,0 +1,24 @@
1
+ @import '../index.scss';
2
+ .lookui-tabs {
3
+ .el-tabs__item {
4
+ font-size: 16px;
5
+ height: 46px;
6
+ line-height: 46px;
7
+ }
8
+ .el-tabs__item.is-active {
9
+ color: $--themeColor;
10
+ font-weight: bold;
11
+ }
12
+ .el-tabs__active-bar {
13
+ background-color: $--themeColor;
14
+ }
15
+ .el-tabs__item:hover {
16
+ color: $--themeColor;
17
+ }
18
+ &.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
19
+ color: $--themeColor;
20
+ }
21
+ &.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover {
22
+ color: $--themeColor;
23
+ }
24
+ }
@@ -0,0 +1,58 @@
1
+ @import '../index.scss';
2
+ .lookui-time-popper {
3
+ .time-select-item {
4
+ &:hover {
5
+ background-color: $--themeColor-100;
6
+ font-weight: normal;
7
+ }
8
+ &.selected:not(.disabled) {
9
+ color: #333;
10
+ font-weight: normal;
11
+ }
12
+ }
13
+ /*修改选中日期的背景色*/
14
+ .el-date-table td.current:not(.disabled) span {
15
+ background-color: #4364bf;
16
+ }
17
+ /*修改今天日期颜色*/
18
+ .el-date-table td.today span {
19
+ color: #4364bf;
20
+ }
21
+ .el-date-table td span {
22
+ border-radius: 2px;
23
+ }
24
+ input[type="text"] {
25
+ color: #000;
26
+ }
27
+ .el-button--text {
28
+ color: #4364bf;
29
+ }
30
+ .el-button {
31
+ color: #4364bf;
32
+ border-color: #4364bf;
33
+ &.is-plain {
34
+ &:focus,&:hover {
35
+ color: #4364bf;
36
+ border-color: #4364bf;
37
+ }
38
+ }
39
+ }
40
+ .el-date-table td.available:hover {
41
+ color: #4364bf;
42
+ }
43
+ .el-input.is-active .el-input__inner, .el-input__inner:focus {
44
+ border-color: #4364bf;
45
+ }
46
+ .el-time-panel__btn.confirm {
47
+ color: $--themeColor;
48
+ }
49
+ button:hover {
50
+ background: none;
51
+ }
52
+ .el-time-spinner__item:hover:not(.disabled):not(.active) {
53
+ background-color: $--themeColor-100;
54
+ }
55
+ .el-button--text {
56
+ border-color: transparent;
57
+ }
58
+ }
@@ -0,0 +1,19 @@
1
+ @import '../index.scss';
2
+ .lookui-transfer {
3
+ .el-checkbox__input.is-checked, .el-checkbox__input.is-indeterminate {
4
+ .el-checkbox__inner {
5
+ border-color: $--themeColor;
6
+ background-color: $--themeColor;
7
+ }
8
+ }
9
+ .el-button--primary {
10
+ background-color: $--themeColor;
11
+ border-color: $--themeColor;
12
+ }
13
+ .el-checkbox__input.is-checked+.el-checkbox__label {
14
+ color: #666;
15
+ }
16
+ .el-transfer-panel__item:hover {
17
+ color: $--themeColor;
18
+ }
19
+ }
@@ -0,0 +1,32 @@
1
+ @import '../index.scss';
2
+ .lookui-upload {
3
+ .el-upload-list__item.is-success .el-upload-list__item-name:focus, .el-upload-list__item.is-success .el-upload-list__item-name:hover {
4
+ color: $--themeColor;
5
+ cursor: pointer;
6
+ }
7
+ .el-tree-node__content:hover, .el-upload-list__item:hover {
8
+ border-color: $--themeColor;
9
+ }
10
+ .el-button--primary {
11
+ background-color: $--themeColor;
12
+ border-color: $--themeColor;
13
+ }
14
+ &.avatar-uploader .el-upload:hover {
15
+ border-color: $--themeColor;
16
+ }
17
+ .el-upload--picture-card:hover, .el-upload:focus {
18
+ border-color: $--themeColor;
19
+ color: $--themeColor;
20
+ }
21
+ .el-upload-dragger:hover {
22
+ border-color: $--themeColor;
23
+ }
24
+ .el-upload-dragger .el-upload__text em {
25
+ color: $--themeColor;
26
+ font-style: normal;
27
+ }
28
+ .el-button--success {
29
+ background-color: $--green-900;
30
+ border-color: $--green-900;
31
+ }
32
+ }