hexo-theme-gnix 6.2.0 → 8.0.0

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.
Files changed (59) hide show
  1. package/README.md +6 -2
  2. package/include/hexo/encrypt.js +42 -0
  3. package/include/hexo/feed.js +329 -0
  4. package/include/util/common.js +7 -9
  5. package/languages/en.yml +6 -3
  6. package/languages/zh-CN.yml +6 -3
  7. package/layout/archive.jsx +86 -65
  8. package/layout/comment/twikoo.jsx +2 -11
  9. package/layout/comment/waline.jsx +2 -2
  10. package/layout/common/article.jsx +5 -8
  11. package/layout/common/article_cover.jsx +11 -1
  12. package/layout/common/article_media.jsx +2 -4
  13. package/layout/common/footer.jsx +11 -31
  14. package/layout/common/head.jsx +6 -14
  15. package/layout/common/navbar.jsx +4 -4
  16. package/layout/common/scripts.jsx +6 -6
  17. package/layout/common/theme_selector.jsx +5 -6
  18. package/layout/common/toc.jsx +8 -14
  19. package/layout/index.jsx +2 -4
  20. package/layout/misc/article_licensing.jsx +4 -2
  21. package/layout/misc/open_graph.jsx +4 -4
  22. package/layout/misc/paginator.jsx +10 -4
  23. package/layout/misc/structured_data.jsx +3 -4
  24. package/layout/plugin/busuanzi.jsx +1 -1
  25. package/layout/plugin/cookie_consent.jsx +40 -31
  26. package/layout/plugin/swup.jsx +2 -22
  27. package/layout/search/insight.jsx +16 -3
  28. package/package.json +12 -8
  29. package/scripts/hot-reload.js +92 -0
  30. package/scripts/index.js +2 -0
  31. package/source/css/archive.css +251 -0
  32. package/source/css/default.css +250 -284
  33. package/source/css/encrypt.css +55 -0
  34. package/source/css/responsive/desktop.css +0 -119
  35. package/source/css/responsive/mobile.css +7 -23
  36. package/source/css/responsive/touch.css +9 -103
  37. package/source/css/shiki/shiki.css +7 -22
  38. package/source/css/twikoo.css +290 -830
  39. package/source/img/og_image.webp +0 -0
  40. package/source/js/archive-breadcrumb.js +132 -0
  41. package/source/js/busuanzi.js +1 -12
  42. package/source/js/components/accordion.js +192 -0
  43. package/source/js/components/chat.js +239 -0
  44. package/source/js/components/device-carousel.js +260 -0
  45. package/source/js/components/image-carousel.js +410 -0
  46. package/source/js/components/text-image-section.js +180 -0
  47. package/source/js/components/theme-stacked.js +526 -0
  48. package/source/js/components/tree.js +437 -0
  49. package/source/js/decrypt.js +112 -0
  50. package/source/js/insight.js +75 -65
  51. package/source/js/main.js +192 -99
  52. package/source/js/mdit/mermaid.js +12 -4
  53. package/source/js/swup.bundle.js +1 -0
  54. package/source/js/theme-selector.js +94 -113
  55. package/source/img/og_image.png +0 -0
  56. package/source/js/host/swup/Swup.umd.min.js +0 -1
  57. package/source/js/host/swup/head-plugin.umd.min.js +0 -1
  58. package/source/js/host/swup/scripts-plugin.umd.min.js +0 -2
  59. package/source/js/mdit/shiki.js +0 -158
@@ -1,3 +1,14 @@
1
+ #twikoo {
2
+ font-family: var(--font-sans-serif);
3
+ code {
4
+ font-family: var(--font-mono);
5
+ }
6
+
7
+ p {
8
+ color: var(--text);
9
+ }
10
+ }
11
+
1
12
  .tk-avatar {
2
13
  flex-shrink: 0;
3
14
  height: 2.5rem;
@@ -10,16 +21,8 @@
10
21
 
11
22
  .tk-comment .tk-submit .tk-avatar,
12
23
  .tk-replies .tk-avatar {
13
- height: 1.6rem;
14
- width: 1.6rem;
15
- }
16
-
17
- .tk-avatar.tk-has-avatar {
18
- background-color: rgba(144, 147, 153, 0.13);
19
- }
20
-
21
- .tk-avatar.tk-clickable {
22
- cursor: pointer;
24
+ height: 2rem;
25
+ width: 2rem;
23
26
  }
24
27
 
25
28
  .tk-avatar .tk-avatar-img {
@@ -29,16 +32,24 @@
29
32
 
30
33
  .tk-comment .tk-submit .tk-avatar .tk-avatar-img,
31
34
  .tk-replies .tk-avatar .tk-avatar-img {
32
- height: 1.6rem;
35
+ height: 2rem;
36
+ }
37
+
38
+ .tk-avatar.tk-clickable {
39
+ cursor: pointer;
40
+ transition: opacity 0.2s ease-out;
41
+ &:hover {
42
+ opacity: 0.8;
43
+ }
33
44
  }
34
45
 
35
46
  .tk-meta-input {
36
47
  display: flex;
48
+ margin-bottom: 0.5rem;
37
49
  }
38
50
 
39
51
  .tk-meta-input .el-input {
40
52
  width: calc((100% - 1rem) / 3);
41
- /* Fix Safari */
42
53
  flex: 1;
43
54
  }
44
55
 
@@ -73,11 +84,7 @@
73
84
  .tk-submit {
74
85
  display: flex;
75
86
  flex-direction: column;
76
- }
77
-
78
- .tk-row {
79
- display: flex;
80
- flex-direction: row;
87
+ margin-top: 1rem;
81
88
  }
82
89
 
83
90
  .tk-col {
@@ -86,10 +93,6 @@
86
93
  flex-direction: column;
87
94
  }
88
95
 
89
- .tk-meta-input {
90
- margin-bottom: 0.5rem;
91
- }
92
-
93
96
  .tk-row.actions {
94
97
  position: relative;
95
98
  margin-top: 1rem;
@@ -113,6 +116,7 @@
113
116
  margin-right: 10px;
114
117
  cursor: pointer;
115
118
  flex-shrink: 0;
119
+ transition: opacity 0.15s ease-out;
116
120
  }
117
121
 
118
122
  .tk-submit-action-icon.__markdown {
@@ -134,9 +138,9 @@
134
138
  box-sizing: border-box;
135
139
  width: 100%;
136
140
  font-size: inherit;
137
- color: #606266;
141
+ color: var(--text);
138
142
  background-color: var(--base);
139
- border: 1px solid #dcdfe6;
143
+ border: 1px solid hsl(from var(--surface1) h s l / 0.31);
140
144
  border-radius: 4px;
141
145
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
142
146
  &::placeholder {
@@ -222,10 +226,7 @@
222
226
  color: var(--blue);
223
227
  }
224
228
 
225
- .tk-action-link .tk-action-icon-solid {
226
- display: none;
227
- }
228
-
229
+ .tk-action-link .tk-action-icon-solid,
229
230
  .tk-action-link.tk-liked .tk-action-icon,
230
231
  .tk-action-link:hover .tk-action-icon {
231
232
  display: none;
@@ -248,6 +249,13 @@
248
249
  width: 0;
249
250
  }
250
251
 
252
+ .tk-meta {
253
+ display: flex;
254
+ align-items: baseline;
255
+ gap: 0.5rem;
256
+ flex-wrap: wrap;
257
+ }
258
+
251
259
  .tk-row {
252
260
  flex: 1;
253
261
  display: flex;
@@ -258,6 +266,7 @@
258
266
  .tk-nick-link {
259
267
  color: inherit;
260
268
  text-decoration: none;
269
+ transition: color 0.15s ease-out;
261
270
  }
262
271
 
263
272
  .tk-replies .tk-nick-link {
@@ -278,69 +287,66 @@
278
287
  }
279
288
 
280
289
  .tk-extras {
281
- color: var(--text);
282
- font-size: 0.875em;
283
290
  display: flex;
284
291
  flex-wrap: wrap;
292
+ gap: 12px;
293
+ align-items: center;
294
+ margin: 4px 0;
285
295
  }
286
296
 
287
297
  .tk-extra {
288
- margin-top: 0.5rem;
289
- margin-right: 0.75rem;
290
298
  display: flex;
291
299
  align-items: center;
300
+ gap: 6px;
301
+ padding: 4px;
302
+ color: var(--subtext1);
303
+ font-size: 0.75rem;
304
+ border-radius: 3px;
305
+ transition: background-color 0.15s ease-out;
292
306
  }
293
307
 
294
- .tk-icon.__comment {
295
- height: 1em;
296
- width: 1em;
297
- line-height: 1;
308
+ .tk-extra:hover {
309
+ background: hsl(from var(--text) h s l / 0.06);
298
310
  }
299
311
 
300
- .tk-extra-text {
301
- line-height: 1;
312
+ .tk-icon {
313
+ display: inline-flex;
314
+ align-items: center;
315
+ justify-content: center;
316
+ width: 0.8rem;
317
+ height: 0.8rem;
318
+ flex-shrink: 0;
302
319
  }
303
320
 
304
321
  .tk-tag {
305
322
  display: inline-block;
306
323
  padding: 0 0.5em;
307
324
  font-size: 0.75em;
308
- background-color: #f2f6fc;
325
+ background-color: hsl(from var(--blue) h s l / 0.1);
326
+ border-radius: 3px;
309
327
  }
310
328
 
311
329
  .tk-tag-green {
312
- background-color: hsl(from var(--green) h s l / 0.13);
313
- border: 1px solid hsl(from var(--green) h s l / 0.5);
314
- border-radius: 2px;
330
+ background-color: hsl(from var(--green) h s l / 0.1);
331
+ border: 1px solid hsl(from var(--green) h s l / 0.8);
332
+ border-radius: 3px;
315
333
  color: var(--green);
316
334
  }
317
335
 
318
- .tk-tag-yellow {
319
- background-color: hsl(from var(--yellow) h s l / 0.13);
320
- border: 1px solid hsl(from var(--yellow) h s l / 0.5);
321
- border-radius: 2px;
322
- color: var(--yellow);
323
- }
324
-
325
- .tk-tag-blue {
326
- background-color: hsl(from var(--blue) h s l / 0.13);
327
- border: 1px solid hsl(from var(--blue) h s l / 0.5);
328
- border-radius: 2px;
329
- color: var(--blue);
330
- }
331
-
332
- .tk-tag-red {
333
- background-color: hsl(from var(--red) h s l / 0.13);
334
- border: 1px solid hsl(from var(--red) h s l / 0.5);
335
- border-radius: 2px;
336
- color: var(--red);
336
+ .tk-time {
337
+ color: var(--subtext0);
337
338
  }
338
339
 
339
340
  .tk-comment {
340
341
  margin-top: 1rem;
342
+ padding-bottom: 1rem;
341
343
  display: flex;
342
344
  flex-direction: row;
343
- word-break: break-all;
345
+ word-break: break-word;
346
+ }
347
+
348
+ .tk-comment:last-child {
349
+ padding-bottom: 0;
344
350
  }
345
351
 
346
352
  .tk-content {
@@ -348,6 +354,7 @@
348
354
  overflow: hidden;
349
355
  max-height: 500px;
350
356
  position: relative;
357
+ line-height: 1.75;
351
358
  }
352
359
 
353
360
  .tk-content-expand {
@@ -367,6 +374,18 @@
367
374
  max-height: 200px;
368
375
  overflow: hidden;
369
376
  position: relative;
377
+ margin-top: 0.75rem;
378
+ padding-left: 1rem;
379
+ border-left: 2px solid var(--surface0);
380
+ }
381
+
382
+ .tk-replies .tk-comment {
383
+ margin-top: 0.75rem;
384
+ padding-bottom: 0;
385
+ }
386
+
387
+ .tk-replies .tk-comment:first-child {
388
+ margin-top: 0;
370
389
  }
371
390
 
372
391
  .tk-replies-expand {
@@ -374,23 +393,19 @@
374
393
  overflow: unset;
375
394
  }
376
395
 
377
- .tk-submit {
378
- margin-top: 1rem;
379
- }
380
-
381
- .tk-expand {
382
- font-size: 0.75em;
396
+ .tk-ruser {
397
+ color: var(--blue);
398
+ text-decoration: none;
399
+ transition: opacity 0.15s ease-out;
383
400
  }
384
401
 
385
402
  .tk-lightbox {
386
403
  display: block;
387
404
  position: fixed;
388
- background-color: rgba(0, 0, 0, 0.3);
389
- top: 0;
390
- left: 0;
391
- right: 0;
392
- bottom: 0;
405
+ background-color: hsl(from var(--crust) h s l / 0.5);
406
+ inset: 0;
393
407
  z-index: 999;
408
+ cursor: zoom-out;
394
409
  }
395
410
 
396
411
  .tk-lightbox-image {
@@ -404,13 +419,13 @@
404
419
  top: 50%;
405
420
  left: 50%;
406
421
  transform: translate(-50%, -50%);
407
- background: linear-gradient(90deg, #eeeeee 50%, #e3e3e3 0);
422
+ background: linear-gradient(90deg, var(--surface0) 50%, var(--surface1) 0);
408
423
  background-size: 40px 100%;
409
424
  }
410
425
 
411
426
  .tk-comments-title {
412
427
  font-size: 1.25rem;
413
- font-weight: bold;
428
+ font-weight: 700;
414
429
  margin-bottom: 1rem;
415
430
  display: flex;
416
431
  align-items: baseline;
@@ -451,46 +466,43 @@
451
466
  line-height: 0;
452
467
  cursor: pointer;
453
468
  color: var(--blue);
469
+ transition: opacity 0.15s ease-out;
454
470
  }
455
471
 
456
472
  .twikoo div.code-toolbar {
457
473
  position: relative;
458
474
  border-radius: 0.3em;
459
- }
460
-
461
- .twikoo div.code-toolbar > .toolbar {
462
- position: absolute;
463
- right: 4px;
464
- top: 4px;
465
- font-size: 0.8125rem;
466
- font-weight: 500;
467
- display: flex;
468
- }
469
-
470
- .twikoo div.code-toolbar > .toolbar > .toolbar-item {
471
- margin-left: 0.3em;
472
- }
473
-
474
- .twikoo div.code-toolbar > .toolbar > .toolbar-item > a,
475
- .twikoo div.code-toolbar > .toolbar > .toolbar-item > button,
476
- .twikoo div.code-toolbar > .toolbar > .toolbar-item > span {
477
- padding: 2px 4px;
478
- border-radius: 0.3em;
479
- }
480
-
481
- .twikoo div.code-toolbar > .toolbar > .toolbar-item > button {
482
- border: 1px solid rgba(128, 128, 128, 0.31);
483
- }
484
-
485
- .twikoo div.code-toolbar > .toolbar > .toolbar-item > button:hover {
486
- cursor: pointer;
475
+ > .toolbar {
476
+ position: absolute;
477
+ right: 4px;
478
+ top: 4px;
479
+ font-size: 0.8125rem;
480
+ font-weight: 500;
481
+ display: flex;
482
+ > .toolbar-item {
483
+ margin-left: 0.3em;
484
+ > a,
485
+ > button,
486
+ > span {
487
+ padding: 2px 4px;
488
+ border-radius: 0.3em;
489
+ }
490
+
491
+ > button {
492
+ border: 1px solid hsl(from var(--surface1) h s l / 0.31);
493
+ &:hover {
494
+ cursor: pointer;
495
+ }
496
+ }
497
+ }
498
+ }
487
499
  }
488
500
 
489
501
  .tk-footer {
490
502
  width: 100%;
491
503
  text-align: end;
492
504
  font-size: 0.75em;
493
- color: #999999;
505
+ color: var(--subtext0);
494
506
  margin-top: 1em;
495
507
  }
496
508
 
@@ -518,10 +530,13 @@
518
530
  align-items: center;
519
531
  justify-content: center;
520
532
  cursor: pointer;
533
+ border-radius: 4px;
534
+ transition: background-color 0.15s ease-out;
521
535
  }
522
536
 
523
537
  .tk-pagination-pager.__current {
524
538
  background-color: var(--blue);
539
+ color: var(--base);
525
540
  pointer-events: none;
526
541
  }
527
542
 
@@ -611,7 +626,12 @@
611
626
  .tk-admin-actions {
612
627
  display: flex;
613
628
  margin-bottom: 1em;
614
- border-bottom: 1px solid rgba(255, 255, 255, 0.5);
629
+ border-bottom: 1px solid hsl(from var(--surface0) h s l / 0.5);
630
+ button {
631
+ font-size: 1em;
632
+ padding: 0.25em 1em;
633
+ margin: 0.5em 0;
634
+ }
615
635
  }
616
636
 
617
637
  .tk-admin-config-groups {
@@ -622,7 +642,7 @@
622
642
  .tk-admin-config-group-title {
623
643
  margin-top: 1em;
624
644
  font-size: 1.25rem;
625
- font-weight: bold;
645
+ font-weight: 700;
626
646
  }
627
647
 
628
648
  .tk-admin-config-groups .tk-admin-config-group,
@@ -675,7 +695,7 @@
675
695
  .tk-admin-import-label {
676
696
  margin-top: 1em;
677
697
  font-size: 1.25rem;
678
- font-weight: bold;
698
+ font-weight: 700;
679
699
  }
680
700
 
681
701
  .tk-admin-import select,
@@ -715,7 +735,7 @@
715
735
  }
716
736
 
717
737
  .tk-admin::-webkit-scrollbar-thumb {
718
- background-color: rgba(255, 255, 255, 0.31);
738
+ background-color: var(--overlay0);
719
739
  }
720
740
 
721
741
  .tk-admin.__show {
@@ -734,6 +754,8 @@
734
754
  padding: 1rem;
735
755
  box-sizing: content-box;
736
756
  color: var(--base);
757
+ cursor: pointer;
758
+ transition: opacity 0.15s ease-out;
737
759
  }
738
760
 
739
761
  .tk-login,
@@ -801,6 +823,10 @@
801
823
  line-height: 2em;
802
824
  margin-right: 2em;
803
825
  margin-bottom: -2px;
826
+ transition: color 0.15s ease-out;
827
+ &:hover {
828
+ color: var(--text);
829
+ }
804
830
  }
805
831
 
806
832
  .tk-panel .tk-tab.__active {
@@ -812,32 +838,24 @@
812
838
  }
813
839
 
814
840
  .twikoo svg {
815
- width: 100%;
816
- height: 100%;
817
- fill: var(--lavender);
841
+ fill: var(--subtext1);
818
842
  }
819
843
 
820
- /* 全局 CSS */
821
844
  .tk-expand {
822
- width: 100%;
823
845
  cursor: pointer;
824
846
  padding: 0.75em;
825
847
  text-align: center;
826
- transition: all 0.5s;
827
- }
828
-
829
- .tk-expand:hover {
830
- background-color: rgba(0, 0, 0, 0.13);
831
- }
832
-
833
- .tk-expand:active {
834
- background-color: rgba(0, 0, 0, 0.19);
848
+ &:hover,
849
+ &:active {
850
+ background-color: var(--surfacevar(--surface0) 0);
851
+ }
835
852
  }
836
853
 
837
854
  .tk-content img {
838
855
  max-width: 300px;
839
856
  max-height: 300px;
840
857
  vertical-align: middle;
858
+ cursor: zoom-in;
841
859
  }
842
860
 
843
861
  .tk-owo-emotion,
@@ -846,19 +864,19 @@
846
864
  height: auto;
847
865
  }
848
866
 
849
- /* element-ui overwrite */
850
867
  .twikoo .el-input__inner,
851
868
  .twikoo .el-textarea__inner {
852
869
  color: currentColor;
853
870
  background-color: transparent;
854
871
  border-color: hsl(from var(--surface1) h s l / 0.31);
855
872
 
856
- &:hover {
857
- border-color: hsl(from var(--surface1) h s l / 0.5);
858
- }
859
873
  &:focus {
860
874
  border-color: var(--blue);
861
875
  }
876
+
877
+ &:focus-visible {
878
+ box-shadow: 0 0 0 2px hsl(from var(--blue) h s l / 0.25);
879
+ }
862
880
  }
863
881
 
864
882
  .twikoo .el-button:not(.el-button--primary):not(.el-button--text) {
@@ -909,81 +927,89 @@
909
927
  * Modified by: iMaeGoo
910
928
  * Released under the MIT License.
911
929
  */
912
-
913
930
  .OwO {
914
931
  user-select: none;
915
- }
932
+ .OwO-logo {
933
+ width: 1.125em;
934
+ display: flex;
935
+ }
916
936
 
917
- .OwO .OwO-logo {
918
- width: 1.125em;
919
- display: flex;
937
+ &.OwO-open .OwO-body {
938
+ display: block;
939
+ }
920
940
  }
921
941
 
922
- .OwO .OwO-body {
942
+ .OwO-body {
923
943
  display: none;
924
944
  position: absolute;
925
945
  left: 0;
926
946
  right: 0;
927
947
  max-width: 500px;
928
- color: #4a4a4a;
948
+ color: var(--text);
929
949
  background-color: var(--base);
930
- border: 1px solid rgba(144, 147, 153, 0.31);
950
+ border: 1px solid var(--surface0);
931
951
  top: 2em;
932
- border-radius: 0 4px 4px;
933
- z-index: 1000;
934
- }
935
-
936
- .OwO.OwO-open .OwO-body {
937
- display: block;
938
- }
939
-
940
- .night .OwO .OwO-body,
941
- .darkmode .OwO .OwO-body,
942
- .DarkMode .OwO .OwO-body,
943
- [data-theme="dark"] .OwO .OwO-body,
944
- [data-user-color-scheme="dark"] .OwO .OwO-body {
945
- color: var(--base);
946
- background-color: #4a4a4a;
947
- }
948
-
949
- .OwO .OwO-body .OwO-items {
950
- user-select: none;
951
- display: none;
952
- padding: 10px;
953
- padding-right: 0;
954
- margin: 0;
955
- overflow: auto;
956
- font-size: 0;
957
- }
958
-
959
- .OwO .OwO-body .OwO-items .OwO-item {
960
- list-style-type: none;
961
- padding: 5px 10px;
962
- border-radius: 5px;
963
- display: inline-block;
964
- font-size: 12px;
965
- line-height: 14px;
966
- cursor: pointer;
967
- transition: 0.3s;
968
- text-align: center;
969
- }
952
+ border-radius: var(--radius);
953
+ z-index: 200;
954
+
955
+ .OwO-items {
956
+ padding: 10px 0 10px 10px;
957
+ margin: 0;
958
+ overflow: auto;
959
+ font-size: 0;
960
+ }
970
961
 
971
- .OwO .OwO-body .OwO-items .OwO-item:hover {
972
- background-color: rgba(144, 147, 153, 0.13);
973
- box-shadow:
974
- 0 2px 2px 0 rgba(0, 0, 0, 0.14),
975
- 0 3px 1px -2px rgba(0, 0, 0, 0.2),
976
- 0 1px 5px 0 rgba(0, 0, 0, 0.12);
977
- }
962
+ .OwO-item {
963
+ list-style-type: none;
964
+ padding: 5px 10px;
965
+ display: inline-block;
966
+ font-size: 16px;
967
+ cursor: pointer;
968
+ text-align: center;
969
+ &:hover {
970
+ background-color: var(--surface0);
971
+ }
972
+
973
+ &:focus-visible {
974
+ background-color: var(--surface0);
975
+ outline: none;
976
+ }
977
+ }
978
978
 
979
- .OwO .OwO-body .OwO-items-emoji .OwO-item {
980
- font-size: 20px;
981
- line-height: 19px;
982
- }
979
+ .OwO-items-image {
980
+ .OwO-item {
981
+ img {
982
+ max-width: 100%;
983
+ }
984
+ }
985
+ }
983
986
 
984
- .OwO .OwO-body .OwO-items-image .OwO-item {
985
- width: 14%;
986
- box-sizing: border-box;
987
+ .OwO-bar {
988
+ width: 100%;
989
+ border-top: 1px solid var(--surface0);
990
+ .OwO-packages {
991
+ margin: 0;
992
+ padding: 0;
993
+ font-size: 0;
994
+ li {
995
+ list-style-type: none;
996
+ display: inline-block;
997
+ line-height: 30px;
998
+ font-size: 14px;
999
+ padding: 0 10px;
1000
+ cursor: pointer;
1001
+ margin-right: 3px;
1002
+ &:nth-child(1) {
1003
+ border-radius: 0 0 0 3px;
1004
+ }
1005
+ }
1006
+
1007
+ .OwO-package-active,
1008
+ .OwO-packages:hover {
1009
+ color: var(--lavender);
1010
+ }
1011
+ }
1012
+ }
987
1013
  }
988
1014
 
989
1015
  @media screen and (max-width: 600px) {
@@ -1010,49 +1036,6 @@
1010
1036
  }
1011
1037
  }
1012
1038
 
1013
- .OwO .OwO-body .OwO-items-image .OwO-item img {
1014
- max-width: 100%;
1015
- }
1016
-
1017
- .OwO .OwO-body .OwO-items-show {
1018
- display: block;
1019
- }
1020
-
1021
- .OwO .OwO-body .OwO-bar {
1022
- width: 100%;
1023
- border-top: 1px solid rgba(144, 147, 153, 0.31);
1024
- border-radius: 0 0 4px 4px;
1025
- }
1026
-
1027
- .OwO .OwO-body .OwO-bar .OwO-packages {
1028
- margin: 0;
1029
- padding: 0;
1030
- font-size: 0;
1031
- }
1032
-
1033
- .OwO .OwO-body .OwO-bar .OwO-packages li {
1034
- list-style-type: none;
1035
- display: inline-block;
1036
- line-height: 30px;
1037
- font-size: 14px;
1038
- padding: 0 10px;
1039
- cursor: pointer;
1040
- margin-right: 3px;
1041
- }
1042
-
1043
- .OwO .OwO-body .OwO-bar .OwO-packages li:nth-child(1) {
1044
- border-radius: 0 0 0 3px;
1045
- }
1046
-
1047
- .OwO .OwO-body .OwO-bar .OwO-packages li:hover {
1048
- background-color: rgba(144, 147, 153, 0.13);
1049
- }
1050
-
1051
- .OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active {
1052
- background-color: rgba(144, 147, 153, 0.13);
1053
- transition: 0.3s;
1054
- }
1055
-
1056
1039
  .el-button {
1057
1040
  display: inline-block;
1058
1041
  line-height: 1;
@@ -1061,62 +1044,29 @@
1061
1044
  background: var(--base);
1062
1045
  border: 1px solid var(--surface0);
1063
1046
  color: var(--subtext1);
1064
-
1065
1047
  text-align: center;
1066
1048
  box-sizing: border-box;
1067
1049
  outline: 0;
1068
1050
  margin: 0;
1069
- transition: 0.1s;
1051
+ transition:
1052
+ color 0.15s ease-out,
1053
+ background-color 0.15s ease-out,
1054
+ border-color 0.15s ease-out;
1070
1055
  font-weight: 500;
1071
1056
  user-select: none;
1072
1057
  padding: 12px 20px;
1073
1058
  font-size: 14px;
1074
1059
  border-radius: 4px;
1060
+ &:focus-visible {
1061
+ border-color: var(--blue);
1062
+ box-shadow: 0 0 0 2px hsl(from var(--blue) h s l / 0.25);
1063
+ }
1075
1064
  }
1076
1065
 
1077
1066
  .el-button + .el-button {
1078
1067
  margin-left: 10px;
1079
1068
  }
1080
1069
 
1081
- .el-button:focus,
1082
- .el-button:hover {
1083
- color: var(--blue);
1084
- border-color: #c6e2ff;
1085
- background-color: #ecf5ff;
1086
- }
1087
-
1088
- .el-button:active {
1089
- color: var(--blue);
1090
- border-color: var(--blue);
1091
- outline: 0;
1092
- }
1093
-
1094
- .el-button::-moz-focus-inner {
1095
- border: 0;
1096
- }
1097
-
1098
- .el-button [class*="el-icon-"] + span {
1099
- margin-left: 5px;
1100
- }
1101
-
1102
- .el-button.is-plain:focus,
1103
- .el-button.is-plain:hover {
1104
- background: var(--base);
1105
- border-color: var(--blue);
1106
- color: var(--blue);
1107
- }
1108
-
1109
- .el-button.is-active,
1110
- .el-button.is-plain:active {
1111
- color: var(--blue);
1112
- border-color: var(--blue);
1113
- }
1114
-
1115
- .el-button.is-plain:active {
1116
- background: var(--base);
1117
- outline: 0;
1118
- }
1119
-
1120
1070
  .el-button.is-disabled,
1121
1071
  .el-button.is-disabled:focus,
1122
1072
  .el-button.is-disabled:hover {
@@ -1127,510 +1077,23 @@
1127
1077
  border-color: var(--surface0);
1128
1078
  }
1129
1079
 
1130
- .el-button.is-disabled.el-button--text {
1131
- background-color: transparent;
1132
- }
1133
-
1134
- .el-button.is-disabled.is-plain,
1135
- .el-button.is-disabled.is-plain:focus,
1136
- .el-button.is-disabled.is-plain:hover {
1137
- background-color: var(--base);
1138
- border-color: #ebeef5;
1139
- color: var(--subtext0);
1140
- }
1141
-
1142
- .el-button.is-loading {
1143
- position: relative;
1144
- pointer-events: none;
1145
- }
1146
-
1147
- .el-button.is-loading:before {
1148
- pointer-events: none;
1149
- content: "";
1150
- position: absolute;
1151
- left: -1px;
1152
- top: -1px;
1153
- right: -1px;
1154
- bottom: -1px;
1155
- border-radius: inherit;
1156
- background-color: rgba(255, 255, 255, 0.35);
1157
- }
1158
-
1159
- .el-button.is-round {
1160
- border-radius: 20px;
1161
- padding: 12px 23px;
1162
- }
1163
-
1164
- .el-button.is-circle {
1165
- border-radius: 50%;
1166
- padding: 12px;
1167
- }
1168
-
1169
1080
  .el-button--primary {
1170
1081
  color: var(--base);
1171
1082
  background-color: var(--blue);
1172
1083
  border-color: var(--blue);
1173
1084
  }
1174
1085
 
1175
- .el-button--primary:focus,
1176
- .el-button--primary:hover {
1177
- background: var(--blue);
1178
- border-color: var(--blue);
1179
- color: var(--base);
1180
- }
1181
-
1182
- .el-button--primary:active {
1183
- background: var(--blue);
1184
- border-color: var(--blue);
1185
- color: var(--base);
1186
- outline: 0;
1187
- }
1188
-
1189
- .el-button--primary.is-active {
1190
- background: var(--blue);
1191
- border-color: var(--blue);
1192
- color: var(--base);
1193
- }
1194
-
1195
- .el-button--primary.is-plain {
1196
- color: var(--blue);
1197
- background: #ecf5ff;
1198
- border-color: #b3d8ff;
1199
- }
1200
-
1201
- .el-button--primary.is-plain:focus,
1202
- .el-button--primary.is-plain:hover {
1203
- background: var(--blue);
1204
- border-color: var(--blue);
1205
- color: var(--base);
1206
- }
1207
-
1208
- .el-button--primary.is-plain:active {
1209
- background: var(--blue);
1210
- border-color: var(--blue);
1211
- color: var(--base);
1212
- outline: 0;
1213
- }
1214
-
1215
- .el-button--primary.is-plain.is-disabled,
1216
- .el-button--primary.is-plain.is-disabled:active,
1217
- .el-button--primary.is-plain.is-disabled:focus,
1218
- .el-button--primary.is-plain.is-disabled:hover {
1219
- color: #8cc5ff;
1220
- background-color: #ecf5ff;
1221
- border-color: #d9ecff;
1222
- }
1223
-
1224
- .el-button--success {
1225
- color: var(--base);
1226
- background-color: var(--green);
1227
- border-color: var(--green);
1228
- }
1229
-
1230
- .el-button--success:focus,
1231
- .el-button--success:hover {
1232
- background: #85ce61;
1233
- border-color: #85ce61;
1234
- color: var(--base);
1235
- }
1236
-
1237
- .el-button--success.is-active,
1238
- .el-button--success:active {
1239
- background: #5daf34;
1240
- border-color: #5daf34;
1241
- color: var(--base);
1242
- }
1243
-
1244
- .el-button--success:active {
1245
- outline: 0;
1246
- }
1247
-
1248
- .el-button--success.is-disabled,
1249
- .el-button--success.is-disabled:active,
1250
- .el-button--success.is-disabled:focus,
1251
- .el-button--success.is-disabled:hover {
1252
- color: var(--base);
1253
- background-color: #b3e19d;
1254
- border-color: #b3e19d;
1255
- }
1256
-
1257
- .el-button--success.is-plain {
1258
- color: #67c23a;
1259
- background: #f0f9eb;
1260
- border-color: #c2e7b0;
1261
- }
1262
-
1263
- .el-button--success.is-plain:focus,
1264
- .el-button--success.is-plain:hover {
1265
- background: #67c23a;
1266
- border-color: #67c23a;
1267
- color: var(--base);
1268
- }
1269
-
1270
- .el-button--success.is-plain:active {
1271
- background: #5daf34;
1272
- border-color: #5daf34;
1273
- color: var(--base);
1274
- outline: 0;
1275
- }
1276
-
1277
- .el-button--success.is-plain.is-disabled,
1278
- .el-button--success.is-plain.is-disabled:active,
1279
- .el-button--success.is-plain.is-disabled:focus,
1280
- .el-button--success.is-plain.is-disabled:hover {
1281
- color: #a4da89;
1282
- background-color: #f0f9eb;
1283
- border-color: #e1f3d8;
1284
- }
1285
-
1286
- .el-button--warning {
1287
- color: var(--base);
1288
- background-color: #e6a23c;
1289
- border-color: #e6a23c;
1290
- }
1291
-
1292
- .el-button--warning:focus,
1293
- .el-button--warning:hover {
1294
- background: #ebb563;
1295
- border-color: #ebb563;
1296
- color: var(--base);
1297
- }
1298
-
1299
- .el-button--warning.is-active,
1300
- .el-button--warning:active {
1301
- background: #cf9236;
1302
- border-color: #cf9236;
1303
- color: var(--base);
1304
- }
1305
-
1306
- .el-button--warning:active {
1307
- outline: 0;
1308
- }
1309
-
1310
- .el-button--warning.is-disabled,
1311
- .el-button--warning.is-disabled:active,
1312
- .el-button--warning.is-disabled:focus,
1313
- .el-button--warning.is-disabled:hover {
1314
- color: var(--base);
1315
- background-color: #f3d19e;
1316
- border-color: #f3d19e;
1317
- }
1318
-
1319
- .el-button--warning.is-plain {
1320
- color: #e6a23c;
1321
- background: #fdf6ec;
1322
- border-color: #f5dab1;
1323
- }
1324
-
1325
- .el-button--warning.is-plain:focus,
1326
- .el-button--warning.is-plain:hover {
1327
- background: #e6a23c;
1328
- border-color: #e6a23c;
1329
- color: var(--base);
1330
- }
1331
-
1332
- .el-button--warning.is-plain:active {
1333
- background: #cf9236;
1334
- border-color: #cf9236;
1335
- color: var(--base);
1336
- outline: 0;
1337
- }
1338
-
1339
- .el-button--warning.is-plain.is-disabled,
1340
- .el-button--warning.is-plain.is-disabled:active,
1341
- .el-button--warning.is-plain.is-disabled:focus,
1342
- .el-button--warning.is-plain.is-disabled:hover {
1343
- color: #f0c78a;
1344
- background-color: #fdf6ec;
1345
- border-color: #faecd8;
1346
- }
1347
-
1348
- .el-button--danger {
1349
- color: var(--base);
1350
- background-color: #f56c6c;
1351
- border-color: #f56c6c;
1352
- }
1353
-
1354
- .el-button--danger:focus,
1355
- .el-button--danger:hover {
1356
- background: #f78989;
1357
- border-color: #f78989;
1358
- color: var(--base);
1359
- }
1360
-
1361
- .el-button--danger.is-active,
1362
- .el-button--danger:active {
1363
- background: #dd6161;
1364
- border-color: #dd6161;
1365
- color: var(--base);
1366
- }
1367
-
1368
- .el-button--danger:active {
1369
- outline: 0;
1370
- }
1371
-
1372
- .el-button--danger.is-disabled,
1373
- .el-button--danger.is-disabled:active,
1374
- .el-button--danger.is-disabled:focus,
1375
- .el-button--danger.is-disabled:hover {
1376
- color: var(--base);
1377
- background-color: #fab6b6;
1378
- border-color: #fab6b6;
1379
- }
1380
-
1381
- .el-button--danger.is-plain {
1382
- color: #f56c6c;
1383
- background: #fef0f0;
1384
- border-color: #fbc4c4;
1385
- }
1386
-
1387
- .el-button--danger.is-plain:focus,
1388
- .el-button--danger.is-plain:hover {
1389
- background: #f56c6c;
1390
- border-color: #f56c6c;
1391
- color: var(--base);
1392
- }
1393
-
1394
- .el-button--danger.is-plain:active {
1395
- background: #dd6161;
1396
- border-color: #dd6161;
1397
- color: var(--base);
1398
- outline: 0;
1399
- }
1400
-
1401
- .el-button--danger.is-plain.is-disabled,
1402
- .el-button--danger.is-plain.is-disabled:active,
1403
- .el-button--danger.is-plain.is-disabled:focus,
1404
- .el-button--danger.is-plain.is-disabled:hover {
1405
- color: #f9a7a7;
1406
- background-color: #fef0f0;
1407
- border-color: #fde2e2;
1408
- }
1409
-
1410
- .el-button--info {
1411
- color: var(--base);
1412
- background-color: #909399;
1413
- border-color: #909399;
1414
- }
1415
-
1416
- .el-button--info:focus,
1417
- .el-button--info:hover {
1418
- background: #a6a9ad;
1419
- border-color: #a6a9ad;
1420
- color: var(--base);
1421
- }
1422
-
1423
- .el-button--info.is-active,
1424
- .el-button--info:active {
1425
- background: #82848a;
1426
- border-color: #82848a;
1427
- color: var(--base);
1428
- }
1429
-
1430
- .el-button--info:active {
1431
- outline: 0;
1432
- }
1433
-
1434
- .el-button--info.is-disabled,
1435
- .el-button--info.is-disabled:active,
1436
- .el-button--info.is-disabled:focus,
1437
- .el-button--info.is-disabled:hover {
1438
- color: var(--base);
1439
- background-color: #c8c9cc;
1440
- border-color: #c8c9cc;
1441
- }
1442
-
1443
- .el-button--info.is-plain {
1444
- color: #909399;
1445
- background: #f4f4f5;
1446
- border-color: #d3d4d6;
1447
- }
1448
-
1449
- .el-button--info.is-plain:focus,
1450
- .el-button--info.is-plain:hover {
1451
- background: #909399;
1452
- border-color: #909399;
1453
- color: var(--base);
1454
- }
1455
-
1456
- .el-button--info.is-plain:active {
1457
- background: #82848a;
1458
- border-color: #82848a;
1459
- color: var(--base);
1460
- outline: 0;
1461
- }
1462
-
1463
- .el-button--info.is-plain.is-disabled,
1464
- .el-button--info.is-plain.is-disabled:active,
1465
- .el-button--info.is-plain.is-disabled:focus,
1466
- .el-button--info.is-plain.is-disabled:hover {
1467
- color: #bcbec2;
1468
- background-color: #f4f4f5;
1469
- border-color: #e9e9eb;
1470
- }
1471
-
1472
- .el-button--medium {
1473
- padding: 10px 20px;
1474
- font-size: 14px;
1475
- border-radius: 4px;
1476
- }
1477
-
1478
1086
  .el-button--mini,
1479
1087
  .el-button--small {
1480
1088
  font-size: 12px;
1481
1089
  border-radius: 3px;
1482
1090
  }
1483
1091
 
1484
- .el-button--medium.is-round {
1485
- padding: 10px 20px;
1486
- }
1487
-
1488
- .el-button--medium.is-circle {
1489
- padding: 10px;
1490
- }
1491
-
1492
1092
  .el-button--small,
1493
1093
  .el-button--small.is-round {
1494
1094
  padding: 9px 15px;
1495
1095
  }
1496
1096
 
1497
- .el-button--small.is-circle {
1498
- padding: 9px;
1499
- }
1500
-
1501
- .el-button--mini,
1502
- .el-button--mini.is-round {
1503
- padding: 7px 15px;
1504
- }
1505
-
1506
- .el-button--mini.is-circle {
1507
- padding: 7px;
1508
- }
1509
-
1510
- .el-button--text {
1511
- border-color: transparent;
1512
- color: var(--blue);
1513
- background: 0 0;
1514
- padding-left: 0;
1515
- padding-right: 0;
1516
- }
1517
-
1518
- .el-button--text:focus,
1519
- .el-button--text:hover {
1520
- color: var(--blue);
1521
- border-color: transparent;
1522
- background-color: transparent;
1523
- }
1524
-
1525
- .el-button--text:active {
1526
- color: var(--blue);
1527
- border-color: transparent;
1528
- background-color: transparent;
1529
- }
1530
-
1531
- .el-button--text.is-disabled,
1532
- .el-button--text.is-disabled:focus,
1533
- .el-button--text.is-disabled:hover {
1534
- border-color: transparent;
1535
- }
1536
-
1537
- .el-button-group .el-button--danger:last-child,
1538
- .el-button-group .el-button--danger:not(:first-child):not(:last-child),
1539
- .el-button-group .el-button--info:last-child,
1540
- .el-button-group .el-button--info:not(:first-child):not(:last-child),
1541
- .el-button-group .el-button--primary:last-child,
1542
- .el-button-group .el-button--primary:not(:first-child):not(:last-child),
1543
- .el-button-group .el-button--success:last-child,
1544
- .el-button-group .el-button--success:not(:first-child):not(:last-child),
1545
- .el-button-group .el-button--warning:last-child,
1546
- .el-button-group .el-button--warning:not(:first-child):not(:last-child),
1547
- .el-button-group > .el-dropdown > .el-button {
1548
- border-left-color: rgba(255, 255, 255, 0.5);
1549
- }
1550
-
1551
- .el-button-group .el-button--danger:first-child,
1552
- .el-button-group .el-button--danger:not(:first-child):not(:last-child),
1553
- .el-button-group .el-button--info:first-child,
1554
- .el-button-group .el-button--info:not(:first-child):not(:last-child),
1555
- .el-button-group .el-button--primary:first-child,
1556
- .el-button-group .el-button--primary:not(:first-child):not(:last-child),
1557
- .el-button-group .el-button--success:first-child,
1558
- .el-button-group .el-button--success:not(:first-child):not(:last-child),
1559
- .el-button-group .el-button--warning:first-child,
1560
- .el-button-group .el-button--warning:not(:first-child):not(:last-child) {
1561
- border-right-color: rgba(255, 255, 255, 0.5);
1562
- }
1563
-
1564
- .el-button-group {
1565
- display: inline-block;
1566
- vertical-align: middle;
1567
- }
1568
-
1569
- .el-button-group::after,
1570
- .el-button-group::before {
1571
- display: table;
1572
- content: "";
1573
- }
1574
-
1575
- .el-button-group::after {
1576
- clear: both;
1577
- }
1578
-
1579
- .el-button-group > .el-button {
1580
- float: left;
1581
- position: relative;
1582
- }
1583
-
1584
- .el-button-group > .el-button + .el-button {
1585
- margin-left: 0;
1586
- }
1587
-
1588
- .el-button-group > .el-button.is-disabled {
1589
- z-index: 1;
1590
- }
1591
-
1592
- .el-button-group > .el-button:first-child {
1593
- border-top-right-radius: 0;
1594
- border-bottom-right-radius: 0;
1595
- }
1596
-
1597
- .el-button-group > .el-button:last-child {
1598
- border-top-left-radius: 0;
1599
- border-bottom-left-radius: 0;
1600
- }
1601
-
1602
- .el-button-group > .el-button:first-child:last-child {
1603
- border-radius: 4px;
1604
- }
1605
-
1606
- .el-button-group > .el-button:first-child:last-child.is-round {
1607
- border-radius: 20px;
1608
- }
1609
-
1610
- .el-button-group > .el-button:first-child:last-child.is-circle {
1611
- border-radius: 50%;
1612
- }
1613
-
1614
- .el-button-group > .el-button:not(:first-child):not(:last-child) {
1615
- border-radius: 0;
1616
- }
1617
-
1618
- .el-button-group > .el-button:not(:last-child) {
1619
- margin-right: -1px;
1620
- }
1621
-
1622
- .el-button-group > .el-button.is-active,
1623
- .el-button-group > .el-button:not(.is-disabled):active,
1624
- .el-button-group > .el-button:not(.is-disabled):focus,
1625
- .el-button-group > .el-button:not(.is-disabled):hover {
1626
- z-index: 1;
1627
- }
1628
-
1629
- .el-button-group > .el-dropdown > .el-button {
1630
- border-top-left-radius: 0;
1631
- border-bottom-left-radius: 0;
1632
- }
1633
-
1634
1097
  .el-input__inner,
1635
1098
  .el-textarea__inner {
1636
1099
  background-image: none;
@@ -1645,7 +1108,7 @@
1645
1108
  }
1646
1109
 
1647
1110
  .el-textarea .el-input__count {
1648
- color: #909399;
1111
+ color: var(--subtext0);
1649
1112
  background: var(--base);
1650
1113
  position: absolute;
1651
1114
  font-size: 12px;
@@ -1654,34 +1117,21 @@
1654
1117
  }
1655
1118
 
1656
1119
  .el-textarea.is-disabled .el-textarea__inner {
1657
- background-color: #f5f7fa;
1658
- border-color: #e4e7ed;
1120
+ background-color: var(--mantle);
1121
+ border-color: var(--surface0);
1659
1122
  color: var(--subtext0);
1660
1123
  cursor: not-allowed;
1661
- }
1662
-
1663
- .el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder {
1664
- color: var(--subtext0);
1665
- }
1666
-
1667
- .el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder {
1668
- color: var(--subtext0);
1669
- }
1670
-
1671
- .el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder {
1672
- color: var(--subtext0);
1673
- }
1674
-
1675
- .el-textarea.is-disabled .el-textarea__inner::placeholder {
1676
- color: var(--subtext0);
1124
+ &::placeholder {
1125
+ color: var(--subtext0);
1126
+ }
1677
1127
  }
1678
1128
 
1679
1129
  .el-textarea.is-exceed .el-textarea__inner {
1680
- border-color: #f56c6c;
1130
+ border-color: var(--red);
1681
1131
  }
1682
1132
 
1683
1133
  .el-textarea.is-exceed .el-input__count {
1684
- color: #f56c6c;
1134
+ color: var(--red);
1685
1135
  }
1686
1136
 
1687
1137
  .el-input {
@@ -1703,7 +1153,7 @@
1703
1153
  .el-input::-webkit-scrollbar-thumb {
1704
1154
  border-radius: 5px;
1705
1155
  width: 6px;
1706
- background: #b4bccc;
1156
+ background: var(--overlay0);
1707
1157
  }
1708
1158
 
1709
1159
  .el-input::-webkit-scrollbar-corner {
@@ -1727,15 +1177,14 @@
1727
1177
  }
1728
1178
 
1729
1179
  .el-input .el-input__clear:hover {
1730
- color: #909399;
1180
+ color: var(--text);
1731
1181
  }
1732
1182
 
1733
1183
  .el-input .el-input__count {
1734
1184
  height: 100%;
1735
1185
  display: inline-flex;
1736
- -ms-flex-align: center;
1737
1186
  align-items: center;
1738
- color: #909399;
1187
+ color: var(--subtext0);
1739
1188
  font-size: 12px;
1740
1189
  }
1741
1190
 
@@ -1757,9 +1206,9 @@
1757
1206
  .el-input__inner {
1758
1207
  background-color: var(--base);
1759
1208
  border-radius: 4px;
1760
- border: 1px solid #dcdfe6;
1209
+ border: 1px solid hsl(from var(--surface1) h s l / 0.31);
1761
1210
  box-sizing: border-box;
1762
- color: #606266;
1211
+ color: var(--text);
1763
1212
  display: inline-block;
1764
1213
  height: 40px;
1765
1214
  line-height: 40px;
@@ -1779,10 +1228,6 @@
1779
1228
  color: var(--subtext0);
1780
1229
  }
1781
1230
 
1782
- .el-input__inner::-ms-reveal {
1783
- display: none;
1784
- }
1785
-
1786
1231
  .el-input__inner::placeholder {
1787
1232
  color: var(--subtext0);
1788
1233
  }
@@ -1828,8 +1273,8 @@
1828
1273
  }
1829
1274
 
1830
1275
  .el-input.is-disabled .el-input__inner {
1831
- background-color: #f5f7fa;
1832
- border-color: #e4e7ed;
1276
+ background-color: var(--mantle);
1277
+ border-color: var(--surface0);
1833
1278
  color: var(--subtext0);
1834
1279
  cursor: not-allowed;
1835
1280
  }
@@ -1972,12 +1417,6 @@
1972
1417
  border-color: transparent;
1973
1418
  }
1974
1419
 
1975
- .el-input__inner::-ms-clear {
1976
- display: none;
1977
- width: 0;
1978
- height: 0;
1979
- }
1980
-
1981
1420
  .el-loading-parent--relative {
1982
1421
  position: relative !important;
1983
1422
  }
@@ -1989,12 +1428,9 @@
1989
1428
  .el-loading-mask {
1990
1429
  position: absolute;
1991
1430
  z-index: 2000;
1992
- background-color: rgba(255, 255, 255, 0.9);
1431
+ background-color: hsl(from var(--base) h s l / 0.9);
1993
1432
  margin: 0;
1994
- top: 0;
1995
- right: 0;
1996
- bottom: 0;
1997
- left: 0;
1433
+ inset: 0;
1998
1434
  transition: opacity 0.3s;
1999
1435
  }
2000
1436
 
@@ -2002,46 +1438,45 @@
2002
1438
  position: fixed;
2003
1439
  }
2004
1440
 
2005
- .el-loading-mask.is-fullscreen .el-loading-spinner {
2006
- margin-top: -25px;
2007
- }
2008
-
2009
- .el-loading-mask.is-fullscreen .el-loading-spinner .circular {
2010
- height: 50px;
2011
- width: 50px;
2012
- }
2013
-
2014
1441
  .el-loading-spinner {
2015
1442
  top: 50%;
2016
1443
  margin-top: -21px;
2017
1444
  width: 100%;
2018
1445
  text-align: center;
2019
1446
  position: absolute;
2020
- }
1447
+ .el-loading-text {
1448
+ color: var(--blue);
1449
+ margin: 3px 0;
1450
+ font-size: 14px;
1451
+ }
2021
1452
 
2022
- .el-loading-spinner .el-loading-text {
2023
- color: var(--blue);
2024
- margin: 3px 0;
2025
- font-size: 14px;
2026
- }
1453
+ .circular {
1454
+ height: 42px;
1455
+ width: 42px;
1456
+ animation: loading-rotate 2s linear infinite;
1457
+ }
1458
+
1459
+ .path {
1460
+ animation: loading-dash 1.5s ease-in-out infinite;
1461
+ stroke-dasharray: 90, 150;
1462
+ stroke-dashoffset: 0;
1463
+ stroke-width: 2;
1464
+ stroke: var(--blue);
1465
+ stroke-linecap: round;
1466
+ }
2027
1467
 
2028
- .el-loading-spinner .circular {
2029
- height: 42px;
2030
- width: 42px;
2031
- animation: loading-rotate 2s linear infinite;
1468
+ i {
1469
+ color: var(--blue);
1470
+ }
2032
1471
  }
2033
1472
 
2034
- .el-loading-spinner .path {
2035
- animation: loading-dash 1.5s ease-in-out infinite;
2036
- stroke-dasharray: 90, 150;
2037
- stroke-dashoffset: 0;
2038
- stroke-width: 2;
2039
- stroke: var(--blue);
2040
- stroke-linecap: round;
1473
+ .el-loading-mask.is-fullscreen .el-loading-spinner {
1474
+ margin-top: -25px;
2041
1475
  }
2042
1476
 
2043
- .el-loading-spinner i {
2044
- color: var(--blue);
1477
+ .el-loading-mask.is-fullscreen .el-loading-spinner .circular {
1478
+ height: 50px;
1479
+ width: 50px;
2045
1480
  }
2046
1481
 
2047
1482
  .el-loading-fade-enter,
@@ -2050,7 +1485,7 @@
2050
1485
  }
2051
1486
 
2052
1487
  @keyframes loading-rotate {
2053
- 100% {
1488
+ to {
2054
1489
  transform: rotate(360deg);
2055
1490
  }
2056
1491
  }
@@ -2066,8 +1501,33 @@
2066
1501
  stroke-dashoffset: -40px;
2067
1502
  }
2068
1503
 
2069
- 100% {
1504
+ to {
2070
1505
  stroke-dasharray: 90, 150;
2071
1506
  stroke-dashoffset: -120px;
2072
1507
  }
2073
1508
  }
1509
+
1510
+ @media (prefers-reduced-motion: reduce) {
1511
+ .tk-fade-in,
1512
+ .tk-expand,
1513
+ .tk-extra,
1514
+ .tk-nick-link,
1515
+ .tk-avatar.tk-clickable,
1516
+ .tk-ruser,
1517
+ .tk-admin-close,
1518
+ .tk-panel-logout,
1519
+ .el-button,
1520
+ .el-textarea__inner,
1521
+ .el-input__inner,
1522
+ .el-input .el-input__clear,
1523
+ .el-input__prefix,
1524
+ .el-input__suffix,
1525
+ .el-input__icon,
1526
+ .tk-submit-action-icon.OwO .OwO-logo {
1527
+ transition: none;
1528
+ }
1529
+
1530
+ .tk-fade-in {
1531
+ animation: none;
1532
+ }
1533
+ }