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