@antv/s2-vue 1.0.2 → 1.1.0-alpha.1

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/esm/style.css CHANGED
@@ -98,8 +98,11 @@
98
98
  }
99
99
  .antv-s2-tooltip-container {
100
100
  position: fixed;
101
+ user-select: text;
101
102
  min-width: 200px;
102
103
  max-width: 640px;
104
+ max-height: 100vh;
105
+ overflow: auto;
103
106
  z-index: 1024;
104
107
  display: inline-block;
105
108
  background: rgba(255, 255, 255, 0.96);
@@ -251,3 +254,57 @@
251
254
  white-space: nowrap;
252
255
  max-width: 64px;
253
256
  }
257
+ .s2-drill-down[data-v-6eb1ccd0] {
258
+ width: 260px;
259
+ min-height: 20px;
260
+ position: relative;
261
+ }
262
+ .s2-drill-down-header[data-v-6eb1ccd0] {
263
+ display: flex;
264
+ height: 32px;
265
+ font-size: 14px;
266
+ padding: 0 16px;
267
+ margin-top: 16px;
268
+ }
269
+ .s2-drill-down-header button[data-v-6eb1ccd0] {
270
+ position: absolute;
271
+ right: 0;
272
+ top: -4px;
273
+ font-size: 12px;
274
+ color: #1890ff;
275
+ letter-spacing: -0.2px;
276
+ line-height: 20px;
277
+ }
278
+ .s2-drill-down-search[data-v-6eb1ccd0] {
279
+ height: 24px;
280
+ width: 228px !important;
281
+ margin: 0 16px;
282
+ border: 1px solid rgba(0, 0, 0, 0.15);
283
+ border-radius: 2px;
284
+ background-color: #fff;
285
+ }
286
+ .s2-drill-down-search input[data-v-6eb1ccd0],
287
+ .s2-drill-down-search span[data-v-6eb1ccd0] {
288
+ font-size: 12px;
289
+ }
290
+ .s2-drill-down-menu[data-v-6eb1ccd0] {
291
+ max-height: 314px;
292
+ overflow-y: auto;
293
+ overflow-x: hidden;
294
+ }
295
+ .s2-drill-down-menu-item[data-v-6eb1ccd0] {
296
+ height: 32px !important;
297
+ line-height: 32px !important;
298
+ font-size: 12px;
299
+ opacity: 0.65;
300
+ }
301
+ .s2-drill-down-menu-item span[data-v-6eb1ccd0]:last-child {
302
+ line-height: 32px;
303
+ }
304
+ .s2-drill-down-menu-item svg[data-v-6eb1ccd0] {
305
+ margin-right: 8px;
306
+ }
307
+ .s2-drill-down-empty[data-v-6eb1ccd0] {
308
+ padding: 18px 18px 0;
309
+ font-size: 12px;
310
+ }