@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
@@ -127,9 +127,6 @@ img {
127
127
  vertical-align: top;
128
128
  max-width: 100%;
129
129
  }
130
- label {
131
- cursor: default !important;
132
- }
133
130
  #scrollerTest {
134
131
  position: absolute;
135
132
  width: 100px;
@@ -600,6 +597,13 @@ html body .height-full {
600
597
  --padding: 0;
601
598
  --color: inherit;
602
599
  }
600
+ .to-scroll.is-hide {
601
+ -ms-overflow-style: none;
602
+ scrollbar-width: none;
603
+ }
604
+ .to-scroll.is-hide::-webkit-scrollbar {
605
+ display: none;
606
+ }
603
607
  .to-scroll {
604
608
  color: var(--color);
605
609
  position: relative;
@@ -784,6 +788,7 @@ html body .height-full {
784
788
  .to-grid.va-baseline {
785
789
  align-items: baseline;
786
790
  }
791
+ .to-grid:has(.to-box.height-full),
787
792
  .to-grid.va-full {
788
793
  align-items: stretch;
789
794
  }
@@ -889,6 +894,7 @@ html body .height-full {
889
894
  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');
890
895
  }
891
896
  .to-icon {
897
+ --weight: normal;
892
898
  --cursor: pointer;
893
899
  --color: inherit;
894
900
  --width: var(--height-fe);
@@ -921,7 +927,6 @@ html body .height-full {
921
927
  flex-shrink: 0;
922
928
  display: inline-flex;
923
929
  font-family: var(--family), 'PingFang SC', 'microsoft yahei';
924
- vertical-align: top;
925
930
  white-space: nowrap;
926
931
  position: relative;
927
932
  box-sizing: border-box;
@@ -943,11 +948,11 @@ html body .height-full {
943
948
  .to-icon:before {
944
949
  font-weight: normal;
945
950
  font-size: var(--size);
946
- vertical-align: top;
947
951
  content: var(--value);
948
952
  }
949
953
  .to-icon-text {
950
954
  font-size: var(--size);
955
+ font-weight: var(--weight);
951
956
  }
952
957
  .to-icon.value-loading span:after {
953
958
  content: '';
@@ -976,7 +981,6 @@ html body .height-full {
976
981
  }
977
982
  .to-icon.value-loading .to-icon-text {
978
983
  position: absolute;
979
- vertical-align: top;
980
984
  font-size: 1em;
981
985
  width: var(--width);
982
986
  height: var(--height);
@@ -1769,6 +1773,8 @@ html body .height-full {
1769
1773
  --viewer-fn-padding: 0;
1770
1774
  --viewer-fn-bottom: 2em;
1771
1775
  --viewer-fn-border: 0 none;
1776
+ --count-top: 0;
1777
+ --count-right: 0;
1772
1778
  }
1773
1779
  .to-pic {
1774
1780
  flex-shrink: 0;
@@ -1780,7 +1786,6 @@ html body .height-full {
1780
1786
  justify-content: center;
1781
1787
  align-items: center;
1782
1788
  text-align: center;
1783
- overflow: hidden;
1784
1789
  color: var(--color);
1785
1790
  width: var(--width);
1786
1791
  height: var(--height);
@@ -1797,6 +1802,11 @@ html body .height-full {
1797
1802
  height: var(--content-height);
1798
1803
  border-radius: var(--content-radius);
1799
1804
  }
1805
+ .to-pic-count {
1806
+ position: absolute;
1807
+ top: var(--count-top);
1808
+ right: var(--count-right);
1809
+ }
1800
1810
  .to-pic.is-link:hover {
1801
1811
  border: var(--hover-border);
1802
1812
  background: var(--hover-bg);
@@ -1942,7 +1952,9 @@ html body .height-full {
1942
1952
  --active-border: var(--border);
1943
1953
  }
1944
1954
  .to-tag {
1945
- display: inline-block;
1955
+ display: inline-flex;
1956
+ align-items: flex-start;
1957
+ justify-content: center;
1946
1958
  overflow: hidden;
1947
1959
  vertical-align: top;
1948
1960
  }
@@ -1973,6 +1985,8 @@ html body .height-full {
1973
1985
  }
1974
1986
  .to-tag-text {
1975
1987
  font-size: var(--size);
1988
+ display: inline-flex;
1989
+ align-items: center;
1976
1990
  }
1977
1991
  .to-tag-remove {
1978
1992
  cursor: default;
@@ -2095,6 +2109,7 @@ html body .height-full {
2095
2109
  left: 0;
2096
2110
  bottom: 0;
2097
2111
  top: unset;
2112
+ right: unset;
2098
2113
  }
2099
2114
  .to-tag.type-corner.position-bottom-left .to-tag-wrapper {
2100
2115
  border-radius: 0 var(--radius) 0 0;
@@ -2210,7 +2225,7 @@ html body .height-full {
2210
2225
  line-height: 1em;
2211
2226
  vertical-align: top;
2212
2227
  font-family: icon;
2213
- content: '\e05c';
2228
+ content: '\e6cd';
2214
2229
  font-size: calc(0.7em * var(--check-size));
2215
2230
  right: 0.1em;
2216
2231
  bottom: 0.2em;
@@ -2324,10 +2339,10 @@ html body .height-full {
2324
2339
  --color: var(--color-fg);
2325
2340
  --bg: #fff;
2326
2341
  --bg-size: 100% 100%;
2327
- --hover-bg: rgba(0, 0, 0, 0.1);
2342
+ --hover-bg: rgba(0, 0, 0, 0.05);
2328
2343
  --hover-color: var(--color);
2329
2344
  --hover-border: var(--border);
2330
- --active-bg: rgba(0, 0, 0, 0.2);
2345
+ --active-bg: rgba(0, 0, 0, 0.1);
2331
2346
  --active-color: var(--color);
2332
2347
  --active-border: var(--border);
2333
2348
  --text-gap: 0.5em;
@@ -3222,6 +3237,7 @@ html body .height-full {
3222
3237
  --content-padding: 0 1em;
3223
3238
  --tag-gap: 0.5em;
3224
3239
  --tag-height: 2em;
3240
+ --overflow-color: var(--color-fg-fade);
3225
3241
  --arrow-size: 1em;
3226
3242
  --arrow-font-size: 0.75em;
3227
3243
  --arrow-color: var(--color-fg-fade);
@@ -3357,6 +3373,19 @@ html body .height-full {
3357
3373
  font-weight: var(--weight);
3358
3374
  color: var(--color);
3359
3375
  }
3376
+ .to-select-clear {
3377
+ flex-shrink: 0;
3378
+ cursor: pointer;
3379
+ opacity: 0;
3380
+ transition: opacity 0.15s ease;
3381
+ }
3382
+ .to-select-clear:hover {
3383
+ --color: var(--arrow-active-color);
3384
+ }
3385
+ .to-select:hover .to-select-clear,
3386
+ .to-select:focus-within .to-select-clear {
3387
+ opacity: 1;
3388
+ }
3360
3389
  .to-select-arrow {
3361
3390
  flex-shrink: 0;
3362
3391
  width: var(--arrow-size);
@@ -3380,6 +3409,22 @@ html body .height-full {
3380
3409
  margin-left: calc((var(--el-height) - var(--tag-height)) / 2);
3381
3410
  --height: var(--tag-height);
3382
3411
  }
3412
+ .to-select-tag.is-collapse {
3413
+ flex-wrap: nowrap;
3414
+ overflow: hidden;
3415
+ align-items: center;
3416
+ }
3417
+ .to-select-tag.is-collapse .to-tag {
3418
+ flex-shrink: 0;
3419
+ margin-top: 0;
3420
+ }
3421
+ .to-select-overflow {
3422
+ --height: var(--tag-height);
3423
+ margin-top: calc((var(--el-height) - var(--tag-height)) / 2);
3424
+ margin-left: calc((var(--el-height) - var(--tag-height)) / 2);
3425
+ flex-shrink: 0;
3426
+ color: var(--overflow-color);
3427
+ }
3383
3428
  .to-select-option {
3384
3429
  --bg-size: 100% 100%;
3385
3430
  }
@@ -3516,6 +3561,9 @@ html body .height-full {
3516
3561
  .to-select.is-multiple .to-select-tag:has(.to-tag) {
3517
3562
  padding-bottom: calc((var(--height) - var(--tag-height)) / 2);
3518
3563
  }
3564
+ .to-select.is-multiple .to-select-tag.is-collapse:has(.to-tag) {
3565
+ padding-bottom: 0;
3566
+ }
3519
3567
  .to-select.is-filterable .to-select-content {
3520
3568
  padding-left: 0;
3521
3569
  padding-top: 0;
@@ -3730,7 +3778,7 @@ html body .height-full {
3730
3778
  --size: 1.17em;
3731
3779
  --weight: bold;
3732
3780
  --gap: 0.5em;
3733
- --lh: 1em;
3781
+ --lh: 1.25em;
3734
3782
  --radius: 0;
3735
3783
  --border: 0 none;
3736
3784
  --hover-border: var(--border);
@@ -3742,8 +3790,8 @@ html body .height-full {
3742
3790
  --fn-gap: 0.5em;
3743
3791
  --tip-color: var(--color-fg);
3744
3792
  --tip-size: 1em;
3745
- --icon-width: 0;
3746
- --icon-height: 0;
3793
+ --icon-width: auto;
3794
+ --icon-height: auto;
3747
3795
  --icon-bg: none;
3748
3796
  --icon-radius: 0;
3749
3797
  --icon-bg-size: 100% 100%;
@@ -3797,6 +3845,7 @@ html body .height-full {
3797
3845
  .to-header-tip {
3798
3846
  color: var(--tip-color);
3799
3847
  font-size: var(--tip-size);
3848
+ line-height: normal;
3800
3849
  }
3801
3850
  .to-header-title {
3802
3851
  line-height: var(--lh);
@@ -4000,6 +4049,7 @@ html body .height-full {
4000
4049
  --shadow: none;
4001
4050
  --clear-margin: 0;
4002
4051
  --clear-height: var(--height);
4052
+ --clear-width: var(--clear-height);
4003
4053
  --content-gap: 1em;
4004
4054
  --content-padding: 0 1em;
4005
4055
  --prefix-padding: 0;
@@ -4021,6 +4071,7 @@ html body .height-full {
4021
4071
  --suffix-text-size: 1em;
4022
4072
  --suffix-text-weight: normal;
4023
4073
  --suffix-text-lh: var(--height);
4074
+ --suffix-icon-height: var(--height);
4024
4075
  --count-color: var(--color-fg-fade);
4025
4076
  --count-size: 1em;
4026
4077
  --count-padding: 0;
@@ -4036,10 +4087,10 @@ html body .height-full {
4036
4087
  --focus-color: var(--color);
4037
4088
  --focus-shadow: var(--shadow);
4038
4089
  --hover-border: var(--border);
4039
- --hover-bg: rgba(0, 0, 0, 0.1);
4090
+ --hover-bg: rgba(0, 0, 0, 0.05);
4040
4091
  --hover-color: var(--color);
4041
4092
  --active-border: var(--border);
4042
- --active-bg: rgba(0, 0, 0, 0.3);
4093
+ --active-bg: rgba(0, 0, 0, 0.1);
4043
4094
  --active-color: var(--color);
4044
4095
  }
4045
4096
  .to-input {
@@ -4094,7 +4145,7 @@ html body .height-full {
4094
4145
  margin: var(--clear-margin);
4095
4146
  --color: var(--color-fg-fade);
4096
4147
  --height: var(--clear-height);
4097
- --width: var(--clear-height);
4148
+ --width: var(--clear-width);
4098
4149
  }
4099
4150
  .to-input-box {
4100
4151
  width: 100%;
@@ -4140,6 +4191,10 @@ html body .height-full {
4140
4191
  gap: var(--suffix-gap);
4141
4192
  padding: var(--suffix-padding);
4142
4193
  }
4194
+ .to-input-suffix > .to-icon {
4195
+ --width: var(--suffix-icon-height);
4196
+ --height: var(--suffix-icon-height);
4197
+ }
4143
4198
  .to-input-prefix-text {
4144
4199
  display: flex;
4145
4200
  padding: var(--prefix-text-padding);
@@ -4214,20 +4269,16 @@ html body .height-full {
4214
4269
  z-index: 2;
4215
4270
  pointer-events: none;
4216
4271
  }
4217
- .to-input.is-disabled {
4272
+ .to-input.is-disabled:not(.is-link) {
4218
4273
  background: var(--disabled-bg);
4219
4274
  color: var(--disabled-color);
4220
- cursor: not-allowed;
4221
4275
  }
4222
- .to-input.is-disabled::after {
4276
+ .to-input.is-disabled:not(.is-link)::after {
4223
4277
  border: var(--disabled-border);
4224
4278
  }
4225
- .to-input.is-disabled input.to-input-content::placeholder {
4279
+ .to-input.is-disabled:not(.is-link) input.to-input-content::placeholder {
4226
4280
  color: var(--disabled-placeholder-color);
4227
4281
  }
4228
- .is-disabled .to-input-content {
4229
- cursor: not-allowed;
4230
- }
4231
4282
  .to-input.is-step input {
4232
4283
  text-align: center;
4233
4284
  }
@@ -4272,6 +4323,9 @@ html body .height-full {
4272
4323
  .to-input.is-link {
4273
4324
  cursor: pointer;
4274
4325
  }
4326
+ .to-input.is-link .to-input-content {
4327
+ cursor: pointer;
4328
+ }
4275
4329
  .to-input.is-link .to-input-textarea,
4276
4330
  .to-input.is-link .to-input-box {
4277
4331
  pointer-events: none;
@@ -4968,15 +5022,15 @@ html body .height-full {
4968
5022
  --divider-on-bg: var(--color-primary);
4969
5023
  --title-on-color: var(--color-primary);
4970
5024
  --desc-on-color: var(--desc-color);
4971
- --item-completed-border: var(--item-border);
4972
- --item-completed-bg: var(--item-bg);
4973
- --icon-completed-bg: var(--color-primary);
4974
- --icon-completed-border: 0 none;
4975
- --icon-completed-color: var(--color-bg);
4976
- --icon-completed-bg-size: 100% 100%;
4977
- --divider-completed-bg: var(--color-primary);
4978
- --title-completed-color: var(--color-primary);
4979
- --desc-completed-color: var(--desc-color);
5025
+ --item-completed-border: var(--item-on-border);
5026
+ --item-completed-bg: var(--item-on-bg);
5027
+ --icon-completed-bg: var(--icon-on-bg);
5028
+ --icon-completed-border: var(--icon-on-border);
5029
+ --icon-completed-color: var(--icon-on-color);
5030
+ --icon-completed-bg-size: var(--icon-on-bg-size);
5031
+ --divider-completed-bg: var(--divider-on-bg);
5032
+ --title-completed-color: var(--title-on-color);
5033
+ --desc-completed-color: var(--desc-on-color);
4980
5034
  --detail-color: inherit;
4981
5035
  --detail-margin: 0.5em;
4982
5036
  --detail-size: 1em;
@@ -5173,7 +5227,7 @@ html body .height-full {
5173
5227
  display: none;
5174
5228
  }
5175
5229
  .to-step.item-dir-v .to-step-item.is-completed:not(:last-child):before {
5176
- background: var(--on-divider-bg);
5230
+ background: var(--divider-on-bg);
5177
5231
  background-size: var(--divider-bg-size);
5178
5232
  }
5179
5233
  .to-checkbox {
@@ -5414,6 +5468,7 @@ html body .height-full {
5414
5468
  --placeholder-color: var(--color-placeholder);
5415
5469
  --input-padding: 0 1em;
5416
5470
  --input-color: var(--color-fg);
5471
+ --input-size: 100%;
5417
5472
  --separator-color: var(--color-fg);
5418
5473
  --separator-padding: 0 0.5em;
5419
5474
  --clear-margin: 0 0.5em 0 0;
@@ -5451,11 +5506,13 @@ html body .height-full {
5451
5506
  pointer-events: none;
5452
5507
  }
5453
5508
  .to-date-range-input {
5509
+ font-size: var(--input-size);
5454
5510
  flex: 1;
5455
5511
  padding: var(--input-padding);
5456
5512
  color: var(--input-color);
5457
5513
  border: 0 none;
5458
5514
  background: none;
5515
+ min-width: 0;
5459
5516
  }
5460
5517
  .to-date-range-input::placeholder {
5461
5518
  color: var(--placeholder-color);
@@ -5662,7 +5719,11 @@ html body .height-full {
5662
5719
  --radius: 0;
5663
5720
  --title-color: var(--color-fg);
5664
5721
  --title-weight: bold;
5665
- --title-size: 1em;
5722
+ --title-size: 1.25em;
5723
+ --title-lh: var(--item-height);
5724
+ --title-divider: 0 none;
5725
+ --title-divider-height: 1em;
5726
+ --title-divider-margin: 0;
5666
5727
  --divider: 0 none;
5667
5728
  --fn-radius: 0;
5668
5729
  --fn-bg: none;
@@ -5689,14 +5750,16 @@ html body .height-full {
5689
5750
  --item-valign: center;
5690
5751
  --item-icon-margin: 0.5em;
5691
5752
  --item-left-bg: none;
5692
- --item-left-width: none;
5753
+ --item-left-width: auto;
5754
+ --item-left-height: 100%;
5693
5755
  --item-right-bg: none;
5694
- --item-right-width: none;
5756
+ --item-right-width: auto;
5757
+ --item-right-height: 100%;
5695
5758
  --item-content-bg: none;
5696
5759
  --item-content-bg-size: 100% 100%;
5697
- --item-divider-width: 0;
5698
- --item-divider-color: var(--color-border);
5760
+ --item-divider: 0 none;
5699
5761
  --item-divider-height: 1em;
5762
+ --item-divider-width: 0;
5700
5763
  --item-hover-color: var(--item-color);
5701
5764
  --item-hover-bg: rgba(0, 0, 0, 0.1);
5702
5765
  --item-hover-border: var(--item-border);
@@ -5704,8 +5767,9 @@ html body .height-full {
5704
5767
  --item-hover-border-bottom: var(--item-hover-border);
5705
5768
  --item-hover-border-left: var(--item-hover-border);
5706
5769
  --item-hover-border-right: var(--item-hover-border);
5707
- --item-hover-left-bg: none;
5708
- --item-hover-right-bg: none;
5770
+ --item-hover-content-bg: var(--item-content-bg);
5771
+ --item-hover-left-bg: var(--item-left-bg);
5772
+ --item-hover-right-bg: var(--item-right-bg);
5709
5773
  --item-active-color: var(--item-color);
5710
5774
  --item-active-bg: rgba(0, 0, 0, 0.2);
5711
5775
  --item-active-border: var(--item-border);
@@ -5729,12 +5793,14 @@ html body .height-full {
5729
5793
  --item-on-weight: var(--item-weight);
5730
5794
  --item-on-left-bg: var(--item-left-bg);
5731
5795
  --item-on-left-width: var(--item-left-width);
5796
+ --item-on-left-height: var(--item-left-height);
5732
5797
  --item-on-right-bg: var(--item-right-bg);
5733
5798
  --item-on-right-width: var(--item-right-width);
5799
+ --item-on-right-height: var(--item-right-height);
5734
5800
  --item-on-content-bg: var(--item-content-bg);
5735
- --item-on-divider-width: var(--item-divider-width);
5736
- --item-on-divider-color: var(--item-divider-color);
5801
+ --item-on-divider: var(--item-divider);
5737
5802
  --item-on-divider-height: var(--item-divider-height);
5803
+ --item-on-divider-width: var(--item-divider-width);
5738
5804
  --item-disabled-color: #d6d6d6;
5739
5805
  --item-remove-margin: 0.5em;
5740
5806
  --item-count-margin: 0.5em;
@@ -5804,10 +5870,23 @@ html body .height-full {
5804
5870
  z-index: 0;
5805
5871
  position: relative;
5806
5872
  }
5873
+ .to-tab-title {
5874
+ line-height: var(--title-lh);
5875
+ }
5807
5876
  .to-tab-title-text {
5808
5877
  color: var(--title-color);
5809
5878
  font-weight: var(--title-weight);
5810
5879
  font-size: var(--title-size);
5880
+ display: flex;
5881
+ align-items: center;
5882
+ }
5883
+ .to-tab-title-text:after {
5884
+ content: '';
5885
+ display: block;
5886
+ width: 0;
5887
+ height: var(--title-divider-height);
5888
+ border-right: var(--title-divider);
5889
+ margin: var(--title-divider-margin);
5811
5890
  }
5812
5891
  .to-tab-tab {
5813
5892
  display: flex;
@@ -5919,20 +5998,20 @@ html body .height-full {
5919
5998
  .to-tab-item-main:after {
5920
5999
  content: '';
5921
6000
  width: var(--item-divider-width);
5922
- background: var(--item-divider-color);
6001
+ border-right: var(--item-divider);
5923
6002
  height: var(--item-divider-height);
5924
6003
  align-self: center;
5925
6004
  }
5926
6005
  .to-tab-item-left {
5927
6006
  background: var(--item-left-bg);
5928
6007
  background-size: 100% 100%;
5929
- height: 100%;
6008
+ height: var(--item-left-height);
5930
6009
  width: var(--item-left-width);
5931
6010
  }
5932
6011
  .to-tab-item-right {
5933
6012
  background: var(--item-right-bg);
5934
6013
  background-size: 100% 100%;
5935
- height: 100%;
6014
+ height: var(--item-right-height);
5936
6015
  width: var(--item-right-width);
5937
6016
  }
5938
6017
  .to-tab-item-content {
@@ -6002,8 +6081,7 @@ html body .height-full {
6002
6081
  z-index: 1;
6003
6082
  }
6004
6083
  .to-tab-item.is-on .to-tab-item-main:after {
6005
- width: var(--item-on-divider-width);
6006
- background: var(--item-on-divider-color);
6084
+ border-right: var(--item-on-divider);
6007
6085
  height: var(--item-on-divider-height);
6008
6086
  }
6009
6087
  .to-tab-item.is-on .to-tab-indicator {
@@ -6013,11 +6091,13 @@ html body .height-full {
6013
6091
  background: var(--item-on-left-bg);
6014
6092
  background-size: 100% 100%;
6015
6093
  width: var(--item-on-left-width);
6094
+ height: var(--item-on-left-height);
6016
6095
  }
6017
6096
  .to-tab-item.is-on .to-tab-item-right {
6018
6097
  background: var(--item-on-right-bg);
6019
6098
  background-size: 100% 100%;
6020
6099
  width: var(--item-on-right-width);
6100
+ height: var(--item-on-right-height);
6021
6101
  }
6022
6102
  .to-tab-item.is-on .to-tab-item-content {
6023
6103
  padding: var(--item-on-padding);
@@ -6030,7 +6110,7 @@ html body .height-full {
6030
6110
  }
6031
6111
  .to-tab-item:has(+.is-on) .to-tab-item-main:after {
6032
6112
  width: var(--item-on-divider-width);
6033
- background: var(--item-on-divider-color);
6113
+ border-right: var(--item-on-divider);
6034
6114
  height: var(--item-on-divider-height);
6035
6115
  }
6036
6116
  .to-tab-item.is-disabled .to-tab-item-label {
@@ -6046,6 +6126,10 @@ html body .height-full {
6046
6126
  border-left: var(--item-hover-border-left);
6047
6127
  border-right: var(--item-hover-border-right);
6048
6128
  }
6129
+ .to-tab-item:not(.is-on):hover .to-tab-item-content {
6130
+ background: var(--item-hover-content-bg);
6131
+ background-size: 100% 100%;
6132
+ }
6049
6133
  .to-tab-item:not(.is-on):hover .to-tab-item-label {
6050
6134
  color: var(--item-hover-color);
6051
6135
  }
@@ -6213,53 +6297,83 @@ html body .height-full {
6213
6297
  flex-direction: row;
6214
6298
  align-items: stretch;
6215
6299
  }
6216
- .to-tab.dir-v .to-tab-tab {
6300
+ .to-tab.dir-v > .to-tab-tab {
6217
6301
  flex-direction: column;
6218
6302
  }
6219
- .to-tab.dir-v .to-tab-wrapper {
6303
+ .to-tab.dir-v > .to-tab-tab .to-tab-wrapper {
6220
6304
  flex-direction: column;
6221
6305
  align-items: stretch;
6222
6306
  }
6223
- .to-tab.dir-v .to-tab-divider {
6307
+ .to-tab.dir-v > .to-tab-tab .to-tab-divider {
6224
6308
  height: auto;
6225
6309
  }
6226
- .to-tab.dir-v .to-tab-page {
6227
- flex: 1;
6228
- }
6229
- .to-tab.dir-v .to-tab-page .to-tab-page-item {
6230
- height: 100%;
6231
- }
6232
- .to-tab.dir-v .to-tab-item {
6310
+ .to-tab.dir-v > .to-tab-tab .to-tab-item {
6233
6311
  flex-direction: row;
6234
6312
  }
6235
- .to-tab.dir-v .to-tab-indicator {
6313
+ .to-tab.dir-v > .to-tab-tab .to-tab-indicator {
6236
6314
  top: 50%;
6237
6315
  transform: translateY(-50%);
6238
6316
  }
6239
- .to-tab.item-dir-v .to-tab-item-content {
6317
+ .to-tab.dir-v > .to-tab-page {
6318
+ flex: 1;
6319
+ }
6320
+ .to-tab.dir-v > .to-tab-page .to-tab-page-item {
6321
+ height: 100%;
6322
+ }
6323
+ .to-tab.item-dir-v > .to-tab-tab .to-tab-item-content {
6240
6324
  flex-direction: column;
6241
6325
  }
6242
- .to-tab.position-left .to-tab-divider {
6326
+ .to-tab.position-left {
6327
+ --item-left-width: auto;
6328
+ --item-left-height: 0;
6329
+ --item-right-width: auto;
6330
+ --item-right-height: 0;
6331
+ --item-divider-height: 0;
6332
+ --item-divider-width: 100%;
6333
+ }
6334
+ .to-tab.position-left > .to-tab-tab .to-tab-divider {
6243
6335
  inset: 0 0 0 auto;
6244
6336
  border-bottom: 0 none;
6245
6337
  border-right: var(--divider);
6338
+ width: 0;
6339
+ }
6340
+ .to-tab.position-left > .to-tab-tab .to-tab-item-main {
6341
+ min-height: 0;
6342
+ flex-direction: column;
6343
+ }
6344
+ .to-tab.position-left > .to-tab-tab .to-tab-item-main:after {
6345
+ border-right: 0 none;
6346
+ border-bottom: var(--item-divider);
6347
+ }
6348
+ .to-tab.position-left > .to-tab-tab .to-tab-item-content {
6349
+ min-height: 0;
6350
+ justify-content: center;
6351
+ align-items: center;
6352
+ }
6353
+ .to-tab.position-right {
6354
+ --item-left-width: auto;
6355
+ --item-left-height: 0;
6246
6356
  }
6247
- .to-tab.position-right .to-tab-divider {
6357
+ .to-tab.position-right > .to-tab-tab .to-tab-divider {
6248
6358
  inset: 0 auto 0 0;
6249
6359
  border-bottom: 0 none;
6250
6360
  border-left: var(--divider);
6361
+ width: 0;
6251
6362
  }
6252
- .to-tab.position-bottom .to-tab-divider {
6363
+ .to-tab.position-bottom > .to-tab-tab .to-tab-divider {
6253
6364
  inset: 0 0 auto 0;
6254
6365
  border-bottom: 0 none;
6255
6366
  border-top: var(--divider);
6256
6367
  }
6257
- .to-tab.position-bottom .to-tab-tab,
6258
- .to-tab.position-right .to-tab-tab {
6368
+ .to-tab.position-bottom > .to-tab-tab .to-tab-item-main {
6369
+ flex-direction: column;
6370
+ }
6371
+ .to-tab.position-bottom > .to-tab-tab,
6372
+ .to-tab.position-right > .to-tab-tab {
6259
6373
  order: 2;
6260
6374
  }
6261
- .to-tab.position-bottom .to-tab-page,
6262
- .to-tab.position-right .to-tab-page {
6375
+ .to-tab.position-bottom > .to-tab-page,
6376
+ .to-tab.position-right > .to-tab-page {
6263
6377
  order: 1;
6264
6378
  }
6265
6379
  .to-tab.item-width-avg .to-tab-wrapper {
@@ -6307,6 +6421,7 @@ html body .height-full {
6307
6421
  --body-even-color: var(--body-color);
6308
6422
  --body-even-bg: var(--body-bg);
6309
6423
  --action-gap: 1em;
6424
+ --action-padding: 0;
6310
6425
  --radio-size: 1em;
6311
6426
  --radio-border: 1px solid var(--color-border);
6312
6427
  --on-radio-border: 0.35em solid var(--color-primary);
@@ -6511,7 +6626,7 @@ html body .height-full {
6511
6626
  content: '\e081';
6512
6627
  }
6513
6628
  .to-table-td.type-action {
6514
- padding: 0;
6629
+ padding: var(--action-padding);
6515
6630
  }
6516
6631
  .to-table-action {
6517
6632
  display: flex;
@@ -7894,11 +8009,11 @@ html body .height-full {
7894
8009
  text-align: center;
7895
8010
  color: #4d5b65;
7896
8011
  }
7897
- .to-icon.mode-tree-loading {
7898
- --size: 1.2em;
7899
- --width: 1.2em;
7900
- --height: 1.2em;
7901
- --loading: url(/pic-pro/img/loading-out.png);
8012
+ .to-tree-loading {
8013
+ --size: 1em;
8014
+ --width: 1em;
8015
+ --height: 1em;
8016
+ --loading: url(../img/loading.png);
7902
8017
  --loading-speed: 1s;
7903
8018
  }
7904
8019
  .to-param {
@@ -8623,114 +8738,222 @@ html body .height-full {
8623
8738
  }
8624
8739
  .to-upload {
8625
8740
  position: relative;
8741
+ --tip-margin: 1em;
8742
+ --tip-color: #999;
8743
+ --tip-weight: normal;
8744
+ --tip-size: 100%;
8745
+ --upload-button-margin: 0.5em;
8746
+ --list-border: 0 none;
8747
+ --list-bg: none;
8748
+ --list-bg-size: 100% 100%;
8749
+ --list-padding: 0;
8750
+ --list-radius: 0;
8751
+ --list-shadow: none;
8752
+ --list-gap: 0;
8753
+ --item-border: 0 none;
8754
+ --item-bg: none;
8755
+ --item-bg-size: 100% 100%;
8756
+ --item-padding: 0;
8757
+ --item-radius: 0;
8758
+ --item-shadow: none;
8759
+ --item-color: var(--color-fg);
8760
+ --item-size: 1em;
8761
+ --item-weight: normal;
8762
+ --item-state-margin: 0;
8763
+ --item-state-color: var(--color-fg);
8764
+ --item-state-size: 1em;
8765
+ --item-state-weight: normal;
8766
+ --item-icon-width: 1.5em;
8767
+ --item-icon-height: 1.5em;
8768
+ --item-icon-size: 1.5em;
8769
+ --item-icon-margin: 0.5em;
8770
+ --item-remove-margin: 0em;
8771
+ --progress-thick: 0.2em;
8772
+ --danger-bg: rgba(249, 57, 32, 0.1);
8773
+ --danger-border: 1px solid rgba(249, 57, 32, 0.5);
8626
8774
  }
8627
- .to-upload .to-upload-list-item {
8628
- padding: 0.3em;
8775
+ .to-upload-content {
8629
8776
  display: flex;
8630
- position: relative;
8777
+ align-items: center;
8631
8778
  }
8632
- .to-upload .to-upload-list-item .file-name {
8633
- flex: 1;
8634
- text-align: left;
8635
- overflow: hidden;
8636
- text-overflow: ellipsis;
8637
- white-space: nowrap;
8779
+ .to-upload-input {
8780
+ --width: 20em;
8638
8781
  }
8639
- .to-upload .to-upload-list-item .upload-progress {
8640
- position: absolute;
8641
- bottom: 0;
8642
- left: 0;
8643
- width: 100%;
8644
- height: 0.2em;
8782
+ .to-upload-tip {
8783
+ display: flex;
8784
+ margin-left: var(--tip-margin);
8785
+ color: var(--tip-color);
8645
8786
  }
8646
- .to-upload .to-upload-list-item .upload-progress .upload-progress-bar {
8647
- background-color: #0077fa;
8648
- height: 0.2em;
8649
- border-radius: 0.1em;
8787
+ .to-upload-tip-text {
8788
+ font-size: var(--tip-size);
8789
+ font-weight: var(--tip-weight);
8650
8790
  }
8651
- .to-upload .to-upload-list-item .mode-color {
8652
- --color-info: #0077fa;
8791
+ .to-upload-upload-button {
8792
+ margin-left: var(--upload-button-margin);
8653
8793
  }
8654
- .to-upload .to-upload-img {
8794
+ .to-upload-list {
8655
8795
  display: flex;
8796
+ flex-direction: column;
8797
+ position: relative;
8798
+ padding: var(--list-padding);
8799
+ border: var(--list-border);
8800
+ border-radius: var(--list-radius);
8801
+ background: var(--list-bg);
8802
+ background-size: var(--list-bg-size);
8803
+ box-shadow: var(--list-shadow);
8804
+ gap: var(--list-gap);
8656
8805
  }
8657
- .to-upload .to-upload-img .to-upload-img-list {
8806
+ .to-upload-item {
8807
+ padding: var(--item-padding);
8658
8808
  display: flex;
8659
- }
8660
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item {
8661
- width: 10em;
8662
- height: 10em;
8663
- border: solid 1px #ddd;
8664
- border-radius: 0.5em;
8665
- cursor: pointer;
8809
+ align-items: center;
8666
8810
  position: relative;
8811
+ border: var(--item-border);
8812
+ border-radius: var(--item-radius);
8813
+ background: var(--item-bg);
8814
+ background-size: var(--item-bg-size);
8815
+ box-shadow: var(--item-shadow);
8816
+ color: var(--item-color);
8817
+ font-weight: var(--item-weight);
8667
8818
  }
8668
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item .to-upload-pic {
8669
- width: 100%;
8670
- height: 100%;
8819
+ .to-upload-item-name {
8820
+ font-size: var(--item-size);
8671
8821
  }
8672
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item .mode-icon-remove {
8673
- position: absolute;
8674
- top: 0.5em;
8675
- right: 0.5em;
8676
- color: #fff;
8822
+ .to-upload-item-state {
8823
+ margin-left: var(--item-state-margin);
8824
+ color: var(--item-state-color);
8825
+ font-size: var(--item-state-size);
8826
+ font-weight: var(--item-state-weight);
8677
8827
  }
8678
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item .upload-progress {
8828
+ .to-upload-item-state-text {
8829
+ color: var(--item-state-color);
8830
+ font-size: var(--item-state-size);
8831
+ font-weight: var(--item-state-weight);
8832
+ }
8833
+ .to-upload-item-progress {
8679
8834
  position: absolute;
8680
- bottom: 0.5em;
8681
- left: 5%;
8682
- width: 90%;
8683
- height: 0.2em;
8684
- background-color: #ccc;
8835
+ bottom: 0;
8836
+ right: 0;
8837
+ left: 0;
8838
+ --thick: var(--progress-thick);
8685
8839
  }
8686
- .to-upload .to-upload-img .to-upload-img-list .to-upload-img-list-item .upload-progress .upload-progress-bar {
8687
- background-color: #0077fa;
8688
- height: 0.2em;
8689
- border-radius: 0.1em;
8840
+ .to-upload-item-icon {
8841
+ --width: var(--item-icon-width);
8842
+ --height: var(--item-icon-height);
8843
+ --size: var(--item-icon-size);
8844
+ margin-right: var(--item-icon-margin);
8845
+ }
8846
+ .to-upload-item-remove {
8847
+ margin-left: var(--item-remove-margin);
8690
8848
  }
8691
- .to-upload .to-upload-img .to-upload-add {
8849
+ .to-upload-item-name {
8850
+ flex: 1;
8851
+ text-align: left;
8852
+ overflow: hidden;
8853
+ text-overflow: ellipsis;
8854
+ white-space: nowrap;
8855
+ }
8856
+ .to-upload.type-img {
8857
+ --item-width: 10em;
8858
+ --item-height: 10em;
8859
+ --item-border: 1px solid #ddd;
8860
+ --item-bg-size: cover;
8861
+ --item-padding: 0;
8862
+ --item-radius: 0.5em;
8863
+ --item-shadow: none;
8864
+ --list-gap: 1em;
8865
+ --add-width: var(--item-width);
8866
+ --add-height: var(--item-height);
8867
+ --add-border: var(--item-border);
8868
+ --add-radius: var(--item-radius);
8869
+ --add-shadow: var(--item-shadow);
8870
+ --add-bg: none;
8871
+ --add-bg-size: 100% 100%;
8872
+ --add-padding: 0;
8873
+ --add-color: #aaa;
8874
+ --add-size: 4em;
8875
+ --add-hover-border: var(--add-border);
8876
+ --add-hover-bg: rgba(0, 0, 0, 0.05);
8877
+ --add-hover-color: var(--add-color);
8878
+ --add-active-border: var(--add-border);
8879
+ --add-active-bg: rgba(0, 0, 0, 0.1);
8880
+ --add-active-color: var(--add-color);
8881
+ --remove-top: 0.5em;
8882
+ --remove-right: 0.5em;
8883
+ --remove-bg: rgba(0, 0, 0, 0.3);
8884
+ --remove-color: #fff;
8885
+ --remove-radius: 50%;
8886
+ --remove-width: 1.5em;
8887
+ --remove-height: 1.5em;
8888
+ }
8889
+ .to-upload.type-img .to-upload-list {
8890
+ display: flex;
8891
+ flex-direction: row;
8892
+ }
8893
+ .to-upload.type-img .to-upload-item {
8894
+ width: var(--item-width);
8895
+ height: var(--item-height);
8896
+ background-size: var(--item-bg-size);
8897
+ }
8898
+ .to-upload.type-img .to-upload-item-remove {
8899
+ position: absolute;
8900
+ right: var(--remove-right);
8901
+ top: var(--remove-top);
8902
+ --bg: var(--remove-bg);
8903
+ --color: var(--remove-color);
8904
+ --radius: var(--remove-radius);
8905
+ --width: var(--remove-width);
8906
+ --height: var(--remove-height);
8907
+ }
8908
+ .to-upload.type-img .to-upload-add {
8692
8909
  display: flex;
8693
8910
  align-items: center;
8694
8911
  justify-content: center;
8695
- width: 10em;
8696
- height: 10em;
8697
- border: solid 1px #ddd;
8698
- border-radius: 0.5em;
8912
+ width: var(--add-width);
8913
+ height: var(--add-height);
8914
+ border: var(--add-border);
8915
+ border-radius: var(--add-radius);
8916
+ background: var(--add-bg);
8917
+ background-size: var(--add-bg-size);
8918
+ padding: var(--add-padding);
8919
+ box-shadow: var(--add-shadow);
8699
8920
  cursor: pointer;
8700
8921
  }
8701
- .to-upload .to-upload-img .to-upload-add .mode-upload-add {
8702
- --font-size: 2em;
8922
+ .to-upload.type-img .to-upload-add:hover {
8923
+ border: var(--add-hover-border);
8924
+ background: var(--add-hover-bg);
8925
+ color: var(--add-hover-color);
8703
8926
  }
8704
- .to-upload .to-upload-img.pic-size-s .to-upload-img-list .to-upload-img-list-item {
8705
- width: 3em;
8706
- height: 3em;
8707
- border-radius: 0.5em;
8927
+ .to-upload.type-img .to-upload-add:hover .to-upload-add-icon {
8928
+ --color: var(--add-hover-color);
8708
8929
  }
8709
- .to-upload .to-upload-img.pic-size-s .to-upload-img-list .to-upload-img-list-item .mode-icon-remove {
8710
- top: 0.2em;
8711
- right: 0.2em;
8712
- --size: 1em;
8713
- --font-size: 0.5em;
8930
+ .to-upload.type-img .to-upload-add:active {
8931
+ border: var(--add-active-border);
8932
+ background: var(--add-active-bg);
8933
+ color: var(--add-active-color);
8714
8934
  }
8715
- .to-upload .to-upload-img.pic-size-s .to-upload-img-list .to-upload-img-list-item .upload-progress {
8716
- bottom: 0.2em;
8935
+ .to-upload.type-img .to-upload-add:active .to-upload-add-icon {
8936
+ --color: var(--add-active-color);
8717
8937
  }
8718
- .to-upload .to-upload-img.pic-size-s .to-upload-add {
8719
- width: 3em;
8720
- height: 3em;
8721
- border-radius: 0.5em;
8938
+ .to-upload.type-img .to-upload-add-icon {
8939
+ --color: var(--add-color);
8940
+ --size: var(--add-size);
8941
+ }
8942
+ .to-upload.type-img .to-upload-tip {
8943
+ margin: var(--tip-margin) 0 0 0;
8722
8944
  }
8723
- .to-upload .to-upload-img.pic-size-s .to-upload-add .mode-upload-add {
8724
- --font-size: 1em;
8945
+ .to-upload-button {
8946
+ display: inline-flex;
8947
+ align-items: center;
8725
8948
  }
8726
8949
  .to-upload-mode-line {
8727
8950
  background: none;
8728
8951
  }
8729
8952
  .to-upload-color-danger {
8730
- background: rgba(249, 57, 32, 0.1);
8953
+ background: var(--danger-bg);
8731
8954
  }
8732
8955
  .to-upload-color-danger:before {
8733
- border: 1px solid rgba(249, 57, 32, 0.5);
8956
+ border: var(--danger-border);
8734
8957
  }
8735
8958
  .to-upload-tip-show {
8736
8959
  overflow: visible;
@@ -8818,14 +9041,14 @@ html body .height-full {
8818
9041
  vertical-align: middle;
8819
9042
  }
8820
9043
  @media screen {
8821
- .s_pad .to-print,
8822
- .s_pc .to-print {
9044
+ .media-pad .to-print,
9045
+ .media-pc .to-print {
8823
9046
  height: 100%;
8824
9047
  position: relative;
8825
9048
  background: #f7f7f7;
8826
9049
  }
8827
- .s_pad .to-print > .content,
8828
- .s_pc .to-print > .content {
9050
+ .media-pad .to-print > .content,
9051
+ .media-pc .to-print > .content {
8829
9052
  position: absolute;
8830
9053
  left: 0;
8831
9054
  right: 0;
@@ -8833,8 +9056,8 @@ html body .height-full {
8833
9056
  bottom: 4.29em;
8834
9057
  overflow: auto;
8835
9058
  }
8836
- .s_pad .to-print > .content .paper,
8837
- .s_pc .to-print > .content .paper {
9059
+ .media-pad .to-print > .content .paper,
9060
+ .media-pc .to-print > .content .paper {
8838
9061
  width: 50em;
8839
9062
  position: relative;
8840
9063
  margin: 2em auto;
@@ -8844,8 +9067,8 @@ html body .height-full {
8844
9067
  border: 1px solid #d9d9d9;
8845
9068
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
8846
9069
  }
8847
- .s_pad .to-print > .fn,
8848
- .s_pc .to-print > .fn {
9070
+ .media-pad .to-print > .fn,
9071
+ .media-pc .to-print > .fn {
8849
9072
  background: #fff;
8850
9073
  position: absolute;
8851
9074
  bottom: 0;
@@ -8856,21 +9079,21 @@ html body .height-full {
8856
9079
  border-top: 1px solid #cccccc;
8857
9080
  text-align: center;
8858
9081
  }
8859
- .s_pad .to-print > .fn button,
8860
- .s_pc .to-print > .fn button {
9082
+ .media-pad .to-print > .fn button,
9083
+ .media-pc .to-print > .fn button {
8861
9084
  min-width: 8.57em;
8862
9085
  margin: 0 0.36em;
8863
9086
  }
8864
- .s_pad .to-print-h > .content .paper,
8865
- .s_pc .to-print-h > .content .paper {
9087
+ .media-pad .to-print-h > .content .paper,
9088
+ .media-pc .to-print-h > .content .paper {
8866
9089
  width: 70em;
8867
9090
  min-height: 50em;
8868
9091
  }
8869
- .s_phone .to-print {
9092
+ .media-phone .to-print {
8870
9093
  height: 100%;
8871
9094
  position: relative;
8872
9095
  }
8873
- .s_phone .to-print > .content {
9096
+ .media-phone .to-print > .content {
8874
9097
  position: absolute;
8875
9098
  left: 0;
8876
9099
  right: 0;
@@ -8878,13 +9101,13 @@ html body .height-full {
8878
9101
  bottom: 3.57em;
8879
9102
  overflow: auto;
8880
9103
  }
8881
- .s_phone .to-print > .content .paper {
9104
+ .media-phone .to-print > .content .paper {
8882
9105
  padding: 1.43em;
8883
9106
  background: #fff;
8884
9107
  margin-bottom: 1.43em;
8885
9108
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
8886
9109
  }
8887
- .s_phone .to-print > .fn {
9110
+ .media-phone .to-print > .fn {
8888
9111
  background: #fff;
8889
9112
  position: absolute;
8890
9113
  bottom: 0;
@@ -8892,7 +9115,7 @@ html body .height-full {
8892
9115
  width: 100%;
8893
9116
  text-align: center;
8894
9117
  }
8895
- .s_phone .to-print > .fn button {
9118
+ .media-phone .to-print > .fn button {
8896
9119
  border-radius: 0;
8897
9120
  flex: 1;
8898
9121
  height: 3.13em;
@@ -8900,8 +9123,8 @@ html body .height-full {
8900
9123
  }
8901
9124
  }
8902
9125
  @media print {
8903
- .s_pad .to-print > .content .paper,
8904
- .s_pc .to-print > .content .paper {
9126
+ .media-pad .to-print > .content .paper,
9127
+ .media-pc .to-print > .content .paper {
8905
9128
  font-size: 14px;
8906
9129
  }
8907
9130
  .to-print > .fn {
@@ -8913,7 +9136,7 @@ html body .height-full {
8913
9136
  background: transparent;
8914
9137
  font-size: 12px;
8915
9138
  }
8916
- .to-scroll {
9139
+ .to-scroll-content {
8917
9140
  overflow: visible !important;
8918
9141
  position: relative !important;
8919
9142
  top: auto;
@@ -8921,11 +9144,12 @@ html body .height-full {
8921
9144
  bottom: auto;
8922
9145
  right: auto;
8923
9146
  }
8924
- .to-table .body {
9147
+ .to-table-wrapper {
8925
9148
  overflow: visible !important;
9149
+ height: auto;
8926
9150
  }
8927
- .s_pad .to-print > .content,
8928
- .s_pc .to-print > .content {
9151
+ .media-pad .to-print > .content,
9152
+ .media-pc .to-print > .content {
8929
9153
  position: relative;
8930
9154
  top: auto;
8931
9155
  left: auto;
@@ -8933,26 +9157,21 @@ html body .height-full {
8933
9157
  right: auto;
8934
9158
  overflow: visible;
8935
9159
  }
8936
- .s_pad .to-print > .content .paper,
8937
- .s_pc .to-print > .content .paper {
9160
+ .media-pad .to-print > .content .paper,
9161
+ .media-pc .to-print > .content .paper {
8938
9162
  page-break-after: always;
8939
9163
  }
8940
9164
  }
8941
9165
  @page {
8942
9166
  margin: 1.5cm;
8943
9167
  }
9168
+ .to-print .to-table-wrapper {
9169
+ overflow: visible !important;
9170
+ height: auto;
9171
+ }
8944
9172
  .to-print .to-hide-print {
8945
9173
  display: none;
8946
9174
  }
8947
- .to-print .to-title {
8948
- font-weight: bold;
8949
- }
8950
- .to-print .to-title .text {
8951
- color: #191919;
8952
- }
8953
- .to-print .to-box {
8954
- border-color: #000;
8955
- }
8956
9175
  .to-print .to-table {
8957
9176
  background: none !important;
8958
9177
  border: 1px solid #d9d9d9;
@@ -8996,18 +9215,13 @@ html body .height-full {
8996
9215
  .to-print .to-table td.action {
8997
9216
  display: none;
8998
9217
  }
8999
- .to-print .to-table .leftTop,
9000
- .to-print .to-table .rightTop,
9001
- .to-print .to-table .right,
9002
- .to-print .to-table .top {
9218
+ .to-print .to-table .to-table-top,
9219
+ .to-print .to-table .to-table-left,
9220
+ .to-print .to-table .to-table-right,
9221
+ .to-print .to-table .to-table-left-top,
9222
+ .to-print .to-table .to-table-right-top {
9003
9223
  display: none;
9004
9224
  }
9005
- .to-print .to-table .body {
9006
- height: auto;
9007
- }
9008
- .to-print .to-table .body .wrapper {
9009
- display: block;
9010
- }
9011
9225
  .to-print .to-table-print-s {
9012
9226
  font-size: 86.57%;
9013
9227
  }
@@ -9017,25 +9231,6 @@ html body .height-full {
9017
9231
  .to-print .to-table-print-xxs {
9018
9232
  font-size: 66.67%;
9019
9233
  }
9020
- .to-print .to-list-line > ul > li:before {
9021
- border-color: #000 !important;
9022
- }
9023
- .to-print .to-list-border {
9024
- border-color: #000 !important;
9025
- }
9026
- .to-print .to-param .label {
9027
- color: #191919;
9028
- }
9029
- .to-print .to-param-border {
9030
- border: 1px solid #d9d9d9;
9031
- }
9032
- .to-print .to-article {
9033
- padding: 0;
9034
- }
9035
- html:not(.s_phone) .to-print .to-table tbody tr.on td,
9036
- html:not(.s_phone) .to-print .to-table tbody tr.on td * {
9037
- color: #000 !important;
9038
- }
9039
9234
  .to-export-layer {
9040
9235
  --padding: 1em;
9041
9236
  }
@@ -9127,80 +9322,75 @@ html:not(.s_phone) .to-print .to-table tbody tr.on td * {
9127
9322
  --radius: 50%;
9128
9323
  }
9129
9324
  .to-rate {
9130
- --size: 2em;
9131
- --gap: 0.25em;
9132
- --color: var(--primary);
9133
- --off-color: #ddd;
9134
- --hover-color: var(--primary-light-1);
9135
- --hover-off-color: var(--primary-light-5);
9325
+ --item-gap: 0.25em;
9326
+ --item-family: 'icon';
9327
+ --item-on-family: 'icon-fill';
9328
+ --item-size: 1em;
9329
+ --item-color: #ddd;
9330
+ --item-on-color: var(--primary);
9136
9331
  --score-color: var(--color-fg);
9137
9332
  --score-size: 1em;
9333
+ --score-margin: 0.5em;
9138
9334
  --score-weight: normal;
9139
- --score-gap: 0.5em;
9140
9335
  }
9141
9336
  .to-rate {
9142
9337
  display: inline-flex;
9143
9338
  align-items: center;
9144
9339
  vertical-align: top;
9145
- gap: var(--gap);
9146
9340
  }
9147
- .to-rate.is-readonly {
9341
+ .to-rate-group {
9342
+ display: flex;
9343
+ gap: var(--item-gap);
9344
+ }
9345
+ .to-rate.is-disabled {
9148
9346
  cursor: default;
9149
9347
  }
9150
- .to-rate:not(.is-readonly) {
9348
+ .to-rate:not(.is-disabled) .to-rate-item {
9151
9349
  cursor: pointer;
9152
9350
  }
9153
9351
  .to-rate-item {
9154
- font-size: var(--size);
9155
9352
  line-height: 1;
9156
- color: var(--off-color);
9157
- position: relative;
9158
- display: inline-block;
9159
- transition: color 0.2s ease;
9160
- }
9161
- .to-rate-item-star:after {
9162
- content: '\2605';
9163
- }
9164
- .to-rate-item.is-on {
9165
- color: var(--color);
9166
- }
9167
- .to-rate-item.is-half-on {
9168
- color: var(--color);
9169
- }
9170
- .to-rate-item.is-half-on .to-rate-item-star {
9171
9353
  position: relative;
9172
9354
  display: inline-block;
9173
- color: var(--off-color);
9355
+ width: var(--item-size);
9356
+ height: var(--item-size);
9174
9357
  }
9175
- .to-rate-item.is-half-on .to-rate-item-star:before {
9176
- content: '\2605';
9358
+ .to-rate-icon {
9177
9359
  position: absolute;
9178
9360
  left: 0;
9179
9361
  top: 0;
9180
- width: 50%;
9181
- overflow: hidden;
9182
- color: var(--color);
9362
+ --size: var(--item-size);
9363
+ --width: var(--item-size);
9364
+ --height: var(--item-size);
9183
9365
  }
9184
- .to-rate:hover .to-rate-item {
9185
- color: var(--hover-off-color);
9366
+ .to-rate-icon.is-off {
9367
+ --family: var(--item-family);
9368
+ color: var(--item-color);
9186
9369
  }
9187
- .to-rate:hover .to-rate-item.is-hover {
9188
- color: var(--color);
9370
+ .to-rate-icon.is-on {
9371
+ --family: var(--item-on-family);
9372
+ overflow: hidden;
9373
+ color: var(--item-on-color);
9374
+ clip-path: inset(0 100% 0 0);
9189
9375
  }
9190
- .to-rate.is-readonly:hover .to-rate-item {
9191
- color: var(--off-color);
9376
+ .to-rate-item.is-on .to-rate-icon.is-on {
9377
+ clip-path: inset(0 0 0 0);
9192
9378
  }
9193
- .to-rate.is-readonly:hover .to-rate-item.is-on,
9194
- .to-rate.is-readonly:hover .to-rate-item.is-half-on {
9195
- color: var(--color);
9379
+ .to-rate-item.is-half-on .to-rate-icon.is-on {
9380
+ clip-path: inset(0 50% 0 0);
9381
+ }
9382
+ .to-rate:not(.is-disabled):hover .to-rate-item.is-hover .to-rate-icon.is-on {
9383
+ color: var(--item-on-color);
9196
9384
  }
9197
9385
  .to-rate-score {
9198
- font-size: var(--score-size);
9199
- color: var(--score-color);
9200
9386
  font-weight: var(--score-weight);
9201
- margin-left: var(--score-gap);
9387
+ color: var(--score-color);
9388
+ margin-left: var(--score-margin);
9202
9389
  line-height: 1;
9203
9390
  }
9391
+ .to-rate-score-text {
9392
+ font-size: var(--score-size);
9393
+ }
9204
9394
  .to-dis.type-opacity {
9205
9395
  opacity: 0.5;
9206
9396
  pointer-events: inherit;