vft 0.0.51 → 0.0.55
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/attributes.json +1 -0
- package/dist/index.css +1 -1
- package/es/component.js +0 -2
- package/es/components/avatar/avatar.vue.d.ts +2 -2
- package/es/components/avatar/avatar.vue2.js +19 -24
- package/es/components/avatar/index.d.ts +2 -2
- package/es/components/back-top/back-top.vue2.js +4 -3
- package/es/components/context-menu/context-menu.vue2.js +46 -41
- package/es/components/divider/divider.vue.d.ts +2 -2
- package/es/components/divider/index.d.ts +2 -2
- package/es/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
- package/es/components/dropdown/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/dropdown.vue.d.ts +3 -3
- package/es/components/dropdown/index.d.ts +5 -5
- package/es/components/empty/empty.vue.d.ts +2 -2
- package/es/components/empty/index.d.ts +2 -2
- package/es/components/form/form.vue.d.ts +4 -4
- package/es/components/form/index.d.ts +4 -4
- package/es/components/icon-text/icon-text.vue2.js +31 -24
- package/es/components/md-container/md-container.vue2.js +74 -68
- package/es/components/md-container/use/useCopyCode.js +3 -3
- package/es/components/menu/menu-item.vue2.js +4 -3
- package/es/components/menu/sub-menu.vue2.js +4 -3
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +34 -36
- package/es/components/multiple-tabs/tab-content.vue2.js +18 -84
- package/es/components/popper/composables/use-content.d.ts +4 -4
- package/es/components/popper/index.d.ts +2 -2
- package/es/components/popper/popper.vue.d.ts +2 -2
- package/es/components/result/result.vue2.js +4 -3
- package/es/components/search/search.vue2.js +4 -3
- package/es/components/select-v2/index.d.ts +12 -12
- package/es/components/select-v2/select.vue.d.ts +6 -6
- package/es/components/select-v2/useSelect.d.ts +3 -3
- package/es/components/side-menu/side-menu.vue2.js +3 -2
- package/es/components/tabs/index.d.ts +10 -10
- package/es/components/tabs/tab-nav.vue.d.ts +6 -7
- package/es/components/tabs/tab-nav.vue2.js +42 -38
- package/es/components/tabs/tabs.vue.d.ts +11 -11
- package/es/components/tabs/tabs.vue2.js +43 -48
- package/es/components/tooltip/index.d.ts +2 -2
- package/es/components/tooltip/tooltip.vue.d.ts +2 -2
- package/es/components/virtual-list/builders/build-grid.d.ts +1 -1
- package/es/components/virtual-list/builders/build-list.d.ts +1 -1
- package/es/components/virtual-list/components/dynamic-size-grid.d.ts +1 -1
- package/es/components/virtual-list/components/dynamic-size-list.d.ts +1 -1
- package/es/components/virtual-list/components/fixed-size-grid.d.ts +1 -1
- package/es/components/virtual-list/components/fixed-size-list.d.ts +1 -1
- package/es/hooks/use-popper/index.d.ts +4 -4
- package/es/package.json.js +1 -1
- package/global.d.ts +28 -3
- package/lib/components/avatar/avatar.vue.d.ts +2 -2
- package/lib/components/avatar/avatar.vue2.cjs +1 -1
- package/lib/components/avatar/index.d.ts +2 -2
- package/lib/components/back-top/back-top.vue2.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/divider/divider.vue.d.ts +2 -2
- package/lib/components/divider/index.d.ts +2 -2
- package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/dropdown.vue.d.ts +3 -3
- package/lib/components/dropdown/index.d.ts +5 -5
- package/lib/components/empty/empty.vue.d.ts +2 -2
- package/lib/components/empty/index.d.ts +2 -2
- package/lib/components/form/form.vue.d.ts +4 -4
- package/lib/components/form/index.d.ts +4 -4
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/use/useCopyCode.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
- package/lib/components/popper/composables/use-content.d.ts +4 -4
- package/lib/components/popper/index.d.ts +2 -2
- package/lib/components/popper/popper.vue.d.ts +2 -2
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select-v2/index.d.ts +12 -12
- package/lib/components/select-v2/select.vue.d.ts +6 -6
- package/lib/components/select-v2/useSelect.d.ts +3 -3
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/tabs/index.d.ts +10 -10
- package/lib/components/tabs/tab-nav.vue.d.ts +6 -7
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +11 -11
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/tooltip/index.d.ts +2 -2
- package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
- package/lib/components/virtual-list/builders/build-grid.d.ts +1 -1
- package/lib/components/virtual-list/builders/build-list.d.ts +1 -1
- package/lib/components/virtual-list/components/dynamic-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/components/dynamic-size-list.d.ts +1 -1
- package/lib/components/virtual-list/components/fixed-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/components/fixed-size-list.d.ts +1 -1
- package/lib/hooks/use-popper/index.d.ts +4 -4
- package/lib/package.json.cjs +1 -1
- package/package.json +6 -1
- package/tags.json +1 -0
- package/theme-style/dark/css-vars.css +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/button.scss +1 -2
- package/theme-style/src/common/var.scss +19 -20
- package/theme-style/src/context-menu.scss +12 -0
- package/theme-style/src/dark/css-vars.scss +26 -0
- package/theme-style/src/dark/var.scss +61 -17
- package/theme-style/src/icon-text.scss +2 -0
- package/theme-style/src/logo.scss +1 -1
- package/theme-style/src/md/table.scss +5 -0
- package/theme-style/src/md-container.scss +42 -2
- package/theme-style/src/menu.scss +3 -3
- package/theme-style/src/side-menu.scss +2 -2
- package/theme-style/src/tabs.scss +70 -70
- package/theme-style/vft-button.css +1 -1
- package/theme-style/vft-context-menu.css +1 -0
- package/theme-style/vft-footer-layout.css +1 -1
- package/theme-style/vft-header-layout.css +1 -1
- package/theme-style/vft-icon-text.css +1 -1
- package/theme-style/vft-logo.css +1 -1
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-multiple-tabs.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/theme-style/vft-tabs.css +1 -1
- package/web-types.json +1 -0
|
@@ -553,8 +553,7 @@ $header-layout: map-merge(
|
|
|
553
553
|
(
|
|
554
554
|
height: 64px,
|
|
555
555
|
top-height: 40px,
|
|
556
|
-
bg-color:
|
|
557
|
-
color: black,
|
|
556
|
+
bg-color: #eff1f5,
|
|
558
557
|
z-index: 2001,
|
|
559
558
|
border-bottom: 1px solid rgb(231, 231, 231),
|
|
560
559
|
),
|
|
@@ -564,8 +563,8 @@ $header-layout: map-merge(
|
|
|
564
563
|
$footer-layout: () !default;
|
|
565
564
|
$footer-layout: map-merge(
|
|
566
565
|
(
|
|
567
|
-
"bg-color":
|
|
568
|
-
"border-top":
|
|
566
|
+
"bg-color": getCssVar('header-layout-bg-color'),
|
|
567
|
+
"border-top": getCssVar('border'),
|
|
569
568
|
"left": getCssVar("menu-width"),
|
|
570
569
|
"height": "30px",
|
|
571
570
|
"left-min-width": "auto",
|
|
@@ -605,7 +604,7 @@ $icon: map-merge(
|
|
|
605
604
|
$icon-text: () !default;
|
|
606
605
|
$icon-text: map-merge(
|
|
607
606
|
(
|
|
608
|
-
"color":
|
|
607
|
+
"color": inherit,
|
|
609
608
|
"font-size": 12px,
|
|
610
609
|
"hover-color": getCssVar("icon-text-color"),
|
|
611
610
|
),
|
|
@@ -650,20 +649,20 @@ $tabs: map-merge(
|
|
|
650
649
|
"header-border-bottom": none,
|
|
651
650
|
"item-padding": 0 20px,
|
|
652
651
|
"item-max-width": 100%,
|
|
653
|
-
"item-bg-color":
|
|
654
|
-
"item-bg-color-active":
|
|
655
|
-
"item-bg-color-hover":
|
|
652
|
+
"item-bg-color": transparent,
|
|
653
|
+
"item-bg-color-active": white,
|
|
654
|
+
"item-bg-color-hover": white,
|
|
656
655
|
"item-color": black,
|
|
657
|
-
"item-color-active":
|
|
658
|
-
"item-color-hover":
|
|
656
|
+
"item-color-active": inherit,
|
|
657
|
+
"item-color-hover": inherit,
|
|
659
658
|
"item-border": 1px solid #eee,
|
|
660
659
|
"item-border-active": 0 solid transparent,
|
|
661
660
|
"item-border-hover": 0 solid transparent,
|
|
662
661
|
"item-distance": 10px,
|
|
663
|
-
"item-border-radius":
|
|
662
|
+
"item-border-radius": 5px 5px 0 0,
|
|
664
663
|
"close-icon-left": 5px,
|
|
665
|
-
"close-icon-hover-color":
|
|
666
|
-
"close-icon-hover-bg-color": #
|
|
664
|
+
"close-icon-hover-color": black,
|
|
665
|
+
"close-icon-hover-bg-color": #dfdfdf,
|
|
667
666
|
"add-icon-right": 30px,
|
|
668
667
|
"add-icon-padding-left": 20px,
|
|
669
668
|
"scroll-padding": 0 60px 0 20px,
|
|
@@ -676,8 +675,8 @@ $tabs: map-merge(
|
|
|
676
675
|
$multiple-tabs: () !default;
|
|
677
676
|
$multiple-tabs: map-merge(
|
|
678
677
|
(
|
|
679
|
-
"bg-color":
|
|
680
|
-
"height":
|
|
678
|
+
"bg-color": getCssVar('header-layout-bg-color'),
|
|
679
|
+
"height": 30px,
|
|
681
680
|
),
|
|
682
681
|
$multiple-tabs
|
|
683
682
|
);
|
|
@@ -702,8 +701,8 @@ $menu: map-merge(
|
|
|
702
701
|
"base-level-padding": 20px,
|
|
703
702
|
"level-padding": 20px,
|
|
704
703
|
"icon-mr": 8px,
|
|
705
|
-
"border":
|
|
706
|
-
"border-right":
|
|
704
|
+
"border": getCssVar("border"),
|
|
705
|
+
"border-right": getCssVar('border'),
|
|
707
706
|
"item-min-width": 200px,
|
|
708
707
|
"popup-border-radius": getCssVar("border-radius"),
|
|
709
708
|
),
|
|
@@ -715,9 +714,9 @@ $logo: map-merge(
|
|
|
715
714
|
(
|
|
716
715
|
img-width: 30px,
|
|
717
716
|
img-height: 30px,
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
717
|
+
color: $primary-color,
|
|
718
|
+
font-size: 16px,
|
|
719
|
+
font-weight: 400,
|
|
721
720
|
cursor: pointer,
|
|
722
721
|
),
|
|
723
722
|
$logo
|
|
@@ -39,3 +39,29 @@ html.dark {
|
|
|
39
39
|
@include dark(empty) {
|
|
40
40
|
@include set-component-css-var('empty', $empty);
|
|
41
41
|
}
|
|
42
|
+
|
|
43
|
+
@include dark(header-layout) {
|
|
44
|
+
@include set-component-css-var('header-layout', $header-layout);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include dark(multiple-tabs) {
|
|
48
|
+
@include set-component-css-var('multiple-tabs', $multiple-tabs);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@include dark(tabs) {
|
|
52
|
+
@include set-component-css-var('tabs', $tabs);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@include dark(menu) {
|
|
56
|
+
@include set-component-css-var('menu', $menu);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@include dark(footer-layout) {
|
|
60
|
+
@include set-component-css-var('footer-layout', $footer-layout);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@include dark(context-menu) {
|
|
64
|
+
background-color: black;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
@@ -101,24 +101,24 @@ $border-color: map.merge(
|
|
|
101
101
|
// Box-shadow
|
|
102
102
|
$box-shadow: () !default;
|
|
103
103
|
$box-shadow: map.merge(
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
104
|
+
(
|
|
105
|
+
'': (
|
|
106
|
+
0px 12px 32px 4px rgba(0, 0, 0, 0.36),
|
|
107
|
+
0px 8px 20px rgba(0, 0, 0, 0.72),
|
|
108
|
+
),
|
|
109
|
+
'light': (
|
|
110
|
+
0px 0px 12px rgba(0, 0, 0, 0.72),
|
|
111
|
+
),
|
|
112
|
+
'lighter': (
|
|
113
|
+
0px 0px 6px rgba(0, 0, 0, 0.72),
|
|
114
|
+
),
|
|
115
|
+
'dark': (
|
|
116
|
+
0px 16px 48px 16px rgba(0, 0, 0, 0.72),
|
|
117
|
+
0px 12px 32px #000,
|
|
118
|
+
0px 8px 16px -8px #000,
|
|
119
|
+
),
|
|
119
120
|
),
|
|
120
|
-
|
|
121
|
-
$box-shadow
|
|
121
|
+
$box-shadow
|
|
122
122
|
);
|
|
123
123
|
|
|
124
124
|
// fill
|
|
@@ -220,3 +220,47 @@ $empty: map.merge(
|
|
|
220
220
|
),
|
|
221
221
|
$empty
|
|
222
222
|
);
|
|
223
|
+
|
|
224
|
+
$header-layout: () !default;
|
|
225
|
+
$header-layout: map-merge(
|
|
226
|
+
(
|
|
227
|
+
bg-color: #21263e,
|
|
228
|
+
),
|
|
229
|
+
$header-layout
|
|
230
|
+
);
|
|
231
|
+
|
|
232
|
+
$multiple-tabs: () !default;
|
|
233
|
+
$multiple-tabs: map-merge(
|
|
234
|
+
(
|
|
235
|
+
bg-color: #21263e,
|
|
236
|
+
),
|
|
237
|
+
$multiple-tabs
|
|
238
|
+
);
|
|
239
|
+
|
|
240
|
+
$footer-layout: () !default;
|
|
241
|
+
$footer-layout: map-merge(
|
|
242
|
+
(
|
|
243
|
+
bg-color: #21263e,
|
|
244
|
+
),
|
|
245
|
+
$footer-layout
|
|
246
|
+
);
|
|
247
|
+
|
|
248
|
+
$tabs: () !default;
|
|
249
|
+
$tabs: map-merge(
|
|
250
|
+
(
|
|
251
|
+
"item-color": #dbe1f0,
|
|
252
|
+
"item-color-active": #262626,
|
|
253
|
+
"item-color-hover": #262626
|
|
254
|
+
),
|
|
255
|
+
$tabs
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
$menu: () !default;
|
|
259
|
+
$menu: map-merge(
|
|
260
|
+
(
|
|
261
|
+
"hover-bg-color": getCssVar("primary-color-light-7"),
|
|
262
|
+
"focus-bg-color": getCssVar("primary-color-light-7"),
|
|
263
|
+
"item-hover-fill": getCssVar("primary-color-light-7"),
|
|
264
|
+
),
|
|
265
|
+
$menu
|
|
266
|
+
);
|
|
@@ -12,8 +12,6 @@ $name: md-container;
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@include b($name) {
|
|
15
|
-
/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */
|
|
16
|
-
|
|
17
15
|
// 链接
|
|
18
16
|
@import 'md/link';
|
|
19
17
|
// dir
|
|
@@ -41,6 +39,48 @@ $name: md-container;
|
|
|
41
39
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", STHeiti, "Microsoft YaHei", SimSun, sans-serif;
|
|
42
40
|
padding: 20px 30px;
|
|
43
41
|
|
|
42
|
+
.demo-container {
|
|
43
|
+
border: getCssVar('border');
|
|
44
|
+
|
|
45
|
+
.demo {
|
|
46
|
+
padding: 20px 20px 30px;
|
|
47
|
+
|
|
48
|
+
.action {
|
|
49
|
+
position: relative;
|
|
50
|
+
.expand {
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
position: absolute;
|
|
53
|
+
right: -5px;
|
|
54
|
+
bottom: -28px;
|
|
55
|
+
height: 40px;
|
|
56
|
+
width: 40px;
|
|
57
|
+
border-radius: 4px;
|
|
58
|
+
@include flex-center();
|
|
59
|
+
&:hover {
|
|
60
|
+
background-color: #c3def3;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
div.language-vue {
|
|
67
|
+
transition: opacity 0.3s ease;
|
|
68
|
+
height: 0;
|
|
69
|
+
visibility: hidden;
|
|
70
|
+
|
|
71
|
+
pre {
|
|
72
|
+
margin: 0 0 0 getCompCssVar(line-numbers-width) !important;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.copy {
|
|
76
|
+
visibility: visible;
|
|
77
|
+
opacity: 1;
|
|
78
|
+
top: -42px;
|
|
79
|
+
right: 60px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
44
84
|
p {
|
|
45
85
|
font-size: 16px;
|
|
46
86
|
line-height: 22px;
|
|
@@ -47,7 +47,7 @@ $name: menu;
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
@include when(disabled) {
|
|
50
|
-
opacity: 0.
|
|
50
|
+
opacity: 0.5;
|
|
51
51
|
cursor: not-allowed;
|
|
52
52
|
background: none !important;
|
|
53
53
|
}
|
|
@@ -87,8 +87,8 @@ $name: menu;
|
|
|
87
87
|
@include m(horizontal) {
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-wrap: nowrap;
|
|
90
|
+
border: none;
|
|
90
91
|
border-bottom: getCompCssVar('border-bottom');
|
|
91
|
-
border-right: none;
|
|
92
92
|
|
|
93
93
|
& > .#{$namespace}-menu-item {
|
|
94
94
|
display: inline-flex;
|
|
@@ -302,7 +302,7 @@ $name: menu;
|
|
|
302
302
|
@include when(disabled) {
|
|
303
303
|
.#{$namespace}-sub-menu__title,
|
|
304
304
|
.#{$namespace}-menu-item {
|
|
305
|
-
opacity: 0.
|
|
305
|
+
opacity: 0.6;
|
|
306
306
|
cursor: not-allowed;
|
|
307
307
|
background: none !important;
|
|
308
308
|
}
|
|
@@ -43,7 +43,7 @@ $name: side-menu;
|
|
|
43
43
|
padding: 0 16px;
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
46
|
-
border-right:
|
|
46
|
+
border-right: none;
|
|
47
47
|
.vft-icon {
|
|
48
48
|
position: absolute;
|
|
49
49
|
right: 20px;
|
|
@@ -56,7 +56,7 @@ $name: side-menu;
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.#{$namespace}-menu {
|
|
59
|
-
border
|
|
59
|
+
border: none;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -35,17 +35,67 @@ $name: tabs;
|
|
|
35
35
|
background-color: getCompCssVar('item-bg-color');
|
|
36
36
|
border: getCompCssVar('item-border');
|
|
37
37
|
margin-right: getCompCssVar('item-distance');
|
|
38
|
+
border-radius: getCompCssVar('item-border-radius');
|
|
39
|
+
// 滑入时动画的渐变控制
|
|
40
|
+
// color getCssVar('transition-duration')
|
|
41
|
+
transition: getCssVar('transition-function-ease-in-out-bezier'), padding getCssVar('transition-duration') getCssVar('transition-function-ease-in-out-bezier');
|
|
42
|
+
max-width: getCompCssVar('item-max-width');
|
|
43
|
+
|
|
44
|
+
// 当前标签激活时的样式
|
|
45
|
+
@include when(active) {
|
|
46
|
+
color: getCompCssVar('item-color-active');
|
|
47
|
+
background-color: getCompCssVar('item-bg-color-active');
|
|
48
|
+
font-weight: getCompCssVar('font-weight-active');
|
|
49
|
+
border: getCompCssVar('item-border-active');
|
|
50
|
+
|
|
51
|
+
&.is-closable {
|
|
52
|
+
.is-icon-close {
|
|
53
|
+
width: getCompCssVar('active-distance');
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@include when(disabled) {
|
|
59
|
+
color: getCssVar('disabled-text-color');
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// active tab close icon is show
|
|
64
|
+
&.is-active.is-closable {
|
|
65
|
+
.is-icon-close {
|
|
66
|
+
width: getCompCssVar('active-distance')!important;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// hover tab close icon is show
|
|
71
|
+
&.is-closable {
|
|
72
|
+
&:hover {
|
|
73
|
+
& .is-icon-close {
|
|
74
|
+
width: getCompCssVar('active-distance') !important;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// init close icon is hide
|
|
80
|
+
.is-icon-close {
|
|
81
|
+
width: 0!important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:hover {
|
|
85
|
+
color: getCompCssVar('item-color-hover');
|
|
86
|
+
background-color: getCompCssVar('item-bg-color-hover');
|
|
87
|
+
border: getCompCssVar('item-border-hover');
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
38
90
|
|
|
39
91
|
&:focus,
|
|
40
92
|
&:focus:active {
|
|
41
93
|
outline: none;
|
|
42
94
|
}
|
|
43
|
-
|
|
44
95
|
&:focus-visible {
|
|
45
96
|
box-shadow: 0 0 2px 2px getCssVar('primary-color') inset;
|
|
46
97
|
border-radius: 3px;
|
|
47
98
|
}
|
|
48
|
-
|
|
49
99
|
& .is-icon-close {
|
|
50
100
|
transition: all getCssVar('transition-duration') getCssVar('transition-function-ease-in-out-bezier');
|
|
51
101
|
margin-left: getCompCssVar('close-icon-left');
|
|
@@ -65,26 +115,6 @@ $name: tabs;
|
|
|
65
115
|
}
|
|
66
116
|
}
|
|
67
117
|
}
|
|
68
|
-
|
|
69
|
-
// 当前标签激活时的样式
|
|
70
|
-
@include when(active) {
|
|
71
|
-
color: getCompCssVar('item-color-active');
|
|
72
|
-
background-color: getCompCssVar('item-bg-color-active');
|
|
73
|
-
font-weight: getCompCssVar('font-weight-active');
|
|
74
|
-
border: getCompCssVar('item-border-active');
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&:hover {
|
|
78
|
-
color: getCompCssVar('item-color-hover');
|
|
79
|
-
background-color: getCompCssVar('item-bg-color-hover');
|
|
80
|
-
border: getCompCssVar('item-border-hover');
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@include when(disabled) {
|
|
85
|
-
color: getCssVar('disabled-text-color');
|
|
86
|
-
cursor: not-allowed;
|
|
87
|
-
}
|
|
88
118
|
}
|
|
89
119
|
@include e(active-bar) {
|
|
90
120
|
position: absolute;
|
|
@@ -94,7 +124,7 @@ $name: tabs;
|
|
|
94
124
|
background-color: getCssVar('primary-color');
|
|
95
125
|
z-index: 1;
|
|
96
126
|
transition: width getCssVar('transition-duration') getCssVar('transition-function-ease-in-out-bezier'),
|
|
97
|
-
|
|
127
|
+
transform getCssVar('transition-duration') getCssVar('transition-function-ease-in-out-bezier');
|
|
98
128
|
list-style: none;
|
|
99
129
|
}
|
|
100
130
|
@include e(new-tab) {
|
|
@@ -141,6 +171,23 @@ $name: tabs;
|
|
|
141
171
|
@include e(nav-scroll) {
|
|
142
172
|
overflow: hidden;
|
|
143
173
|
}
|
|
174
|
+
|
|
175
|
+
// tabs 的高度 以及 底部边框颜色
|
|
176
|
+
.#{$namespace}-tabs__header {
|
|
177
|
+
border-bottom: getCompCssVar('border-bottom');
|
|
178
|
+
height: getCompCssVar('header-height');
|
|
179
|
+
}
|
|
180
|
+
.#{$namespace}-tabs__header .#{$namespace}-tabs__nav-wrap::after {
|
|
181
|
+
content: none;
|
|
182
|
+
}
|
|
183
|
+
.#{$namespace}-tabs__header .#{$namespace}-tabs__nav {
|
|
184
|
+
border-radius: 4px 4px 0 0;
|
|
185
|
+
box-sizing: border-box;
|
|
186
|
+
}
|
|
187
|
+
.#{$namespace}-tabs__header .#{$namespace}-tabs__active-bar {
|
|
188
|
+
display: none;
|
|
189
|
+
}
|
|
190
|
+
|
|
144
191
|
// 前进后退样式
|
|
145
192
|
@include e((nav-next, nav-prev)) {
|
|
146
193
|
position: absolute;
|
|
@@ -176,53 +223,6 @@ $name: tabs;
|
|
|
176
223
|
overflow: hidden;
|
|
177
224
|
position: relative;
|
|
178
225
|
}
|
|
179
|
-
@include m(card) {
|
|
180
|
-
// tabs 的高度 以及 底部边框颜色
|
|
181
|
-
> .#{$namespace}-tabs__header {
|
|
182
|
-
border-bottom: getCompCssVar('border-bottom');
|
|
183
|
-
height: getCompCssVar('header-height');
|
|
184
|
-
}
|
|
185
|
-
> .#{$namespace}-tabs__header .#{$namespace}-tabs__nav-wrap::after {
|
|
186
|
-
content: none;
|
|
187
|
-
}
|
|
188
|
-
> .#{$namespace}-tabs__header .#{$namespace}-tabs__nav {
|
|
189
|
-
border-radius: 4px 4px 0 0;
|
|
190
|
-
box-sizing: border-box;
|
|
191
|
-
}
|
|
192
|
-
> .#{$namespace}-tabs__header .#{$namespace}-tabs__active-bar {
|
|
193
|
-
display: none;
|
|
194
|
-
}
|
|
195
|
-
> .#{$namespace}-tabs__header .#{$namespace}-tabs__item .is-icon-close {
|
|
196
|
-
width: 0;
|
|
197
|
-
//overflow: hidden;
|
|
198
|
-
//display: inline-block;
|
|
199
|
-
}
|
|
200
|
-
// tab 滑入时的动画宽度控制
|
|
201
|
-
> .#{$namespace}-tabs__header .#{$namespace}-tabs__item {
|
|
202
|
-
border-radius: getCompCssVar(item-border-radius);
|
|
203
|
-
// 滑入时动画的渐变控制
|
|
204
|
-
// color getCssVar('transition-duration')
|
|
205
|
-
transition: getCssVar('transition-function-ease-in-out-bezier'), padding getCssVar('transition-duration') getCssVar('transition-function-ease-in-out-bezier');
|
|
206
|
-
max-width: getCompCssVar('item-max-width');
|
|
207
|
-
|
|
208
|
-
&.is-closable {
|
|
209
|
-
&:hover {
|
|
210
|
-
& .is-icon-close {
|
|
211
|
-
width: getCompCssVar('active-distance');
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
// 标签被选中时的样式
|
|
217
|
-
&.is-active {
|
|
218
|
-
&.is-closable {
|
|
219
|
-
.is-icon-close {
|
|
220
|
-
width: getCompCssVar('active-distance');
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
226
|
@include m((top, bottom)) {
|
|
227
227
|
.#{$namespace}-tabs__item.is-top:nth-child(2),
|
|
228
228
|
.#{$namespace}-tabs__item.is-bottom:nth-child(2) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vft-button{--vft-button-font-weight:var(--vft-font-weight-primary);--vft-button-border-color:var(--vft-border-color);--vft-button-bg-color:var(--vft-fill-color-blank);--vft-button-text-color:var(--vft-text-regular-color);--vft-button-disabled-text-color:var(--vft-text-disabled-color);--vft-button-disabled-bg-color:var(--vft-fill-color-blank);--vft-button-disabled-border-color:var(--vft-border-color-light);--vft-button-divide-border-color:rgba(255, 255, 255, 0.5);--vft-button-hover-text-color:var(--vft-primary-color);--vft-button-hover-bg-color:var(--vft-primary-color-light-9);--vft-button-hover-border-color:var(--vft-primary-color-light-7);--vft-button-active-text-color:var(--vft-button-hover-text-color);--vft-button-active-border-color:var(--vft-primary-color);--vft-button-active-bg-color:var(--vft-button-hover-bg-color);--vft-button-outline-color:var(--vft-primary-color-light-5);--vft-button-hover-link-text-color:var(--vft-info-color);--vft-button-active-color:var(--vft-text-primary-color)}.vft-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--vft-button-text-color);text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--vft-button-font-weight);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--vft-button-bg-color);border:var(--vft-border);border-color:var(--vft-button-border-color);padding:8px 15px;font-size:var(--vft-font-size-base);border-radius:var(--vft-border-radius-base)}.vft-button:focus,.vft-button:hover{color:var(--vft-button-hover-text-color);border-color:var(--vft-button-hover-border-color);background-color:var(--vft-button-hover-bg-color);outline:0}.vft-button:active{color:var(--vft-button-active-text-color);border-color:var(--vft-button-active-border-color);background-color:var(--vft-button-active-bg-color);outline:0}.vft-button:focus-visible{outline:2px solid var(--vft-button-outline-color);outline-offset:1px}.vft-button>span{display:inline-flex;align-items:center}.vft-button+.vft-button{margin-left:12px}.vft-button.is-round{padding:8px 15px}.vft-button::-moz-focus-inner{border:0}.vft-button [class*=vft-icon]+span{margin-left:6px}.vft-button [class*=vft-icon] svg{vertical-align:bottom}.vft-button.is-block{width:100%}.vft-button.is-plain{--vft-button-hover-text-color:var(--vft-primary-color);--vft-button-hover-bg-color:var(--vft-fill-color-blank);--vft-button-hover-border-color:var(--vft-primary-color)}.vft-button.is-active{color:var(--vft-button-active-text-color);border-color:var(--vft-button-active-border-color);background-color:var(--vft-button-active-bg-color);outline:0}.vft-button.is-disabled,.vft-button.is-disabled:focus,.vft-button.is-disabled:hover{color:var(--vft-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--vft-button-disabled-bg-color);border-color:var(--vft-button-disabled-border-color)}.vft-button.is-loading{position:relative;pointer-events:none}.vft-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--vft-mask-color-extra-light)}.vft-button.is-loading i{margin-right:2px}.vft-button.is-round{border-radius:var(--vft-border-radius-round)}.vft-button.is-circle{border-radius:50%;padding:8px}.vft-button.is-text{color:var(--vft-button-text-color);border:0 solid transparent;background-color:transparent}.vft-button.is-text.is-disabled{color:var(--vft-button-text-disabled-color);background-color:transparent!important}.vft-button.is-text:not(.is-disabled):focus,.vft-button.is-text:not(.is-disabled):hover{background-color:var(--vft-fill-color-light)}.vft-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--vft-button-outline-color);outline-offset:1px}.vft-button.is-text:not(.is-disabled):active{background-color:var(--vft-fill-color)}.vft-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--vft-fill-color-light)}.vft-button.is-text:not(.is-disabled).is-has-bg:focus,.vft-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--vft-fill-color)}.vft-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--vft-fill-color-dark)}.vft-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.vft-button.is-link{border-color:transparent;color:var(--vft-button-text-color);background:0 0;padding:2px;height:auto}.vft-button.is-link:focus,.vft-button.is-link:hover{color:var(--vft-button-hover-link-text-color)}.vft-button.is-link.is-disabled{color:var(--vft-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.vft-button.is-link:not(.is-disabled):focus,.vft-button.is-link:not(.is-disabled):hover{border-color:transparent;background-color:transparent}.vft-button.is-link:not(.is-disabled):active{color:var(--vft-button-active-color);border-color:transparent;background-color:transparent}.vft-button--text{border-color:transparent;background:0 0;color:var(--vft-primary-color);padding-left:0;padding-right:0}.vft-button--text.is-disabled{color:var(--vft-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.vft-button--text:not(.is-disabled):focus,.vft-button--text:not(.is-disabled):hover{color:var(--vft-primary-color-light-3);border-color:transparent;background-color:transparent}.vft-button--text:not(.is-disabled):active{color:var(--vft-primary-color-dark-2);border-color:transparent;background-color:transparent}.vft-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.vft-button--primary{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-primary-color);--vft-button-border-color:var(--vft-primary-color);--vft-button-outline-color:var(--vft-primary-color-light-5);--vft-button-active-color:var(--vft-primary-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-primary-color-light-5);--vft-button-hover-bg-color:var(--vft-primary-color-light-3);--vft-button-hover-border-color:var(--vft-primary-color-light-3);--vft-button-active-bg-color:var(--vft-primary-color-dark-2);--vft-button-active-border-color:var(--vft-primary-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-primary-color-light-5);--vft-button-disabled-border-color:var(--vft-primary-color-light-5)}.vft-button--primary.is-link,.vft-button--primary.is-plain,.vft-button--primary.is-text{--vft-button-text-color:var(--vft-primary-color);--vft-button-bg-color:var(--vft-primary-color-light-9);--vft-button-border-color:var(--vft-primary-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-primary-color);--vft-button-hover-border-color:var(--vft-primary-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--primary.is-link.is-disabled,.vft-button--primary.is-link.is-disabled:active,.vft-button--primary.is-link.is-disabled:focus,.vft-button--primary.is-link.is-disabled:hover,.vft-button--primary.is-plain.is-disabled,.vft-button--primary.is-plain.is-disabled:active,.vft-button--primary.is-plain.is-disabled:focus,.vft-button--primary.is-plain.is-disabled:hover,.vft-button--primary.is-text.is-disabled,.vft-button--primary.is-text.is-disabled:active,.vft-button--primary.is-text.is-disabled:focus,.vft-button--primary.is-text.is-disabled:hover{color:var(--vft-primary-color-light-5);background-color:var(--vft-primary-color-light-9);border-color:var(--vft-primary-color-light-8)}.vft-button--success{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-success-color);--vft-button-border-color:var(--vft-success-color);--vft-button-outline-color:var(--vft-success-color-light-5);--vft-button-active-color:var(--vft-success-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-success-color-light-5);--vft-button-hover-bg-color:var(--vft-success-color-light-3);--vft-button-hover-border-color:var(--vft-success-color-light-3);--vft-button-active-bg-color:var(--vft-success-color-dark-2);--vft-button-active-border-color:var(--vft-success-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-success-color-light-5);--vft-button-disabled-border-color:var(--vft-success-color-light-5)}.vft-button--success.is-link,.vft-button--success.is-plain,.vft-button--success.is-text{--vft-button-text-color:var(--vft-success-color);--vft-button-bg-color:var(--vft-success-color-light-9);--vft-button-border-color:var(--vft-success-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-success-color);--vft-button-hover-border-color:var(--vft-success-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--success.is-link.is-disabled,.vft-button--success.is-link.is-disabled:active,.vft-button--success.is-link.is-disabled:focus,.vft-button--success.is-link.is-disabled:hover,.vft-button--success.is-plain.is-disabled,.vft-button--success.is-plain.is-disabled:active,.vft-button--success.is-plain.is-disabled:focus,.vft-button--success.is-plain.is-disabled:hover,.vft-button--success.is-text.is-disabled,.vft-button--success.is-text.is-disabled:active,.vft-button--success.is-text.is-disabled:focus,.vft-button--success.is-text.is-disabled:hover{color:var(--vft-success-color-light-5);background-color:var(--vft-success-color-light-9);border-color:var(--vft-success-color-light-8)}.vft-button--warning{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-warning-color);--vft-button-border-color:var(--vft-warning-color);--vft-button-outline-color:var(--vft-warning-color-light-5);--vft-button-active-color:var(--vft-warning-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-warning-color-light-5);--vft-button-hover-bg-color:var(--vft-warning-color-light-3);--vft-button-hover-border-color:var(--vft-warning-color-light-3);--vft-button-active-bg-color:var(--vft-warning-color-dark-2);--vft-button-active-border-color:var(--vft-warning-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-warning-color-light-5);--vft-button-disabled-border-color:var(--vft-warning-color-light-5)}.vft-button--warning.is-link,.vft-button--warning.is-plain,.vft-button--warning.is-text{--vft-button-text-color:var(--vft-warning-color);--vft-button-bg-color:var(--vft-warning-color-light-9);--vft-button-border-color:var(--vft-warning-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-warning-color);--vft-button-hover-border-color:var(--vft-warning-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--warning.is-link.is-disabled,.vft-button--warning.is-link.is-disabled:active,.vft-button--warning.is-link.is-disabled:focus,.vft-button--warning.is-link.is-disabled:hover,.vft-button--warning.is-plain.is-disabled,.vft-button--warning.is-plain.is-disabled:active,.vft-button--warning.is-plain.is-disabled:focus,.vft-button--warning.is-plain.is-disabled:hover,.vft-button--warning.is-text.is-disabled,.vft-button--warning.is-text.is-disabled:active,.vft-button--warning.is-text.is-disabled:focus,.vft-button--warning.is-text.is-disabled:hover{color:var(--vft-warning-color-light-5);background-color:var(--vft-warning-color-light-9);border-color:var(--vft-warning-color-light-8)}.vft-button--danger{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-danger-color);--vft-button-border-color:var(--vft-danger-color);--vft-button-outline-color:var(--vft-danger-color-light-5);--vft-button-active-color:var(--vft-danger-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-danger-color-light-5);--vft-button-hover-bg-color:var(--vft-danger-color-light-3);--vft-button-hover-border-color:var(--vft-danger-color-light-3);--vft-button-active-bg-color:var(--vft-danger-color-dark-2);--vft-button-active-border-color:var(--vft-danger-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-danger-color-light-5);--vft-button-disabled-border-color:var(--vft-danger-color-light-5)}.vft-button--danger.is-link,.vft-button--danger.is-plain,.vft-button--danger.is-text{--vft-button-text-color:var(--vft-danger-color);--vft-button-bg-color:var(--vft-danger-color-light-9);--vft-button-border-color:var(--vft-danger-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-danger-color);--vft-button-hover-border-color:var(--vft-danger-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--danger.is-link.is-disabled,.vft-button--danger.is-link.is-disabled:active,.vft-button--danger.is-link.is-disabled:focus,.vft-button--danger.is-link.is-disabled:hover,.vft-button--danger.is-plain.is-disabled,.vft-button--danger.is-plain.is-disabled:active,.vft-button--danger.is-plain.is-disabled:focus,.vft-button--danger.is-plain.is-disabled:hover,.vft-button--danger.is-text.is-disabled,.vft-button--danger.is-text.is-disabled:active,.vft-button--danger.is-text.is-disabled:focus,.vft-button--danger.is-text.is-disabled:hover{color:var(--vft-danger-color-light-5);background-color:var(--vft-danger-color-light-9);border-color:var(--vft-danger-color-light-8)}.vft-button--info{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-info-color);--vft-button-border-color:var(--vft-info-color);--vft-button-outline-color:var(--vft-info-color-light-5);--vft-button-active-color:var(--vft-info-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-info-color-light-5);--vft-button-hover-bg-color:var(--vft-info-color-light-3);--vft-button-hover-border-color:var(--vft-info-color-light-3);--vft-button-active-bg-color:var(--vft-info-color-dark-2);--vft-button-active-border-color:var(--vft-info-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-info-color-light-5);--vft-button-disabled-border-color:var(--vft-info-color-light-5)}.vft-button--info.is-link,.vft-button--info.is-plain,.vft-button--info.is-text{--vft-button-text-color:var(--vft-info-color);--vft-button-bg-color:var(--vft-info-color-light-9);--vft-button-border-color:var(--vft-info-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-info-color);--vft-button-hover-border-color:var(--vft-info-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--info.is-link.is-disabled,.vft-button--info.is-link.is-disabled:active,.vft-button--info.is-link.is-disabled:focus,.vft-button--info.is-link.is-disabled:hover,.vft-button--info.is-plain.is-disabled,.vft-button--info.is-plain.is-disabled:active,.vft-button--info.is-plain.is-disabled:focus,.vft-button--info.is-plain.is-disabled:hover,.vft-button--info.is-text.is-disabled,.vft-button--info.is-text.is-disabled:active,.vft-button--info.is-text.is-disabled:focus,.vft-button--info.is-text.is-disabled:hover{color:var(--vft-info-color-light-5);background-color:var(--vft-info-color-light-9);border-color:var(--vft-info-color-light-8)}.vft-button--large{--vft-button-size:40px;height:var(--vft-button-size);padding:12px 19px;font-size:var(--vft-font-size-base);border-radius:var(--vft-border-radius-base)}.vft-button--large [class*=vft-icon]+span{margin-left:8px}.vft-button--large.is-round{padding:12px 19px}.vft-button--large.is-circle{width:var(--vft-button-size);padding:12px}.vft-button--small{--vft-button-size:24px;height:var(--vft-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--vft-border-radius-base) - 1px)}.vft-button--small [class*=vft-icon]+span{margin-left:4px}.vft-button--small.is-round{padding:5px 11px}.vft-button--small.is-circle{width:var(--vft-button-size);padding:5px}
|
|
1
|
+
.vft-button{--vft-button-font-weight:var(--vft-font-weight-primary);--vft-button-border-color:var(--vft-border-color);--vft-button-bg-color:var(--vft-fill-color-blank);--vft-button-text-color:var(--vft-text-regular-color);--vft-button-disabled-text-color:var(--vft-text-disabled-color);--vft-button-disabled-bg-color:var(--vft-fill-color-blank);--vft-button-disabled-border-color:var(--vft-border-color-light);--vft-button-divide-border-color:rgba(255, 255, 255, 0.5);--vft-button-hover-text-color:var(--vft-primary-color);--vft-button-hover-bg-color:var(--vft-primary-color-light-9);--vft-button-hover-border-color:var(--vft-primary-color-light-7);--vft-button-active-text-color:var(--vft-button-hover-text-color);--vft-button-active-border-color:var(--vft-primary-color);--vft-button-active-bg-color:var(--vft-button-hover-bg-color);--vft-button-outline-color:var(--vft-primary-color-light-5);--vft-button-hover-link-text-color:var(--vft-info-color);--vft-button-active-color:var(--vft-text-primary-color)}.vft-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--vft-button-text-color);text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--vft-button-font-weight);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--vft-button-bg-color);border:var(--vft-border);border-color:var(--vft-button-border-color);padding:8px 15px;font-size:var(--vft-font-size-base);border-radius:var(--vft-border-radius-base)}.vft-button:focus,.vft-button:hover{color:var(--vft-button-hover-text-color);border-color:var(--vft-button-hover-border-color);background-color:var(--vft-button-hover-bg-color);outline:0}.vft-button:active{color:var(--vft-button-active-text-color);border-color:var(--vft-button-active-border-color);background-color:var(--vft-button-active-bg-color);outline:0}.vft-button>span{display:inline-flex;align-items:center}.vft-button+.vft-button{margin-left:12px}.vft-button.is-round{padding:8px 15px}.vft-button::-moz-focus-inner{border:0}.vft-button [class*=vft-icon]+span{margin-left:6px}.vft-button [class*=vft-icon] svg{vertical-align:bottom}.vft-button.is-block{width:100%}.vft-button.is-plain{--vft-button-hover-text-color:var(--vft-primary-color);--vft-button-hover-bg-color:var(--vft-fill-color-blank);--vft-button-hover-border-color:var(--vft-primary-color)}.vft-button.is-active{color:var(--vft-button-active-text-color);border-color:var(--vft-button-active-border-color);background-color:var(--vft-button-active-bg-color);outline:0}.vft-button.is-disabled,.vft-button.is-disabled:focus,.vft-button.is-disabled:hover{color:var(--vft-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--vft-button-disabled-bg-color);border-color:var(--vft-button-disabled-border-color)}.vft-button.is-loading{position:relative;pointer-events:none}.vft-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--vft-mask-color-extra-light)}.vft-button.is-loading i{margin-right:2px}.vft-button.is-round{border-radius:var(--vft-border-radius-round)}.vft-button.is-circle{border-radius:50%;padding:8px}.vft-button.is-text{color:var(--vft-button-text-color);border:0 solid transparent;background-color:transparent}.vft-button.is-text.is-disabled{color:var(--vft-button-text-disabled-color);background-color:transparent!important}.vft-button.is-text:not(.is-disabled):focus,.vft-button.is-text:not(.is-disabled):hover{background-color:var(--vft-fill-color-light)}.vft-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--vft-button-outline-color);outline-offset:1px}.vft-button.is-text:not(.is-disabled):active{background-color:var(--vft-fill-color)}.vft-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--vft-fill-color-light)}.vft-button.is-text:not(.is-disabled).is-has-bg:focus,.vft-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--vft-fill-color)}.vft-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--vft-fill-color-dark)}.vft-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.vft-button.is-link{border-color:transparent;color:var(--vft-button-text-color);background:0 0;padding:2px;height:auto}.vft-button.is-link:focus,.vft-button.is-link:hover{color:var(--vft-button-hover-link-text-color)}.vft-button.is-link.is-disabled{color:var(--vft-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.vft-button.is-link:not(.is-disabled):focus,.vft-button.is-link:not(.is-disabled):hover{border-color:transparent;background-color:transparent}.vft-button.is-link:not(.is-disabled):active{color:var(--vft-button-active-color);border-color:transparent;background-color:transparent}.vft-button--text{border-color:transparent;background:0 0;color:var(--vft-primary-color);padding-left:0;padding-right:0}.vft-button--text.is-disabled{color:var(--vft-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.vft-button--text:not(.is-disabled):focus,.vft-button--text:not(.is-disabled):hover{color:var(--vft-primary-color-light-3);border-color:transparent;background-color:transparent}.vft-button--text:not(.is-disabled):active{color:var(--vft-primary-color-dark-2);border-color:transparent;background-color:transparent}.vft-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.vft-button--primary{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-primary-color);--vft-button-border-color:var(--vft-primary-color);--vft-button-outline-color:var(--vft-primary-color-light-5);--vft-button-active-color:var(--vft-primary-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-primary-color-light-5);--vft-button-hover-bg-color:var(--vft-primary-color-light-3);--vft-button-hover-border-color:var(--vft-primary-color-light-3);--vft-button-active-bg-color:var(--vft-primary-color-dark-2);--vft-button-active-border-color:var(--vft-primary-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-primary-color-light-5);--vft-button-disabled-border-color:var(--vft-primary-color-light-5)}.vft-button--primary.is-link,.vft-button--primary.is-plain,.vft-button--primary.is-text{--vft-button-text-color:var(--vft-primary-color);--vft-button-bg-color:var(--vft-primary-color-light-9);--vft-button-border-color:var(--vft-primary-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-primary-color);--vft-button-hover-border-color:var(--vft-primary-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--primary.is-link.is-disabled,.vft-button--primary.is-link.is-disabled:active,.vft-button--primary.is-link.is-disabled:focus,.vft-button--primary.is-link.is-disabled:hover,.vft-button--primary.is-plain.is-disabled,.vft-button--primary.is-plain.is-disabled:active,.vft-button--primary.is-plain.is-disabled:focus,.vft-button--primary.is-plain.is-disabled:hover,.vft-button--primary.is-text.is-disabled,.vft-button--primary.is-text.is-disabled:active,.vft-button--primary.is-text.is-disabled:focus,.vft-button--primary.is-text.is-disabled:hover{color:var(--vft-primary-color-light-5);background-color:var(--vft-primary-color-light-9);border-color:var(--vft-primary-color-light-8)}.vft-button--success{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-success-color);--vft-button-border-color:var(--vft-success-color);--vft-button-outline-color:var(--vft-success-color-light-5);--vft-button-active-color:var(--vft-success-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-success-color-light-5);--vft-button-hover-bg-color:var(--vft-success-color-light-3);--vft-button-hover-border-color:var(--vft-success-color-light-3);--vft-button-active-bg-color:var(--vft-success-color-dark-2);--vft-button-active-border-color:var(--vft-success-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-success-color-light-5);--vft-button-disabled-border-color:var(--vft-success-color-light-5)}.vft-button--success.is-link,.vft-button--success.is-plain,.vft-button--success.is-text{--vft-button-text-color:var(--vft-success-color);--vft-button-bg-color:var(--vft-success-color-light-9);--vft-button-border-color:var(--vft-success-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-success-color);--vft-button-hover-border-color:var(--vft-success-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--success.is-link.is-disabled,.vft-button--success.is-link.is-disabled:active,.vft-button--success.is-link.is-disabled:focus,.vft-button--success.is-link.is-disabled:hover,.vft-button--success.is-plain.is-disabled,.vft-button--success.is-plain.is-disabled:active,.vft-button--success.is-plain.is-disabled:focus,.vft-button--success.is-plain.is-disabled:hover,.vft-button--success.is-text.is-disabled,.vft-button--success.is-text.is-disabled:active,.vft-button--success.is-text.is-disabled:focus,.vft-button--success.is-text.is-disabled:hover{color:var(--vft-success-color-light-5);background-color:var(--vft-success-color-light-9);border-color:var(--vft-success-color-light-8)}.vft-button--warning{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-warning-color);--vft-button-border-color:var(--vft-warning-color);--vft-button-outline-color:var(--vft-warning-color-light-5);--vft-button-active-color:var(--vft-warning-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-warning-color-light-5);--vft-button-hover-bg-color:var(--vft-warning-color-light-3);--vft-button-hover-border-color:var(--vft-warning-color-light-3);--vft-button-active-bg-color:var(--vft-warning-color-dark-2);--vft-button-active-border-color:var(--vft-warning-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-warning-color-light-5);--vft-button-disabled-border-color:var(--vft-warning-color-light-5)}.vft-button--warning.is-link,.vft-button--warning.is-plain,.vft-button--warning.is-text{--vft-button-text-color:var(--vft-warning-color);--vft-button-bg-color:var(--vft-warning-color-light-9);--vft-button-border-color:var(--vft-warning-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-warning-color);--vft-button-hover-border-color:var(--vft-warning-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--warning.is-link.is-disabled,.vft-button--warning.is-link.is-disabled:active,.vft-button--warning.is-link.is-disabled:focus,.vft-button--warning.is-link.is-disabled:hover,.vft-button--warning.is-plain.is-disabled,.vft-button--warning.is-plain.is-disabled:active,.vft-button--warning.is-plain.is-disabled:focus,.vft-button--warning.is-plain.is-disabled:hover,.vft-button--warning.is-text.is-disabled,.vft-button--warning.is-text.is-disabled:active,.vft-button--warning.is-text.is-disabled:focus,.vft-button--warning.is-text.is-disabled:hover{color:var(--vft-warning-color-light-5);background-color:var(--vft-warning-color-light-9);border-color:var(--vft-warning-color-light-8)}.vft-button--danger{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-danger-color);--vft-button-border-color:var(--vft-danger-color);--vft-button-outline-color:var(--vft-danger-color-light-5);--vft-button-active-color:var(--vft-danger-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-danger-color-light-5);--vft-button-hover-bg-color:var(--vft-danger-color-light-3);--vft-button-hover-border-color:var(--vft-danger-color-light-3);--vft-button-active-bg-color:var(--vft-danger-color-dark-2);--vft-button-active-border-color:var(--vft-danger-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-danger-color-light-5);--vft-button-disabled-border-color:var(--vft-danger-color-light-5)}.vft-button--danger.is-link,.vft-button--danger.is-plain,.vft-button--danger.is-text{--vft-button-text-color:var(--vft-danger-color);--vft-button-bg-color:var(--vft-danger-color-light-9);--vft-button-border-color:var(--vft-danger-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-danger-color);--vft-button-hover-border-color:var(--vft-danger-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--danger.is-link.is-disabled,.vft-button--danger.is-link.is-disabled:active,.vft-button--danger.is-link.is-disabled:focus,.vft-button--danger.is-link.is-disabled:hover,.vft-button--danger.is-plain.is-disabled,.vft-button--danger.is-plain.is-disabled:active,.vft-button--danger.is-plain.is-disabled:focus,.vft-button--danger.is-plain.is-disabled:hover,.vft-button--danger.is-text.is-disabled,.vft-button--danger.is-text.is-disabled:active,.vft-button--danger.is-text.is-disabled:focus,.vft-button--danger.is-text.is-disabled:hover{color:var(--vft-danger-color-light-5);background-color:var(--vft-danger-color-light-9);border-color:var(--vft-danger-color-light-8)}.vft-button--info{--vft-button-text-color:var(--vft-color-white);--vft-button-bg-color:var(--vft-info-color);--vft-button-border-color:var(--vft-info-color);--vft-button-outline-color:var(--vft-info-color-light-5);--vft-button-active-color:var(--vft-info-color-dark-2);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-link-text-color:var(--vft-info-color-light-5);--vft-button-hover-bg-color:var(--vft-info-color-light-3);--vft-button-hover-border-color:var(--vft-info-color-light-3);--vft-button-active-bg-color:var(--vft-info-color-dark-2);--vft-button-active-border-color:var(--vft-info-color-dark-2);--vft-button-disabled-text-color:var(--vft-color-white);--vft-button-disabled-bg-color:var(--vft-info-color-light-5);--vft-button-disabled-border-color:var(--vft-info-color-light-5)}.vft-button--info.is-link,.vft-button--info.is-plain,.vft-button--info.is-text{--vft-button-text-color:var(--vft-info-color);--vft-button-bg-color:var(--vft-info-color-light-9);--vft-button-border-color:var(--vft-info-color-light-5);--vft-button-hover-text-color:var(--vft-color-white);--vft-button-hover-bg-color:var(--vft-info-color);--vft-button-hover-border-color:var(--vft-info-color);--vft-button-active-text-color:var(--vft-color-white)}.vft-button--info.is-link.is-disabled,.vft-button--info.is-link.is-disabled:active,.vft-button--info.is-link.is-disabled:focus,.vft-button--info.is-link.is-disabled:hover,.vft-button--info.is-plain.is-disabled,.vft-button--info.is-plain.is-disabled:active,.vft-button--info.is-plain.is-disabled:focus,.vft-button--info.is-plain.is-disabled:hover,.vft-button--info.is-text.is-disabled,.vft-button--info.is-text.is-disabled:active,.vft-button--info.is-text.is-disabled:focus,.vft-button--info.is-text.is-disabled:hover{color:var(--vft-info-color-light-5);background-color:var(--vft-info-color-light-9);border-color:var(--vft-info-color-light-8)}.vft-button--large{--vft-button-size:40px;height:var(--vft-button-size);padding:12px 19px;font-size:var(--vft-font-size-base);border-radius:var(--vft-border-radius-base)}.vft-button--large [class*=vft-icon]+span{margin-left:8px}.vft-button--large.is-round{padding:12px 19px}.vft-button--large.is-circle{width:var(--vft-button-size);padding:12px}.vft-button--small{--vft-button-size:24px;height:var(--vft-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--vft-border-radius-base) - 1px)}.vft-button--small [class*=vft-icon]+span{margin-left:4px}.vft-button--small.is-round{padding:5px 11px}.vft-button--small.is-circle{width:var(--vft-button-size);padding:5px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vft-context-menu{border-radius:5px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--vft-footer-layout-bg-color
|
|
1
|
+
:root{--vft-footer-layout-bg-color:var(--vft-header-layout-bg-color);--vft-footer-layout-border-top:var(--vft-border);--vft-footer-layout-left:var(--vft-menu-width);--vft-footer-layout-height:30px;--vft-footer-layout-left-min-width:auto;--vft-footer-layout-right-min-width:auto}.vft-footer-layout{width:calc(100% - var(--vft-footer-layout-left));background-color:var(--vft-footer-layout-bg-color);height:var(--vft-footer-layout-height);border-top:var(--vft-footer-layout-border-top);display:flex;justify-content:space-between;align-items:center;flex:none;overflow:hidden;position:relative;transition:left .5s;left:var(--vft-footer-layout-left)}.vft-footer-layout__left{min-width:var(--vft-footer-layout-left-min-width)}.vft-footer-layout__right{min-width:var(--vft-footer-layout-right-min-width)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--vft-header-layout-height:64px;--vft-header-layout-top-height:40px;--vft-header-layout-bg-color
|
|
1
|
+
:root{--vft-header-layout-height:64px;--vft-header-layout-top-height:40px;--vft-header-layout-bg-color:#eff1f5;--vft-header-layout-z-index:2001;--vft-header-layout-border-bottom:1px solid rgb(231, 231, 231)}.vft-header-layout{height:var(--vft-header-layout-height);background-color:var(--vft-header-layout-bg-color);border-bottom:var(--vft-header-layout-border-bottom);box-sizing:border-box}.vft-header-layout--fixed{z-index:var(--vft-header-layout-z-index);width:100%}.vft-header-layout__top{height:var(--vft-header-layout-top-height);display:flex;align-items:center;justify-content:space-between}.vft-header-layout__left{display:flex;height:100%;align-items:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--vft-icon-text-color:
|
|
1
|
+
:root{--vft-icon-text-color:inherit;--vft-icon-text-font-size:12px;--vft-icon-text-hover-color:var(--vft-icon-text-color)}.vft-icon-text{display:flex;align-items:center;font-size:var(--vft-icon-text-font-size);line-height:1;width:-moz-fit-content;width:fit-content;color:var(--vft-icon-text-color);transition:var(--vft-transition-color)}.vft-icon-text i{font-size:inherit!important}.vft-icon-text:hover{color:var(--vft-icon-text-hover-color)}.vft-icon-text:hover i{color:var(--vft-icon-text-hover-color)!important}
|
package/theme-style/vft-logo.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--vft-logo-img-width:30px;--vft-logo-img-height:30px;--vft-logo-
|
|
1
|
+
:root{--vft-logo-img-width:30px;--vft-logo-img-height:30px;--vft-logo-color:var(--vft-primary-color);--vft-logo-font-size:16px;--vft-logo-font-weight:400;--vft-logo-cursor:pointer}.vft-logo{display:flex;align-items:center;padding-left:20px;cursor:var(--vft-logo-cursor);transition:all .2s ease}.vft-logo__img{width:var(--vft-logo-img-width);height:var(--vft-logo-img-height)}.vft-logo__title{font-size:var(--vft-logo-font-size);font-weight:var(--vft-logo-font-weight);transition:all .5s;line-height:1;color:var(--vft-logo-color)}
|