@zkwq/business 0.0.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/dist/index.css +1 -0
- package/dist/index.js +21861 -0
- package/dist/index.umd.cjs +46 -0
- package/package.json +27 -0
- package/src/components/base/ui/alert/Alert.vue +94 -0
- package/src/components/base/ui/autocomplete/autocomplete-suggestions.vue +77 -0
- package/src/components/base/ui/autocomplete/autocomplete.vue +305 -0
- package/src/components/base/ui/backtop/main.vue +112 -0
- package/src/components/base/ui/button/Button.vue +84 -0
- package/src/components/base/ui/button/ButtonGroup.vue +10 -0
- package/src/components/base/ui/carousel/Carousel.vue +304 -0
- package/src/components/base/ui/carousel/CarouselItem.vue +137 -0
- package/src/components/base/ui/cascader/cascader.vue +650 -0
- package/src/components/base/ui/cascader-panel/cascader-menu.vue +138 -0
- package/src/components/base/ui/cascader-panel/cascader-node.vue +246 -0
- package/src/components/base/ui/cascader-panel/cascader-panel.vue +382 -0
- package/src/components/base/ui/cascader-panel/node.js +166 -0
- package/src/components/base/ui/cascader-panel/store.js +62 -0
- package/src/components/base/ui/checkbox/checkbox-button.vue +199 -0
- package/src/components/base/ui/checkbox/checkbox-group.vue +48 -0
- package/src/components/base/ui/checkbox/checkbox.vue +222 -0
- package/src/components/base/ui/col/col.js +71 -0
- package/src/components/base/ui/collapse/collapse-item.vue +180 -0
- package/src/components/base/ui/collapse/collapse.vue +73 -0
- package/src/components/base/ui/color-picker/color.js +317 -0
- package/src/components/base/ui/color-picker/components/alpha-slider.vue +132 -0
- package/src/components/base/ui/color-picker/components/hue-slider.vue +123 -0
- package/src/components/base/ui/color-picker/components/picker-dropdown.vue +119 -0
- package/src/components/base/ui/color-picker/components/predefine.vue +61 -0
- package/src/components/base/ui/color-picker/components/sv-panel.vue +100 -0
- package/src/components/base/ui/color-picker/draggable.js +36 -0
- package/src/components/base/ui/color-picker/index.js +2 -0
- package/src/components/base/ui/color-picker/main.vue +188 -0
- package/src/components/base/ui/date-picker/basic/date-table.vue +441 -0
- package/src/components/base/ui/date-picker/basic/month-table.vue +254 -0
- package/src/components/base/ui/date-picker/basic/time-spinner.vue +304 -0
- package/src/components/base/ui/date-picker/basic/year-table.vue +101 -0
- package/src/components/base/ui/date-picker/panel/date-range.vue +680 -0
- package/src/components/base/ui/date-picker/panel/date.vue +597 -0
- package/src/components/base/ui/date-picker/panel/month-range.vue +289 -0
- package/src/components/base/ui/date-picker/panel/time-range.vue +248 -0
- package/src/components/base/ui/date-picker/panel/time-select.vue +178 -0
- package/src/components/base/ui/date-picker/panel/time.vue +186 -0
- package/src/components/base/ui/date-picker/picker/date-picker.js +43 -0
- package/src/components/base/ui/date-picker/picker/time-picker.js +39 -0
- package/src/components/base/ui/date-picker/picker/time-select.js +21 -0
- package/src/components/base/ui/date-picker/picker.vue +942 -0
- package/src/components/base/ui/dialog/Index.vue +212 -0
- package/src/components/base/ui/directive/repeat-click.js +24 -0
- package/src/components/base/ui/directive/ripple.js +303 -0
- package/src/components/base/ui/divider/Divider.vue +37 -0
- package/src/components/base/ui/drawer/Drawer.vue +202 -0
- package/src/components/base/ui/dropdown/dropdown-item.vue +39 -0
- package/src/components/base/ui/dropdown/dropdown-menu.vue +63 -0
- package/src/components/base/ui/dropdown/dropdown.vue +308 -0
- package/src/components/base/ui/form/Form.vue +167 -0
- package/src/components/base/ui/form/FormItem.vue +334 -0
- package/src/components/base/ui/form/LabelWrap.vue +69 -0
- package/src/components/base/ui/icon/icon.vue +13 -0
- package/src/components/base/ui/image/image-viewer.vue +302 -0
- package/src/components/base/ui/image/main.vue +248 -0
- package/src/components/base/ui/index.js +189 -0
- package/src/components/base/ui/input/Input.vue +438 -0
- package/src/components/base/ui/input/calcTextareaHeight.js +104 -0
- package/src/components/base/ui/input-number/input-number.vue +285 -0
- package/src/components/base/ui/locale/format.js +32 -0
- package/src/components/base/ui/locale/index.js +48 -0
- package/src/components/base/ui/locale/lang/zh-CN.js +120 -0
- package/src/components/base/ui/menu/menu-item-group.vue +45 -0
- package/src/components/base/ui/menu/menu-item.vue +112 -0
- package/src/components/base/ui/menu/menu-mixin.js +44 -0
- package/src/components/base/ui/menu/menu.vue +312 -0
- package/src/components/base/ui/menu/submenu.vue +408 -0
- package/src/components/base/ui/message/index.js +2 -0
- package/src/components/base/ui/message/main.js +87 -0
- package/src/components/base/ui/message/main.vue +110 -0
- package/src/components/base/ui/message-box/main.js +216 -0
- package/src/components/base/ui/message-box/main.vue +323 -0
- package/src/components/base/ui/mixin/emitter.js +31 -0
- package/src/components/base/ui/mixin/focus.js +9 -0
- package/src/components/base/ui/mixin/locale.js +9 -0
- package/src/components/base/ui/mixin/migrating.js +33 -0
- package/src/components/base/ui/pagination/pager.vue +163 -0
- package/src/components/base/ui/pagination/pagination.jsx +391 -0
- package/src/components/base/ui/popover/directive.js +20 -0
- package/src/components/base/ui/popover/index.js +14 -0
- package/src/components/base/ui/popover/main.vue +236 -0
- package/src/components/base/ui/progress/Progress.vue +227 -0
- package/src/components/base/ui/radio/radio-button.vue +114 -0
- package/src/components/base/ui/radio/radio-group.vue +111 -0
- package/src/components/base/ui/radio/radio.vue +134 -0
- package/src/components/base/ui/row/row.js +47 -0
- package/src/components/base/ui/scrollbar/bar.jsx +91 -0
- package/src/components/base/ui/scrollbar/index.jsx +203 -0
- package/src/components/base/ui/scrollbar/util.js +32 -0
- package/src/components/base/ui/select/Option.vue +168 -0
- package/src/components/base/ui/select/OptionGroup.vue +60 -0
- package/src/components/base/ui/select/Select.vue +920 -0
- package/src/components/base/ui/select/SelectDropdown.vue +74 -0
- package/src/components/base/ui/select/navigation-mixin.js +54 -0
- package/src/components/base/ui/skeleton/index.js +8 -0
- package/src/components/base/ui/skeleton/src/img-placeholder.vue +16 -0
- package/src/components/base/ui/skeleton/src/index.vue +80 -0
- package/src/components/base/ui/skeleton/src/item.vue +22 -0
- package/src/components/base/ui/skeleton-item/index.js +8 -0
- package/src/components/base/ui/slider/button.vue +238 -0
- package/src/components/base/ui/slider/main.vue +427 -0
- package/src/components/base/ui/slider/marker.js +18 -0
- package/src/components/base/ui/style/alert.scss +147 -0
- package/src/components/base/ui/style/animations.scss +65 -0
- package/src/components/base/ui/style/autocomplete.scss +81 -0
- package/src/components/base/ui/style/backtop.scss +20 -0
- package/src/components/base/ui/style/button-group.scss +0 -0
- package/src/components/base/ui/style/button.scss +380 -0
- package/src/components/base/ui/style/carousel-item.scss +50 -0
- package/src/components/base/ui/style/carousel.scss +161 -0
- package/src/components/base/ui/style/cascader-panel.scss +120 -0
- package/src/components/base/ui/style/cascader.scss +185 -0
- package/src/components/base/ui/style/checkbox-button.scss +0 -0
- package/src/components/base/ui/style/checkbox-group.scss +0 -0
- package/src/components/base/ui/style/checkbox.scss +360 -0
- package/src/components/base/ui/style/col.scss +156 -0
- package/src/components/base/ui/style/collapse-item.scss +0 -0
- package/src/components/base/ui/style/collapse.scss +114 -0
- package/src/components/base/ui/style/color-picker.scss +387 -0
- package/src/components/base/ui/style/config.scss +4 -0
- package/src/components/base/ui/style/date-picker/date-picker.scss +97 -0
- package/src/components/base/ui/style/date-picker/date-range-picker.scss +101 -0
- package/src/components/base/ui/style/date-picker/date-table.scss +151 -0
- package/src/components/base/ui/style/date-picker/month-table.scss +82 -0
- package/src/components/base/ui/style/date-picker/picker-panel.scss +117 -0
- package/src/components/base/ui/style/date-picker/picker.scss +197 -0
- package/src/components/base/ui/style/date-picker/time-picker.scss +85 -0
- package/src/components/base/ui/style/date-picker/time-range-picker.scss +31 -0
- package/src/components/base/ui/style/date-picker/time-spinner.scss +110 -0
- package/src/components/base/ui/style/date-picker/year-table.scss +51 -0
- package/src/components/base/ui/style/date-picker.scss +12 -0
- package/src/components/base/ui/style/dialog.scss +123 -0
- package/src/components/base/ui/style/divider.scss +47 -0
- package/src/components/base/ui/style/drawer.scss +218 -0
- package/src/components/base/ui/style/dropdown-item.scss +0 -0
- package/src/components/base/ui/style/dropdown-menu.scss +0 -0
- package/src/components/base/ui/style/dropdown.scss +185 -0
- package/src/components/base/ui/style/form-item.scss +0 -0
- package/src/components/base/ui/style/form.scss +203 -0
- package/src/components/base/ui/style/function.scss +43 -0
- package/src/components/base/ui/style/icon.scss +1167 -0
- package/src/components/base/ui/style/image.scss +184 -0
- package/src/components/base/ui/style/index.scss +57 -0
- package/src/components/base/ui/style/input-number.scss +187 -0
- package/src/components/base/ui/style/input.scss +477 -0
- package/src/components/base/ui/style/menu-item-group.scss +0 -0
- package/src/components/base/ui/style/menu-item.scss +0 -0
- package/src/components/base/ui/style/menu.scss +294 -0
- package/src/components/base/ui/style/message-box.scss +231 -0
- package/src/components/base/ui/style/message.scss +120 -0
- package/src/components/base/ui/style/mixins.scss +196 -0
- package/src/components/base/ui/style/option-group.scss +42 -0
- package/src/components/base/ui/style/option.scss +36 -0
- package/src/components/base/ui/style/pagination.scss +295 -0
- package/src/components/base/ui/style/popover.scss +40 -0
- package/src/components/base/ui/style/popper.scss +102 -0
- package/src/components/base/ui/style/popup.scss +42 -0
- package/src/components/base/ui/style/progress.scss +141 -0
- package/src/components/base/ui/style/radio-button.scss +113 -0
- package/src/components/base/ui/style/radio-group.scss +9 -0
- package/src/components/base/ui/style/radio.scss +203 -0
- package/src/components/base/ui/style/ripple.scss +35 -0
- package/src/components/base/ui/style/row.scss +39 -0
- package/src/components/base/ui/style/scrollbar.scss +75 -0
- package/src/components/base/ui/style/select-dropdown.scss +59 -0
- package/src/components/base/ui/style/select.scss +154 -0
- package/src/components/base/ui/style/skeleton-item.scss +84 -0
- package/src/components/base/ui/style/skeleton.scss +40 -0
- package/src/components/base/ui/style/slider.scss +250 -0
- package/src/components/base/ui/style/switch.scss +116 -0
- package/src/components/base/ui/style/tabs.scss +602 -0
- package/src/components/base/ui/style/tag.scss +174 -0
- package/src/components/base/ui/style/tooltip.scss +146 -0
- package/src/components/base/ui/style/transition.scss +138 -0
- package/src/components/base/ui/style/upload.scss +603 -0
- package/src/components/base/ui/style/utils.scss +39 -0
- package/src/components/base/ui/style/var.scss +1007 -0
- package/src/components/base/ui/switch/index.vue +174 -0
- package/src/components/base/ui/tabs/tab-bar.vue +57 -0
- package/src/components/base/ui/tabs/tab-nav.vue +294 -0
- package/src/components/base/ui/tabs/tab-pane.vue +56 -0
- package/src/components/base/ui/tabs/tabs.vue +191 -0
- package/src/components/base/ui/tag/Tag.vue +60 -0
- package/src/components/base/ui/tooltip/tooltip.jsx +234 -0
- package/src/components/base/ui/upload/Index.vue +340 -0
- package/src/components/base/ui/upload/Upload.vue +216 -0
- package/src/components/base/ui/upload/UploadDragger.vue +70 -0
- package/src/components/base/ui/upload/UploadList.vue +100 -0
- package/src/components/base/ui/upload/ajax.js +85 -0
- package/src/components/base/ui/util/aria-dialog.js +90 -0
- package/src/components/base/ui/util/aria-utils.js +122 -0
- package/src/components/base/ui/util/clickoutside.js +76 -0
- package/src/components/base/ui/util/date-util.js +292 -0
- package/src/components/base/ui/util/date.js +370 -0
- package/src/components/base/ui/util/debounce.js +21 -0
- package/src/components/base/ui/util/deepmerge.js +100 -0
- package/src/components/base/ui/util/dom.js +215 -0
- package/src/components/base/ui/util/index.js +262 -0
- package/src/components/base/ui/util/menu/aria-menubar.js +14 -0
- package/src/components/base/ui/util/menu/aria-menuitem.js +49 -0
- package/src/components/base/ui/util/menu/aria-submenu.js +59 -0
- package/src/components/base/ui/util/merge.js +14 -0
- package/src/components/base/ui/util/popper.js +1235 -0
- package/src/components/base/ui/util/popup/index.js +218 -0
- package/src/components/base/ui/util/popup/popup-manager.js +194 -0
- package/src/components/base/ui/util/resize-events.js +32 -0
- package/src/components/base/ui/util/scroll-into-view.js +27 -0
- package/src/components/base/ui/util/scrollbar-width.js +29 -0
- package/src/components/base/ui/util/shared.js +7 -0
- package/src/components/base/ui/util/throttle.js +91 -0
- package/src/components/base/ui/util/types.js +24 -0
- package/src/components/base/ui/util/vdom.js +5 -0
- package/src/components/base/ui/util/vue-popper.js +188 -0
- package/src/components/normal/AggsItemH.vue +139 -0
- package/src/index.js +10 -0
- package/src/static/base-icons.ttf +0 -0
- package/src/static/base-icons.woff +0 -0
- package/src/static/label_bg.png +0 -0
- package/src/static/term-label-bg.png +0 -0
- package/src/style/app-article.scss +698 -0
- package/src/style/app-comment.scss +259 -0
- package/src/style/app-recommend.scss +48 -0
- package/src/style/app-richtext.scss +176 -0
- package/src/style/index.scss +523 -0
- package/vite.config.js +38 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
@import "mixins";
|
|
2
|
+
@import "var";
|
|
3
|
+
|
|
4
|
+
@mixin genTheme($backgroundColorWeight, $borderColorWeight, $fontColorWeight, $hoverColorWeight) {
|
|
5
|
+
background-color: mix($--tag-primary-color, $--color-white, $backgroundColorWeight);
|
|
6
|
+
border-color: mix($--tag-primary-color, $--color-white, $borderColorWeight);
|
|
7
|
+
color: mix($--tag-primary-color, $--color-white, $fontColorWeight);
|
|
8
|
+
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
|
|
11
|
+
@include when(hit) {
|
|
12
|
+
border-color: $--tag-primary-color;
|
|
13
|
+
}
|
|
14
|
+
@include when(round) {
|
|
15
|
+
border-radius: 20px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.base-tag__close {
|
|
19
|
+
color: mix($--tag-primary-color, $--color-white, $fontColorWeight);
|
|
20
|
+
&:hover {
|
|
21
|
+
color: $--color-white;
|
|
22
|
+
background-color: mix($--tag-primary-color, $--color-white, $hoverColorWeight);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.base-tag--info {
|
|
27
|
+
background-color: mix($--tag-info-color, $--color-white, $backgroundColorWeight);
|
|
28
|
+
border-color: mix($--tag-info-color, $--color-white, $borderColorWeight);
|
|
29
|
+
color: mix($--tag-info-color, $--color-white, $fontColorWeight);
|
|
30
|
+
|
|
31
|
+
@include when(hit) {
|
|
32
|
+
border-color: $--tag-info-color;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.base-tag__close {
|
|
36
|
+
color: mix($--tag-info-color, $--color-white, $fontColorWeight);
|
|
37
|
+
&:hover {
|
|
38
|
+
color: $--color-white;
|
|
39
|
+
background-color: mix($--tag-info-color, $--color-white, $hoverColorWeight);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.base-tag--success {
|
|
45
|
+
background-color: mix($--tag-success-color, $--color-white, $backgroundColorWeight);
|
|
46
|
+
border-color: mix($--tag-success-color, $--color-white, $borderColorWeight);
|
|
47
|
+
color: mix($--tag-success-color, $--color-white, $fontColorWeight);
|
|
48
|
+
|
|
49
|
+
@include when(hit) {
|
|
50
|
+
border-color: $--tag-success-color;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.base-tag__close {
|
|
54
|
+
color: mix($--tag-success-color, $--color-white, $fontColorWeight);
|
|
55
|
+
&:hover {
|
|
56
|
+
color: $--color-white;
|
|
57
|
+
background-color: mix($--tag-success-color, $--color-white, $hoverColorWeight);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.base-tag--warning {
|
|
63
|
+
background-color: mix($--tag-warning-color, $--color-white, $backgroundColorWeight)!important;
|
|
64
|
+
border-color: mix($--tag-warning-color, $--color-white, $borderColorWeight)!important;
|
|
65
|
+
color: mix($--tag-warning-color, $--color-white, $fontColorWeight)!important;
|
|
66
|
+
|
|
67
|
+
@include when(hit) {
|
|
68
|
+
border-color: $--tag-warning-color;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.base-tag__close {
|
|
72
|
+
color: mix($--tag-warning-color, $--color-white, $fontColorWeight);
|
|
73
|
+
&:hover {
|
|
74
|
+
color: $--color-white;
|
|
75
|
+
background-color: mix($--tag-warning-color, $--color-white, $hoverColorWeight);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.base-tag--danger {
|
|
81
|
+
background-color: mix($--tag-danger-color, $--color-white, $backgroundColorWeight);
|
|
82
|
+
border-color: mix($--tag-danger-color, $--color-white, $borderColorWeight);
|
|
83
|
+
color: mix($--tag-danger-color, $--color-white, $fontColorWeight);
|
|
84
|
+
|
|
85
|
+
@include when(hit) {
|
|
86
|
+
border-color: $--tag-danger-color;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.base-tag__close {
|
|
90
|
+
color: mix($--tag-danger-color, $--color-white, $fontColorWeight);
|
|
91
|
+
&:hover {
|
|
92
|
+
color: $--color-white;
|
|
93
|
+
background-color: mix($--tag-danger-color, $--color-white, $hoverColorWeight);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@include b(tag) {
|
|
100
|
+
@include genTheme(10%, 20%, 100%, 100%);
|
|
101
|
+
display: inline-block;
|
|
102
|
+
height: 32px;
|
|
103
|
+
padding: $--tag-padding;
|
|
104
|
+
line-height: 30px;
|
|
105
|
+
font-size: $--tag-font-size;
|
|
106
|
+
color: $--tag-primary-color;
|
|
107
|
+
border-width: 1px;
|
|
108
|
+
border-style: solid;
|
|
109
|
+
border-radius: $--tag-border-radius;
|
|
110
|
+
box-sizing: border-box;
|
|
111
|
+
white-space: nowrap;
|
|
112
|
+
|
|
113
|
+
.base-icon-close {
|
|
114
|
+
border-radius: 50%;
|
|
115
|
+
text-align: center;
|
|
116
|
+
position: relative;
|
|
117
|
+
cursor: pointer;
|
|
118
|
+
font-size: 12px;
|
|
119
|
+
height: 16px;
|
|
120
|
+
width: 16px;
|
|
121
|
+
line-height: 16px;
|
|
122
|
+
vertical-align: middle;
|
|
123
|
+
top: -1px;
|
|
124
|
+
right: -5px;
|
|
125
|
+
|
|
126
|
+
&::before {
|
|
127
|
+
display: block;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@include m(dark) {
|
|
132
|
+
|
|
133
|
+
@include genTheme(100%, 100%, 0, 80%);
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
@include m(plain) {
|
|
139
|
+
@include genTheme(0, 40%, 100%, 100%);
|
|
140
|
+
background-color: mix($--tag-primary-color, $--color-white, 0)!important;
|
|
141
|
+
border-color: mix($--tag-primary-color, $--color-white, 40%)!important;
|
|
142
|
+
color: mix($--tag-primary-color, $--color-white, 100%)!important;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@include m(medium) {
|
|
146
|
+
height: 28px;
|
|
147
|
+
line-height: 26px;
|
|
148
|
+
|
|
149
|
+
.base-icon-close {
|
|
150
|
+
transform: scale(.8);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@include m(small) {
|
|
155
|
+
height: 24px;
|
|
156
|
+
padding: 0 8px;
|
|
157
|
+
line-height: 22px;
|
|
158
|
+
|
|
159
|
+
.base-icon-close {
|
|
160
|
+
transform: scale(.8);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@include m(mini) {
|
|
165
|
+
height: 20px;
|
|
166
|
+
padding: 0 5px;
|
|
167
|
+
line-height: 19px;
|
|
168
|
+
|
|
169
|
+
.base-icon-close {
|
|
170
|
+
margin-left: -3px;
|
|
171
|
+
transform: scale(.7);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
@import "mixins";
|
|
2
|
+
@import "var";
|
|
3
|
+
|
|
4
|
+
@include b(tooltip) {
|
|
5
|
+
&:focus:not(.focusing), &:focus:hover {
|
|
6
|
+
outline-width: 0;
|
|
7
|
+
}
|
|
8
|
+
@include e(popper) {
|
|
9
|
+
position: absolute;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
z-index: $--index-popper;
|
|
12
|
+
min-width: 10px;
|
|
13
|
+
word-wrap: break-word;
|
|
14
|
+
font-size: 12px;
|
|
15
|
+
line-height: 1.2;
|
|
16
|
+
display: inline-block;
|
|
17
|
+
padding: 8px 10px;
|
|
18
|
+
text-transform: none;
|
|
19
|
+
width: auto;
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
opacity: .9;
|
|
22
|
+
.popper__arrow,
|
|
23
|
+
.popper__arrow::after {
|
|
24
|
+
position: absolute;
|
|
25
|
+
display: block;
|
|
26
|
+
width: 0;
|
|
27
|
+
height: 0;
|
|
28
|
+
border-color: transparent;
|
|
29
|
+
border-style: solid;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.popper__arrow {
|
|
33
|
+
border-width: $--tooltip-arrow-size;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.popper__arrow::after {
|
|
37
|
+
content: " ";
|
|
38
|
+
border-width: 5px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&[x-placement^="top"] {
|
|
42
|
+
margin-bottom: #{$--tooltip-arrow-size + 6px};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&[x-placement^="top"] .popper__arrow {
|
|
46
|
+
bottom: -$--tooltip-arrow-size;
|
|
47
|
+
border-top-color: $--tooltip-border-color;
|
|
48
|
+
border-bottom-width: 0;
|
|
49
|
+
|
|
50
|
+
&::after {
|
|
51
|
+
bottom: 1px;
|
|
52
|
+
margin-left: -5px;
|
|
53
|
+
border-top-color: $--tooltip-fill;
|
|
54
|
+
border-bottom-width: 0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&[x-placement^="bottom"] {
|
|
59
|
+
margin-top: #{$--tooltip-arrow-size + 6px};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&[x-placement^="bottom"] .popper__arrow {
|
|
63
|
+
top: -$--tooltip-arrow-size;
|
|
64
|
+
border-top-width: 0;
|
|
65
|
+
border-bottom-color: $--tooltip-border-color;
|
|
66
|
+
|
|
67
|
+
&::after {
|
|
68
|
+
top: 1px;
|
|
69
|
+
margin-left: -5px;
|
|
70
|
+
border-top-width: 0;
|
|
71
|
+
border-bottom-color: $--tooltip-fill;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&[x-placement^="right"] {
|
|
76
|
+
margin-left: #{$--tooltip-arrow-size + 6px};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&[x-placement^="right"] .popper__arrow {
|
|
80
|
+
left: -$--tooltip-arrow-size;
|
|
81
|
+
border-right-color: $--tooltip-border-color;
|
|
82
|
+
border-left-width: 0;
|
|
83
|
+
|
|
84
|
+
&::after {
|
|
85
|
+
bottom: -5px;
|
|
86
|
+
left: 1px;
|
|
87
|
+
border-right-color: $--tooltip-fill;
|
|
88
|
+
border-left-width: 0;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&[x-placement^="left"] {
|
|
93
|
+
margin-right: #{$--tooltip-arrow-size + 6px};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&[x-placement^="left"] .popper__arrow {
|
|
97
|
+
right: -$--tooltip-arrow-size;
|
|
98
|
+
border-right-width: 0;
|
|
99
|
+
border-left-color: $--tooltip-border-color;
|
|
100
|
+
|
|
101
|
+
&::after {
|
|
102
|
+
right: 1px;
|
|
103
|
+
bottom: -5px;
|
|
104
|
+
margin-left: -5px;
|
|
105
|
+
border-right-width: 0;
|
|
106
|
+
border-left-color: $--tooltip-fill;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@include when(dark) {
|
|
111
|
+
// background: $--tooltip-fill;
|
|
112
|
+
background: rgba(97,97,97,.9);
|
|
113
|
+
color: $--tooltip-color;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@include when(light) {
|
|
117
|
+
background: $--tooltip-color;
|
|
118
|
+
border: 1px solid $--tooltip-fill;
|
|
119
|
+
|
|
120
|
+
&[x-placement^="top"] .popper__arrow {
|
|
121
|
+
border-top-color: $--tooltip-fill;
|
|
122
|
+
&::after {
|
|
123
|
+
border-top-color: $--tooltip-color;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
&[x-placement^="bottom"] .popper__arrow {
|
|
127
|
+
border-bottom-color: $--tooltip-fill;
|
|
128
|
+
&::after {
|
|
129
|
+
border-bottom-color: $--tooltip-color;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
&[x-placement^="left"] .popper__arrow {
|
|
133
|
+
border-left-color: $--tooltip-fill;
|
|
134
|
+
&::after {
|
|
135
|
+
border-left-color: $--tooltip-color;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
&[x-placement^="right"] .popper__arrow {
|
|
139
|
+
border-right-color: $--tooltip-fill;
|
|
140
|
+
&::after {
|
|
141
|
+
border-right-color: $--tooltip-color;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
@import "var";
|
|
2
|
+
|
|
3
|
+
.fade-in-linear-enter-active,
|
|
4
|
+
.fade-in-linear-leave-active {
|
|
5
|
+
transition: $--fade-linear-transition;
|
|
6
|
+
}
|
|
7
|
+
.fade-in-linear-enter,
|
|
8
|
+
.fade-in-linear-leave,
|
|
9
|
+
.fade-in-linear-leave-active {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.base-fade-in-linear-enter-active,
|
|
14
|
+
.base-fade-in-linear-leave-active {
|
|
15
|
+
transition: $--fade-linear-transition;
|
|
16
|
+
}
|
|
17
|
+
.base-fade-in-linear-enter,
|
|
18
|
+
.base-fade-in-linear-leave,
|
|
19
|
+
.base-fade-in-linear-leave-active {
|
|
20
|
+
opacity: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.base-fade-in-enter-active,
|
|
24
|
+
.base-fade-in-leave-active {
|
|
25
|
+
transition: all .3s cubic-bezier(.55,0,.1,1);
|
|
26
|
+
}
|
|
27
|
+
.base-fade-in-enter,
|
|
28
|
+
.base-fade-in-leave-active {
|
|
29
|
+
opacity: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.base-zoom-in-center-enter-active,
|
|
33
|
+
.base-zoom-in-center-leave-active {
|
|
34
|
+
transition: all .3s cubic-bezier(.55,0,.1,1);
|
|
35
|
+
}
|
|
36
|
+
.base-zoom-in-center-enter,
|
|
37
|
+
.base-zoom-in-center-leave-active {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transform: scaleX(0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.base-zoom-in-top-enter-active,
|
|
43
|
+
.base-zoom-in-top-leave-active {
|
|
44
|
+
opacity: 1;
|
|
45
|
+
transform: scaleY(1);
|
|
46
|
+
transition: $--md-fade-transition;
|
|
47
|
+
transform-origin: center top;
|
|
48
|
+
}
|
|
49
|
+
.base-zoom-in-top-enter,
|
|
50
|
+
.base-zoom-in-top-leave-active {
|
|
51
|
+
opacity: 0;
|
|
52
|
+
transform: scaleY(0);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.base-zoom-in-bottom-enter-active,
|
|
56
|
+
.base-zoom-in-bottom-leave-active {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
transform: scaleY(1);
|
|
59
|
+
transition: $--md-fade-transition;
|
|
60
|
+
transform-origin: center bottom;
|
|
61
|
+
}
|
|
62
|
+
.base-zoom-in-bottom-enter,
|
|
63
|
+
.base-zoom-in-bottom-leave-active {
|
|
64
|
+
opacity: 0;
|
|
65
|
+
transform: scaleY(0);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.base-zoom-in-left-enter-active,
|
|
69
|
+
.base-zoom-in-left-leave-active {
|
|
70
|
+
opacity: 1;
|
|
71
|
+
transform: scale(1, 1);
|
|
72
|
+
transition: $--md-fade-transition;
|
|
73
|
+
transform-origin: top left;
|
|
74
|
+
}
|
|
75
|
+
.base-zoom-in-left-enter,
|
|
76
|
+
.base-zoom-in-left-leave-active {
|
|
77
|
+
opacity: 0;
|
|
78
|
+
transform: scale(.45, .45);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.base-tooltip-enter-active,
|
|
82
|
+
.base-tooltip-leave-active {
|
|
83
|
+
opacity: .9;
|
|
84
|
+
transform: scale(1, 1);
|
|
85
|
+
transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
86
|
+
}
|
|
87
|
+
.base-tooltip-enter,
|
|
88
|
+
.base-tooltip-leave-active {
|
|
89
|
+
opacity: 0;
|
|
90
|
+
transform: scale(0);
|
|
91
|
+
}
|
|
92
|
+
.base-tooltip-move {
|
|
93
|
+
transition: transform .6s
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.collapse-transition {
|
|
97
|
+
transition: 0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out;
|
|
98
|
+
}
|
|
99
|
+
.horizontal-collapse-transition {
|
|
100
|
+
transition: 0.3s width ease-in-out, 0.3s padding-left ease-in-out, 0.3s padding-right ease-in-out;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.base-list-enter-active,
|
|
104
|
+
.base-list-leave-active {
|
|
105
|
+
transition: all 1s;
|
|
106
|
+
}
|
|
107
|
+
.base-list-enter, .base-list-leave-active {
|
|
108
|
+
opacity: 0;
|
|
109
|
+
transform: translateY(-30px);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.base-opacity-transition {
|
|
113
|
+
transition: opacity .3s cubic-bezier(.55,0,.1,1);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.base-slide-y-enter-active,
|
|
117
|
+
.base-slide-y-leave-active {
|
|
118
|
+
transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
119
|
+
}
|
|
120
|
+
.base-slide-y-move {
|
|
121
|
+
transition: transform .6s;
|
|
122
|
+
}
|
|
123
|
+
.base-slide-y-enter, .base-slide-y-leave-to {
|
|
124
|
+
opacity: 0;
|
|
125
|
+
transform: translateY(-15px);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
.base-flip-list-enter, .base-flip-list-leave-to {
|
|
130
|
+
opacity: 0;
|
|
131
|
+
transform: translateY(30px);
|
|
132
|
+
}
|
|
133
|
+
.base-flip-list-leave-active {
|
|
134
|
+
position: absolute;
|
|
135
|
+
}
|
|
136
|
+
.base-flip-list-move {
|
|
137
|
+
transition: transform .6s;
|
|
138
|
+
}
|