Commit 2cdf2c28c4ba9c07093a78e0f554901e81fcd9db
1 parent
c9089c32
style: background to background-color
Showing
66 changed files
with
142 additions
and
142 deletions
index.html
... | ... | @@ -26,7 +26,7 @@ |
26 | 26 | <div id="app"> |
27 | 27 | <style> |
28 | 28 | html[data-theme='dark'] .app-loading { |
29 | - background: #2c344a; | |
29 | + background-color: #2c344a; | |
30 | 30 | } |
31 | 31 | |
32 | 32 | html[data-theme='dark'] .app-loading .app-loading-title { |
... | ... | @@ -40,7 +40,7 @@ |
40 | 40 | justify-content: center; |
41 | 41 | align-items: center; |
42 | 42 | flex-direction: column; |
43 | - background: #f4f7f9; | |
43 | + background-color: #f4f7f9; | |
44 | 44 | } |
45 | 45 | |
46 | 46 | .app-loading .app-loading-wrap { | ... | ... |
package.json
... | ... | @@ -59,7 +59,7 @@ |
59 | 59 | "devDependencies": { |
60 | 60 | "@commitlint/cli": "^12.1.1", |
61 | 61 | "@commitlint/config-conventional": "^12.1.1", |
62 | - "@iconify/json": "^1.1.328", | |
62 | + "@iconify/json": "^1.1.329", | |
63 | 63 | "@purge-icons/generated": "^0.7.0", |
64 | 64 | "@types/crypto-js": "^4.0.1", |
65 | 65 | "@types/fs-extra": "^9.0.11", |
... | ... | @@ -122,7 +122,7 @@ |
122 | 122 | "resolutions": { |
123 | 123 | "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it", |
124 | 124 | "bin-wrapper": "npm:bin-wrapper-china", |
125 | - "rollup": "^2.45.1", | |
125 | + "rollup": "^2.45.2", | |
126 | 126 | "esbuild": "^0.11.9" |
127 | 127 | }, |
128 | 128 | "repository": { | ... | ... |
src/components/Application/src/search/AppSearchFooter.vue
... | ... | @@ -42,7 +42,7 @@ |
42 | 42 | padding: 0 16px; |
43 | 43 | font-size: 12px; |
44 | 44 | color: #666; |
45 | - background: @component-background; | |
45 | + background-color: @component-background; | |
46 | 46 | border-top: 1px solid @border-color-base; |
47 | 47 | border-radius: 0 0 16px 16px; |
48 | 48 | align-items: center; |
... | ... | @@ -54,7 +54,7 @@ |
54 | 54 | height: 18px; |
55 | 55 | padding-bottom: 2px; |
56 | 56 | margin-right: 0.4em; |
57 | - background: linear-gradient(-225deg, #d5dbe4, #f8f8f8); | |
57 | + background-color: linear-gradient(-225deg, #d5dbe4, #f8f8f8); | |
58 | 58 | border-radius: 2px; |
59 | 59 | box-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, |
60 | 60 | 0 1px 2px 1px rgba(30, 35, 90, 0.4); | ... | ... |
src/components/Application/src/search/AppSearchModal.vue
... | ... | @@ -147,7 +147,7 @@ |
147 | 147 | width: 100%; |
148 | 148 | height: 100%; |
149 | 149 | padding-top: 50px; |
150 | - background: rgba(0, 0, 0, 0.25); | |
150 | + background-color: rgba(0, 0, 0, 0.25); | |
151 | 151 | justify-content: center; |
152 | 152 | |
153 | 153 | &--mobile { |
... | ... | @@ -191,7 +191,7 @@ |
191 | 191 | position: relative; |
192 | 192 | width: 632px; |
193 | 193 | margin: 0 auto auto auto; |
194 | - background: @component-background; | |
194 | + background-color: @component-background; | |
195 | 195 | border-radius: 16px; |
196 | 196 | box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); |
197 | 197 | flex-direction: column; |
... | ... | @@ -251,7 +251,7 @@ |
251 | 251 | font-size: 14px; |
252 | 252 | color: @text-color-base; |
253 | 253 | cursor: pointer; |
254 | - background: @component-background; | |
254 | + background-color: @component-background; | |
255 | 255 | border-radius: 4px; |
256 | 256 | box-shadow: 0 1px 3px 0 #d4d9e1; |
257 | 257 | align-items: center; |
... | ... | @@ -264,7 +264,7 @@ |
264 | 264 | |
265 | 265 | &--active { |
266 | 266 | color: #fff; |
267 | - background: @primary-color; | |
267 | + background-color: @primary-color; | |
268 | 268 | |
269 | 269 | .@{prefix-cls}-list__item-enter { |
270 | 270 | opacity: 1; | ... | ... |
src/components/Basic/src/BasicTitle.vue
src/components/Container/src/collapse/CollapseContainer.vue
src/components/ContextMenu/src/index.less
src/components/Drawer/src/components/DrawerFooter.vue
src/components/Icon/src/index.vue
src/components/Loading/src/index.vue
... | ... | @@ -51,7 +51,7 @@ |
51 | 51 | height: 100%; |
52 | 52 | justify-content: center; |
53 | 53 | align-items: center; |
54 | - background: rgba(240, 242, 245, 0.4); | |
54 | + background-color: rgba(240, 242, 245, 0.4); | |
55 | 55 | |
56 | 56 | &.absolute { |
57 | 57 | position: absolute; |
... | ... | @@ -63,7 +63,7 @@ |
63 | 63 | |
64 | 64 | html[data-theme='dark'] { |
65 | 65 | .full-loading { |
66 | - background: @modal-mask-bg; | |
66 | + background-color: @modal-mask-bg; | |
67 | 67 | } |
68 | 68 | } |
69 | 69 | </style> | ... | ... |
src/components/Menu/src/index.less
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | align-items: center; |
18 | 18 | |
19 | 19 | &.ant-menu-dark { |
20 | - background: transparent; | |
20 | + background-color: transparent; | |
21 | 21 | |
22 | 22 | .ant-menu-submenu:hover, |
23 | 23 | .ant-menu-item-open, |
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | .ant-menu-submenu-active, |
31 | 31 | .ant-menu-submenu-title:hover { |
32 | 32 | color: #fff; |
33 | - background: @top-menu-active-bg-color !important; | |
33 | + background-color: @top-menu-active-bg-color !important; | |
34 | 34 | } |
35 | 35 | |
36 | 36 | .ant-menu-item:hover, |
... | ... | @@ -38,15 +38,15 @@ |
38 | 38 | .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open, |
39 | 39 | .ant-menu-submenu-active, |
40 | 40 | .ant-menu-submenu-title:hover { |
41 | - background: @top-menu-active-bg-color; | |
41 | + background-color: @top-menu-active-bg-color; | |
42 | 42 | } |
43 | 43 | |
44 | 44 | .@{basic-menu-prefix-cls}-item__level1 { |
45 | - background: transparent; | |
45 | + background-color: transparent; | |
46 | 46 | |
47 | 47 | &.ant-menu-item-selected, |
48 | 48 | &.ant-menu-submenu-selected { |
49 | - background: @top-menu-active-bg-color !important; | |
49 | + background-color: @top-menu-active-bg-color !important; | |
50 | 50 | } |
51 | 51 | } |
52 | 52 | ... | ... |
src/components/Page/src/PageFooter.vue
... | ... | @@ -38,7 +38,7 @@ |
38 | 38 | align-items: center; |
39 | 39 | padding: 0 24px; |
40 | 40 | line-height: 44px; |
41 | - background: @component-background; | |
41 | + background-color: @component-background; | |
42 | 42 | border-top: 1px solid @border-color-base; |
43 | 43 | box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), |
44 | 44 | 0 -12px 48px 16px rgba(0, 0, 0, 0.03); | ... | ... |
src/components/Page/src/PageWrapper.vue
src/components/Preview/src/index.vue
src/components/SimpleMenu/src/components/menu.less
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | bottom: 0; |
14 | 14 | display: block; |
15 | 15 | width: 2px; |
16 | - background: @primary-color; | |
16 | + background-color: @primary-color; | |
17 | 17 | content: ''; |
18 | 18 | } |
19 | 19 | } |
... | ... | @@ -62,7 +62,7 @@ |
62 | 62 | |
63 | 63 | &-selected { |
64 | 64 | color: #fff; |
65 | - background: @primary-color !important; | |
65 | + background-color: @primary-color !important; | |
66 | 66 | } |
67 | 67 | } |
68 | 68 | } |
... | ... | @@ -79,7 +79,7 @@ |
79 | 79 | &-selected { |
80 | 80 | z-index: 2; |
81 | 81 | color: @primary-color; |
82 | - background: fade(@primary-color, 10); | |
82 | + background-color: fade(@primary-color, 10); | |
83 | 83 | |
84 | 84 | .light-border(); |
85 | 85 | } |
... | ... | @@ -107,7 +107,7 @@ |
107 | 107 | // } |
108 | 108 | |
109 | 109 | &-light { |
110 | - background: #fff; | |
110 | + background-color: #fff; | |
111 | 111 | |
112 | 112 | .@{menu-prefix-cls}-submenu-active { |
113 | 113 | color: @primary-color !important; |
... | ... | @@ -219,7 +219,7 @@ |
219 | 219 | &-active:not(.@{menu-prefix-cls}-submenu) { |
220 | 220 | z-index: 2; |
221 | 221 | color: @primary-color; |
222 | - background: fade(@primary-color, 10); | |
222 | + background-color: fade(@primary-color, 10); | |
223 | 223 | |
224 | 224 | .light-border(); |
225 | 225 | } |
... | ... | @@ -232,7 +232,7 @@ |
232 | 232 | > li.@{menu-prefix-cls}-item-active, |
233 | 233 | .@{menu-prefix-cls}-submenu-active { |
234 | 234 | position: relative; |
235 | - background: fade(@primary-color, 5); | |
235 | + background-color: fade(@primary-color, 5); | |
236 | 236 | |
237 | 237 | &::after { |
238 | 238 | display: none; |
... | ... | @@ -244,7 +244,7 @@ |
244 | 244 | left: 0; |
245 | 245 | width: 3px; |
246 | 246 | height: 100%; |
247 | - background: @primary-color; | |
247 | + background-color: @primary-color; | |
248 | 248 | content: ''; |
249 | 249 | } |
250 | 250 | } |
... | ... | @@ -255,7 +255,7 @@ |
255 | 255 | color: @menu-dark-subsidiary-color; |
256 | 256 | &-active:not(.@{menu-prefix-cls}-submenu) { |
257 | 257 | color: #fff !important; |
258 | - background: @primary-color !important; | |
258 | + background-color: @primary-color !important; | |
259 | 259 | } |
260 | 260 | |
261 | 261 | &:hover { |
... | ... | @@ -276,7 +276,7 @@ |
276 | 276 | left: 0; |
277 | 277 | width: 3px; |
278 | 278 | height: 100%; |
279 | - background: @primary-color; | |
279 | + background-color: @primary-color; | |
280 | 280 | content: ''; |
281 | 281 | } |
282 | 282 | |
... | ... | @@ -301,7 +301,7 @@ |
301 | 301 | &-dark&-vertical &-opened { |
302 | 302 | .@{menu-prefix-cls}-submenu-has-parent-submenu { |
303 | 303 | .@{menu-prefix-cls}-submenu-title { |
304 | - background: transparent; | |
304 | + background-color: transparent; | |
305 | 305 | } |
306 | 306 | } |
307 | 307 | } | ... | ... |
src/components/SimpleMenu/src/index.less
... | ... | @@ -59,19 +59,19 @@ |
59 | 59 | } |
60 | 60 | |
61 | 61 | &--primary { |
62 | - background: @primary-color; | |
62 | + background-color: @primary-color; | |
63 | 63 | } |
64 | 64 | |
65 | 65 | &--error { |
66 | - background: @error-color; | |
66 | + background-color: @error-color; | |
67 | 67 | } |
68 | 68 | |
69 | 69 | &--success { |
70 | - background: @success-color; | |
70 | + background-color: @success-color; | |
71 | 71 | } |
72 | 72 | |
73 | 73 | &--warn { |
74 | - background: @warning-color; | |
74 | + background-color: @warning-color; | |
75 | 75 | } |
76 | 76 | } |
77 | 77 | } | ... | ... |
src/components/StrengthMeter/src/index.vue
... | ... | @@ -82,7 +82,7 @@ |
82 | 82 | position: relative; |
83 | 83 | height: 6px; |
84 | 84 | margin: 10px auto 6px; |
85 | - background: @disabled-color; | |
85 | + background-color: @disabled-color; | |
86 | 86 | border-radius: 6px; |
87 | 87 | |
88 | 88 | &::before, |
... | ... | @@ -92,7 +92,7 @@ |
92 | 92 | display: block; |
93 | 93 | width: 20%; |
94 | 94 | height: inherit; |
95 | - background: transparent; | |
95 | + background-color: transparent; | |
96 | 96 | border-color: @white; |
97 | 97 | border-style: solid; |
98 | 98 | border-width: 0 5px 0 5px; |
... | ... | @@ -111,33 +111,33 @@ |
111 | 111 | position: absolute; |
112 | 112 | width: 0; |
113 | 113 | height: inherit; |
114 | - background: transparent; | |
114 | + background-color: transparent; | |
115 | 115 | border-radius: inherit; |
116 | 116 | transition: width 0.5s ease-in-out, background 0.25s; |
117 | 117 | |
118 | 118 | &[data-score='0'] { |
119 | 119 | width: 20%; |
120 | - background: darken(@error-color, 10%); | |
120 | + background-color: darken(@error-color, 10%); | |
121 | 121 | } |
122 | 122 | |
123 | 123 | &[data-score='1'] { |
124 | 124 | width: 40%; |
125 | - background: @error-color; | |
125 | + background-color: @error-color; | |
126 | 126 | } |
127 | 127 | |
128 | 128 | &[data-score='2'] { |
129 | 129 | width: 60%; |
130 | - background: @warning-color; | |
130 | + background-color: @warning-color; | |
131 | 131 | } |
132 | 132 | |
133 | 133 | &[data-score='3'] { |
134 | 134 | width: 80%; |
135 | - background: fade(@success-color, 50%); | |
135 | + background-color: fade(@success-color, 50%); | |
136 | 136 | } |
137 | 137 | |
138 | 138 | &[data-score='4'] { |
139 | 139 | width: 100%; |
140 | - background: @success-color; | |
140 | + background-color: @success-color; | |
141 | 141 | } |
142 | 142 | } |
143 | 143 | } | ... | ... |
src/components/Table/src/BasicTable.vue
... | ... | @@ -302,7 +302,7 @@ |
302 | 302 | .@{prefix-cls} { |
303 | 303 | &-row__striped { |
304 | 304 | td { |
305 | - background: #fafafa; | |
305 | + background-color: #fafafa; | |
306 | 306 | } |
307 | 307 | } |
308 | 308 | } |
... | ... | @@ -312,7 +312,7 @@ |
312 | 312 | .@{prefix-cls} { |
313 | 313 | &-row__striped { |
314 | 314 | td { |
315 | - background: rgb(255 255 255 / 4%); | |
315 | + background-color: rgb(255 255 255 / 4%); | |
316 | 316 | } |
317 | 317 | } |
318 | 318 | } |
... | ... | @@ -325,7 +325,7 @@ |
325 | 325 | .ant-form { |
326 | 326 | padding: 12px 10px 6px 10px; |
327 | 327 | margin-bottom: 16px; |
328 | - background: @component-background; | |
328 | + background-color: @component-background; | |
329 | 329 | border-radius: 4px; |
330 | 330 | } |
331 | 331 | } |
... | ... | @@ -342,7 +342,7 @@ |
342 | 342 | |
343 | 343 | .ant-table-wrapper { |
344 | 344 | padding: 6px; |
345 | - background: @component-background; | |
345 | + background-color: @component-background; | |
346 | 346 | border-radius: 2px; |
347 | 347 | |
348 | 348 | .ant-table-title { |
... | ... | @@ -367,7 +367,7 @@ |
367 | 367 | } |
368 | 368 | |
369 | 369 | .ant-table-tbody > tr.ant-table-row-selected td { |
370 | - background: fade(@primary-color, 8%) !important; | |
370 | + background-color: fade(@primary-color, 8%) !important; | |
371 | 371 | } |
372 | 372 | } |
373 | 373 | ... | ... |
src/components/Tree/src/index.vue
src/components/Verify/src/DragVerify.less
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | position: absolute; |
13 | 13 | width: 0; |
14 | 14 | height: 36px; |
15 | - background: @success-color; | |
15 | + background-color: @success-color; | |
16 | 16 | border-radius: @radius; |
17 | 17 | |
18 | 18 | &.to-left { |
... | ... | @@ -26,7 +26,7 @@ |
26 | 26 | top: 0; |
27 | 27 | font-size: 12px; |
28 | 28 | -webkit-text-size-adjust: none; |
29 | - background: -webkit-gradient( | |
29 | + background-color: -webkit-gradient( | |
30 | 30 | linear, |
31 | 31 | left top, |
32 | 32 | right top, |
... | ... | @@ -60,7 +60,7 @@ |
60 | 60 | left: 0; |
61 | 61 | display: flex; |
62 | 62 | cursor: move; |
63 | - background: @white; | |
63 | + background-color: @white; | |
64 | 64 | border-radius: @radius; |
65 | 65 | justify-content: center; |
66 | 66 | align-items: center; | ... | ... |
src/components/Verify/src/ImgRotate.less
... | ... | @@ -33,15 +33,15 @@ |
33 | 33 | text-align: center; |
34 | 34 | |
35 | 35 | &.success { |
36 | - background: fade(@success-color, 60%); | |
36 | + background-color: fade(@success-color, 60%); | |
37 | 37 | } |
38 | 38 | |
39 | 39 | &.error { |
40 | - background: fade(@error-color, 60%); | |
40 | + background-color: fade(@error-color, 60%); | |
41 | 41 | } |
42 | 42 | |
43 | 43 | &.normal { |
44 | - background: rgba(0, 0, 0, 0.3); | |
44 | + background-color: rgba(0, 0, 0, 0.3); | |
45 | 45 | } |
46 | 46 | } |
47 | 47 | ... | ... |
src/design/ant/btn.less
src/design/ant/index.less
src/design/ant/pagination.less
... | ... | @@ -4,7 +4,7 @@ html[data-theme='dark'] { |
4 | 4 | .ant-pagination-prev, |
5 | 5 | .ant-pagination-next, |
6 | 6 | .ant-pagination-item { |
7 | - background: rgb(255 255 255 / 4%) !important; | |
7 | + background-color: rgb(255 255 255 / 4%) !important; | |
8 | 8 | |
9 | 9 | a { |
10 | 10 | color: #8b949e !important; |
... | ... | @@ -16,7 +16,7 @@ html[data-theme='dark'] { |
16 | 16 | } |
17 | 17 | |
18 | 18 | .ant-pagination-item-active { |
19 | - background: @primary-color !important; | |
19 | + background-color: @primary-color !important; | |
20 | 20 | border: none; |
21 | 21 | border-radius: none !important; |
22 | 22 | |
... | ... | @@ -50,7 +50,7 @@ html[data-theme='dark'] { |
50 | 50 | .ant-pagination-next, |
51 | 51 | .ant-pagination-item { |
52 | 52 | margin: 0 4px !important; |
53 | - background: #f4f4f5 !important; | |
53 | + background-color: #f4f4f5 !important; | |
54 | 54 | border: none; |
55 | 55 | border-radius: none !important; |
56 | 56 | |
... | ... | @@ -65,7 +65,7 @@ html[data-theme='dark'] { |
65 | 65 | } |
66 | 66 | |
67 | 67 | .ant-pagination-item-active { |
68 | - background: @primary-color !important; | |
68 | + background-color: @primary-color !important; | |
69 | 69 | border: none; |
70 | 70 | border-radius: none !important; |
71 | 71 | ... | ... |
src/design/public.less
... | ... | @@ -17,11 +17,11 @@ |
17 | 17 | // } |
18 | 18 | |
19 | 19 | ::-webkit-scrollbar-track { |
20 | - background: rgba(0, 0, 0, 0.05); | |
20 | + background-color: rgba(0, 0, 0, 0.05); | |
21 | 21 | } |
22 | 22 | |
23 | 23 | ::-webkit-scrollbar-thumb { |
24 | - background: rgba(0, 0, 0, 0.6); | |
24 | + // background: rgba(0, 0, 0, 0.6); | |
25 | 25 | background-color: rgba(144, 147, 153, 0.3); |
26 | 26 | // background-color: rgba(144, 147, 153, 0.3); |
27 | 27 | border-radius: 2px; |
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 | } |
30 | 30 | |
31 | 31 | ::-webkit-scrollbar-thumb:hover { |
32 | - background: @border-color-dark; | |
32 | + background-color: @border-color-dark; | |
33 | 33 | } |
34 | 34 | |
35 | 35 | // ================================= | ... | ... |
src/design/theme.less
src/layouts/default/feature/index.vue
src/layouts/default/header/components/Breadcrumb.vue
... | ... | @@ -47,6 +47,7 @@ |
47 | 47 | const { currentRoute } = useRouter(); |
48 | 48 | const { prefixCls } = useDesign('layout-breadcrumb'); |
49 | 49 | const { getShowBreadCrumbIcon } = useRootSetting(); |
50 | + const go = useGo(); | |
50 | 51 | |
51 | 52 | const { t } = useI18n(); |
52 | 53 | watchEffect(async () => { |
... | ... | @@ -122,7 +123,6 @@ |
122 | 123 | return; |
123 | 124 | } |
124 | 125 | |
125 | - const go = useGo(); | |
126 | 126 | if (redirect && isString(redirect)) { |
127 | 127 | go(redirect); |
128 | 128 | } else { | ... | ... |
src/layouts/default/header/components/user-dropdown/index.vue
src/layouts/default/header/index.less
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 | margin-left: -1px; |
11 | 11 | line-height: @header-height; |
12 | 12 | color: @white; |
13 | - background: @white; | |
13 | + background-color: @white; | |
14 | 14 | align-items: center; |
15 | 15 | justify-content: space-between; |
16 | 16 | |
... | ... | @@ -77,7 +77,7 @@ |
77 | 77 | |
78 | 78 | &.light { |
79 | 79 | &:hover { |
80 | - background: @header-light-bg-hover-color; | |
80 | + background-color: @header-light-bg-hover-color; | |
81 | 81 | } |
82 | 82 | |
83 | 83 | svg { |
... | ... | @@ -87,7 +87,7 @@ |
87 | 87 | |
88 | 88 | &.dark { |
89 | 89 | &:hover { |
90 | - background: @header-dark-bg-hover-color; | |
90 | + background-color: @header-dark-bg-hover-color; | |
91 | 91 | } |
92 | 92 | } |
93 | 93 | } |
... | ... | @@ -131,7 +131,7 @@ |
131 | 131 | } |
132 | 132 | |
133 | 133 | &--light { |
134 | - background: @white !important; | |
134 | + background-color: @white !important; | |
135 | 135 | border-bottom: 1px solid @header-light-bottom-border-color; |
136 | 136 | border-left: 1px solid @header-light-bottom-border-color; |
137 | 137 | |
... | ... | @@ -139,7 +139,7 @@ |
139 | 139 | color: @text-color-base; |
140 | 140 | |
141 | 141 | &:hover { |
142 | - background: @header-light-bg-hover-color; | |
142 | + background-color: @header-light-bg-hover-color; | |
143 | 143 | } |
144 | 144 | } |
145 | 145 | |
... | ... | @@ -153,7 +153,7 @@ |
153 | 153 | } |
154 | 154 | |
155 | 155 | &:hover { |
156 | - background: @header-light-bg-hover-color; | |
156 | + background-color: @header-light-bg-hover-color; | |
157 | 157 | } |
158 | 158 | } |
159 | 159 | |
... | ... | @@ -165,12 +165,12 @@ |
165 | 165 | } |
166 | 166 | |
167 | 167 | &--dark { |
168 | - background: @header-dark-bg-color !important; | |
168 | + background-color: @header-dark-bg-color !important; | |
169 | 169 | border-bottom: 1px solid @border-color-base; |
170 | 170 | border-left: 1px solid @border-color-base; |
171 | 171 | .@{header-prefix-cls}-logo { |
172 | 172 | &:hover { |
173 | - background: @header-dark-bg-hover-color; | |
173 | + background-color: @header-dark-bg-hover-color; | |
174 | 174 | } |
175 | 175 | } |
176 | 176 | |
... | ... | @@ -182,7 +182,7 @@ |
182 | 182 | } |
183 | 183 | |
184 | 184 | &:hover { |
185 | - background: @header-dark-bg-hover-color; | |
185 | + background-color: @header-dark-bg-hover-color; | |
186 | 186 | } |
187 | 187 | } |
188 | 188 | } | ... | ... |
src/layouts/default/index.vue
src/layouts/default/sider/DragBar.vue
src/layouts/default/sider/LayoutSider.vue
... | ... | @@ -144,15 +144,15 @@ |
144 | 144 | } |
145 | 145 | |
146 | 146 | &.ant-layout-sider-dark { |
147 | - background: @sider-dark-bg-color; | |
147 | + background-color: @sider-dark-bg-color; | |
148 | 148 | |
149 | 149 | .ant-layout-sider-trigger { |
150 | 150 | color: darken(@white, 25%); |
151 | - background: @trigger-dark-bg-color; | |
151 | + background-color: @trigger-dark-bg-color; | |
152 | 152 | |
153 | 153 | &:hover { |
154 | 154 | color: @white; |
155 | - background: @trigger-dark-hover-bg-color; | |
155 | + background-color: @trigger-dark-hover-bg-color; | |
156 | 156 | } |
157 | 157 | } |
158 | 158 | } | ... | ... |
src/layouts/default/sider/MixSider.vue
... | ... | @@ -344,7 +344,7 @@ |
344 | 344 | z-index: @layout-mix-sider-fixed-z-index; |
345 | 345 | height: 100%; |
346 | 346 | overflow: hidden; |
347 | - background: @sider-dark-bg-color; | |
347 | + background-color: @sider-dark-bg-color; | |
348 | 348 | transition: all 0.2s ease 0s; |
349 | 349 | |
350 | 350 | &-dom { |
... | ... | @@ -383,7 +383,7 @@ |
383 | 383 | |
384 | 384 | &--active { |
385 | 385 | color: @primary-color; |
386 | - background: unset; | |
386 | + background-color: unset; | |
387 | 387 | } |
388 | 388 | } |
389 | 389 | } |
... | ... | @@ -416,7 +416,7 @@ |
416 | 416 | } |
417 | 417 | } |
418 | 418 | .@{prefix-cls}-menu-list { |
419 | - background: @sider-dark-bg-color; | |
419 | + background-color: @sider-dark-bg-color; | |
420 | 420 | |
421 | 421 | &__title { |
422 | 422 | color: @white; |
... | ... | @@ -459,7 +459,7 @@ |
459 | 459 | &--active { |
460 | 460 | font-weight: 700; |
461 | 461 | color: @white; |
462 | - background: @sider-dark-darken-bg-color; | |
462 | + background-color: @sider-dark-darken-bg-color; | |
463 | 463 | |
464 | 464 | &::before { |
465 | 465 | position: absolute; |
... | ... | @@ -467,7 +467,7 @@ |
467 | 467 | left: 0; |
468 | 468 | width: 3px; |
469 | 469 | height: 100%; |
470 | - background: @primary-color; | |
470 | + background-color: @primary-color; | |
471 | 471 | content: ''; |
472 | 472 | } |
473 | 473 | } |
... | ... | @@ -496,12 +496,12 @@ |
496 | 496 | font-size: 18px; |
497 | 497 | color: rgba(255, 255, 255, 0.65); |
498 | 498 | cursor: pointer; |
499 | - background: @sider-dark-bg-color; | |
499 | + background-color: @sider-dark-bg-color; | |
500 | 500 | } |
501 | 501 | |
502 | 502 | &.light &-trigger { |
503 | 503 | color: rgba(0, 0, 0, 0.65); |
504 | - background: #fff; | |
504 | + background-color: #fff; | |
505 | 505 | } |
506 | 506 | |
507 | 507 | &-menu-list { |
... | ... | @@ -510,7 +510,7 @@ |
510 | 510 | width: 0; |
511 | 511 | width: 200px; |
512 | 512 | height: calc(100%); |
513 | - background: #fff; | |
513 | + background-color: #fff; | |
514 | 514 | transition: all 0.2s; |
515 | 515 | |
516 | 516 | &__title { |
... | ... | @@ -573,7 +573,7 @@ |
573 | 573 | width: 1px; |
574 | 574 | height: calc(100% - 50px); |
575 | 575 | cursor: ew-resize; |
576 | - background: #f8f8f9; | |
576 | + background-color: #f8f8f9; | |
577 | 577 | border-top: none; |
578 | 578 | border-bottom: none; |
579 | 579 | box-shadow: 0 0 4px 0 rgba(28, 36, 56, 0.15); | ... | ... |
src/main.ts
src/views/demo/comp/lazy/Transition.vue
src/views/demo/comp/lazy/index.vue
src/views/demo/comp/scroll/Action.vue
src/views/demo/comp/scroll/VirtualScroll.vue
src/views/demo/comp/scroll/index.vue
src/views/demo/comp/strength-meter/index.vue
src/views/demo/comp/transition/index.vue
src/views/demo/comp/verify/Rotate.vue
src/views/demo/comp/verify/index.vue
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | text="ๆๅจไปฅ่ฟ่กๆ ก้ช" |
18 | 18 | successText="ๆ ก้ชๆๅ" |
19 | 19 | :barStyle="{ |
20 | - background: '#018ffb', | |
20 | + backgroundColor: '#018ffb', | |
21 | 21 | }" |
22 | 22 | /> |
23 | 23 | <a-button type="primary" class="ml-2" @click="handleBtnClick(el3)"> ่ฟๅ </a-button> |
... | ... | @@ -92,6 +92,6 @@ |
92 | 92 | </script> |
93 | 93 | <style lang="less" scoped> |
94 | 94 | .bg-gray-700 { |
95 | - background: #4a5568; | |
95 | + background-color: #4a5568; | |
96 | 96 | } |
97 | 97 | </style> | ... | ... |
src/views/demo/feat/click-out-side/index.vue
src/views/demo/feat/ripple/index.vue
src/views/demo/page/account/center/index.vue
... | ... | @@ -102,7 +102,7 @@ |
102 | 102 | &-top { |
103 | 103 | padding: 10px; |
104 | 104 | margin: 16px 16px 12px 16px; |
105 | - background: @component-background; | |
105 | + background-color: @component-background; | |
106 | 106 | border-radius: 3px; |
107 | 107 | |
108 | 108 | &__avatar { |
... | ... | @@ -144,7 +144,7 @@ |
144 | 144 | &-bottom { |
145 | 145 | padding: 10px; |
146 | 146 | margin: 0 16px 16px 16px; |
147 | - background: @component-background; | |
147 | + background-color: @component-background; | |
148 | 148 | border-radius: 3px; |
149 | 149 | } |
150 | 150 | } | ... | ... |
src/views/demo/page/account/setting/index.vue
src/views/demo/page/desc/basic/index.vue
src/views/demo/page/form/basic/index.vue
src/views/demo/page/form/step/Step3.vue
src/views/demo/page/form/step/index.vue
src/views/demo/page/list/basic/index.vue
... | ... | @@ -86,7 +86,7 @@ |
86 | 86 | &__top { |
87 | 87 | padding: 24px; |
88 | 88 | text-align: center; |
89 | - background: @component-background; | |
89 | + background-color: @component-background; | |
90 | 90 | |
91 | 91 | &-col { |
92 | 92 | &:not(:last-child) { |
... | ... | @@ -112,7 +112,7 @@ |
112 | 112 | &__content { |
113 | 113 | padding: 24px; |
114 | 114 | margin-top: 12px; |
115 | - background: @component-background; | |
115 | + background-color: @component-background; | |
116 | 116 | |
117 | 117 | .list { |
118 | 118 | position: relative; | ... | ... |
src/views/demo/page/list/search/index.vue
src/views/demo/page/result/fail/index.vue
... | ... | @@ -34,11 +34,11 @@ |
34 | 34 | <style lang="less" scoped> |
35 | 35 | .result-error { |
36 | 36 | padding: 48px 32px; |
37 | - background: @component-background; | |
37 | + background-color: @component-background; | |
38 | 38 | |
39 | 39 | &__content { |
40 | 40 | padding: 24px 40px; |
41 | - background: @background-color-light; | |
41 | + background-color: @background-color-light; | |
42 | 42 | |
43 | 43 | &-title { |
44 | 44 | margin-bottom: 16px; | ... | ... |
src/views/demo/page/result/success/index.vue
... | ... | @@ -48,11 +48,11 @@ |
48 | 48 | <style lang="less" scoped> |
49 | 49 | .result-success { |
50 | 50 | padding: 48px 32px; |
51 | - background: @component-background; | |
51 | + background-color: @component-background; | |
52 | 52 | |
53 | 53 | &__content { |
54 | 54 | padding: 24px 40px; |
55 | - background: @background-color-light; | |
55 | + background-color: @background-color-light; | |
56 | 56 | } |
57 | 57 | } |
58 | 58 | </style> | ... | ... |
src/views/demo/permission/back/Btn.vue
src/views/demo/permission/back/index.vue
src/views/demo/permission/front/AuthPageA.vue
src/views/demo/permission/front/AuthPageB.vue
src/views/demo/permission/front/Btn.vue
src/views/demo/permission/front/index.vue
src/views/sys/iframe/index.vue
src/views/sys/lock/LockPage.vue
... | ... | @@ -171,7 +171,7 @@ |
171 | 171 | display: flex; |
172 | 172 | font-weight: 700; |
173 | 173 | color: #bababa; |
174 | - background: #141313; | |
174 | + background-color: #141313; | |
175 | 175 | border-radius: 30px; |
176 | 176 | justify-content: center; |
177 | 177 | align-items: center; |
... | ... | @@ -218,7 +218,7 @@ |
218 | 218 | display: flex; |
219 | 219 | width: 100%; |
220 | 220 | height: 100%; |
221 | - background: rgba(0, 0, 0, 0.5); | |
221 | + background-color: rgba(0, 0, 0, 0.5); | |
222 | 222 | backdrop-filter: blur(8px); |
223 | 223 | justify-content: center; |
224 | 224 | align-items: center; | ... | ... |
src/views/sys/login/Login.vue
... | ... | @@ -95,7 +95,7 @@ |
95 | 95 | |
96 | 96 | html[data-theme='dark'] { |
97 | 97 | .@{prefix-cls} { |
98 | - background: @dark-bg; | |
98 | + background-color: @dark-bg; | |
99 | 99 | |
100 | 100 | &::before { |
101 | 101 | background-image: url(/@/assets/svg/login-bg-dark.svg); |
... | ... | @@ -123,10 +123,10 @@ |
123 | 123 | .@{prefix-cls} { |
124 | 124 | overflow: hidden; |
125 | 125 | @media (max-width: @screen-xl) { |
126 | - background: #293146; | |
126 | + background-color: #293146; | |
127 | 127 | |
128 | 128 | .@{prefix-cls}-form { |
129 | - background: #fff; | |
129 | + background-color: #fff; | |
130 | 130 | } |
131 | 131 | } |
132 | 132 | ... | ... |
yarn.lock
... | ... | @@ -1108,10 +1108,10 @@ |
1108 | 1108 | dependencies: |
1109 | 1109 | cross-fetch "^3.0.6" |
1110 | 1110 | |
1111 | -"@iconify/json@^1.1.328": | |
1112 | - version "1.1.328" | |
1113 | - resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.328.tgz#2fba6768ae3f148c315f205a94409e86dbf07cca" | |
1114 | - integrity sha512-/dVvFNpktwCx2A3aA+/fLJ88jXTAh42VZE79FzaaY5CmgmHjvenpSOP1p1oy2m3XM8VtsDBoNM+RKFIIOYL2bg== | |
1111 | +"@iconify/json@^1.1.329": | |
1112 | + version "1.1.329" | |
1113 | + resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.329.tgz#8780dd95a6e01ab805708c73d0227f09d2859c9a" | |
1114 | + integrity sha512-meGFTitX6EG0tRB8mt4+1rGZVJ6ElN7kdI+vBmXDHg4pt/rulGbIV+kwFPfxt9dXLEp9ABFUexnfLd9g2GcW2g== | |
1115 | 1115 | |
1116 | 1116 | "@intlify/core-base@9.0.0": |
1117 | 1117 | version "9.0.0" |
... | ... | @@ -7706,10 +7706,10 @@ rollup-plugin-visualizer@5.3.6: |
7706 | 7706 | source-map "^0.7.3" |
7707 | 7707 | yargs "^16.2.0" |
7708 | 7708 | |
7709 | -rollup@^2.25.0, rollup@^2.38.5, rollup@^2.44.0, rollup@^2.45.1: | |
7710 | - version "2.45.1" | |
7711 | - resolved "https://registry.npmjs.org/rollup/-/rollup-2.45.1.tgz#eae2b94dc2088b4e0a3b7197a5a1ee0bdd589d5c" | |
7712 | - integrity sha512-vPD+JoDj3CY8k6m1bLcAFttXMe78P4CMxoau0iLVS60+S9kLsv2379xaGy4NgYWu+h2WTlucpoLPAoUoixFBag== | |
7709 | +rollup@^2.25.0, rollup@^2.38.5, rollup@^2.44.0, rollup@^2.45.2: | |
7710 | + version "2.45.2" | |
7711 | + resolved "https://registry.npmjs.org/rollup/-/rollup-2.45.2.tgz#8fb85917c9f35605720e92328f3ccbfba6f78b48" | |
7712 | + integrity sha512-kRRU7wXzFHUzBIv0GfoFFIN3m9oteY4uAsKllIpQDId5cfnkWF2J130l+27dzDju0E6MScKiV0ZM5Bw8m4blYQ== | |
7713 | 7713 | optionalDependencies: |
7714 | 7714 | fsevents "~2.3.1" |
7715 | 7715 | ... | ... |