@netless/telebox-insider 0.2.26 → 0.2.27

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.
package/dist/style.css CHANGED
@@ -1 +1,504 @@
1
- .tele-fancy-scrollbar{overscroll-behavior:contain;overflow:auto;overflow-y:scroll;overflow-y:overlay;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;scrollbar-width:auto}.tele-fancy-scrollbar::-webkit-scrollbar{height:8px;width:8px}.tele-fancy-scrollbar::-webkit-scrollbar-track{background-color:transparent}.tele-fancy-scrollbar::-webkit-scrollbar-thumb{background-color:rgba(68,78,96,.1);background-color:transparent;border-radius:4px;transition:background-color .4s}.tele-fancy-scrollbar:hover::-webkit-scrollbar-thumb{background-color:rgba(68,78,96,.1)}.tele-fancy-scrollbar::-webkit-scrollbar-thumb:hover{background-color:rgba(68,78,96,.2)}.tele-fancy-scrollbar::-webkit-scrollbar-thumb:active{background-color:rgba(68,78,96,.2)}.tele-fancy-scrollbar::-webkit-scrollbar-thumb:vertical{min-height:50px}.tele-fancy-scrollbar::-webkit-scrollbar-thumb:horizontal{min-width:50px}.telebox-box{position:absolute;top:0;left:0;z-index:100;transition:width .4s cubic-bezier(.4, .9, .71, 1.02),height .4s cubic-bezier(.55, .82, .63, .95),opacity .6s cubic-bezier(.7, 0, .84, 0),transform .4s ease}.telebox-box-main{position:relative;width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;background:#f9f9fc;box-shadow:0 4px 10px 0 rgba(47,65,146,.15);border-radius:6px;border:1px solid #e3e3ec}.telebox-titlebar-wrap{flex-shrink:0;position:relative;z-index:1}.telebox-content-wrap{flex:1;width:100%;overflow:hidden;display:flex;justify-content:center;align-items:center}.telebox-content{width:100%;height:100%;position:relative}.telebox-footer-wrap{flex-shrink:0;display:flex;flex-direction:column}.telebox-footer-wrap::before{content:"";display:block;flex:1}.telebox-resize-handle{user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;position:absolute;z-index:2147483647}.telebox-n{width:100%;height:5px;left:0;top:-5px;cursor:n-resize}.telebox-s{width:100%;height:5px;left:0;bottom:-5px;cursor:s-resize}.telebox-w{width:5px;height:100%;left:-5px;top:0;cursor:w-resize}.telebox-e{width:5px;height:100%;right:-5px;top:0;cursor:e-resize}.telebox-nw{width:15px;height:15px;top:-5px;left:-5px;cursor:nw-resize}.telebox-ne{width:15px;height:15px;top:-5px;right:-5px;cursor:ne-resize}.telebox-se{width:15px;height:15px;bottom:-5px;right:-5px;cursor:se-resize}.telebox-sw{width:15px;height:15px;bottom:-5px;left:-5px;cursor:sw-resize}.telebox-track-mask{user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;position:fixed;top:0;left:0;z-index:2147483647;width:100%;height:100%;background:rgba(0,0,0,.0001);cursor:move}.telebox-cursor-n{cursor:n-resize}.telebox-cursor-s{cursor:s-resize}.telebox-cursor-w{cursor:w-resize}.telebox-cursor-e{cursor:e-resize}.telebox-cursor-nw{cursor:nw-resize}.telebox-cursor-ne{cursor:ne-resize}.telebox-cursor-se{cursor:se-resize}.telebox-cursor-sw{cursor:sw-resize}.telebox-maximized .telebox-resize-handles,.telebox-no-resize .telebox-resize-handles{display:none}.telebox-maximized{box-shadow:none;transition:none}.telebox-minimized{transition:width 50ms cubic-bezier(.4, .9, .71, 1.02),height 50ms cubic-bezier(.55, .82, .63, .95),opacity .6s cubic-bezier(.7, 0, .84, 0),transform .6s ease;opacity:0;pointer-events:none;user-select:none}.telebox-transforming{will-change:transform;transition:opacity .6s cubic-bezier(.7, 0, .84, 0)}.telebox-readonly .telebox-resize-handle{cursor:initial!important;pointer-events:none!important}.telebox-color-scheme-dark{color-scheme:dark}.telebox-color-scheme-dark .telebox-box-main{color:#e9e9e9;background:#212126;border-color:#43434d}.telebox-titlebar{user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;box-sizing:border-box;height:26px;display:flex;align-items:center;background:#fff;user-select:none;border-bottom:1px solid #eeeef7;touch-action:manipulation}.telebox-title-area{padding-left:16px;overflow:hidden;position:relative;height:100%;flex:1;display:flex;align-items:center}.telebox-title{user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;overflow:hidden;margin:0;padding:0;font-size:14px;font-weight:400;font-family:PingFangSC-Regular,PingFang SC;white-space:nowrap;word-break:keep-all;text-overflow:ellipsis;color:#191919}.telebox-drag-area{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;z-index:10}.telebox-titlebar-btns{padding-right:16px;white-space:nowrap;word-break:keep-all;margin-left:auto;font-size:0}.telebox-titlebar-btn{user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;width:22px;height:22px;padding:0;outline:0;border:none;background:0 0;cursor:pointer}.telebox-titlebar-btn~.telebox-titlebar-btn{margin-left:10px}.telebox-titlebar-btn-icon{width:22px;height:22px}.telebox-readonly .telebox-titlebar-btn{cursor:not-allowed}.telebox-titlebar-icon-minimize{background:center/cover no-repeat url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMjggMjgiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjh2MjhIMHoiIC8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjYSIgLz4KICAgICAgICA8L21hc2s+CiAgICAgICAgPHBhdGggZmlsbD0iI0E3QTdDQSIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNOSAxM2gxMHYxLjZIOXoiIG1hc2s9InVybCgjYikiIC8+CiAgICA8L2c+Cjwvc3ZnPgo=")}.telebox-titlebar-icon-maximize{background:center/cover no-repeat url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMjggMjgiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjh2MjhIMHoiIC8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjYSIgLz4KICAgICAgICA8L21hc2s+CiAgICAgICAgPGcgZmlsbD0iI0E3QTdDQSIgZmlsbC1ydWxlPSJub256ZXJvIiBtYXNrPSJ1cmwoI2IpIj4KICAgICAgICAgICAgPHBhdGgKICAgICAgICAgICAgICAgIGQ9Ik0yMC40ODEgMTcuMWgxLjJ2NC41ODFIMTcuMXYtMS4yaDMuMzgxVjE3LjF6bS0xNC4xOTA1LS4wMDloMS4ydjMuMzgxaDMuMzgwOXYxLjJoLTQuNTgxdi00LjU4MXpNMTcuMSA2LjE5MDVoNC41ODF2NC41ODA5aC0xLjJ2LTMuMzgxSDE3LjF2LTEuMnptLTEwLjcwMDguMTA4N2g0Ljc5ODV2MS4ySDcuNTk5MnYzLjU5ODVoLTEuMlY2LjI5OTJ6IiAvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==")}.telebox-titlebar-icon-maximize.is-active{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMjggMjgiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjZ2MjZIMHoiIC8+CiAgICAgICAgPHBhdGggaWQ9ImMiIGQ9Ik0yNi44NjkgMEwyOCAxLjEzMVYyNi44N0wyNi44NjkgMjhIMS4xM0wwIDI2Ljg3VjEuMTMxTDEuMTMgMHoiIC8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMSkiPgogICAgICAgICAgICA8bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIiAvPgogICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgIDxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0tNC42NDI5LTQuNjQyOWgzNS4yODU4djM1LjI4NThILTQuNjQyOXoiIG1hc2s9InVybCgjYikiIC8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8bWFzayBpZD0iZCIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNjIiAvPgogICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgIDxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0tMTcuNTE2OCAxNEwxNC0xNy41MTY4IDQ1LjUxNjggMTQgMTQgNDUuNTE2OHoiIG1hc2s9InVybCgjZCkiIC8+CiAgICAgICAgPC9nPgogICAgICAgIDxwYXRoIHN0cm9rZT0iI0E3QTdDQSIgc3Ryb2tlLXdpZHRoPSIxLjIiCiAgICAgICAgICAgIGQ9Ik0xMC4wODg2IDIxLjQ4NjV2LTMuNjk2Nkg2LjM5Mk0yMS4zODU1IDEwLjE4OTVoLTMuNjk2NlY2LjQ5M00yMS40MDIgMTcuNzk4M2gtMy42OTY2djMuNjk2Nk0xMC4yNTAzIDYuMTQ5OHYzLjg5ODVINi4zNTE3IiAvPgogICAgPC9nPgo8L3N2Zz4K")}.telebox-titlebar-icon-close{background:center/cover no-repeat url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyOCAyOCI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iI0E3QTdDQSIgc3Ryb2tlLXdpZHRoPSIxLjQiPgogICAgICAgIDxwYXRoIGQ9Ik04LjM1MyAyMC4zMzIxTDIwLjMzMiA4LjM1M00yMC4zMzIyIDIwLjMzMjFMOC4zNTMgOC4zNTMiIC8+CiAgICA8L2c+Cjwvc3ZnPgo=")}.telebox-color-scheme-dark{color-scheme:dark}.telebox-color-scheme-dark .telebox-title{color:#e9e9e9}.telebox-color-scheme-dark .telebox-titlebar{color:#e9e9e9;background:#43434d;border-bottom:none}.telebox-collector{user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;visibility:hidden;display:block;position:absolute;z-index:200;width:40px;height:40px;margin:0;padding:0;border:none;outline:0;font-size:0;border-radius:50%;background:#fff;box-shadow:0 2px 6px 0 rgba(47,65,146,.15);cursor:pointer;user-select:none;pointer-events:none;background-repeat:no-repeat;background-size:18px 16px;background-position:center;-webkit-tap-highlight-color:transparent}.telebox-collector-visible{visibility:visible;pointer-events:initial}.telebox-collector-readonly{cursor:not-allowed}.telebox-color-scheme-dark{color-scheme:dark}.telebox-color-scheme-dark.telebox-collector{background-color:#43434d}.telebox-max-titlebar{user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;display:none;position:absolute;top:0;left:0;z-index:50000}.telebox-max-titlebar .telebox-title{display:none}.telebox-max-titlebar.telebox-max-titlebar-single-title .telebox-titles{display:none}.telebox-max-titlebar.telebox-max-titlebar-single-title .telebox-title{display:block}.telebox-max-titlebar-maximized{display:flex}.telebox-titles{height:100%;margin:0;overflow-y:hidden;overflow-x:scroll;overflow-x:overlay;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;scrollbar-width:auto}.telebox-titles::-webkit-scrollbar{height:8px;width:8px}.telebox-titles::-webkit-scrollbar-track{background-color:transparent}.telebox-titles::-webkit-scrollbar-thumb{background-color:rgba(238,238,247,.8);background-color:transparent;border-radius:4px;transition:background-color .4s}.telebox-titles:hover::-webkit-scrollbar-thumb{background-color:rgba(238,238,247,.8)}.telebox-titles::-webkit-scrollbar-thumb:hover{background-color:#eeeef7}.telebox-titles::-webkit-scrollbar-thumb:active{background-color:#eeeef7}.telebox-titles::-webkit-scrollbar-thumb:vertical{min-height:50px}.telebox-titles::-webkit-scrollbar-thumb:horizontal{min-width:50px}.telebox-titles-content{height:100%;display:flex;flex-wrap:nowrap;align-items:center;padding:0}.telebox-titles-tab{height:100%;overflow:hidden;max-width:182px;min-width:50px;padding:0 26px 0 16px;outline:0;font-size:13px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all;border:none;border-right:1px solid #e5e5f0;color:#7b88a0;background:0 0;cursor:pointer;user-select:none}.telebox-titles-tab-focus{color:#357bf6}.telebox-readonly .telebox-titles-tab{cursor:not-allowed}.telebox-color-scheme-dark{color-scheme:dark}.telebox-color-scheme-dark.telebox-titlebar{color:#e9e9e9;background:#43434d;border-bottom:none}.telebox-color-scheme-dark .telebox-titles-tab{border-right-color:#7b88a0}.telebox-color-scheme-dark .telebox-title{color:#e9e9e9}
1
+ .tele-fancy-scrollbar {
2
+ overscroll-behavior: contain;
3
+ overflow: auto;
4
+ overflow-y: scroll;
5
+ overflow-y: overlay;
6
+ -webkit-overflow-scrolling: touch;
7
+ -ms-overflow-style: -ms-autohiding-scrollbar;
8
+ scrollbar-width: auto;
9
+ }
10
+ .tele-fancy-scrollbar::-webkit-scrollbar {
11
+ height: 8px;
12
+ width: 8px;
13
+ }
14
+ .tele-fancy-scrollbar::-webkit-scrollbar-track {
15
+ background-color: transparent;
16
+ }
17
+ .tele-fancy-scrollbar::-webkit-scrollbar-thumb {
18
+ background-color: rgba(68, 78, 96, 0.1);
19
+ background-color: transparent;
20
+ border-radius: 4px;
21
+ transition: background-color 0.4s;
22
+ }
23
+ .tele-fancy-scrollbar:hover::-webkit-scrollbar-thumb {
24
+ background-color: rgba(68, 78, 96, 0.1);
25
+ }
26
+ .tele-fancy-scrollbar::-webkit-scrollbar-thumb:hover {
27
+ background-color: rgba(68, 78, 96, 0.2);
28
+ }
29
+ .tele-fancy-scrollbar::-webkit-scrollbar-thumb:active {
30
+ background-color: rgba(68, 78, 96, 0.2);
31
+ }
32
+ .tele-fancy-scrollbar::-webkit-scrollbar-thumb:vertical {
33
+ min-height: 50px;
34
+ }
35
+ .tele-fancy-scrollbar::-webkit-scrollbar-thumb:horizontal {
36
+ min-width: 50px;
37
+ }.telebox-box {
38
+ position: absolute;
39
+ top: 0;
40
+ left: 0;
41
+ z-index: 100;
42
+ transition: width 0.4s cubic-bezier(0.4, 0.9, 0.71, 1.02), height 0.4s cubic-bezier(0.55, 0.82, 0.63, 0.95), opacity 0.6s cubic-bezier(0.7, 0, 0.84, 0), transform 0.4s ease;
43
+ }
44
+
45
+ .telebox-box-main {
46
+ position: relative;
47
+ width: 100%;
48
+ height: 100%;
49
+ display: flex;
50
+ flex-direction: column;
51
+ overflow: hidden;
52
+ background: #f9f9fc;
53
+ box-shadow: 0px 4px 10px 0px rgba(47, 65, 146, 0.15);
54
+ border-radius: 6px;
55
+ border: 1px solid #e3e3ec;
56
+ }
57
+
58
+ .telebox-titlebar-wrap {
59
+ flex-shrink: 0;
60
+ position: relative;
61
+ z-index: 1;
62
+ }
63
+
64
+ .telebox-content-wrap {
65
+ flex: 1;
66
+ width: 100%;
67
+ overflow: hidden;
68
+ display: flex;
69
+ justify-content: center;
70
+ align-items: center;
71
+ }
72
+
73
+ .telebox-content {
74
+ width: 100%;
75
+ height: 100%;
76
+ position: relative;
77
+ }
78
+
79
+ .telebox-footer-wrap {
80
+ flex-shrink: 0;
81
+ display: flex;
82
+ flex-direction: column;
83
+ }
84
+
85
+ .telebox-footer-wrap::before {
86
+ content: "";
87
+ display: block;
88
+ flex: 1;
89
+ }
90
+
91
+ .telebox-resize-handle {
92
+ user-select: none;
93
+ -webkit-touch-callout: none;
94
+ -webkit-user-select: none;
95
+ position: absolute;
96
+ z-index: 2147483647;
97
+ }
98
+
99
+ .telebox-n {
100
+ width: 100%;
101
+ height: 5px;
102
+ left: 0;
103
+ top: -5px;
104
+ cursor: n-resize;
105
+ }
106
+
107
+ .telebox-s {
108
+ width: 100%;
109
+ height: 5px;
110
+ left: 0;
111
+ bottom: -5px;
112
+ cursor: s-resize;
113
+ }
114
+
115
+ .telebox-w {
116
+ width: 5px;
117
+ height: 100%;
118
+ left: -5px;
119
+ top: 0;
120
+ cursor: w-resize;
121
+ }
122
+
123
+ .telebox-e {
124
+ width: 5px;
125
+ height: 100%;
126
+ right: -5px;
127
+ top: 0;
128
+ cursor: e-resize;
129
+ }
130
+
131
+ .telebox-nw {
132
+ width: 15px;
133
+ height: 15px;
134
+ top: -5px;
135
+ left: -5px;
136
+ cursor: nw-resize;
137
+ }
138
+
139
+ .telebox-ne {
140
+ width: 15px;
141
+ height: 15px;
142
+ top: -5px;
143
+ right: -5px;
144
+ cursor: ne-resize;
145
+ }
146
+
147
+ .telebox-se {
148
+ width: 15px;
149
+ height: 15px;
150
+ bottom: -5px;
151
+ right: -5px;
152
+ cursor: se-resize;
153
+ }
154
+
155
+ .telebox-sw {
156
+ width: 15px;
157
+ height: 15px;
158
+ bottom: -5px;
159
+ left: -5px;
160
+ cursor: sw-resize;
161
+ }
162
+
163
+ .telebox-track-mask {
164
+ user-select: none;
165
+ -webkit-touch-callout: none;
166
+ -webkit-user-select: none;
167
+ position: fixed;
168
+ top: 0;
169
+ left: 0;
170
+ z-index: 2147483647;
171
+ width: 100%;
172
+ height: 100%;
173
+ background: rgba(0, 0, 0, 0.0001);
174
+ cursor: move;
175
+ }
176
+
177
+ .telebox-cursor-n {
178
+ cursor: n-resize;
179
+ }
180
+
181
+ .telebox-cursor-s {
182
+ cursor: s-resize;
183
+ }
184
+
185
+ .telebox-cursor-w {
186
+ cursor: w-resize;
187
+ }
188
+
189
+ .telebox-cursor-e {
190
+ cursor: e-resize;
191
+ }
192
+
193
+ .telebox-cursor-nw {
194
+ cursor: nw-resize;
195
+ }
196
+
197
+ .telebox-cursor-ne {
198
+ cursor: ne-resize;
199
+ }
200
+
201
+ .telebox-cursor-se {
202
+ cursor: se-resize;
203
+ }
204
+
205
+ .telebox-cursor-sw {
206
+ cursor: sw-resize;
207
+ }
208
+
209
+ .telebox-maximized .telebox-resize-handles,
210
+ .telebox-no-resize .telebox-resize-handles {
211
+ display: none;
212
+ }
213
+
214
+ .telebox-maximized {
215
+ box-shadow: none;
216
+ transition: none;
217
+ }
218
+
219
+ .telebox-minimized {
220
+ transition: width 0.05s cubic-bezier(0.4, 0.9, 0.71, 1.02), height 0.05s cubic-bezier(0.55, 0.82, 0.63, 0.95), opacity 0.6s cubic-bezier(0.7, 0, 0.84, 0), transform 0.6s ease;
221
+ opacity: 0;
222
+ pointer-events: none;
223
+ user-select: none;
224
+ }
225
+
226
+ .telebox-transforming {
227
+ will-change: transform;
228
+ transition: opacity 0.6s cubic-bezier(0.7, 0, 0.84, 0);
229
+ }
230
+
231
+ .telebox-readonly .telebox-resize-handle {
232
+ cursor: initial !important;
233
+ pointer-events: none !important;
234
+ }
235
+
236
+ .telebox-color-scheme-dark {
237
+ color-scheme: dark;
238
+ }
239
+
240
+ .telebox-color-scheme-dark .telebox-box-main {
241
+ color: #e9e9e9;
242
+ background: #212126;
243
+ border-color: #43434d;
244
+ }.telebox-titlebar {
245
+ user-select: none;
246
+ -webkit-touch-callout: none;
247
+ -webkit-user-select: none;
248
+ box-sizing: border-box;
249
+ height: 26px;
250
+ display: flex;
251
+ align-items: center;
252
+ background: #fff;
253
+ user-select: none;
254
+ border-bottom: 1px solid #eeeef7;
255
+ touch-action: manipulation;
256
+ }
257
+
258
+ .telebox-title-area {
259
+ padding-left: 16px;
260
+ overflow: hidden;
261
+ position: relative;
262
+ height: 100%;
263
+ flex: 1;
264
+ display: flex;
265
+ align-items: center;
266
+ }
267
+
268
+ .telebox-title {
269
+ user-select: none;
270
+ -webkit-touch-callout: none;
271
+ -webkit-user-select: none;
272
+ overflow: hidden;
273
+ margin: 0;
274
+ padding: 0;
275
+ font-size: 14px;
276
+ font-weight: 400;
277
+ font-family: PingFangSC-Regular, PingFang SC;
278
+ white-space: nowrap;
279
+ word-break: keep-all;
280
+ text-overflow: ellipsis;
281
+ color: #191919;
282
+ }
283
+
284
+ .telebox-drag-area {
285
+ position: absolute;
286
+ top: 0;
287
+ left: 0;
288
+ right: 0;
289
+ bottom: 0;
290
+ margin: auto;
291
+ z-index: 10;
292
+ }
293
+
294
+ .telebox-titlebar-btns {
295
+ padding-right: 16px;
296
+ white-space: nowrap;
297
+ word-break: keep-all;
298
+ margin-left: auto;
299
+ font-size: 0;
300
+ }
301
+
302
+ .telebox-titlebar-btn {
303
+ user-select: none;
304
+ -webkit-touch-callout: none;
305
+ -webkit-user-select: none;
306
+ width: 22px;
307
+ height: 22px;
308
+ padding: 0;
309
+ outline: none;
310
+ border: none;
311
+ background: transparent;
312
+ cursor: pointer;
313
+ }
314
+
315
+ .telebox-titlebar-btn ~ .telebox-titlebar-btn {
316
+ margin-left: 10px;
317
+ }
318
+
319
+ .telebox-titlebar-btn-icon {
320
+ width: 22px;
321
+ height: 22px;
322
+ }
323
+
324
+ .telebox-readonly .telebox-titlebar-btn {
325
+ cursor: not-allowed;
326
+ }
327
+
328
+ .telebox-titlebar-icon-minimize {
329
+ background: center/cover no-repeat url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMjggMjgiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjh2MjhIMHoiIC8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjYSIgLz4KICAgICAgICA8L21hc2s+CiAgICAgICAgPHBhdGggZmlsbD0iI0E3QTdDQSIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNOSAxM2gxMHYxLjZIOXoiIG1hc2s9InVybCgjYikiIC8+CiAgICA8L2c+Cjwvc3ZnPgo=");
330
+ }
331
+
332
+ .telebox-titlebar-icon-maximize {
333
+ background: center/cover no-repeat url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMjggMjgiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjh2MjhIMHoiIC8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjYSIgLz4KICAgICAgICA8L21hc2s+CiAgICAgICAgPGcgZmlsbD0iI0E3QTdDQSIgZmlsbC1ydWxlPSJub256ZXJvIiBtYXNrPSJ1cmwoI2IpIj4KICAgICAgICAgICAgPHBhdGgKICAgICAgICAgICAgICAgIGQ9Ik0yMC40ODEgMTcuMWgxLjJ2NC41ODFIMTcuMXYtMS4yaDMuMzgxVjE3LjF6bS0xNC4xOTA1LS4wMDloMS4ydjMuMzgxaDMuMzgwOXYxLjJoLTQuNTgxdi00LjU4MXpNMTcuMSA2LjE5MDVoNC41ODF2NC41ODA5aC0xLjJ2LTMuMzgxSDE3LjF2LTEuMnptLTEwLjcwMDguMTA4N2g0Ljc5ODV2MS4ySDcuNTk5MnYzLjU5ODVoLTEuMlY2LjI5OTJ6IiAvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==");
334
+ }
335
+
336
+ .telebox-titlebar-icon-maximize.is-active {
337
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMjggMjgiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjZ2MjZIMHoiIC8+CiAgICAgICAgPHBhdGggaWQ9ImMiIGQ9Ik0yNi44NjkgMEwyOCAxLjEzMVYyNi44N0wyNi44NjkgMjhIMS4xM0wwIDI2Ljg3VjEuMTMxTDEuMTMgMHoiIC8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMSkiPgogICAgICAgICAgICA8bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIiAvPgogICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgIDxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0tNC42NDI5LTQuNjQyOWgzNS4yODU4djM1LjI4NThILTQuNjQyOXoiIG1hc2s9InVybCgjYikiIC8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8bWFzayBpZD0iZCIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNjIiAvPgogICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgIDxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0tMTcuNTE2OCAxNEwxNC0xNy41MTY4IDQ1LjUxNjggMTQgMTQgNDUuNTE2OHoiIG1hc2s9InVybCgjZCkiIC8+CiAgICAgICAgPC9nPgogICAgICAgIDxwYXRoIHN0cm9rZT0iI0E3QTdDQSIgc3Ryb2tlLXdpZHRoPSIxLjIiCiAgICAgICAgICAgIGQ9Ik0xMC4wODg2IDIxLjQ4NjV2LTMuNjk2Nkg2LjM5Mk0yMS4zODU1IDEwLjE4OTVoLTMuNjk2NlY2LjQ5M00yMS40MDIgMTcuNzk4M2gtMy42OTY2djMuNjk2Nk0xMC4yNTAzIDYuMTQ5OHYzLjg5ODVINi4zNTE3IiAvPgogICAgPC9nPgo8L3N2Zz4K");
338
+ }
339
+
340
+ .telebox-titlebar-icon-close {
341
+ background: center/cover no-repeat url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyOCAyOCI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iI0E3QTdDQSIgc3Ryb2tlLXdpZHRoPSIxLjQiPgogICAgICAgIDxwYXRoIGQ9Ik04LjM1MyAyMC4zMzIxTDIwLjMzMiA4LjM1M00yMC4zMzIyIDIwLjMzMjFMOC4zNTMgOC4zNTMiIC8+CiAgICA8L2c+Cjwvc3ZnPgo=");
342
+ }
343
+
344
+ .telebox-color-scheme-dark {
345
+ color-scheme: dark;
346
+ }
347
+
348
+ .telebox-color-scheme-dark .telebox-title {
349
+ color: #e9e9e9;
350
+ }
351
+
352
+ .telebox-color-scheme-dark .telebox-titlebar {
353
+ color: #e9e9e9;
354
+ background: #43434d;
355
+ border-bottom: none;
356
+ }.telebox-collector {
357
+ user-select: none;
358
+ -webkit-touch-callout: none;
359
+ -webkit-user-select: none;
360
+ visibility: hidden;
361
+ display: block;
362
+ position: absolute;
363
+ z-index: 200;
364
+ width: 40px;
365
+ height: 40px;
366
+ margin: 0;
367
+ padding: 0;
368
+ border: none;
369
+ outline: none;
370
+ font-size: 0;
371
+ border-radius: 50%;
372
+ background: #fff;
373
+ box-shadow: 0px 2px 6px 0px rgba(47, 65, 146, 0.15);
374
+ cursor: pointer;
375
+ user-select: none;
376
+ pointer-events: none;
377
+ background-repeat: no-repeat;
378
+ background-size: 18px 16px;
379
+ background-position: center;
380
+ -webkit-tap-highlight-color: transparent;
381
+ }
382
+
383
+ .telebox-collector-visible {
384
+ visibility: visible;
385
+ pointer-events: initial;
386
+ }
387
+
388
+ .telebox-collector-readonly {
389
+ cursor: not-allowed;
390
+ }
391
+
392
+ .telebox-color-scheme-dark {
393
+ color-scheme: dark;
394
+ }
395
+
396
+ .telebox-color-scheme-dark.telebox-collector {
397
+ background-color: #43434d;
398
+ }.telebox-max-titlebar {
399
+ user-select: none;
400
+ -webkit-touch-callout: none;
401
+ -webkit-user-select: none;
402
+ display: none;
403
+ position: absolute;
404
+ top: 0;
405
+ left: 0;
406
+ z-index: 50000;
407
+ }
408
+ .telebox-max-titlebar .telebox-title {
409
+ display: none;
410
+ }
411
+ .telebox-max-titlebar.telebox-max-titlebar-single-title .telebox-titles {
412
+ display: none;
413
+ }
414
+ .telebox-max-titlebar.telebox-max-titlebar-single-title .telebox-title {
415
+ display: block;
416
+ }
417
+ .telebox-max-titlebar-maximized {
418
+ display: flex;
419
+ }
420
+ .telebox-titles {
421
+ height: 100%;
422
+ margin: 0;
423
+ overflow-y: hidden;
424
+ overflow-x: scroll;
425
+ overflow-x: overlay;
426
+ -webkit-overflow-scrolling: touch;
427
+ -ms-overflow-style: -ms-autohiding-scrollbar;
428
+ scrollbar-width: auto;
429
+ }
430
+ .telebox-titles::-webkit-scrollbar {
431
+ height: 8px;
432
+ width: 8px;
433
+ }
434
+ .telebox-titles::-webkit-scrollbar-track {
435
+ background-color: transparent;
436
+ }
437
+ .telebox-titles::-webkit-scrollbar-thumb {
438
+ background-color: rgba(238, 238, 247, 0.8);
439
+ background-color: transparent;
440
+ border-radius: 4px;
441
+ transition: background-color 0.4s;
442
+ }
443
+ .telebox-titles:hover::-webkit-scrollbar-thumb {
444
+ background-color: rgba(238, 238, 247, 0.8);
445
+ }
446
+ .telebox-titles::-webkit-scrollbar-thumb:hover {
447
+ background-color: #eeeef7;
448
+ }
449
+ .telebox-titles::-webkit-scrollbar-thumb:active {
450
+ background-color: #eeeef7;
451
+ }
452
+ .telebox-titles::-webkit-scrollbar-thumb:vertical {
453
+ min-height: 50px;
454
+ }
455
+ .telebox-titles::-webkit-scrollbar-thumb:horizontal {
456
+ min-width: 50px;
457
+ }
458
+ .telebox-titles-content {
459
+ height: 100%;
460
+ display: flex;
461
+ flex-wrap: nowrap;
462
+ align-items: center;
463
+ padding: 0;
464
+ }
465
+ .telebox-titles-tab {
466
+ height: 100%;
467
+ overflow: hidden;
468
+ max-width: 182px;
469
+ min-width: 50px;
470
+ padding: 0 26px 0 16px;
471
+ outline: none;
472
+ font-size: 13px;
473
+ font-family: PingFangSC-Regular, PingFang SC;
474
+ font-weight: 400;
475
+ text-overflow: ellipsis;
476
+ white-space: nowrap;
477
+ word-break: keep-all;
478
+ border: none;
479
+ border-right: 1px solid #e5e5f0;
480
+ color: #7b88a0;
481
+ background: transparent;
482
+ cursor: pointer;
483
+ user-select: none;
484
+ }
485
+ .telebox-titles-tab-focus {
486
+ color: #357bf6;
487
+ }
488
+ .telebox-readonly .telebox-titles-tab {
489
+ cursor: not-allowed;
490
+ }
491
+ .telebox-color-scheme-dark {
492
+ color-scheme: dark;
493
+ }
494
+ .telebox-color-scheme-dark.telebox-titlebar {
495
+ color: #e9e9e9;
496
+ background: #43434d;
497
+ border-bottom: none;
498
+ }
499
+ .telebox-color-scheme-dark .telebox-titles-tab {
500
+ border-right-color: #7b88a0;
501
+ }
502
+ .telebox-color-scheme-dark .telebox-title {
503
+ color: #e9e9e9;
504
+ }