Skip to content

Commit 5591786

Browse files
committed
Optimized css
1 parent 7b5cf20 commit 5591786

28 files changed

+57
-268
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "2.0.49",
4+
"version": "2.0.50",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

src/components/vue-ui-3d-bar.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,17 +280,13 @@ defineExpose({
280280
</template>
281281

282282
<style scoped>
283+
@import "../vue-data-ui.css";
284+
283285
.vue-ui-3d-bar *{
284286
transition: unset;
285287
}
286288
.vue-ui-3d-bar {
287289
user-select: none;
288290
position: relative;
289291
}
290-
.vue-data-ui-fullscreen--on {
291-
height: 100% !important;
292-
}
293-
.vue-data-ui-fullscreen--off {
294-
max-width: 100%;
295-
}
296292
</style>

src/components/vue-ui-age-pyramid.vue

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,8 @@ defineExpose({
655655
</template>
656656

657657
<style scoped>
658+
@import "../vue-data-ui.css";
659+
658660
.vue-ui-age-pyramid *{
659661
transition: unset;
660662
}
@@ -699,15 +701,4 @@ defineExpose({
699701
z-index:1;
700702
font-variant-numeric: tabular-nums;
701703
}
702-
703-
.vue-data-ui-fullscreen--on {
704-
height: 90% !important;
705-
margin: 0 auto !important;
706-
}
707-
.vue-data-ui-fullscreen--off {
708-
max-width: 100%;
709-
}
710-
.vue-data-ui-wrapper-fullscreen {
711-
overflow: auto;
712-
}
713704
</style>

src/components/vue-ui-candlestick.vue

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,8 @@ defineExpose({
712712
</template>
713713

714714
<style scoped>
715+
@import "../vue-data-ui.css";
716+
715717
.vue-ui-candlestick *{
716718
transition: unset;
717719
}
@@ -851,18 +853,4 @@ input[type="range"]:active::-webkit-slider-thumb{
851853
background-color: #CCCCCC;
852854
border: 3px solid #858585;
853855
}
854-
855-
.vue-ui-dna * {
856-
animation: none !important;
857-
}
858-
.vue-data-ui-fullscreen--on {
859-
height: 80% !important;
860-
margin: 0 auto !important;
861-
}
862-
.vue-data-ui-fullscreen--off {
863-
max-width: 100%;
864-
}
865-
.vue-data-ui-wrapper-fullscreen {
866-
overflow: auto;
867-
}
868856
</style>

src/components/vue-ui-chestnut.vue

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,8 @@ defineExpose({
11381138
</template>
11391139

11401140
<style scoped lang="scss">
1141+
@import "../vue-data-ui.css";
1142+
11411143
.vue-ui-chestnut *{
11421144
transition: unset;
11431145
}
@@ -1196,15 +1198,6 @@ defineExpose({
11961198
opacity: 1;
11971199
}
11981200
}
1199-
.vue-data-ui-fullscreen--on {
1200-
height: 100% !important;
1201-
}
1202-
.vue-data-ui-fullscreen--off {
1203-
max-width: 100%;
1204-
}
1205-
.vue-data-ui-wrapper-fullscreen {
1206-
overflow: auto;
1207-
}
12081201
12091202
.vue-ui-chestnut-table {
12101203
width: 100%;

src/components/vue-ui-donut-evolution.vue

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,8 @@ defineExpose({
856856
</template>
857857
858858
<style scoped>
859+
@import "../vue-data-ui.css";
860+
859861
.vue-ui-donut-evolution *{
860862
transition: unset;
861863
transition: opacity 0.5s ease-in-out;
@@ -895,14 +897,4 @@ defineExpose({
895897
opacity: 1;
896898
}
897899
}
898-
.vue-data-ui-fullscreen--on {
899-
height: 80% !important;
900-
margin: 0 auto !important;
901-
}
902-
.vue-data-ui-fullscreen--off {
903-
max-width: 100%;
904-
}
905-
.vue-data-ui-wrapper-fullscreen {
906-
overflow: auto;
907-
}
908900
</style>

src/components/vue-ui-donut.vue

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ defineExpose({
712712
</template>
713713

714714
<style scoped>
715+
@import "../vue-data-ui.css";
715716
.vue-ui-donut *{
716717
transition: unset;
717718
}
@@ -748,22 +749,8 @@ path {
748749
width:100%;
749750
}
750751
751-
.vue-ui-dna * {
752-
animation: none !important;
753-
}
754-
755752
.vue-ui-donut-blur {
756753
filter: blur(3px) opacity(50%) grayscale(100%);
757754
transition: all 0.15s ease-in-out;
758755
}
759-
.vue-data-ui-fullscreen--on {
760-
height: 80% !important;
761-
margin: 0 auto !important;
762-
}
763-
.vue-data-ui-fullscreen--off {
764-
max-width: 100%;
765-
}
766-
.vue-data-ui-wrapper-fullscreen {
767-
overflow: auto;
768-
}
769756
</style>

src/components/vue-ui-gauge.vue

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ defineExpose({
550550
</template>
551551

552552
<style scoped>
553+
@import "../vue-data-ui.css";
553554
.vue-ui-gauge *{
554555
transition: unset;
555556
}
@@ -592,14 +593,4 @@ defineExpose({
592593
padding:12px;
593594
z-index:1;
594595
}
595-
.vue-data-ui-fullscreen--on {
596-
height: 80% !important;
597-
margin: 0 auto !important;
598-
}
599-
.vue-data-ui-fullscreen--off {
600-
max-width: 100%;
601-
}
602-
.vue-data-ui-wrapper-fullscreen {
603-
overflow: auto;
604-
}
605596
</style>

src/components/vue-ui-heatmap.vue

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,8 @@ defineExpose({
588588
</template>
589589

590590
<style scoped lang="scss">
591+
@import "../vue-data-ui.css";
592+
591593
.vue-ui-heatmap *{
592594
transition: unset;
593595
}
@@ -639,15 +641,6 @@ defineExpose({
639641
margin-top: 24px;
640642
position: relative;
641643
}
642-
.vue-data-ui-fullscreen--on {
643-
height: 80% !important;
644-
}
645-
.vue-data-ui-fullscreen--off {
646-
max-width: 100%;
647-
}
648-
.vue-data-ui-wrapper-fullscreen {
649-
overflow: auto;
650-
}
651644
652645
.vue-ui-data-table thead {
653646
position: sticky;

0 commit comments

Comments
 (0)