Showing
9 changed files
with
17 additions
and
12 deletions
src/assets/styles/base.less
0 → 100644
| ... | @@ -102,7 +102,7 @@ export default { | ... | @@ -102,7 +102,7 @@ export default { |
| 102 | 102 | ||
| 103 | .upload { | 103 | .upload { |
| 104 | color: #713610; | 104 | color: #713610; |
| 105 | - background-color: #F9D95C; | 105 | + background-color: @base-color; |
| 106 | border-radius: 15px; | 106 | border-radius: 15px; |
| 107 | width: 4rem; | 107 | width: 4rem; |
| 108 | padding: 0.25rem 0.5rem; | 108 | padding: 0.25rem 0.5rem; | ... | ... |
| ... | @@ -128,9 +128,9 @@ export default { | ... | @@ -128,9 +128,9 @@ export default { |
| 128 | padding: 0.2rem; | 128 | padding: 0.2rem; |
| 129 | // margin: 0.25rem; | 129 | // margin: 0.25rem; |
| 130 | font-size: 0.9rem; | 130 | font-size: 0.9rem; |
| 131 | - background: #F9D95C; | 131 | + background: @base-color; |
| 132 | border-radius: 24px; | 132 | border-radius: 24px; |
| 133 | - border: 1px solid #F9D95C; | 133 | + border: 1px solid @base-color; |
| 134 | color: #713610; | 134 | color: #713610; |
| 135 | font-weight: bold; | 135 | font-weight: bold; |
| 136 | margin-left: 1rem; | 136 | margin-left: 1rem; | ... | ... |
| ... | @@ -42,7 +42,6 @@ export default { | ... | @@ -42,7 +42,6 @@ export default { |
| 42 | </script> | 42 | </script> |
| 43 | 43 | ||
| 44 | <style lang="less" scoped> | 44 | <style lang="less" scoped> |
| 45 | -@base: #F9D95C; | ||
| 46 | .button-primary { | 45 | .button-primary { |
| 47 | width: auto; | 46 | width: auto; |
| 48 | height: auto; | 47 | height: auto; |
| ... | @@ -50,9 +49,9 @@ export default { | ... | @@ -50,9 +49,9 @@ export default { |
| 50 | padding: 0.6rem; | 49 | padding: 0.6rem; |
| 51 | margin: 0.5rem; | 50 | margin: 0.5rem; |
| 52 | font-size: 1rem; | 51 | font-size: 1rem; |
| 53 | - background: @base; | 52 | + background: @base-color; |
| 54 | border-radius: 24px; | 53 | border-radius: 24px; |
| 55 | - border: 1px solid @base; | 54 | + border: 1px solid @base-color; |
| 56 | color: #713610; | 55 | color: #713610; |
| 57 | font-weight: bold; | 56 | font-weight: bold; |
| 58 | } | 57 | } |
| ... | @@ -78,4 +77,4 @@ export default { | ... | @@ -78,4 +77,4 @@ export default { |
| 78 | border-radius: 24px; | 77 | border-radius: 24px; |
| 79 | border: 1px solid; | 78 | border: 1px solid; |
| 80 | } | 79 | } |
| 81 | -</style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 80 | +</style> | ... | ... |
| ... | @@ -181,7 +181,7 @@ export default { | ... | @@ -181,7 +181,7 @@ export default { |
| 181 | overflow: auto; | 181 | overflow: auto; |
| 182 | .text { | 182 | .text { |
| 183 | color: #222222; | 183 | color: #222222; |
| 184 | - border-bottom: 2px solid #F9D95C; | 184 | + border-bottom: 2px solid @base-color; |
| 185 | font-size: 0.85rem; | 185 | font-size: 0.85rem; |
| 186 | display: block; | 186 | display: block; |
| 187 | float: left; | 187 | float: left; | ... | ... |
| ... | @@ -252,7 +252,7 @@ body { | ... | @@ -252,7 +252,7 @@ body { |
| 252 | // background-color: #FAFAFA; | 252 | // background-color: #FAFAFA; |
| 253 | .btn { | 253 | .btn { |
| 254 | margin: 16px; | 254 | margin: 16px; |
| 255 | - background-color: #F9D95C; | 255 | + background-color: @base-color; |
| 256 | text-align: center; | 256 | text-align: center; |
| 257 | color: #713610; | 257 | color: #713610; |
| 258 | font-size: 2vh; | 258 | font-size: 2vh; | ... | ... |
| ... | @@ -407,7 +407,7 @@ export default { | ... | @@ -407,7 +407,7 @@ export default { |
| 407 | } | 407 | } |
| 408 | 408 | ||
| 409 | .checked { | 409 | .checked { |
| 410 | - background: #F9D95C; | 410 | + background: @base-color; |
| 411 | border-radius: 15px; | 411 | border-radius: 15px; |
| 412 | padding: 0.5rem; | 412 | padding: 0.5rem; |
| 413 | text-align: center; | 413 | text-align: center; | ... | ... |
| ... | @@ -261,7 +261,7 @@ export default { | ... | @@ -261,7 +261,7 @@ export default { |
| 261 | .title { | 261 | .title { |
| 262 | color: #222222; | 262 | color: #222222; |
| 263 | font-size: 1.1rem; | 263 | font-size: 1.1rem; |
| 264 | - border-bottom: 2px solid #F9D95C; | 264 | + border-bottom: 2px solid @base-color; |
| 265 | padding: 0.5rem; | 265 | padding: 0.5rem; |
| 266 | text-align: center; | 266 | text-align: center; |
| 267 | } | 267 | } | ... | ... |
| ... | @@ -335,7 +335,7 @@ export default { | ... | @@ -335,7 +335,7 @@ export default { |
| 335 | border-radius: 24px; | 335 | border-radius: 24px; |
| 336 | // border: 1px solid F7F7F7; | 336 | // border: 1px solid F7F7F7; |
| 337 | color: #713610; | 337 | color: #713610; |
| 338 | - background-color: #F9D95C; | 338 | + background-color: @base-color; |
| 339 | box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.06); | 339 | box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.06); |
| 340 | } | 340 | } |
| 341 | } | 341 | } | ... | ... |
-
Please register or login to post a comment