@touchvue/ui 1.0.0-beta.54 → 1.0.0-beta.56

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 (111) hide show
  1. package/es/components/input/src/input.vue.d.ts +2 -2
  2. package/es/components/pic/index.d.ts +9 -0
  3. package/es/components/pic/src/Pic.vue.d.ts +9 -0
  4. package/es/components/pic/src/pic.d.ts +7 -0
  5. package/es/components/rate/src/rate.vue.d.ts +46 -10
  6. package/es/components/scroll/index.d.ts +15 -0
  7. package/es/components/scroll/src/Scroll.vue.d.ts +9 -0
  8. package/es/components/scroll/src/scroll.d.ts +7 -0
  9. package/es/components/select/src/select.d.ts +18 -0
  10. package/es/components/select/src/select.vue.d.ts +18 -0
  11. package/es/components/table/src/table-head.vue.d.ts +2 -0
  12. package/es/components/tip/src/tip.vue.d.ts +2 -2
  13. package/es/components/upload/src/upload.vue.d.ts +6 -4
  14. package/es/index.d.mjs.map +1 -1
  15. package/es/index.mjs +2 -1
  16. package/es/index.mjs.map +1 -1
  17. package/es/packages/components/calendar/src/calendar.vue2.mjs +22 -0
  18. package/es/packages/components/calendar/src/calendar.vue2.mjs.map +1 -1
  19. package/es/packages/components/cascader/src/cascader-item.vue2.mjs +1 -0
  20. package/es/packages/components/cascader/src/cascader-item.vue2.mjs.map +1 -1
  21. package/es/packages/components/cascader/src/cascader.vue2.mjs +1 -0
  22. package/es/packages/components/cascader/src/cascader.vue2.mjs.map +1 -1
  23. package/es/packages/components/float/src/Float.vue2.mjs +4 -4
  24. package/es/packages/components/float/src/Float.vue2.mjs.map +1 -1
  25. package/es/packages/components/pic/src/Pic.vue2.mjs +18 -2
  26. package/es/packages/components/pic/src/Pic.vue2.mjs.map +1 -1
  27. package/es/packages/components/pic/src/pic.mjs +7 -0
  28. package/es/packages/components/pic/src/pic.mjs.map +1 -1
  29. package/es/packages/components/rate/src/rate.vue2.mjs +153 -85
  30. package/es/packages/components/rate/src/rate.vue2.mjs.map +1 -1
  31. package/es/packages/components/scroll/src/Scroll.vue2.mjs +3 -0
  32. package/es/packages/components/scroll/src/Scroll.vue2.mjs.map +1 -1
  33. package/es/packages/components/scroll/src/scroll.mjs +7 -0
  34. package/es/packages/components/scroll/src/scroll.mjs.map +1 -1
  35. package/es/packages/components/segment/src/segment.vue.mjs +10 -12
  36. package/es/packages/components/segment/src/segment.vue.mjs.map +1 -1
  37. package/es/packages/components/select/src/select.mjs +18 -0
  38. package/es/packages/components/select/src/select.mjs.map +1 -1
  39. package/es/packages/components/select/src/select.vue2.mjs +263 -87
  40. package/es/packages/components/select/src/select.vue2.mjs.map +1 -1
  41. package/es/packages/components/table/src/table-head.vue2.mjs +101 -45
  42. package/es/packages/components/table/src/table-head.vue2.mjs.map +1 -1
  43. package/es/packages/components/table/src/table.vue2.mjs +244 -62
  44. package/es/packages/components/table/src/table.vue2.mjs.map +1 -1
  45. package/es/packages/components/tree/src/tree-item.vue2.mjs +2 -1
  46. package/es/packages/components/tree/src/tree-item.vue2.mjs.map +1 -1
  47. package/es/packages/components/upload/src/upload.vue2.mjs +203 -153
  48. package/es/packages/components/upload/src/upload.vue2.mjs.map +1 -1
  49. package/es/packages/directives/tip/src/tip.mjs +42 -27
  50. package/es/packages/directives/tip/src/tip.mjs.map +1 -1
  51. package/es/packages/locale/format.mjs +1 -1
  52. package/es/packages/locale/format.mjs.map +1 -1
  53. package/es/ui/index.d.ts +6 -0
  54. package/lib/components/input/src/input.vue.d.ts +2 -2
  55. package/lib/components/pic/index.d.ts +9 -0
  56. package/lib/components/pic/src/Pic.vue.d.ts +9 -0
  57. package/lib/components/pic/src/pic.d.ts +7 -0
  58. package/lib/components/rate/src/rate.vue.d.ts +46 -10
  59. package/lib/components/scroll/index.d.ts +15 -0
  60. package/lib/components/scroll/src/Scroll.vue.d.ts +9 -0
  61. package/lib/components/scroll/src/scroll.d.ts +7 -0
  62. package/lib/components/select/src/select.d.ts +18 -0
  63. package/lib/components/select/src/select.vue.d.ts +18 -0
  64. package/lib/components/table/src/table-head.vue.d.ts +2 -0
  65. package/lib/components/tip/src/tip.vue.d.ts +2 -2
  66. package/lib/components/upload/src/upload.vue.d.ts +6 -4
  67. package/lib/index.d.js.map +1 -1
  68. package/lib/index.js +2 -1
  69. package/lib/index.js.map +1 -1
  70. package/lib/packages/components/calendar/src/calendar.vue2.js +22 -0
  71. package/lib/packages/components/calendar/src/calendar.vue2.js.map +1 -1
  72. package/lib/packages/components/cascader/src/cascader-item.vue2.js +1 -0
  73. package/lib/packages/components/cascader/src/cascader-item.vue2.js.map +1 -1
  74. package/lib/packages/components/cascader/src/cascader.vue2.js +1 -0
  75. package/lib/packages/components/cascader/src/cascader.vue2.js.map +1 -1
  76. package/lib/packages/components/float/src/Float.vue2.js +4 -4
  77. package/lib/packages/components/float/src/Float.vue2.js.map +1 -1
  78. package/lib/packages/components/pic/src/Pic.vue2.js +17 -1
  79. package/lib/packages/components/pic/src/Pic.vue2.js.map +1 -1
  80. package/lib/packages/components/pic/src/pic.js +7 -0
  81. package/lib/packages/components/pic/src/pic.js.map +1 -1
  82. package/lib/packages/components/rate/src/rate.vue2.js +152 -84
  83. package/lib/packages/components/rate/src/rate.vue2.js.map +1 -1
  84. package/lib/packages/components/scroll/src/Scroll.vue2.js +3 -0
  85. package/lib/packages/components/scroll/src/Scroll.vue2.js.map +1 -1
  86. package/lib/packages/components/scroll/src/scroll.js +7 -0
  87. package/lib/packages/components/scroll/src/scroll.js.map +1 -1
  88. package/lib/packages/components/segment/src/segment.vue.js +10 -12
  89. package/lib/packages/components/segment/src/segment.vue.js.map +1 -1
  90. package/lib/packages/components/select/src/select.js +18 -0
  91. package/lib/packages/components/select/src/select.js.map +1 -1
  92. package/lib/packages/components/select/src/select.vue2.js +262 -86
  93. package/lib/packages/components/select/src/select.vue2.js.map +1 -1
  94. package/lib/packages/components/table/src/table-head.vue2.js +100 -44
  95. package/lib/packages/components/table/src/table-head.vue2.js.map +1 -1
  96. package/lib/packages/components/table/src/table.vue2.js +243 -61
  97. package/lib/packages/components/table/src/table.vue2.js.map +1 -1
  98. package/lib/packages/components/tree/src/tree-item.vue2.js +2 -1
  99. package/lib/packages/components/tree/src/tree-item.vue2.js.map +1 -1
  100. package/lib/packages/components/upload/src/upload.vue2.js +202 -152
  101. package/lib/packages/components/upload/src/upload.vue2.js.map +1 -1
  102. package/lib/packages/directives/tip/src/tip.js +41 -26
  103. package/lib/packages/directives/tip/src/tip.js.map +1 -1
  104. package/lib/packages/locale/format.js +1 -1
  105. package/lib/packages/locale/format.js.map +1 -1
  106. package/lib/ui/index.d.ts +6 -0
  107. package/package.json +1 -1
  108. package/theme/base.css +0 -3
  109. package/theme/components/index.css +445 -255
  110. package/theme/index.css +445 -255
  111. package/theme/skin/default.css +445 -255
@@ -130,9 +130,6 @@ img {
130
130
  vertical-align: top;
131
131
  max-width: 100%;
132
132
  }
133
- label {
134
- cursor: default !important;
135
- }
136
133
  #scrollerTest {
137
134
  position: absolute;
138
135
  width: 100px;
@@ -603,6 +600,13 @@ html body .height-full {
603
600
  --padding: 0;
604
601
  --color: inherit;
605
602
  }
603
+ .to-scroll.is-hide {
604
+ -ms-overflow-style: none;
605
+ scrollbar-width: none;
606
+ }
607
+ .to-scroll.is-hide::-webkit-scrollbar {
608
+ display: none;
609
+ }
606
610
  .to-scroll {
607
611
  color: var(--color);
608
612
  position: relative;
@@ -787,6 +791,7 @@ html body .height-full {
787
791
  .to-grid.va-baseline {
788
792
  align-items: baseline;
789
793
  }
794
+ .to-grid:has(.to-box.height-full),
790
795
  .to-grid.va-full {
791
796
  align-items: stretch;
792
797
  }
@@ -892,6 +897,7 @@ html body .height-full {
892
897
  src: url('../img/font-fill/iconfont.woff2?t=1756347622462') format('woff2'), url('../img/font-fill/iconfont.woff?t=1756347622462') format('woff'), url('../img/font-fill/iconfont.ttf?t=1756347622462') format('truetype');
893
898
  }
894
899
  .to-icon {
900
+ --weight: normal;
895
901
  --cursor: pointer;
896
902
  --color: inherit;
897
903
  --width: var(--height-fe);
@@ -924,7 +930,6 @@ html body .height-full {
924
930
  flex-shrink: 0;
925
931
  display: inline-flex;
926
932
  font-family: var(--family), 'PingFang SC', 'microsoft yahei';
927
- vertical-align: top;
928
933
  white-space: nowrap;
929
934
  position: relative;
930
935
  box-sizing: border-box;
@@ -946,11 +951,11 @@ html body .height-full {
946
951
  .to-icon:before {
947
952
  font-weight: normal;
948
953
  font-size: var(--size);
949
- vertical-align: top;
950
954
  content: var(--value);
951
955
  }
952
956
  .to-icon-text {
953
957
  font-size: var(--size);
958
+ font-weight: var(--weight);
954
959
  }
955
960
  .to-icon.value-loading span:after {
956
961
  content: '';
@@ -979,7 +984,6 @@ html body .height-full {
979
984
  }
980
985
  .to-icon.value-loading .to-icon-text {
981
986
  position: absolute;
982
- vertical-align: top;
983
987
  font-size: 1em;
984
988
  width: var(--width);
985
989
  height: var(--height);
@@ -1772,6 +1776,8 @@ html body .height-full {
1772
1776
  --viewer-fn-padding: 0;
1773
1777
  --viewer-fn-bottom: 2em;
1774
1778
  --viewer-fn-border: 0 none;
1779
+ --count-top: 0;
1780
+ --count-right: 0;
1775
1781
  }
1776
1782
  .to-pic {
1777
1783
  flex-shrink: 0;
@@ -1783,7 +1789,6 @@ html body .height-full {
1783
1789
  justify-content: center;
1784
1790
  align-items: center;
1785
1791
  text-align: center;
1786
- overflow: hidden;
1787
1792
  color: var(--color);
1788
1793
  width: var(--width);
1789
1794
  height: var(--height);
@@ -1800,6 +1805,11 @@ html body .height-full {
1800
1805
  height: var(--content-height);
1801
1806
  border-radius: var(--content-radius);
1802
1807
  }
1808
+ .to-pic-count {
1809
+ position: absolute;
1810
+ top: var(--count-top);
1811
+ right: var(--count-right);
1812
+ }
1803
1813
  .to-pic.is-link:hover {
1804
1814
  border: var(--hover-border);
1805
1815
  background: var(--hover-bg);
@@ -1945,7 +1955,9 @@ html body .height-full {
1945
1955
  --active-border: var(--border);
1946
1956
  }
1947
1957
  .to-tag {
1948
- display: inline-block;
1958
+ display: inline-flex;
1959
+ align-items: flex-start;
1960
+ justify-content: center;
1949
1961
  overflow: hidden;
1950
1962
  vertical-align: top;
1951
1963
  }
@@ -1976,6 +1988,8 @@ html body .height-full {
1976
1988
  }
1977
1989
  .to-tag-text {
1978
1990
  font-size: var(--size);
1991
+ display: inline-flex;
1992
+ align-items: center;
1979
1993
  }
1980
1994
  .to-tag-remove {
1981
1995
  cursor: default;
@@ -2098,6 +2112,7 @@ html body .height-full {
2098
2112
  left: 0;
2099
2113
  bottom: 0;
2100
2114
  top: unset;
2115
+ right: unset;
2101
2116
  }
2102
2117
  .to-tag.type-corner.position-bottom-left .to-tag-wrapper {
2103
2118
  border-radius: 0 var(--radius) 0 0;
@@ -2213,7 +2228,7 @@ html body .height-full {
2213
2228
  line-height: 1em;
2214
2229
  vertical-align: top;
2215
2230
  font-family: icon;
2216
- content: '\e05c';
2231
+ content: '\e6cd';
2217
2232
  font-size: calc(0.7em * var(--check-size));
2218
2233
  right: 0.1em;
2219
2234
  bottom: 0.2em;
@@ -2327,10 +2342,10 @@ html body .height-full {
2327
2342
  --color: var(--color-fg);
2328
2343
  --bg: #fff;
2329
2344
  --bg-size: 100% 100%;
2330
- --hover-bg: rgba(0, 0, 0, 0.1);
2345
+ --hover-bg: rgba(0, 0, 0, 0.05);
2331
2346
  --hover-color: var(--color);
2332
2347
  --hover-border: var(--border);
2333
- --active-bg: rgba(0, 0, 0, 0.2);
2348
+ --active-bg: rgba(0, 0, 0, 0.1);
2334
2349
  --active-color: var(--color);
2335
2350
  --active-border: var(--border);
2336
2351
  --text-gap: 0.5em;
@@ -3225,6 +3240,7 @@ html body .height-full {
3225
3240
  --content-padding: 0 1em;
3226
3241
  --tag-gap: 0.5em;
3227
3242
  --tag-height: 2em;
3243
+ --overflow-color: var(--color-fg-fade);
3228
3244
  --arrow-size: 1em;
3229
3245
  --arrow-font-size: 0.75em;
3230
3246
  --arrow-color: var(--color-fg-fade);
@@ -3360,6 +3376,19 @@ html body .height-full {
3360
3376
  font-weight: var(--weight);
3361
3377
  color: var(--color);
3362
3378
  }
3379
+ .to-select-clear {
3380
+ flex-shrink: 0;
3381
+ cursor: pointer;
3382
+ opacity: 0;
3383
+ transition: opacity 0.15s ease;
3384
+ }
3385
+ .to-select-clear:hover {
3386
+ --color: var(--arrow-active-color);
3387
+ }
3388
+ .to-select:hover .to-select-clear,
3389
+ .to-select:focus-within .to-select-clear {
3390
+ opacity: 1;
3391
+ }
3363
3392
  .to-select-arrow {
3364
3393
  flex-shrink: 0;
3365
3394
  width: var(--arrow-size);
@@ -3383,6 +3412,22 @@ html body .height-full {
3383
3412
  margin-left: calc((var(--el-height) - var(--tag-height)) / 2);
3384
3413
  --height: var(--tag-height);
3385
3414
  }
3415
+ .to-select-tag.is-collapse {
3416
+ flex-wrap: nowrap;
3417
+ overflow: hidden;
3418
+ align-items: center;
3419
+ }
3420
+ .to-select-tag.is-collapse .to-tag {
3421
+ flex-shrink: 0;
3422
+ margin-top: 0;
3423
+ }
3424
+ .to-select-overflow {
3425
+ --height: var(--tag-height);
3426
+ margin-top: calc((var(--el-height) - var(--tag-height)) / 2);
3427
+ margin-left: calc((var(--el-height) - var(--tag-height)) / 2);
3428
+ flex-shrink: 0;
3429
+ color: var(--overflow-color);
3430
+ }
3386
3431
  .to-select-option {
3387
3432
  --bg-size: 100% 100%;
3388
3433
  }
@@ -3519,6 +3564,9 @@ html body .height-full {
3519
3564
  .to-select.is-multiple .to-select-tag:has(.to-tag) {
3520
3565
  padding-bottom: calc((var(--height) - var(--tag-height)) / 2);
3521
3566
  }
3567
+ .to-select.is-multiple .to-select-tag.is-collapse:has(.to-tag) {
3568
+ padding-bottom: 0;
3569
+ }
3522
3570
  .to-select.is-filterable .to-select-content {
3523
3571
  padding-left: 0;
3524
3572
  padding-top: 0;
@@ -3733,7 +3781,7 @@ html body .height-full {
3733
3781
  --size: 1.17em;
3734
3782
  --weight: bold;
3735
3783
  --gap: 0.5em;
3736
- --lh: 1em;
3784
+ --lh: 1.25em;
3737
3785
  --radius: 0;
3738
3786
  --border: 0 none;
3739
3787
  --hover-border: var(--border);
@@ -3745,8 +3793,8 @@ html body .height-full {
3745
3793
  --fn-gap: 0.5em;
3746
3794
  --tip-color: var(--color-fg);
3747
3795
  --tip-size: 1em;
3748
- --icon-width: 0;
3749
- --icon-height: 0;
3796
+ --icon-width: auto;
3797
+ --icon-height: auto;
3750
3798
  --icon-bg: none;
3751
3799
  --icon-radius: 0;
3752
3800
  --icon-bg-size: 100% 100%;
@@ -3800,6 +3848,7 @@ html body .height-full {
3800
3848
  .to-header-tip {
3801
3849
  color: var(--tip-color);
3802
3850
  font-size: var(--tip-size);
3851
+ line-height: normal;
3803
3852
  }
3804
3853
  .to-header-title {
3805
3854
  line-height: var(--lh);
@@ -4003,6 +4052,7 @@ html body .height-full {
4003
4052
  --shadow: none;
4004
4053
  --clear-margin: 0;
4005
4054
  --clear-height: var(--height);
4055
+ --clear-width: var(--clear-height);
4006
4056
  --content-gap: 1em;
4007
4057
  --content-padding: 0 1em;
4008
4058
  --prefix-padding: 0;
@@ -4024,6 +4074,7 @@ html body .height-full {
4024
4074
  --suffix-text-size: 1em;
4025
4075
  --suffix-text-weight: normal;
4026
4076
  --suffix-text-lh: var(--height);
4077
+ --suffix-icon-height: var(--height);
4027
4078
  --count-color: var(--color-fg-fade);
4028
4079
  --count-size: 1em;
4029
4080
  --count-padding: 0;
@@ -4039,10 +4090,10 @@ html body .height-full {
4039
4090
  --focus-color: var(--color);
4040
4091
  --focus-shadow: var(--shadow);
4041
4092
  --hover-border: var(--border);
4042
- --hover-bg: rgba(0, 0, 0, 0.1);
4093
+ --hover-bg: rgba(0, 0, 0, 0.05);
4043
4094
  --hover-color: var(--color);
4044
4095
  --active-border: var(--border);
4045
- --active-bg: rgba(0, 0, 0, 0.3);
4096
+ --active-bg: rgba(0, 0, 0, 0.1);
4046
4097
  --active-color: var(--color);
4047
4098
  }
4048
4099
  .to-input {
@@ -4097,7 +4148,7 @@ html body .height-full {
4097
4148
  margin: var(--clear-margin);
4098
4149
  --color: var(--color-fg-fade);
4099
4150
  --height: var(--clear-height);
4100
- --width: var(--clear-height);
4151
+ --width: var(--clear-width);
4101
4152
  }
4102
4153
  .to-input-box {
4103
4154
  width: 100%;
@@ -4143,6 +4194,10 @@ html body .height-full {
4143
4194
  gap: var(--suffix-gap);
4144
4195
  padding: var(--suffix-padding);
4145
4196
  }
4197
+ .to-input-suffix > .to-icon {
4198
+ --width: var(--suffix-icon-height);
4199
+ --height: var(--suffix-icon-height);
4200
+ }
4146
4201
  .to-input-prefix-text {
4147
4202
  display: flex;
4148
4203
  padding: var(--prefix-text-padding);
@@ -4217,20 +4272,16 @@ html body .height-full {
4217
4272
  z-index: 2;
4218
4273
  pointer-events: none;
4219
4274
  }
4220
- .to-input.is-disabled {
4275
+ .to-input.is-disabled:not(.is-link) {
4221
4276
  background: var(--disabled-bg);
4222
4277
  color: var(--disabled-color);
4223
- cursor: not-allowed;
4224
4278
  }
4225
- .to-input.is-disabled::after {
4279
+ .to-input.is-disabled:not(.is-link)::after {
4226
4280
  border: var(--disabled-border);
4227
4281
  }
4228
- .to-input.is-disabled input.to-input-content::placeholder {
4282
+ .to-input.is-disabled:not(.is-link) input.to-input-content::placeholder {
4229
4283
  color: var(--disabled-placeholder-color);
4230
4284
  }
4231
- .is-disabled .to-input-content {
4232
- cursor: not-allowed;
4233
- }
4234
4285
  .to-input.is-step input {
4235
4286
  text-align: center;
4236
4287
  }
@@ -4275,6 +4326,9 @@ html body .height-full {
4275
4326
  .to-input.is-link {
4276
4327
  cursor: pointer;
4277
4328
  }
4329
+ .to-input.is-link .to-input-content {
4330
+ cursor: pointer;
4331
+ }
4278
4332
  .to-input.is-link .to-input-textarea,
4279
4333
  .to-input.is-link .to-input-box {
4280
4334
  pointer-events: none;
@@ -4971,15 +5025,15 @@ html body .height-full {
4971
5025
  --divider-on-bg: var(--color-primary);
4972
5026
  --title-on-color: var(--color-primary);
4973
5027
  --desc-on-color: var(--desc-color);
4974
- --item-completed-border: var(--item-border);
4975
- --item-completed-bg: var(--item-bg);
4976
- --icon-completed-bg: var(--color-primary);
4977
- --icon-completed-border: 0 none;
4978
- --icon-completed-color: var(--color-bg);
4979
- --icon-completed-bg-size: 100% 100%;
4980
- --divider-completed-bg: var(--color-primary);
4981
- --title-completed-color: var(--color-primary);
4982
- --desc-completed-color: var(--desc-color);
5028
+ --item-completed-border: var(--item-on-border);
5029
+ --item-completed-bg: var(--item-on-bg);
5030
+ --icon-completed-bg: var(--icon-on-bg);
5031
+ --icon-completed-border: var(--icon-on-border);
5032
+ --icon-completed-color: var(--icon-on-color);
5033
+ --icon-completed-bg-size: var(--icon-on-bg-size);
5034
+ --divider-completed-bg: var(--divider-on-bg);
5035
+ --title-completed-color: var(--title-on-color);
5036
+ --desc-completed-color: var(--desc-on-color);
4983
5037
  --detail-color: inherit;
4984
5038
  --detail-margin: 0.5em;
4985
5039
  --detail-size: 1em;
@@ -5176,7 +5230,7 @@ html body .height-full {
5176
5230
  display: none;
5177
5231
  }
5178
5232
  .to-step.item-dir-v .to-step-item.is-completed:not(:last-child):before {
5179
- background: var(--on-divider-bg);
5233
+ background: var(--divider-on-bg);
5180
5234
  background-size: var(--divider-bg-size);
5181
5235
  }
5182
5236
  .to-checkbox {
@@ -5417,6 +5471,7 @@ html body .height-full {
5417
5471
  --placeholder-color: var(--color-placeholder);
5418
5472
  --input-padding: 0 1em;
5419
5473
  --input-color: var(--color-fg);
5474
+ --input-size: 100%;
5420
5475
  --separator-color: var(--color-fg);
5421
5476
  --separator-padding: 0 0.5em;
5422
5477
  --clear-margin: 0 0.5em 0 0;
@@ -5454,11 +5509,13 @@ html body .height-full {
5454
5509
  pointer-events: none;
5455
5510
  }
5456
5511
  .to-date-range-input {
5512
+ font-size: var(--input-size);
5457
5513
  flex: 1;
5458
5514
  padding: var(--input-padding);
5459
5515
  color: var(--input-color);
5460
5516
  border: 0 none;
5461
5517
  background: none;
5518
+ min-width: 0;
5462
5519
  }
5463
5520
  .to-date-range-input::placeholder {
5464
5521
  color: var(--placeholder-color);
@@ -5665,7 +5722,11 @@ html body .height-full {
5665
5722
  --radius: 0;
5666
5723
  --title-color: var(--color-fg);
5667
5724
  --title-weight: bold;
5668
- --title-size: 1em;
5725
+ --title-size: 1.25em;
5726
+ --title-lh: var(--item-height);
5727
+ --title-divider: 0 none;
5728
+ --title-divider-height: 1em;
5729
+ --title-divider-margin: 0;
5669
5730
  --divider: 0 none;
5670
5731
  --fn-radius: 0;
5671
5732
  --fn-bg: none;
@@ -5692,14 +5753,16 @@ html body .height-full {
5692
5753
  --item-valign: center;
5693
5754
  --item-icon-margin: 0.5em;
5694
5755
  --item-left-bg: none;
5695
- --item-left-width: none;
5756
+ --item-left-width: auto;
5757
+ --item-left-height: 100%;
5696
5758
  --item-right-bg: none;
5697
- --item-right-width: none;
5759
+ --item-right-width: auto;
5760
+ --item-right-height: 100%;
5698
5761
  --item-content-bg: none;
5699
5762
  --item-content-bg-size: 100% 100%;
5700
- --item-divider-width: 0;
5701
- --item-divider-color: var(--color-border);
5763
+ --item-divider: 0 none;
5702
5764
  --item-divider-height: 1em;
5765
+ --item-divider-width: 0;
5703
5766
  --item-hover-color: var(--item-color);
5704
5767
  --item-hover-bg: rgba(0, 0, 0, 0.1);
5705
5768
  --item-hover-border: var(--item-border);
@@ -5707,8 +5770,9 @@ html body .height-full {
5707
5770
  --item-hover-border-bottom: var(--item-hover-border);
5708
5771
  --item-hover-border-left: var(--item-hover-border);
5709
5772
  --item-hover-border-right: var(--item-hover-border);
5710
- --item-hover-left-bg: none;
5711
- --item-hover-right-bg: none;
5773
+ --item-hover-content-bg: var(--item-content-bg);
5774
+ --item-hover-left-bg: var(--item-left-bg);
5775
+ --item-hover-right-bg: var(--item-right-bg);
5712
5776
  --item-active-color: var(--item-color);
5713
5777
  --item-active-bg: rgba(0, 0, 0, 0.2);
5714
5778
  --item-active-border: var(--item-border);
@@ -5732,12 +5796,14 @@ html body .height-full {
5732
5796
  --item-on-weight: var(--item-weight);
5733
5797
  --item-on-left-bg: var(--item-left-bg);
5734
5798
  --item-on-left-width: var(--item-left-width);
5799
+ --item-on-left-height: var(--item-left-height);
5735
5800
  --item-on-right-bg: var(--item-right-bg);
5736
5801
  --item-on-right-width: var(--item-right-width);
5802
+ --item-on-right-height: var(--item-right-height);
5737
5803
  --item-on-content-bg: var(--item-content-bg);
5738
- --item-on-divider-width: var(--item-divider-width);
5739
- --item-on-divider-color: var(--item-divider-color);
5804
+ --item-on-divider: var(--item-divider);
5740
5805
  --item-on-divider-height: var(--item-divider-height);
5806
+ --item-on-divider-width: var(--item-divider-width);
5741
5807
  --item-disabled-color: #d6d6d6;
5742
5808
  --item-remove-margin: 0.5em;
5743
5809
  --item-count-margin: 0.5em;
@@ -5807,10 +5873,23 @@ html body .height-full {
5807
5873
  z-index: 0;
5808
5874
  position: relative;
5809
5875
  }
5876
+ .to-tab-title {
5877
+ line-height: var(--title-lh);
5878
+ }
5810
5879
  .to-tab-title-text {
5811
5880
  color: var(--title-color);
5812
5881
  font-weight: var(--title-weight);
5813
5882
  font-size: var(--title-size);
5883
+ display: flex;
5884
+ align-items: center;
5885
+ }
5886
+ .to-tab-title-text:after {
5887
+ content: '';
5888
+ display: block;
5889
+ width: 0;
5890
+ height: var(--title-divider-height);
5891
+ border-right: var(--title-divider);
5892
+ margin: var(--title-divider-margin);
5814
5893
  }
5815
5894
  .to-tab-tab {
5816
5895
  display: flex;
@@ -5922,20 +6001,20 @@ html body .height-full {
5922
6001
  .to-tab-item-main:after {
5923
6002
  content: '';
5924
6003
  width: var(--item-divider-width);
5925
- background: var(--item-divider-color);
6004
+ border-right: var(--item-divider);
5926
6005
  height: var(--item-divider-height);
5927
6006
  align-self: center;
5928
6007
  }
5929
6008
  .to-tab-item-left {
5930
6009
  background: var(--item-left-bg);
5931
6010
  background-size: 100% 100%;
5932
- height: 100%;
6011
+ height: var(--item-left-height);
5933
6012
  width: var(--item-left-width);
5934
6013
  }
5935
6014
  .to-tab-item-right {
5936
6015
  background: var(--item-right-bg);
5937
6016
  background-size: 100% 100%;
5938
- height: 100%;
6017
+ height: var(--item-right-height);
5939
6018
  width: var(--item-right-width);
5940
6019
  }
5941
6020
  .to-tab-item-content {
@@ -6005,8 +6084,7 @@ html body .height-full {
6005
6084
  z-index: 1;
6006
6085
  }
6007
6086
  .to-tab-item.is-on .to-tab-item-main:after {
6008
- width: var(--item-on-divider-width);
6009
- background: var(--item-on-divider-color);
6087
+ border-right: var(--item-on-divider);
6010
6088
  height: var(--item-on-divider-height);
6011
6089
  }
6012
6090
  .to-tab-item.is-on .to-tab-indicator {
@@ -6016,11 +6094,13 @@ html body .height-full {
6016
6094
  background: var(--item-on-left-bg);
6017
6095
  background-size: 100% 100%;
6018
6096
  width: var(--item-on-left-width);
6097
+ height: var(--item-on-left-height);
6019
6098
  }
6020
6099
  .to-tab-item.is-on .to-tab-item-right {
6021
6100
  background: var(--item-on-right-bg);
6022
6101
  background-size: 100% 100%;
6023
6102
  width: var(--item-on-right-width);
6103
+ height: var(--item-on-right-height);
6024
6104
  }
6025
6105
  .to-tab-item.is-on .to-tab-item-content {
6026
6106
  padding: var(--item-on-padding);
@@ -6033,7 +6113,7 @@ html body .height-full {
6033
6113
  }
6034
6114
  .to-tab-item:has(+.is-on) .to-tab-item-main:after {
6035
6115
  width: var(--item-on-divider-width);
6036
- background: var(--item-on-divider-color);
6116
+ border-right: var(--item-on-divider);
6037
6117
  height: var(--item-on-divider-height);
6038
6118
  }
6039
6119
  .to-tab-item.is-disabled .to-tab-item-label {
@@ -6049,6 +6129,10 @@ html body .height-full {
6049
6129
  border-left: var(--item-hover-border-left);
6050
6130
  border-right: var(--item-hover-border-right);
6051
6131
  }
6132
+ .to-tab-item:not(.is-on):hover .to-tab-item-content {
6133
+ background: var(--item-hover-content-bg);
6134
+ background-size: 100% 100%;
6135
+ }
6052
6136
  .to-tab-item:not(.is-on):hover .to-tab-item-label {
6053
6137
  color: var(--item-hover-color);
6054
6138
  }
@@ -6216,53 +6300,83 @@ html body .height-full {
6216
6300
  flex-direction: row;
6217
6301
  align-items: stretch;
6218
6302
  }
6219
- .to-tab.dir-v .to-tab-tab {
6303
+ .to-tab.dir-v > .to-tab-tab {
6220
6304
  flex-direction: column;
6221
6305
  }
6222
- .to-tab.dir-v .to-tab-wrapper {
6306
+ .to-tab.dir-v > .to-tab-tab .to-tab-wrapper {
6223
6307
  flex-direction: column;
6224
6308
  align-items: stretch;
6225
6309
  }
6226
- .to-tab.dir-v .to-tab-divider {
6310
+ .to-tab.dir-v > .to-tab-tab .to-tab-divider {
6227
6311
  height: auto;
6228
6312
  }
6229
- .to-tab.dir-v .to-tab-page {
6230
- flex: 1;
6231
- }
6232
- .to-tab.dir-v .to-tab-page .to-tab-page-item {
6233
- height: 100%;
6234
- }
6235
- .to-tab.dir-v .to-tab-item {
6313
+ .to-tab.dir-v > .to-tab-tab .to-tab-item {
6236
6314
  flex-direction: row;
6237
6315
  }
6238
- .to-tab.dir-v .to-tab-indicator {
6316
+ .to-tab.dir-v > .to-tab-tab .to-tab-indicator {
6239
6317
  top: 50%;
6240
6318
  transform: translateY(-50%);
6241
6319
  }
6242
- .to-tab.item-dir-v .to-tab-item-content {
6320
+ .to-tab.dir-v > .to-tab-page {
6321
+ flex: 1;
6322
+ }
6323
+ .to-tab.dir-v > .to-tab-page .to-tab-page-item {
6324
+ height: 100%;
6325
+ }
6326
+ .to-tab.item-dir-v > .to-tab-tab .to-tab-item-content {
6243
6327
  flex-direction: column;
6244
6328
  }
6245
- .to-tab.position-left .to-tab-divider {
6329
+ .to-tab.position-left {
6330
+ --item-left-width: auto;
6331
+ --item-left-height: 0;
6332
+ --item-right-width: auto;
6333
+ --item-right-height: 0;
6334
+ --item-divider-height: 0;
6335
+ --item-divider-width: 100%;
6336
+ }
6337
+ .to-tab.position-left > .to-tab-tab .to-tab-divider {
6246
6338
  inset: 0 0 0 auto;
6247
6339
  border-bottom: 0 none;
6248
6340
  border-right: var(--divider);
6341
+ width: 0;
6342
+ }
6343
+ .to-tab.position-left > .to-tab-tab .to-tab-item-main {
6344
+ min-height: 0;
6345
+ flex-direction: column;
6346
+ }
6347
+ .to-tab.position-left > .to-tab-tab .to-tab-item-main:after {
6348
+ border-right: 0 none;
6349
+ border-bottom: var(--item-divider);
6350
+ }
6351
+ .to-tab.position-left > .to-tab-tab .to-tab-item-content {
6352
+ min-height: 0;
6353
+ justify-content: center;
6354
+ align-items: center;
6355
+ }
6356
+ .to-tab.position-right {
6357
+ --item-left-width: auto;
6358
+ --item-left-height: 0;
6249
6359
  }
6250
- .to-tab.position-right .to-tab-divider {
6360
+ .to-tab.position-right > .to-tab-tab .to-tab-divider {
6251
6361
  inset: 0 auto 0 0;
6252
6362
  border-bottom: 0 none;
6253
6363
  border-left: var(--divider);
6364
+ width: 0;
6254
6365
  }
6255
- .to-tab.position-bottom .to-tab-divider {
6366
+ .to-tab.position-bottom > .to-tab-tab .to-tab-divider {
6256
6367
  inset: 0 0 auto 0;
6257
6368
  border-bottom: 0 none;
6258
6369
  border-top: var(--divider);
6259
6370
  }
6260
- .to-tab.position-bottom .to-tab-tab,
6261
- .to-tab.position-right .to-tab-tab {
6371
+ .to-tab.position-bottom > .to-tab-tab .to-tab-item-main {
6372
+ flex-direction: column;
6373
+ }
6374
+ .to-tab.position-bottom > .to-tab-tab,
6375
+ .to-tab.position-right > .to-tab-tab {
6262
6376
  order: 2;
6263
6377
  }
6264
- .to-tab.position-bottom .to-tab-page,
6265
- .to-tab.position-right .to-tab-page {
6378
+ .to-tab.position-bottom > .to-tab-page,
6379
+ .to-tab.position-right > .to-tab-page {
6266
6380
  order: 1;
6267
6381
  }
6268
6382
  .to-tab.item-width-avg .to-tab-wrapper {
@@ -6310,6 +6424,7 @@ html body .height-full {
6310
6424
  --body-even-color: var(--body-color);
6311
6425
  --body-even-bg: var(--body-bg);
6312
6426
  --action-gap: 1em;
6427
+ --action-padding: 0;
6313
6428
  --radio-size: 1em;
6314
6429
  --radio-border: 1px solid var(--color-border);
6315
6430
  --on-radio-border: 0.35em solid var(--color-primary);
@@ -6514,7 +6629,7 @@ html body .height-full {
6514
6629
  content: '\e081';
6515
6630
  }
6516
6631
  .to-table-td.type-action {
6517
- padding: 0;
6632
+ padding: var(--action-padding);
6518
6633
  }
6519
6634
  .to-table-action {
6520
6635
  display: flex;
@@ -7897,11 +8012,11 @@ html body .height-full {
7897
8012
  text-align: center;
7898
8013
  color: #4d5b65;
7899
8014
  }
7900
- .to-icon.mode-tree-loading {
7901
- --size: 1.2em;
7902
- --width: 1.2em;
7903
- --height: 1.2em;
7904
- --loading: url(/pic-pro/img/loading-out.png);
8015
+ .to-tree-loading {
8016
+ --size: 1em;
8017
+ --width: 1em;
8018
+ --height: 1em;
8019
+ --loading: url(../img/loading.png);
7905
8020
  --loading-speed: 1s;
7906
8021
  }
7907
8022
  .to-param {
@@ -8626,114 +8741,222 @@ html body .height-full {
8626
8741
  }
8627
8742
  .to-upload {
8628
8743
  position: relative;
8744
+ --tip-margin: 1em;
8745
+ --tip-color: #999;
8746
+ --tip-weight: normal;
8747
+ --tip-size: 100%;
8748
+ --upload-button-margin: 0.5em;
8749
+ --list-border: 0 none;
8750
+ --list-bg: none;
8751
+ --list-bg-size: 100% 100%;
8752
+ --list-padding: 0;
8753
+ --list-radius: 0;
8754
+ --list-shadow: none;
8755
+ --list-gap: 0;
8756
+ --item-border: 0 none;
8757
+ --item-bg: none;
8758
+ --item-bg-size: 100% 100%;
8759
+ --item-padding: 0;
8760
+ --item-radius: 0;
8761
+ --item-shadow: none;
8762
+ --item-color: var(--color-fg);
8763
+ --item-size: 1em;
8764
+ --item-weight: normal;
8765
+ --item-state-margin: 0;
8766
+ --item-state-color: var(--color-fg);
8767
+ --item-state-size: 1em;
8768
+ --item-state-weight: normal;
8769
+ --item-icon-width: 1.5em;
8770
+ --item-icon-height: 1.5em;
8771
+ --item-icon-size: 1.5em;
8772
+ --item-icon-margin: 0.5em;
8773
+ --item-remove-margin: 0em;
8774
+ --progress-thick: 0.2em;
8775
+ --danger-bg: rgba(249, 57, 32, 0.1);
8776
+ --danger-border: 1px solid rgba(249, 57, 32, 0.5);
8629
8777
  }
8630
- .to-upload .to-upload-list-item {
8631
- padding: 0.3em;
8778
+ .to-upload-content {
8632
8779
  display: flex;
8633
- position: relative;
8780
+ align-items: center;
8634
8781
  }
8635
- .to-upload .to-upload-list-item .file-name {
8636
- flex: 1;
8637
- text-align: left;
8638
- overflow: hidden;
8639
- text-overflow: ellipsis;
8640
- white-space: nowrap;
8782
+ .to-upload-input {
8783
+ --width: 20em;
8641
8784
  }
8642
- .to-upload .to-upload-list-item .upload-progress {
8643
- position: absolute;
8644
- bottom: 0;
8645
- left: 0;
8646
- width: 100%;
8647
- height: 0.2em;
8785
+ .to-upload-tip {
8786
+ display: flex;
8787
+ margin-left: var(--tip-margin);
8788
+ color: var(--tip-color);
8648
8789
  }
8649
- .to-upload .to-upload-list-item .upload-progress .upload-progress-bar {
8650
- background-color: #0077fa;
8651
- height: 0.2em;
8652
- border-radius: 0.1em;
8790
+ .to-upload-tip-text {
8791
+ font-size: var(--tip-size);
8792
+ font-weight: var(--tip-weight);
8653
8793
  }
8654
- .to-upload .to-upload-list-item .mode-color {
8655
- --color-info: #0077fa;
8794
+ .to-upload-upload-button {
8795
+ margin-left: var(--upload-button-margin);
8656
8796
  }
8657
- .to-upload .to-upload-img {
8797
+ .to-upload-list {
8658
8798
  display: flex;
8799
+ flex-direction: column;
8800
+ position: relative;
8801
+ padding: var(--list-padding);
8802
+ border: var(--list-border);
8803
+ border-radius: var(--list-radius);
8804
+ background: var(--list-bg);
8805
+ background-size: var(--list-bg-size);
8806
+ box-shadow: var(--list-shadow);
8807
+ gap: var(--list-gap);
8659
8808
  }
8660
- .to-upload .to-upload-img .to-upload-img-list {
8809
+ .to-upload-item {
8810
+ padding: var(--item-padding);
8661
8811
  display: flex;
8662
- }
8663
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item {
8664
- width: 10em;
8665
- height: 10em;
8666
- border: solid 1px #ddd;
8667
- border-radius: 0.5em;
8668
- cursor: pointer;
8812
+ align-items: center;
8669
8813
  position: relative;
8814
+ border: var(--item-border);
8815
+ border-radius: var(--item-radius);
8816
+ background: var(--item-bg);
8817
+ background-size: var(--item-bg-size);
8818
+ box-shadow: var(--item-shadow);
8819
+ color: var(--item-color);
8820
+ font-weight: var(--item-weight);
8670
8821
  }
8671
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item .to-upload-pic {
8672
- width: 100%;
8673
- height: 100%;
8822
+ .to-upload-item-name {
8823
+ font-size: var(--item-size);
8674
8824
  }
8675
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item .mode-icon-remove {
8676
- position: absolute;
8677
- top: 0.5em;
8678
- right: 0.5em;
8679
- color: #fff;
8825
+ .to-upload-item-state {
8826
+ margin-left: var(--item-state-margin);
8827
+ color: var(--item-state-color);
8828
+ font-size: var(--item-state-size);
8829
+ font-weight: var(--item-state-weight);
8680
8830
  }
8681
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item .upload-progress {
8831
+ .to-upload-item-state-text {
8832
+ color: var(--item-state-color);
8833
+ font-size: var(--item-state-size);
8834
+ font-weight: var(--item-state-weight);
8835
+ }
8836
+ .to-upload-item-progress {
8682
8837
  position: absolute;
8683
- bottom: 0.5em;
8684
- left: 5%;
8685
- width: 90%;
8686
- height: 0.2em;
8687
- background-color: #ccc;
8838
+ bottom: 0;
8839
+ right: 0;
8840
+ left: 0;
8841
+ --thick: var(--progress-thick);
8688
8842
  }
8689
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item .upload-progress .upload-progress-bar {
8690
- background-color: #0077fa;
8691
- height: 0.2em;
8692
- border-radius: 0.1em;
8843
+ .to-upload-item-icon {
8844
+ --width: var(--item-icon-width);
8845
+ --height: var(--item-icon-height);
8846
+ --size: var(--item-icon-size);
8847
+ margin-right: var(--item-icon-margin);
8848
+ }
8849
+ .to-upload-item-remove {
8850
+ margin-left: var(--item-remove-margin);
8693
8851
  }
8694
- .to-upload .to-upload-img .to-upload-add {
8852
+ .to-upload-item-name {
8853
+ flex: 1;
8854
+ text-align: left;
8855
+ overflow: hidden;
8856
+ text-overflow: ellipsis;
8857
+ white-space: nowrap;
8858
+ }
8859
+ .to-upload.type-img {
8860
+ --item-width: 10em;
8861
+ --item-height: 10em;
8862
+ --item-border: 1px solid #ddd;
8863
+ --item-bg-size: cover;
8864
+ --item-padding: 0;
8865
+ --item-radius: 0.5em;
8866
+ --item-shadow: none;
8867
+ --list-gap: 1em;
8868
+ --add-width: var(--item-width);
8869
+ --add-height: var(--item-height);
8870
+ --add-border: var(--item-border);
8871
+ --add-radius: var(--item-radius);
8872
+ --add-shadow: var(--item-shadow);
8873
+ --add-bg: none;
8874
+ --add-bg-size: 100% 100%;
8875
+ --add-padding: 0;
8876
+ --add-color: #aaa;
8877
+ --add-size: 4em;
8878
+ --add-hover-border: var(--add-border);
8879
+ --add-hover-bg: rgba(0, 0, 0, 0.05);
8880
+ --add-hover-color: var(--add-color);
8881
+ --add-active-border: var(--add-border);
8882
+ --add-active-bg: rgba(0, 0, 0, 0.1);
8883
+ --add-active-color: var(--add-color);
8884
+ --remove-top: 0.5em;
8885
+ --remove-right: 0.5em;
8886
+ --remove-bg: rgba(0, 0, 0, 0.3);
8887
+ --remove-color: #fff;
8888
+ --remove-radius: 50%;
8889
+ --remove-width: 1.5em;
8890
+ --remove-height: 1.5em;
8891
+ }
8892
+ .to-upload.type-img .to-upload-list {
8893
+ display: flex;
8894
+ flex-direction: row;
8895
+ }
8896
+ .to-upload.type-img .to-upload-item {
8897
+ width: var(--item-width);
8898
+ height: var(--item-height);
8899
+ background-size: var(--item-bg-size);
8900
+ }
8901
+ .to-upload.type-img .to-upload-item-remove {
8902
+ position: absolute;
8903
+ right: var(--remove-right);
8904
+ top: var(--remove-top);
8905
+ --bg: var(--remove-bg);
8906
+ --color: var(--remove-color);
8907
+ --radius: var(--remove-radius);
8908
+ --width: var(--remove-width);
8909
+ --height: var(--remove-height);
8910
+ }
8911
+ .to-upload.type-img .to-upload-add {
8695
8912
  display: flex;
8696
8913
  align-items: center;
8697
8914
  justify-content: center;
8698
- width: 10em;
8699
- height: 10em;
8700
- border: solid 1px #ddd;
8701
- border-radius: 0.5em;
8915
+ width: var(--add-width);
8916
+ height: var(--add-height);
8917
+ border: var(--add-border);
8918
+ border-radius: var(--add-radius);
8919
+ background: var(--add-bg);
8920
+ background-size: var(--add-bg-size);
8921
+ padding: var(--add-padding);
8922
+ box-shadow: var(--add-shadow);
8702
8923
  cursor: pointer;
8703
8924
  }
8704
- .to-upload .to-upload-img .to-upload-add .mode-upload-add {
8705
- --font-size: 2em;
8925
+ .to-upload.type-img .to-upload-add:hover {
8926
+ border: var(--add-hover-border);
8927
+ background: var(--add-hover-bg);
8928
+ color: var(--add-hover-color);
8706
8929
  }
8707
- .to-upload .to-upload-img.pic-size-s .to-upload-img-list .to-upload-img-list-item {
8708
- width: 3em;
8709
- height: 3em;
8710
- border-radius: 0.5em;
8930
+ .to-upload.type-img .to-upload-add:hover .to-upload-add-icon {
8931
+ --color: var(--add-hover-color);
8711
8932
  }
8712
- .to-upload .to-upload-img.pic-size-s .to-upload-img-list .to-upload-img-list-item .mode-icon-remove {
8713
- top: 0.2em;
8714
- right: 0.2em;
8715
- --size: 1em;
8716
- --font-size: 0.5em;
8933
+ .to-upload.type-img .to-upload-add:active {
8934
+ border: var(--add-active-border);
8935
+ background: var(--add-active-bg);
8936
+ color: var(--add-active-color);
8717
8937
  }
8718
- .to-upload .to-upload-img.pic-size-s .to-upload-img-list .to-upload-img-list-item .upload-progress {
8719
- bottom: 0.2em;
8938
+ .to-upload.type-img .to-upload-add:active .to-upload-add-icon {
8939
+ --color: var(--add-active-color);
8720
8940
  }
8721
- .to-upload .to-upload-img.pic-size-s .to-upload-add {
8722
- width: 3em;
8723
- height: 3em;
8724
- border-radius: 0.5em;
8941
+ .to-upload.type-img .to-upload-add-icon {
8942
+ --color: var(--add-color);
8943
+ --size: var(--add-size);
8944
+ }
8945
+ .to-upload.type-img .to-upload-tip {
8946
+ margin: var(--tip-margin) 0 0 0;
8725
8947
  }
8726
- .to-upload .to-upload-img.pic-size-s .to-upload-add .mode-upload-add {
8727
- --font-size: 1em;
8948
+ .to-upload-button {
8949
+ display: inline-flex;
8950
+ align-items: center;
8728
8951
  }
8729
8952
  .to-upload-mode-line {
8730
8953
  background: none;
8731
8954
  }
8732
8955
  .to-upload-color-danger {
8733
- background: rgba(249, 57, 32, 0.1);
8956
+ background: var(--danger-bg);
8734
8957
  }
8735
8958
  .to-upload-color-danger:before {
8736
- border: 1px solid rgba(249, 57, 32, 0.5);
8959
+ border: var(--danger-border);
8737
8960
  }
8738
8961
  .to-upload-tip-show {
8739
8962
  overflow: visible;
@@ -8821,14 +9044,14 @@ html body .height-full {
8821
9044
  vertical-align: middle;
8822
9045
  }
8823
9046
  @media screen {
8824
- .s_pad .to-print,
8825
- .s_pc .to-print {
9047
+ .media-pad .to-print,
9048
+ .media-pc .to-print {
8826
9049
  height: 100%;
8827
9050
  position: relative;
8828
9051
  background: #f7f7f7;
8829
9052
  }
8830
- .s_pad .to-print > .content,
8831
- .s_pc .to-print > .content {
9053
+ .media-pad .to-print > .content,
9054
+ .media-pc .to-print > .content {
8832
9055
  position: absolute;
8833
9056
  left: 0;
8834
9057
  right: 0;
@@ -8836,8 +9059,8 @@ html body .height-full {
8836
9059
  bottom: 4.29em;
8837
9060
  overflow: auto;
8838
9061
  }
8839
- .s_pad .to-print > .content .paper,
8840
- .s_pc .to-print > .content .paper {
9062
+ .media-pad .to-print > .content .paper,
9063
+ .media-pc .to-print > .content .paper {
8841
9064
  width: 50em;
8842
9065
  position: relative;
8843
9066
  margin: 2em auto;
@@ -8847,8 +9070,8 @@ html body .height-full {
8847
9070
  border: 1px solid #d9d9d9;
8848
9071
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
8849
9072
  }
8850
- .s_pad .to-print > .fn,
8851
- .s_pc .to-print > .fn {
9073
+ .media-pad .to-print > .fn,
9074
+ .media-pc .to-print > .fn {
8852
9075
  background: #fff;
8853
9076
  position: absolute;
8854
9077
  bottom: 0;
@@ -8859,21 +9082,21 @@ html body .height-full {
8859
9082
  border-top: 1px solid #cccccc;
8860
9083
  text-align: center;
8861
9084
  }
8862
- .s_pad .to-print > .fn button,
8863
- .s_pc .to-print > .fn button {
9085
+ .media-pad .to-print > .fn button,
9086
+ .media-pc .to-print > .fn button {
8864
9087
  min-width: 8.57em;
8865
9088
  margin: 0 0.36em;
8866
9089
  }
8867
- .s_pad .to-print-h > .content .paper,
8868
- .s_pc .to-print-h > .content .paper {
9090
+ .media-pad .to-print-h > .content .paper,
9091
+ .media-pc .to-print-h > .content .paper {
8869
9092
  width: 70em;
8870
9093
  min-height: 50em;
8871
9094
  }
8872
- .s_phone .to-print {
9095
+ .media-phone .to-print {
8873
9096
  height: 100%;
8874
9097
  position: relative;
8875
9098
  }
8876
- .s_phone .to-print > .content {
9099
+ .media-phone .to-print > .content {
8877
9100
  position: absolute;
8878
9101
  left: 0;
8879
9102
  right: 0;
@@ -8881,13 +9104,13 @@ html body .height-full {
8881
9104
  bottom: 3.57em;
8882
9105
  overflow: auto;
8883
9106
  }
8884
- .s_phone .to-print > .content .paper {
9107
+ .media-phone .to-print > .content .paper {
8885
9108
  padding: 1.43em;
8886
9109
  background: #fff;
8887
9110
  margin-bottom: 1.43em;
8888
9111
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
8889
9112
  }
8890
- .s_phone .to-print > .fn {
9113
+ .media-phone .to-print > .fn {
8891
9114
  background: #fff;
8892
9115
  position: absolute;
8893
9116
  bottom: 0;
@@ -8895,7 +9118,7 @@ html body .height-full {
8895
9118
  width: 100%;
8896
9119
  text-align: center;
8897
9120
  }
8898
- .s_phone .to-print > .fn button {
9121
+ .media-phone .to-print > .fn button {
8899
9122
  border-radius: 0;
8900
9123
  flex: 1;
8901
9124
  height: 3.13em;
@@ -8903,8 +9126,8 @@ html body .height-full {
8903
9126
  }
8904
9127
  }
8905
9128
  @media print {
8906
- .s_pad .to-print > .content .paper,
8907
- .s_pc .to-print > .content .paper {
9129
+ .media-pad .to-print > .content .paper,
9130
+ .media-pc .to-print > .content .paper {
8908
9131
  font-size: 14px;
8909
9132
  }
8910
9133
  .to-print > .fn {
@@ -8916,7 +9139,7 @@ html body .height-full {
8916
9139
  background: transparent;
8917
9140
  font-size: 12px;
8918
9141
  }
8919
- .to-scroll {
9142
+ .to-scroll-content {
8920
9143
  overflow: visible !important;
8921
9144
  position: relative !important;
8922
9145
  top: auto;
@@ -8924,11 +9147,12 @@ html body .height-full {
8924
9147
  bottom: auto;
8925
9148
  right: auto;
8926
9149
  }
8927
- .to-table .body {
9150
+ .to-table-wrapper {
8928
9151
  overflow: visible !important;
9152
+ height: auto;
8929
9153
  }
8930
- .s_pad .to-print > .content,
8931
- .s_pc .to-print > .content {
9154
+ .media-pad .to-print > .content,
9155
+ .media-pc .to-print > .content {
8932
9156
  position: relative;
8933
9157
  top: auto;
8934
9158
  left: auto;
@@ -8936,26 +9160,21 @@ html body .height-full {
8936
9160
  right: auto;
8937
9161
  overflow: visible;
8938
9162
  }
8939
- .s_pad .to-print > .content .paper,
8940
- .s_pc .to-print > .content .paper {
9163
+ .media-pad .to-print > .content .paper,
9164
+ .media-pc .to-print > .content .paper {
8941
9165
  page-break-after: always;
8942
9166
  }
8943
9167
  }
8944
9168
  @page {
8945
9169
  margin: 1.5cm;
8946
9170
  }
9171
+ .to-print .to-table-wrapper {
9172
+ overflow: visible !important;
9173
+ height: auto;
9174
+ }
8947
9175
  .to-print .to-hide-print {
8948
9176
  display: none;
8949
9177
  }
8950
- .to-print .to-title {
8951
- font-weight: bold;
8952
- }
8953
- .to-print .to-title .text {
8954
- color: #191919;
8955
- }
8956
- .to-print .to-box {
8957
- border-color: #000;
8958
- }
8959
9178
  .to-print .to-table {
8960
9179
  background: none !important;
8961
9180
  border: 1px solid #d9d9d9;
@@ -8999,18 +9218,13 @@ html body .height-full {
8999
9218
  .to-print .to-table td.action {
9000
9219
  display: none;
9001
9220
  }
9002
- .to-print .to-table .leftTop,
9003
- .to-print .to-table .rightTop,
9004
- .to-print .to-table .right,
9005
- .to-print .to-table .top {
9221
+ .to-print .to-table .to-table-top,
9222
+ .to-print .to-table .to-table-left,
9223
+ .to-print .to-table .to-table-right,
9224
+ .to-print .to-table .to-table-left-top,
9225
+ .to-print .to-table .to-table-right-top {
9006
9226
  display: none;
9007
9227
  }
9008
- .to-print .to-table .body {
9009
- height: auto;
9010
- }
9011
- .to-print .to-table .body .wrapper {
9012
- display: block;
9013
- }
9014
9228
  .to-print .to-table-print-s {
9015
9229
  font-size: 86.57%;
9016
9230
  }
@@ -9020,25 +9234,6 @@ html body .height-full {
9020
9234
  .to-print .to-table-print-xxs {
9021
9235
  font-size: 66.67%;
9022
9236
  }
9023
- .to-print .to-list-line > ul > li:before {
9024
- border-color: #000 !important;
9025
- }
9026
- .to-print .to-list-border {
9027
- border-color: #000 !important;
9028
- }
9029
- .to-print .to-param .label {
9030
- color: #191919;
9031
- }
9032
- .to-print .to-param-border {
9033
- border: 1px solid #d9d9d9;
9034
- }
9035
- .to-print .to-article {
9036
- padding: 0;
9037
- }
9038
- html:not(.s_phone) .to-print .to-table tbody tr.on td,
9039
- html:not(.s_phone) .to-print .to-table tbody tr.on td * {
9040
- color: #000 !important;
9041
- }
9042
9237
  .to-export-layer {
9043
9238
  --padding: 1em;
9044
9239
  }
@@ -9130,80 +9325,75 @@ html:not(.s_phone) .to-print .to-table tbody tr.on td * {
9130
9325
  --radius: 50%;
9131
9326
  }
9132
9327
  .to-rate {
9133
- --size: 2em;
9134
- --gap: 0.25em;
9135
- --color: var(--primary);
9136
- --off-color: #ddd;
9137
- --hover-color: var(--primary-light-1);
9138
- --hover-off-color: var(--primary-light-5);
9328
+ --item-gap: 0.25em;
9329
+ --item-family: 'icon';
9330
+ --item-on-family: 'icon-fill';
9331
+ --item-size: 1em;
9332
+ --item-color: #ddd;
9333
+ --item-on-color: var(--primary);
9139
9334
  --score-color: var(--color-fg);
9140
9335
  --score-size: 1em;
9336
+ --score-margin: 0.5em;
9141
9337
  --score-weight: normal;
9142
- --score-gap: 0.5em;
9143
9338
  }
9144
9339
  .to-rate {
9145
9340
  display: inline-flex;
9146
9341
  align-items: center;
9147
9342
  vertical-align: top;
9148
- gap: var(--gap);
9149
9343
  }
9150
- .to-rate.is-readonly {
9344
+ .to-rate-group {
9345
+ display: flex;
9346
+ gap: var(--item-gap);
9347
+ }
9348
+ .to-rate.is-disabled {
9151
9349
  cursor: default;
9152
9350
  }
9153
- .to-rate:not(.is-readonly) {
9351
+ .to-rate:not(.is-disabled) .to-rate-item {
9154
9352
  cursor: pointer;
9155
9353
  }
9156
9354
  .to-rate-item {
9157
- font-size: var(--size);
9158
9355
  line-height: 1;
9159
- color: var(--off-color);
9160
- position: relative;
9161
- display: inline-block;
9162
- transition: color 0.2s ease;
9163
- }
9164
- .to-rate-item-star:after {
9165
- content: '\2605';
9166
- }
9167
- .to-rate-item.is-on {
9168
- color: var(--color);
9169
- }
9170
- .to-rate-item.is-half-on {
9171
- color: var(--color);
9172
- }
9173
- .to-rate-item.is-half-on .to-rate-item-star {
9174
9356
  position: relative;
9175
9357
  display: inline-block;
9176
- color: var(--off-color);
9358
+ width: var(--item-size);
9359
+ height: var(--item-size);
9177
9360
  }
9178
- .to-rate-item.is-half-on .to-rate-item-star:before {
9179
- content: '\2605';
9361
+ .to-rate-icon {
9180
9362
  position: absolute;
9181
9363
  left: 0;
9182
9364
  top: 0;
9183
- width: 50%;
9184
- overflow: hidden;
9185
- color: var(--color);
9365
+ --size: var(--item-size);
9366
+ --width: var(--item-size);
9367
+ --height: var(--item-size);
9186
9368
  }
9187
- .to-rate:hover .to-rate-item {
9188
- color: var(--hover-off-color);
9369
+ .to-rate-icon.is-off {
9370
+ --family: var(--item-family);
9371
+ color: var(--item-color);
9189
9372
  }
9190
- .to-rate:hover .to-rate-item.is-hover {
9191
- color: var(--color);
9373
+ .to-rate-icon.is-on {
9374
+ --family: var(--item-on-family);
9375
+ overflow: hidden;
9376
+ color: var(--item-on-color);
9377
+ clip-path: inset(0 100% 0 0);
9192
9378
  }
9193
- .to-rate.is-readonly:hover .to-rate-item {
9194
- color: var(--off-color);
9379
+ .to-rate-item.is-on .to-rate-icon.is-on {
9380
+ clip-path: inset(0 0 0 0);
9195
9381
  }
9196
- .to-rate.is-readonly:hover .to-rate-item.is-on,
9197
- .to-rate.is-readonly:hover .to-rate-item.is-half-on {
9198
- color: var(--color);
9382
+ .to-rate-item.is-half-on .to-rate-icon.is-on {
9383
+ clip-path: inset(0 50% 0 0);
9384
+ }
9385
+ .to-rate:not(.is-disabled):hover .to-rate-item.is-hover .to-rate-icon.is-on {
9386
+ color: var(--item-on-color);
9199
9387
  }
9200
9388
  .to-rate-score {
9201
- font-size: var(--score-size);
9202
- color: var(--score-color);
9203
9389
  font-weight: var(--score-weight);
9204
- margin-left: var(--score-gap);
9390
+ color: var(--score-color);
9391
+ margin-left: var(--score-margin);
9205
9392
  line-height: 1;
9206
9393
  }
9394
+ .to-rate-score-text {
9395
+ font-size: var(--score-size);
9396
+ }
9207
9397
  .to-dis.type-opacity {
9208
9398
  opacity: 0.5;
9209
9399
  pointer-events: inherit;