@varlet/ui 2.4.0-alpha.1670569085974 → 2.4.0-alpha.1670766368590
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/es/app-bar/AppBar.js +1 -1
- package/es/app-bar/appBar.css +1 -1
- package/es/app-bar/props.js +4 -0
- package/es/index.js +5 -0
- package/es/loading-bar/LoadingBar.js +2 -1
- package/es/loading-bar/index.js +10 -4
- package/es/loading-bar/props.js +3 -0
- package/es/overlay/Overlay.js +83 -0
- package/es/overlay/index.js +8 -0
- package/es/overlay/overlay.css +1 -0
- package/es/overlay/props.js +19 -0
- package/es/overlay/style/index.js +2 -0
- package/es/popup/popup.css +1 -1
- package/es/result/result.css +1 -1
- package/es/result/style/index.js +1 -0
- package/es/style.css +1 -1
- package/es/style.js +1 -0
- package/es/umdIndex.js +5 -0
- package/es/utils/elements.js +11 -7
- package/es/varlet.esm.js +2797 -2708
- package/highlight/attributes.json +17 -1
- package/highlight/tags.json +9 -1
- package/highlight/web-types.json +54 -1
- package/lib/app-bar/AppBar.js +1 -1
- package/lib/app-bar/appBar.css +1 -1
- package/lib/app-bar/props.js +4 -0
- package/lib/index.js +3 -0
- package/lib/loading-bar/LoadingBar.js +2 -1
- package/lib/loading-bar/index.js +10 -4
- package/lib/loading-bar/props.js +3 -0
- package/lib/overlay/Overlay.js +96 -0
- package/lib/overlay/index.js +17 -0
- package/lib/overlay/overlay.css +1 -0
- package/lib/overlay/props.js +24 -0
- package/lib/overlay/style/index.js +2 -0
- package/lib/popup/popup.css +1 -1
- package/lib/result/result.css +1 -1
- package/lib/result/style/index.js +1 -0
- package/lib/snackbar/style/index.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.js +1 -0
- package/lib/utils/elements.js +18 -8
- package/package.json +7 -7
- package/types/appBar.d.ts +1 -0
- package/types/index.d.ts +2 -0
- package/types/loadingBar.d.ts +2 -1
- package/types/overlay.d.ts +19 -0
- package/types/popup.d.ts +1 -2
- package/umd/varlet.js +7 -7
package/es/app-bar/AppBar.js
CHANGED
|
@@ -8,7 +8,7 @@ var {
|
|
|
8
8
|
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode } from "vue";
|
|
9
9
|
export function render(_ctx, _cache) {
|
|
10
10
|
return _openBlock(), _createElementBlock("div", {
|
|
11
|
-
class: _normalizeClass(_ctx.classes(_ctx.n(), [_ctx.elevation, _ctx.n('$-elevation--3')])),
|
|
11
|
+
class: _normalizeClass(_ctx.classes(_ctx.n(), [_ctx.round, _ctx.n('--round')], [_ctx.elevation, _ctx.n('$-elevation--3')])),
|
|
12
12
|
style: _normalizeStyle({
|
|
13
13
|
background: _ctx.color,
|
|
14
14
|
color: _ctx.textColor
|
package/es/app-bar/appBar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --app-bar-color: var(--color-primary); --app-bar-title-padding: 0 12px; --app-bar-text-color: #fff; --app-bar-height: 54px; --app-bar-left-gap: 6px; --app-bar-right-gap: 6px;}.var-app-bar { position: relative; display: flex; width: 100%; justify-content: center; align-items: center; height: var(--app-bar-height); background: var(--app-bar-color); color: var(--app-bar-text-color); transition: background-color 0.25s;}.var-app-bar__title { flex: 1; display: flex; justify-content: center; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: var(--app-bar-title-padding);}.var-app-bar__left,.var-app-bar__right { display: flex; align-items: center; height: 100%; z-index: 2;}.var-app-bar__left { position: absolute; top: 0; left: var(--app-bar-left-gap);}.var-app-bar__right { position: absolute; top: 0; right: var(--app-bar-right-gap);}
|
|
1
|
+
:root { --app-bar-color: var(--color-primary); --app-bar-title-padding: 0 12px; --app-bar-text-color: #fff; --app-bar-height: 54px; --app-bar-left-gap: 6px; --app-bar-right-gap: 6px; --app-bar-border-radius: 4px;}.var-app-bar { position: relative; display: flex; width: 100%; justify-content: center; align-items: center; height: var(--app-bar-height); background: var(--app-bar-color); color: var(--app-bar-text-color); transition: background-color 0.25s;}.var-app-bar__title { flex: 1; display: flex; justify-content: center; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: var(--app-bar-title-padding);}.var-app-bar__left,.var-app-bar__right { display: flex; align-items: center; height: 100%; z-index: 2;}.var-app-bar__left { position: absolute; top: 0; left: var(--app-bar-left-gap);}.var-app-bar__right { position: absolute; top: 0; right: var(--app-bar-right-gap);}.var-app-bar--round { border-radius: var(--app-bar-border-radius);}
|
package/es/app-bar/props.js
CHANGED
package/es/index.js
CHANGED
|
@@ -35,6 +35,7 @@ import LoadingBar, * as LoadingBarModule from './loading-bar'
|
|
|
35
35
|
import Locale, * as LocaleModule from './locale'
|
|
36
36
|
import Menu, * as MenuModule from './menu'
|
|
37
37
|
import Option, * as OptionModule from './option'
|
|
38
|
+
import Overlay, * as OverlayModule from './overlay'
|
|
38
39
|
import Pagination, * as PaginationModule from './pagination'
|
|
39
40
|
import Picker, * as PickerModule from './picker'
|
|
40
41
|
import Popup, * as PopupModule from './popup'
|
|
@@ -104,6 +105,7 @@ export const _LoadingBarComponent = LoadingBarModule._LoadingBarComponent || {}
|
|
|
104
105
|
export const _LocaleComponent = LocaleModule._LocaleComponent || {}
|
|
105
106
|
export const _MenuComponent = MenuModule._MenuComponent || {}
|
|
106
107
|
export const _OptionComponent = OptionModule._OptionComponent || {}
|
|
108
|
+
export const _OverlayComponent = OverlayModule._OverlayComponent || {}
|
|
107
109
|
export const _PaginationComponent = PaginationModule._PaginationComponent || {}
|
|
108
110
|
export const _PickerComponent = PickerModule._PickerComponent || {}
|
|
109
111
|
export const _PopupComponent = PopupModule._PopupComponent || {}
|
|
@@ -175,6 +177,7 @@ function install(app) {
|
|
|
175
177
|
Locale.install && app.use(Locale)
|
|
176
178
|
Menu.install && app.use(Menu)
|
|
177
179
|
Option.install && app.use(Option)
|
|
180
|
+
Overlay.install && app.use(Overlay)
|
|
178
181
|
Pagination.install && app.use(Pagination)
|
|
179
182
|
Picker.install && app.use(Picker)
|
|
180
183
|
Popup.install && app.use(Popup)
|
|
@@ -247,6 +250,7 @@ export {
|
|
|
247
250
|
Locale,
|
|
248
251
|
Menu,
|
|
249
252
|
Option,
|
|
253
|
+
Overlay,
|
|
250
254
|
Pagination,
|
|
251
255
|
Picker,
|
|
252
256
|
Popup,
|
|
@@ -319,6 +323,7 @@ export default {
|
|
|
319
323
|
Locale,
|
|
320
324
|
Menu,
|
|
321
325
|
Option,
|
|
326
|
+
Overlay,
|
|
322
327
|
Pagination,
|
|
323
328
|
Picker,
|
|
324
329
|
Popup,
|
|
@@ -23,7 +23,8 @@ export default defineComponent({
|
|
|
23
23
|
width: props.value + "%",
|
|
24
24
|
opacity: props.opacity,
|
|
25
25
|
height: toSizeUnit(props.height),
|
|
26
|
-
backgroundColor: props.error ? props.errorColor : props.color
|
|
26
|
+
backgroundColor: props.error ? props.errorColor : props.color,
|
|
27
|
+
top: toSizeUnit(props.top)
|
|
27
28
|
}
|
|
28
29
|
}, null);
|
|
29
30
|
};
|
package/es/loading-bar/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var props = reactive({
|
|
|
9
9
|
error: false
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var mergeConfig = options => {
|
|
13
13
|
Object.assign(props, options);
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -23,7 +23,7 @@ var changeValue = () => {
|
|
|
23
23
|
}, 200);
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
var start = () => {
|
|
27
27
|
if (!isMount) {
|
|
28
28
|
isMount = true;
|
|
29
29
|
mountInstance(LoadingBarComponent, props);
|
|
@@ -39,7 +39,7 @@ LoadingBar.start = () => {
|
|
|
39
39
|
changeValue();
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
var finish = () => {
|
|
43
43
|
props.value = 100;
|
|
44
44
|
setTimeout(() => {
|
|
45
45
|
props.opacity = 0;
|
|
@@ -50,11 +50,17 @@ LoadingBar.finish = () => {
|
|
|
50
50
|
window.clearTimeout(timer);
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
var error = () => {
|
|
54
54
|
props.error = true;
|
|
55
55
|
LoadingBar.start();
|
|
56
56
|
setTimeout(LoadingBar.finish, 300);
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
+
var LoadingBar = {
|
|
60
|
+
start,
|
|
61
|
+
finish,
|
|
62
|
+
error,
|
|
63
|
+
mergeConfig
|
|
64
|
+
};
|
|
59
65
|
export var _LoadingBarComponent = LoadingBar;
|
|
60
66
|
export default LoadingBar;
|
package/es/loading-bar/props.js
CHANGED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { isVNode as _isVNode, createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
|
2
|
+
import { defineComponent, Teleport, Transition } from 'vue';
|
|
3
|
+
import { props } from './props';
|
|
4
|
+
import { useLock } from '../context/lock';
|
|
5
|
+
import { useZIndex } from '../context/zIndex';
|
|
6
|
+
import { createNamespace, useTeleport, call } from '../utils/components';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
function _isSlot(s) {
|
|
11
|
+
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
var {
|
|
15
|
+
n
|
|
16
|
+
} = createNamespace('overlay');
|
|
17
|
+
export default defineComponent({
|
|
18
|
+
name: 'VarOverlay',
|
|
19
|
+
inheritAttrs: false,
|
|
20
|
+
props,
|
|
21
|
+
|
|
22
|
+
setup(props, _ref) {
|
|
23
|
+
var {
|
|
24
|
+
slots,
|
|
25
|
+
attrs
|
|
26
|
+
} = _ref;
|
|
27
|
+
var {
|
|
28
|
+
zIndex
|
|
29
|
+
} = useZIndex(() => props.show, 1);
|
|
30
|
+
var {
|
|
31
|
+
disabled
|
|
32
|
+
} = useTeleport();
|
|
33
|
+
|
|
34
|
+
var handleClickOverlay = () => {
|
|
35
|
+
call(props.onClick);
|
|
36
|
+
call(props['onUpdate:show'], false);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
useLock(() => props.show, () => props.lockScroll);
|
|
40
|
+
|
|
41
|
+
var renderOverlay = () => {
|
|
42
|
+
return _createVNode("div", _mergeProps({
|
|
43
|
+
"class": n(),
|
|
44
|
+
"style": {
|
|
45
|
+
zIndex: zIndex.value - 1
|
|
46
|
+
}
|
|
47
|
+
}, attrs, {
|
|
48
|
+
"onClick": handleClickOverlay
|
|
49
|
+
}), [call(slots.default)]);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
var renderTransitionOverlay = () => {
|
|
53
|
+
var {
|
|
54
|
+
show
|
|
55
|
+
} = props;
|
|
56
|
+
return _createVNode(Transition, {
|
|
57
|
+
"name": n('--fade')
|
|
58
|
+
}, {
|
|
59
|
+
default: () => [show && renderOverlay()]
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
return () => {
|
|
64
|
+
var {
|
|
65
|
+
teleport
|
|
66
|
+
} = props;
|
|
67
|
+
|
|
68
|
+
if (teleport) {
|
|
69
|
+
var _slot;
|
|
70
|
+
|
|
71
|
+
return _createVNode(Teleport, {
|
|
72
|
+
"to": teleport,
|
|
73
|
+
"disabled": disabled.value
|
|
74
|
+
}, _isSlot(_slot = renderTransitionOverlay()) ? _slot : {
|
|
75
|
+
default: () => [_slot]
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return renderTransitionOverlay();
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root { --overlay-background-color: rgba(0, 0, 0, 0.6);}.var-overlay { display: flex; justify-content: center; align-items: center; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: var(--overlay-background-color); transition: all 0.25s;}.var-overlay--fade-enter-from,.var-overlay--fade-leave-to { opacity: 0;}.var-overlay--fade-enter-active,.var-overlay--fade-leave-active { transition: opacity 0.25s;}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export var props = {
|
|
2
|
+
show: {
|
|
3
|
+
type: Boolean,
|
|
4
|
+
default: false
|
|
5
|
+
},
|
|
6
|
+
lockScroll: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: true
|
|
9
|
+
},
|
|
10
|
+
onClick: {
|
|
11
|
+
type: Function
|
|
12
|
+
},
|
|
13
|
+
teleport: {
|
|
14
|
+
type: String
|
|
15
|
+
},
|
|
16
|
+
'onUpdate:show': {
|
|
17
|
+
type: Function
|
|
18
|
+
}
|
|
19
|
+
};
|
package/es/popup/popup.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --popup-overlay-background-color: rgba(0, 0, 0, 0.6);
|
|
1
|
+
:root { --popup-content-background-color: #fff; --popup-overlay-background-color: rgba(0, 0, 0, 0.6);}.var-fade-enter-from,.var-fade-leave-to { opacity: 0;}.var-fade-enter-active,.var-fade-leave-active { transition: opacity 0.25s;}.var-pop-center-enter-from,.var-pop-center-leave-to { transform: scale(0.3);}.var-pop-center-enter-active,.var-pop-center-leave-active { transition: all 0.25s;}.var-pop-bottom-enter-from,.var-pop-bottom-leave-to { transform: translateY(100%);}.var-pop-bottom-enter-active,.var-pop-bottom-leave-active { transition: all 0.25s;}.var-pop-top-enter-from,.var-pop-top-leave-to { transform: translateY(-100%);}.var-pop-top-enter-active,.var-pop-top-leave-active { transition: all 0.25s;}.var-pop-left-enter-from,.var-pop-left-leave-to { transform: translateX(-100%);}.var-pop-left-enter-active,.var-pop-left-leave-active { transition: all 0.25s;}.var-pop-right-enter-from,.var-pop-right-leave-to { transform: translateX(100%);}.var-pop-right-enter-active,.var-pop-right-leave-active { transition: all 0.25s;}.var-popup { display: flex; justify-content: center; align-items: center; position: fixed; top: 0; right: 0; bottom: 0; left: 0;}.var-popup__overlay { display: flex; justify-content: center; align-items: center; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: var(--popup-overlay-background-color); transition: all 0.25s;}.var-popup__content { overflow: auto; transition: all 0.25s;}.var-popup--content-background-color { background-color: var(--popup-content-background-color);}.var-popup--center { position: relative;}.var-popup--bottom { min-width: 100%; position: absolute; left: 0; bottom: 0;}.var-popup--top { min-width: 100%; position: absolute; left: 0; top: 0;}.var-popup--left { min-height: 100%; position: absolute; left: 0; top: 0;}.var-popup--right { min-height: 100%; position: absolute; right: 0; top: 0;}
|
package/es/result/result.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --result-background: #fff; --result-padding: 24px; --result-border-radius: 3px; --result-title-color: #444; --result-title-font-size: 32px; --result-title-margin: 15px 0 0 0; --result-image-size: 80px; --result-title-font-weight: 500; --result-description-margin: 10px 0 0 0; --result-description-font-size: 14px; --result-description-color: rgba(0, 0, 0, 0.6); --result-description-line-height: 1.6; --result-info-color: var(--color-info); --result-info-border-color: rgba(0, 175, 239, 0.3); --result-success-color: var(--color-success); --result-success-border-color: rgba(0, 196, 143, 0.3); --result-error-color: var(--color-danger); --result-error-border-color: rgba(244, 67, 54, 0.3); --result-warning-color: var(--color-warning); --result-warning-border-color: rgba(255, 159, 0, 0.3); --result-question-color: #607d8b; --result-question-border-color: rgba(96, 125, 139, 0.3); --result-empty-color: #9e9e9e; --result-empty-border-color: rgba(158, 158, 158, 0.3);}.var-result { display: flex; flex-direction: column; align-items: center; border-radius: var(--result-border-radius); width: 100%; padding: var(--result-padding); background-color: var(--result-background); transition: background-color 0.25s;}.var-result__image-container { overflow: hidden;}.var-result__image { margin: 0 auto; position: relative; border-radius: 50%; box-sizing: content-box; border-style: solid; border-color: transparent; width: var(--result-image-size); height: var(--result-image-size); display: flex; justify-content: center; align-items: center;}.var-result__image svg { margin: 0 auto; display: block; width: 100%; height: 100%;}.var-result__info { border-color: var(--result-info-border-color);}.var-result__info path { fill: var(--result-info-color);}.var-result__empty { border-color: var(--result-empty-border-color);}.var-result__empty path { fill: var(--result-empty-color);}.var-result__question { border-color: var(--result-question-border-color);}.var-result__question path { fill: var(--result-question-color);}.var-result__error { border-color: var(--result-error-border-color);}.var-result__error path { fill: var(--result-error-color);}.var-result__warning { border-color: var(--result-warning-border-color);}.var-result__warning path { fill: var(--result-warning-color);}.var-result__success { border-color: var(--result-success-color);}.var-result__success-cover-left { display: block; position: absolute; z-index: 1; top: -0.875%; left: -41.27%; width: 75%; height: 150%; border-radius: 150% 0 0 150%; transform: rotate(-45deg); background: var(--result-background); transition: background-color 0.25s;}.var-result__success-cover-right { display: block; position: absolute; top: -13.75%; left: 37.5%; width: 75%; height: 150%; border-radius: 0 125% 125% 0; animation-name: rotate-circle; animation-timing-function: ease-in; transform-origin: 0 50%; transform: rotate(-45deg); background: var(--result-background); transition: background-color 0.25s;}.var-result__success-line { height: 6.8%; background-color: var(--result-success-color); display: block; position: absolute; z-index: 10; transition: background-color 0.25s;}.var-result__success-line-tip { transform: rotate(45deg); animation-name: success-line-tip; animation-fill-mode: forwards;}.var-result__success-line-long { transform: rotate(-45deg); animation-name: success-line-long; animation-fill-mode: forwards;}.var-result__success-circle { z-index: 10; width: 100%; height: 100%; border-radius: 50%; position: absolute; box-sizing: content-box !important; border-style: solid; border-color: var(--result-success-border-color);}.var-result__success-line-fix { top:
|
|
1
|
+
:root { --result-background: #fff; --result-padding: 24px; --result-border-radius: 3px; --result-title-color: #444; --result-title-font-size: 32px; --result-title-margin: 15px 0 0 0; --result-image-size: 80px; --result-title-font-weight: 500; --result-description-margin: 10px 0 0 0; --result-description-font-size: 14px; --result-description-color: rgba(0, 0, 0, 0.6); --result-description-line-height: 1.6; --result-info-color: var(--color-info); --result-info-border-color: rgba(0, 175, 239, 0.3); --result-success-color: var(--color-success); --result-success-border-color: rgba(0, 196, 143, 0.3); --result-error-color: var(--color-danger); --result-error-border-color: rgba(244, 67, 54, 0.3); --result-warning-color: var(--color-warning); --result-warning-border-color: rgba(255, 159, 0, 0.3); --result-question-color: #607d8b; --result-question-border-color: rgba(96, 125, 139, 0.3); --result-empty-color: #9e9e9e; --result-empty-border-color: rgba(158, 158, 158, 0.3);}.var-result { display: flex; flex-direction: column; align-items: center; border-radius: var(--result-border-radius); width: 100%; padding: var(--result-padding); background-color: var(--result-background); transition: background-color 0.25s;}.var-result__image-container { overflow: hidden;}.var-result__image { margin: 0 auto; position: relative; border-radius: 50%; box-sizing: content-box; border-style: solid; border-color: transparent; width: var(--result-image-size); height: var(--result-image-size); display: flex; justify-content: center; align-items: center;}.var-result__image svg { margin: 0 auto; display: block; width: 100%; height: 100%;}.var-result__info { border-color: var(--result-info-border-color);}.var-result__info path { fill: var(--result-info-color);}.var-result__empty { border-color: var(--result-empty-border-color);}.var-result__empty path { fill: var(--result-empty-color);}.var-result__question { border-color: var(--result-question-border-color);}.var-result__question path { fill: var(--result-question-color);}.var-result__error { border-color: var(--result-error-border-color);}.var-result__error path { fill: var(--result-error-color);}.var-result__warning { border-color: var(--result-warning-border-color);}.var-result__warning path { fill: var(--result-warning-color);}.var-result__success { border-color: var(--result-success-color);}.var-result__success-cover-left { display: block; position: absolute; z-index: 1; top: -0.875%; left: -41.27%; width: 75%; height: 150%; border-radius: 150% 0 0 150%; transform: rotate(-45deg); background: var(--result-background); transition: background-color 0.25s;}.var-result__success-cover-right { display: block; position: absolute; top: -13.75%; left: 37.5%; width: 75%; height: 150%; border-radius: 0 125% 125% 0; animation-name: rotate-circle; animation-timing-function: ease-in; transform-origin: 0 50%; transform: rotate(-45deg); background: var(--result-background); transition: background-color 0.25s;}.var-result__success-line { height: 6.8%; background-color: var(--result-success-color); display: block; position: absolute; z-index: 10; transition: background-color 0.25s;}.var-result__success-line-tip { transform: rotate(45deg); animation-name: success-line-tip; animation-fill-mode: forwards;}.var-result__success-line-long { transform: rotate(-45deg); animation-name: success-line-long; animation-fill-mode: forwards;}.var-result__success-circle { z-index: 10; width: 100%; height: 100%; border-radius: 50%; position: absolute; box-sizing: content-box !important; border-style: solid; border-color: var(--result-success-border-color);}.var-result__success-line-fix { top: 9%; left: 34%; width: 8.75%; height: 112.5%; z-index: 1; position: absolute; transform: rotate(-45deg); background: var(--result-background); transition: background-color 0.25s;}@keyframes success-line-tip { 0% { top: 23.75%; left: 1.25%; width: 0; } 54% { top: 20.25%; left: 1%; width: 0; } 70% { top: 43.75%; left: -9.5%; width: 62.5%; } 84% { top: 60%; left: 26.25%; width: 21.25%; } 100% { top: 56.25%; left: 17.5%; width: 31.25%; }}@keyframes success-line-long { 0% { top: 67.5%; right: 57.5%; width: 0; } 65% { top: 67.5%; right: 57.5%; width: 0; } 84% { top: 43.75%; right: 0; width: 68.75%; } 100% { top: 47%; right: 9%; width: 58.75%; }}@keyframes rotate-circle { 0% { transform: rotate(-45deg); } 5% { transform: rotate(-45deg); } 12% { transform: rotate(-405deg); } 100% { transform: rotate(-405deg); }}.var-result__title { font-size: var(--result-title-font-size); word-break: break-word; margin: var(--result-title-margin); font-weight: var(--result-title-font-weight); color: var(--result-title-color); text-align: center;}.var-result__description { font-size: var(--result-description-font-size); word-break: break-word; color: var(--result-description-color); margin: var(--result-description-margin); line-height: var(--result-description-line-height); text-align: center;}.var-result__footer { z-index: 1; margin-top: 20px;}
|
package/es/result/style/index.js
CHANGED