@type-dom/ui 0.4.0 → 0.4.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/README.md +134 -134
- package/dist/package.json +1 -1
- package/dist/src/components/data/td-progress/td-progress.class.js +5 -5
- package/dist/src/components/data/td-statistic/td-statistic.class.d.ts +2 -2
- package/dist/src/components/data/td-statistic/td-statistic.class.d.ts.map +1 -1
- package/dist/src/components/feedback/td-message/method.d.ts +1 -1
- package/dist/src/components/feedback/td-message/method.d.ts.map +1 -1
- package/dist/src/components/feedback/td-message/method.js +24 -7
- package/dist/src/components/feedback/td-message/method.js.map +1 -1
- package/dist/src/components/feedback/td-tooltip/td-tooltip.const.d.ts.map +1 -1
- package/dist/src/components/form/td-date-picker/composables/use-shortcut.d.ts +1 -1
- package/dist/src/components/form/td-date-picker/composables/use-shortcut.d.ts.map +1 -1
- package/dist/src/components/form/td-date-picker/composables/use-shortcut.js +1 -1
- package/dist/src/components/form/td-date-picker/composables/use-shortcut.js.map +1 -1
- package/dist/src/components/form/td-date-picker/utils.d.ts +1 -1
- package/dist/src/components/form/td-date-picker/utils.d.ts.map +1 -1
- package/dist/src/components/form/td-date-picker/utils.js +1 -1
- package/dist/src/components/form/td-date-picker/utils.js.map +1 -1
- package/dist/src/components/form/td-time-picker/time-picker-com/panel-time-pick.class.js +1 -1
- package/dist/src/components/form/td-time-picker/time-picker-com/panel-time-pick.class.js.map +1 -1
- package/dist/src/components/form/td-time-picker/utils.d.ts +1 -1
- package/dist/src/components/form/td-time-picker/utils.d.ts.map +1 -1
- package/dist/src/components/form/td-time-picker/utils.js +1 -1
- package/dist/src/components/form/td-time-picker/utils.js.map +1 -1
- package/dist/src/hooks/use-deprecated/index.js +2 -2
- package/dist/src/hooks/use-id/index.js +4 -4
- package/dist/src/hooks/use-z-index/index.js +1 -1
- package/dist/src/theme-chalk/affix.scss +7 -7
- package/dist/src/theme-chalk/alert.scss +115 -115
- package/dist/src/theme-chalk/anchor-link.scss +41 -41
- package/dist/src/theme-chalk/anchor.scss +88 -88
- package/dist/src/theme-chalk/aside.scss +8 -8
- package/dist/src/theme-chalk/autocomplete.scss +89 -89
- package/dist/src/theme-chalk/avatar.scss +55 -55
- package/dist/src/theme-chalk/backtop.scss +29 -29
- package/dist/src/theme-chalk/badge.scss +58 -58
- package/dist/src/theme-chalk/base.scss +3 -3
- package/dist/src/theme-chalk/breadcrumb.scss +62 -62
- package/dist/src/theme-chalk/button-group.scss +80 -80
- package/dist/src/theme-chalk/button.scss +304 -304
- package/dist/src/theme-chalk/calendar.scss +80 -80
- package/dist/src/theme-chalk/card.scss +45 -45
- package/dist/src/theme-chalk/carousel-item.scss +58 -58
- package/dist/src/theme-chalk/carousel.scss +188 -188
- package/dist/src/theme-chalk/cascader-panel.scss +138 -138
- package/dist/src/theme-chalk/cascader.scss +247 -247
- package/dist/src/theme-chalk/check-tag.scss +60 -60
- package/dist/src/theme-chalk/checkbox-button.scss +140 -140
- package/dist/src/theme-chalk/checkbox-group.scss +7 -7
- package/dist/src/theme-chalk/checkbox.scss +298 -298
- package/dist/src/theme-chalk/col.scss +48 -48
- package/dist/src/theme-chalk/collapse.scss +70 -70
- package/dist/src/theme-chalk/color/index.scss +20 -20
- package/dist/src/theme-chalk/color-picker.scss +393 -393
- package/dist/src/theme-chalk/common/popup.scss +47 -47
- package/dist/src/theme-chalk/common/transition.scss +122 -122
- package/dist/src/theme-chalk/common/var.scss +1655 -1655
- package/dist/src/theme-chalk/container.scss +14 -14
- package/dist/src/theme-chalk/dark/css-vars.scss +39 -39
- package/dist/src/theme-chalk/dark/var.scss +222 -222
- package/dist/src/theme-chalk/date-picker/date-picker.scss +110 -110
- package/dist/src/theme-chalk/date-picker/date-range-picker.scss +113 -113
- package/dist/src/theme-chalk/date-picker/date-table.scss +158 -158
- package/dist/src/theme-chalk/date-picker/month-table.scss +112 -112
- package/dist/src/theme-chalk/date-picker/picker-panel.scss +131 -131
- package/dist/src/theme-chalk/date-picker/picker.scss +212 -212
- package/dist/src/theme-chalk/date-picker/time-picker.scss +90 -90
- package/dist/src/theme-chalk/date-picker/time-range-picker.scss +33 -33
- package/dist/src/theme-chalk/date-picker/time-spinner.scss +111 -111
- package/dist/src/theme-chalk/date-picker/year-table.scss +108 -108
- package/dist/src/theme-chalk/date-picker.scss +9 -9
- package/dist/src/theme-chalk/descriptions-item.scss +73 -73
- package/dist/src/theme-chalk/descriptions.scss +152 -152
- package/dist/src/theme-chalk/dialog.scss +192 -192
- package/dist/src/theme-chalk/display.scss +12 -12
- package/dist/src/theme-chalk/divider.scss +48 -48
- package/dist/src/theme-chalk/drawer.scss +155 -155
- package/dist/src/theme-chalk/dropdown.scss +208 -208
- package/dist/src/theme-chalk/empty.scss +49 -49
- package/dist/src/theme-chalk/footer.scss +12 -12
- package/dist/src/theme-chalk/form.scss +244 -244
- package/dist/src/theme-chalk/header.scss +12 -12
- package/dist/src/theme-chalk/icon.scss +45 -45
- package/dist/src/theme-chalk/image-viewer.scss +155 -155
- package/dist/src/theme-chalk/image.scss +49 -49
- package/dist/src/theme-chalk/index.scss +111 -111
- package/dist/src/theme-chalk/input-number.scss +186 -186
- package/dist/src/theme-chalk/input-tag.scss +220 -220
- package/dist/src/theme-chalk/input.scss +474 -474
- package/dist/src/theme-chalk/link.scss +90 -90
- package/dist/src/theme-chalk/loading.scss +104 -104
- package/dist/src/theme-chalk/main.scss +14 -14
- package/dist/src/theme-chalk/mention.scss +92 -92
- package/dist/src/theme-chalk/menu.scss +339 -339
- package/dist/src/theme-chalk/message-box.scss +213 -213
- package/dist/src/theme-chalk/message.scss +98 -98
- package/dist/src/theme-chalk/mixins/_button.scss +165 -165
- package/dist/src/theme-chalk/mixins/_col.scss +33 -33
- package/dist/src/theme-chalk/mixins/_var.scss +67 -67
- package/dist/src/theme-chalk/mixins/config.scss +5 -5
- package/dist/src/theme-chalk/mixins/function.scss +88 -88
- package/dist/src/theme-chalk/mixins/mixins.scss +240 -240
- package/dist/src/theme-chalk/mixins/utils.scss +39 -39
- package/dist/src/theme-chalk/notification.scss +107 -107
- package/dist/src/theme-chalk/option-group.scss +33 -33
- package/dist/src/theme-chalk/option.scss +71 -71
- package/dist/src/theme-chalk/overlay.scss +17 -17
- package/dist/src/theme-chalk/page-header.scss +60 -60
- package/dist/src/theme-chalk/pagination.scss +238 -238
- package/dist/src/theme-chalk/popconfirm.scss +16 -16
- package/dist/src/theme-chalk/popover.scss +61 -61
- package/dist/src/theme-chalk/popper.scss +106 -106
- package/dist/src/theme-chalk/progress.scss +179 -179
- package/dist/src/theme-chalk/radio-button.scss +169 -169
- package/dist/src/theme-chalk/radio-group.scss +9 -9
- package/dist/src/theme-chalk/radio.scss +215 -215
- package/dist/src/theme-chalk/rate.scss +108 -108
- package/dist/src/theme-chalk/reset.scss +98 -98
- package/dist/src/theme-chalk/result.scss +57 -57
- package/dist/src/theme-chalk/row.scss +35 -35
- package/dist/src/theme-chalk/scrollbar.scss +97 -97
- package/dist/src/theme-chalk/segmented.scss +183 -183
- package/dist/src/theme-chalk/select-dropdown-v2.scss +1 -1
- package/dist/src/theme-chalk/select-dropdown.scss +57 -57
- package/dist/src/theme-chalk/select-v2.scss +4 -4
- package/dist/src/theme-chalk/select.scss +264 -264
- package/dist/src/theme-chalk/skeleton-item.scss +83 -83
- package/dist/src/theme-chalk/skeleton.scss +44 -44
- package/dist/src/theme-chalk/slider.scss +212 -212
- package/dist/src/theme-chalk/space.scss +20 -20
- package/dist/src/theme-chalk/spinner.scss +43 -43
- package/dist/src/theme-chalk/statistic.scss +35 -35
- package/dist/src/theme-chalk/step.scss +316 -316
- package/dist/src/theme-chalk/steps.scss +21 -21
- package/dist/src/theme-chalk/switch.scss +300 -300
- package/dist/src/theme-chalk/table-column.scss +98 -98
- package/dist/src/theme-chalk/table-v2.scss +236 -236
- package/dist/src/theme-chalk/table.scss +694 -694
- package/dist/src/theme-chalk/tabs.scss +660 -660
- package/dist/src/theme-chalk/tag.scss +181 -181
- package/dist/src/theme-chalk/text.scss +51 -51
- package/dist/src/theme-chalk/time-picker.scss +5 -5
- package/dist/src/theme-chalk/time-select.scss +37 -37
- package/dist/src/theme-chalk/timeline-item.scss +84 -84
- package/dist/src/theme-chalk/timeline.scss +46 -46
- package/dist/src/theme-chalk/tooltip-v2.scss +95 -95
- package/dist/src/theme-chalk/tour.scss +187 -187
- package/dist/src/theme-chalk/transfer.scss +203 -203
- package/dist/src/theme-chalk/tree-select.scss +41 -41
- package/dist/src/theme-chalk/tree.scss +134 -134
- package/dist/src/theme-chalk/upload.scss +654 -654
- package/dist/src/theme-chalk/var.scss +87 -87
- package/dist/src/theme-chalk/virtual-list.scss +40 -40
- package/package.json +42 -42
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@use 'mixins/mixins' as *;
|
|
4
|
-
@use 'mixins/utils' as *;
|
|
5
|
-
@use 'mixins/var' as *;
|
|
6
|
-
@use 'common/var' as *;
|
|
7
|
-
@use 'common/popup' as *;
|
|
8
|
-
|
|
9
|
-
@include b(dialog) {
|
|
10
|
-
@include set-component-css-var('dialog', $dialog);
|
|
11
|
-
|
|
12
|
-
position: relative;
|
|
13
|
-
margin: var(#{getCssVarName('dialog-margin-top')}, 15vh) auto 50px;
|
|
14
|
-
background: getCssVar('dialog', 'bg-color');
|
|
15
|
-
border-radius: getCssVar('dialog', 'border-radius');
|
|
16
|
-
box-shadow: getCssVar('dialog', 'box-shadow');
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
padding: getCssVar('dialog', 'padding-primary');
|
|
19
|
-
width: var(#{getCssVarName('dialog-width')}, 50%);
|
|
20
|
-
overflow-wrap: break-word;
|
|
21
|
-
|
|
22
|
-
&:focus {
|
|
23
|
-
outline: none !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@include when(align-center) {
|
|
27
|
-
margin: auto;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@include when(fullscreen) {
|
|
31
|
-
@include set-css-var-value('dialog-width', 100%);
|
|
32
|
-
@include set-css-var-value('dialog-margin-top', 0);
|
|
33
|
-
|
|
34
|
-
margin-bottom: 0;
|
|
35
|
-
height: 100%;
|
|
36
|
-
overflow: auto;
|
|
37
|
-
border-radius: 0px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@include e(wrapper) {
|
|
41
|
-
position: fixed;
|
|
42
|
-
top: 0;
|
|
43
|
-
right: 0;
|
|
44
|
-
bottom: 0;
|
|
45
|
-
left: 0;
|
|
46
|
-
overflow: auto;
|
|
47
|
-
margin: 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@include when(draggable) {
|
|
51
|
-
@include e(header) {
|
|
52
|
-
cursor: move;
|
|
53
|
-
user-select: none;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@include e(header) {
|
|
58
|
-
padding-bottom: getCssVar('dialog', 'padding-primary');
|
|
59
|
-
|
|
60
|
-
&.show-close {
|
|
61
|
-
padding-right: calc(
|
|
62
|
-
getCssVar('dialog', 'padding-primary') +
|
|
63
|
-
var(
|
|
64
|
-
#{getCssVarName('message-close-size')},
|
|
65
|
-
map.get($message, 'close-size')
|
|
66
|
-
)
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@include e(headerbtn) {
|
|
72
|
-
position: absolute;
|
|
73
|
-
top: 0;
|
|
74
|
-
right: 0;
|
|
75
|
-
padding: 0;
|
|
76
|
-
width: 48px;
|
|
77
|
-
height: 48px;
|
|
78
|
-
background: transparent;
|
|
79
|
-
border: none;
|
|
80
|
-
outline: none;
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
font-size: var(
|
|
83
|
-
#{getCssVarName('message-close-size')},
|
|
84
|
-
map.get($message, 'close-size')
|
|
85
|
-
);
|
|
86
|
-
|
|
87
|
-
.#{$namespace}-dialog__close {
|
|
88
|
-
color: getCssVar('color', 'info');
|
|
89
|
-
font-size: inherit;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&:focus,
|
|
93
|
-
&:hover {
|
|
94
|
-
.#{$namespace}-dialog__close {
|
|
95
|
-
color: getCssVar('color', 'primary');
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@include e(title) {
|
|
101
|
-
line-height: getCssVar('dialog-font-line-height');
|
|
102
|
-
font-size: getCssVar('dialog-title-font-size');
|
|
103
|
-
color: getCssVar('text-color', 'primary');
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@include e(body) {
|
|
107
|
-
color: getCssVar('text-color', 'regular');
|
|
108
|
-
font-size: getCssVar('dialog-content-font-size');
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@include e(footer) {
|
|
112
|
-
padding-top: getCssVar('dialog', 'padding-primary');
|
|
113
|
-
text-align: right;
|
|
114
|
-
box-sizing: border-box;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// 内容居中布局
|
|
118
|
-
@include m(center) {
|
|
119
|
-
text-align: center;
|
|
120
|
-
|
|
121
|
-
@include e(body) {
|
|
122
|
-
text-align: initial;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@include e(footer) {
|
|
126
|
-
text-align: inherit;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.#{$namespace}-overlay-dialog {
|
|
132
|
-
position: fixed;
|
|
133
|
-
top: 0;
|
|
134
|
-
right: 0;
|
|
135
|
-
bottom: 0;
|
|
136
|
-
left: 0;
|
|
137
|
-
overflow: auto;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.dialog-fade-enter-active {
|
|
141
|
-
animation: modal-fade-in getCssVar('transition-duration');
|
|
142
|
-
.#{$namespace}-overlay-dialog {
|
|
143
|
-
animation: dialog-fade-in getCssVar('transition-duration');
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.dialog-fade-leave-active {
|
|
148
|
-
animation: modal-fade-out getCssVar('transition-duration');
|
|
149
|
-
.#{$namespace}-overlay-dialog {
|
|
150
|
-
animation: dialog-fade-out getCssVar('transition-duration');
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
@keyframes dialog-fade-in {
|
|
155
|
-
0% {
|
|
156
|
-
transform: translate3d(0, -20px, 0);
|
|
157
|
-
opacity: 0;
|
|
158
|
-
}
|
|
159
|
-
100% {
|
|
160
|
-
transform: translate3d(0, 0, 0);
|
|
161
|
-
opacity: 1;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@keyframes dialog-fade-out {
|
|
166
|
-
0% {
|
|
167
|
-
transform: translate3d(0, 0, 0);
|
|
168
|
-
opacity: 1;
|
|
169
|
-
}
|
|
170
|
-
100% {
|
|
171
|
-
transform: translate3d(0, -20px, 0);
|
|
172
|
-
opacity: 0;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
@keyframes modal-fade-in {
|
|
177
|
-
0% {
|
|
178
|
-
opacity: 0;
|
|
179
|
-
}
|
|
180
|
-
100% {
|
|
181
|
-
opacity: 1;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@keyframes modal-fade-out {
|
|
186
|
-
0% {
|
|
187
|
-
opacity: 1;
|
|
188
|
-
}
|
|
189
|
-
100% {
|
|
190
|
-
opacity: 0;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use 'mixins/mixins' as *;
|
|
4
|
+
@use 'mixins/utils' as *;
|
|
5
|
+
@use 'mixins/var' as *;
|
|
6
|
+
@use 'common/var' as *;
|
|
7
|
+
@use 'common/popup' as *;
|
|
8
|
+
|
|
9
|
+
@include b(dialog) {
|
|
10
|
+
@include set-component-css-var('dialog', $dialog);
|
|
11
|
+
|
|
12
|
+
position: relative;
|
|
13
|
+
margin: var(#{getCssVarName('dialog-margin-top')}, 15vh) auto 50px;
|
|
14
|
+
background: getCssVar('dialog', 'bg-color');
|
|
15
|
+
border-radius: getCssVar('dialog', 'border-radius');
|
|
16
|
+
box-shadow: getCssVar('dialog', 'box-shadow');
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
padding: getCssVar('dialog', 'padding-primary');
|
|
19
|
+
width: var(#{getCssVarName('dialog-width')}, 50%);
|
|
20
|
+
overflow-wrap: break-word;
|
|
21
|
+
|
|
22
|
+
&:focus {
|
|
23
|
+
outline: none !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@include when(align-center) {
|
|
27
|
+
margin: auto;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@include when(fullscreen) {
|
|
31
|
+
@include set-css-var-value('dialog-width', 100%);
|
|
32
|
+
@include set-css-var-value('dialog-margin-top', 0);
|
|
33
|
+
|
|
34
|
+
margin-bottom: 0;
|
|
35
|
+
height: 100%;
|
|
36
|
+
overflow: auto;
|
|
37
|
+
border-radius: 0px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include e(wrapper) {
|
|
41
|
+
position: fixed;
|
|
42
|
+
top: 0;
|
|
43
|
+
right: 0;
|
|
44
|
+
bottom: 0;
|
|
45
|
+
left: 0;
|
|
46
|
+
overflow: auto;
|
|
47
|
+
margin: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@include when(draggable) {
|
|
51
|
+
@include e(header) {
|
|
52
|
+
cursor: move;
|
|
53
|
+
user-select: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@include e(header) {
|
|
58
|
+
padding-bottom: getCssVar('dialog', 'padding-primary');
|
|
59
|
+
|
|
60
|
+
&.show-close {
|
|
61
|
+
padding-right: calc(
|
|
62
|
+
getCssVar('dialog', 'padding-primary') +
|
|
63
|
+
var(
|
|
64
|
+
#{getCssVarName('message-close-size')},
|
|
65
|
+
map.get($message, 'close-size')
|
|
66
|
+
)
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@include e(headerbtn) {
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 0;
|
|
74
|
+
right: 0;
|
|
75
|
+
padding: 0;
|
|
76
|
+
width: 48px;
|
|
77
|
+
height: 48px;
|
|
78
|
+
background: transparent;
|
|
79
|
+
border: none;
|
|
80
|
+
outline: none;
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
font-size: var(
|
|
83
|
+
#{getCssVarName('message-close-size')},
|
|
84
|
+
map.get($message, 'close-size')
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
.#{$namespace}-dialog__close {
|
|
88
|
+
color: getCssVar('color', 'info');
|
|
89
|
+
font-size: inherit;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:focus,
|
|
93
|
+
&:hover {
|
|
94
|
+
.#{$namespace}-dialog__close {
|
|
95
|
+
color: getCssVar('color', 'primary');
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@include e(title) {
|
|
101
|
+
line-height: getCssVar('dialog-font-line-height');
|
|
102
|
+
font-size: getCssVar('dialog-title-font-size');
|
|
103
|
+
color: getCssVar('text-color', 'primary');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@include e(body) {
|
|
107
|
+
color: getCssVar('text-color', 'regular');
|
|
108
|
+
font-size: getCssVar('dialog-content-font-size');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@include e(footer) {
|
|
112
|
+
padding-top: getCssVar('dialog', 'padding-primary');
|
|
113
|
+
text-align: right;
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// 内容居中布局
|
|
118
|
+
@include m(center) {
|
|
119
|
+
text-align: center;
|
|
120
|
+
|
|
121
|
+
@include e(body) {
|
|
122
|
+
text-align: initial;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@include e(footer) {
|
|
126
|
+
text-align: inherit;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.#{$namespace}-overlay-dialog {
|
|
132
|
+
position: fixed;
|
|
133
|
+
top: 0;
|
|
134
|
+
right: 0;
|
|
135
|
+
bottom: 0;
|
|
136
|
+
left: 0;
|
|
137
|
+
overflow: auto;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.dialog-fade-enter-active {
|
|
141
|
+
animation: modal-fade-in getCssVar('transition-duration');
|
|
142
|
+
.#{$namespace}-overlay-dialog {
|
|
143
|
+
animation: dialog-fade-in getCssVar('transition-duration');
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.dialog-fade-leave-active {
|
|
148
|
+
animation: modal-fade-out getCssVar('transition-duration');
|
|
149
|
+
.#{$namespace}-overlay-dialog {
|
|
150
|
+
animation: dialog-fade-out getCssVar('transition-duration');
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@keyframes dialog-fade-in {
|
|
155
|
+
0% {
|
|
156
|
+
transform: translate3d(0, -20px, 0);
|
|
157
|
+
opacity: 0;
|
|
158
|
+
}
|
|
159
|
+
100% {
|
|
160
|
+
transform: translate3d(0, 0, 0);
|
|
161
|
+
opacity: 1;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@keyframes dialog-fade-out {
|
|
166
|
+
0% {
|
|
167
|
+
transform: translate3d(0, 0, 0);
|
|
168
|
+
opacity: 1;
|
|
169
|
+
}
|
|
170
|
+
100% {
|
|
171
|
+
transform: translate3d(0, -20px, 0);
|
|
172
|
+
opacity: 0;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@keyframes modal-fade-in {
|
|
177
|
+
0% {
|
|
178
|
+
opacity: 0;
|
|
179
|
+
}
|
|
180
|
+
100% {
|
|
181
|
+
opacity: 1;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@keyframes modal-fade-out {
|
|
186
|
+
0% {
|
|
187
|
+
opacity: 1;
|
|
188
|
+
}
|
|
189
|
+
100% {
|
|
190
|
+
opacity: 0;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@use 'common/var' as *;
|
|
2
|
-
@use 'mixins/mixins' as *;
|
|
3
|
-
|
|
4
|
-
.hidden {
|
|
5
|
-
@each $break-point-name, $value in $breakpoints-spec {
|
|
6
|
-
&-#{$break-point-name} {
|
|
7
|
-
@include res($break-point-name, $breakpoints-spec) {
|
|
8
|
-
display: none !important;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
.hidden {
|
|
5
|
+
@each $break-point-name, $value in $breakpoints-spec {
|
|
6
|
+
&-#{$break-point-name} {
|
|
7
|
+
@include res($break-point-name, $breakpoints-spec) {
|
|
8
|
+
display: none !important;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
@use 'common/var' as *;
|
|
2
|
-
@use 'mixins/mixins' as *;
|
|
3
|
-
|
|
4
|
-
@include b(divider) {
|
|
5
|
-
position: relative;
|
|
6
|
-
|
|
7
|
-
@include m(horizontal) {
|
|
8
|
-
display: block;
|
|
9
|
-
height: 1px;
|
|
10
|
-
width: 100%;
|
|
11
|
-
margin: 24px 0;
|
|
12
|
-
border-top: 1px getCssVar('border-color') getCssVar('border-style');
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@include m(vertical) {
|
|
16
|
-
display: inline-block;
|
|
17
|
-
width: 1px;
|
|
18
|
-
height: 1em;
|
|
19
|
-
margin: 0 8px;
|
|
20
|
-
vertical-align: middle;
|
|
21
|
-
position: relative;
|
|
22
|
-
border-left: 1px getCssVar('border-color') getCssVar('border-style');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include e(text) {
|
|
26
|
-
position: absolute;
|
|
27
|
-
background-color: getCssVar('bg-color');
|
|
28
|
-
padding: 0 20px;
|
|
29
|
-
font-weight: 500;
|
|
30
|
-
color: getCssVar('text-color', 'primary');
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
|
|
33
|
-
@include when(left) {
|
|
34
|
-
left: 20px;
|
|
35
|
-
transform: translateY(-50%);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@include when(center) {
|
|
39
|
-
left: 50%;
|
|
40
|
-
transform: translateX(-50%) translateY(-50%);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@include when(right) {
|
|
44
|
-
right: 20px;
|
|
45
|
-
transform: translateY(-50%);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
@include b(divider) {
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
@include m(horizontal) {
|
|
8
|
+
display: block;
|
|
9
|
+
height: 1px;
|
|
10
|
+
width: 100%;
|
|
11
|
+
margin: 24px 0;
|
|
12
|
+
border-top: 1px getCssVar('border-color') getCssVar('border-style');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include m(vertical) {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
width: 1px;
|
|
18
|
+
height: 1em;
|
|
19
|
+
margin: 0 8px;
|
|
20
|
+
vertical-align: middle;
|
|
21
|
+
position: relative;
|
|
22
|
+
border-left: 1px getCssVar('border-color') getCssVar('border-style');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include e(text) {
|
|
26
|
+
position: absolute;
|
|
27
|
+
background-color: getCssVar('bg-color');
|
|
28
|
+
padding: 0 20px;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
color: getCssVar('text-color', 'primary');
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
|
|
33
|
+
@include when(left) {
|
|
34
|
+
left: 20px;
|
|
35
|
+
transform: translateY(-50%);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include when(center) {
|
|
39
|
+
left: 50%;
|
|
40
|
+
transform: translateX(-50%) translateY(-50%);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@include when(right) {
|
|
44
|
+
right: 20px;
|
|
45
|
+
transform: translateY(-50%);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|