@antv/dumi-theme-antv 0.8.0-beta.2 → 0.8.0-beta.4
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/builtins/Playground/index.module.less +0 -1
- package/dist/components/AI/HomeDialog/AntVBanner/index.module.less +2 -2
- package/dist/components/AI/HomeDialog/ModeSelector/index.module.less +39 -22
- package/dist/components/AI/HomeDialog/PromptTextarea/ChooseLib/index.module.less +0 -1
- package/dist/components/AI/HomeDialog/PromptTextarea/DatasourceCard/index.module.less +3 -3
- package/dist/components/AI/HomeDialog/PromptTextarea/index.js +10 -23
- package/dist/components/AI/HomeDialog/PromptTextarea/index.module.less +8 -8
- package/dist/components/AI/HomeDialog/RecommendCase/card.module.less +1 -1
- package/dist/components/AI/HomeDialog/RecommendCase/index.module.less +2 -2
- package/dist/components/Login/Captcha/index.js +199 -0
- package/dist/components/Login/Captcha/index.less +91 -0
- package/dist/components/Login/CheckCode/index.js +262 -0
- package/dist/components/Login/CheckCode/index.less +137 -0
- package/dist/components/Login/CountDownButton/index.js +115 -0
- package/dist/components/Login/CountDownButton/index.less +8 -0
- package/dist/components/Login/LoginForm.js +245 -0
- package/dist/components/Login/LoginForm.less +409 -0
- package/dist/components/Login/index.js +20 -0
- package/dist/components/Login/openAuthWindow.js +54 -0
- package/dist/components/Login/types.js +5 -0
- package/dist/components/Login/utils.js +47 -0
- package/dist/hooks/useProducts.js +3 -2
- package/dist/layouts/DocLayout.js +2 -1
- package/dist/layouts/GlobalLayout/index.js +8 -4
- package/dist/locales/en.json +52 -1
- package/dist/locales/zh.json +52 -1
- package/dist/model/AIChat.js +2 -2
- package/dist/model/auth.js +89 -0
- package/dist/pages/AIPlayground/components/ConversationsMenu/index.module.less +2 -0
- package/dist/pages/AIPlayground/components/MarkdownComponent/MarkdownCodeBlock.js +7 -5
- package/dist/pages/AIPlayground/components/MarkdownComponent/MarkdownCodeBlock.module.less +1 -2
- package/dist/pages/AIPlayground/components/MsgBox/index.js +179 -140
- package/dist/pages/AIPlayground/components/MsgBox/index.module.less +3 -2
- package/dist/pages/AIPlayground/components/MsgBox/useAutoScroll.js +46 -0
- package/dist/pages/AIPlayground/components/SessionLayout/index.module.less +1 -2
- package/dist/pages/AIPlayground/components/TaskBox/generateCode.js +7 -1
- package/dist/pages/AIPlayground/components/TaskBox/index.js +78 -55
- package/dist/pages/AIPlayground/components/TaskBox/index.module.less +1 -0
- package/dist/pages/Examples/components/Accouncement/index.module.less +1 -1
- package/dist/pages/Examples/index.module.less +11 -11
- package/dist/pages/Index/components/Cases/index.module.less +8 -8
- package/dist/pages/Index/components/Companies/index.module.less +4 -3
- package/dist/pages/Index/components/Features/FeatureCard.module.less +4 -5
- package/dist/pages/Index/components/Features/index.module.less +5 -5
- package/dist/pages/Index/components/_.less +9 -9
- package/dist/slots/Banner/Notification.module.less +8 -8
- package/dist/slots/Banner/index.module.less +10 -9
- package/dist/slots/CodeEditor/Toolbar.js +5 -3
- package/dist/slots/CodeEditor/index.js +10 -7
- package/dist/slots/CodeEditor/index.module.less +3 -0
- package/dist/slots/CodePreview/index.module.less +0 -3
- package/dist/slots/CodeRunner/index.js +5 -2
- package/dist/slots/ContentTable/index.module.less +2 -1
- package/dist/slots/Detail/News.module.less +9 -9
- package/dist/slots/Detail/index.module.less +11 -14
- package/dist/slots/ExampleSider/index.module.less +3 -4
- package/dist/slots/Footer/index.module.less +2 -2
- package/dist/slots/Header/Products/Product.module.less +2 -2
- package/dist/slots/Header/Search/SearchResult.js +7 -0
- package/dist/slots/Header/Search/SearchResult.module.less +1 -0
- package/dist/slots/Header/index.module.less +5 -5
- package/dist/slots/LiveExample/index.module.less +1 -1
- package/dist/slots/Loading/index.module.less +30 -28
- package/dist/slots/ManualContent/index.module.less +14 -17
- package/dist/slots/_.less +9 -9
- package/dist/utils/auth.js +10 -0
- package/dist/utils/env.js +24 -0
- package/dist/utils/request.js +104 -0
- package/package.json +7 -2
- package/dist/static/SearchAiIcon.svg +0 -14
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
.drawer{
|
|
14
14
|
margin-top: 36px;
|
|
15
|
+
|
|
15
16
|
:global {
|
|
16
17
|
.ant-drawer-content {
|
|
17
18
|
background: #f8f9fc;
|
|
19
|
+
|
|
18
20
|
div.ant-drawer-header {
|
|
19
21
|
padding-bottom: unset;
|
|
20
22
|
border-bottom: unset;
|
|
@@ -24,6 +26,7 @@
|
|
|
24
26
|
flex: unset;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
29
|
+
|
|
27
30
|
.ant-drawer-body{
|
|
28
31
|
display: flex;
|
|
29
32
|
flex-direction: column;
|
|
@@ -32,7 +32,9 @@ var CodeRunner = function CodeRunner(_ref) {
|
|
|
32
32
|
replaceId = _ref.replaceId,
|
|
33
33
|
isPlayground = _ref.isPlayground,
|
|
34
34
|
_ref$notFound = _ref.notFound,
|
|
35
|
-
notFound = _ref$notFound === void 0 ? /*#__PURE__*/React.createElement(NotFound, null) : _ref$notFound
|
|
35
|
+
notFound = _ref$notFound === void 0 ? /*#__PURE__*/React.createElement(NotFound, null) : _ref$notFound,
|
|
36
|
+
_ref$showAI = _ref.showAI,
|
|
37
|
+
showAI = _ref$showAI === void 0 ? true : _ref$showAI;
|
|
36
38
|
var demoInfo = getDemoInfo(exampleTopics, topic, example, demo);
|
|
37
39
|
|
|
38
40
|
// 找不到,啥也别干了,404 页面
|
|
@@ -80,7 +82,8 @@ var CodeRunner = function CodeRunner(_ref) {
|
|
|
80
82
|
onDestroy: noop,
|
|
81
83
|
onReady: noop,
|
|
82
84
|
playground: playground,
|
|
83
|
-
title: ic(title)
|
|
85
|
+
title: ic(title),
|
|
86
|
+
showAI: showAI
|
|
84
87
|
}))));
|
|
85
88
|
};
|
|
86
89
|
export default CodeRunner;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.news {
|
|
2
2
|
width: 50%;
|
|
3
3
|
margin-right: 2%;
|
|
4
|
-
background-color: #
|
|
4
|
+
background-color: #fff;
|
|
5
5
|
border: 1px solid #e5e8ef;
|
|
6
|
-
box-shadow: 0 8px 28px 0 rgba(0, 0, 0,
|
|
6
|
+
box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 5%);
|
|
7
7
|
border-radius: 16px;
|
|
8
8
|
height: 100%;
|
|
9
9
|
font-size: 14px;
|
|
@@ -91,13 +91,13 @@
|
|
|
91
91
|
@keyframes showAndHide0 {
|
|
92
92
|
0% {
|
|
93
93
|
opacity: 1;
|
|
94
|
-
top:
|
|
94
|
+
top: 0;
|
|
95
95
|
z-index: 1;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
33.3% {
|
|
99
99
|
opacity: 0;
|
|
100
|
-
top:
|
|
100
|
+
top: 0;
|
|
101
101
|
z-index: 0;
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
|
|
110
110
|
100% {
|
|
111
111
|
opacity: 1;
|
|
112
|
-
top:
|
|
112
|
+
top: 0;
|
|
113
113
|
z-index: 1;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -123,13 +123,13 @@
|
|
|
123
123
|
|
|
124
124
|
33.3% {
|
|
125
125
|
opacity: 1;
|
|
126
|
-
top:
|
|
126
|
+
top: 0;
|
|
127
127
|
z-index: 1;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
66.6% {
|
|
131
131
|
opacity: 0;
|
|
132
|
-
top:
|
|
132
|
+
top: 0;
|
|
133
133
|
z-index: 0;
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -155,13 +155,13 @@
|
|
|
155
155
|
|
|
156
156
|
66.6% {
|
|
157
157
|
opacity: 1;
|
|
158
|
-
top:
|
|
158
|
+
top: 0;
|
|
159
159
|
z-index: 1;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
100% {
|
|
163
163
|
opacity: 0;
|
|
164
|
-
top:
|
|
164
|
+
top: 0;
|
|
165
165
|
z-index: 0;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
.wrapper {
|
|
4
4
|
min-height: 1000px;
|
|
5
5
|
max-height: 1150px;
|
|
6
|
-
background: linear-gradient(225deg, #
|
|
6
|
+
background: linear-gradient(225deg, #fff, #f0f5ff);
|
|
7
7
|
height: calc(94vh);
|
|
8
8
|
position: relative;
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
|
|
11
11
|
.content {
|
|
12
12
|
.container1440();
|
|
13
|
+
|
|
13
14
|
height: 100%;
|
|
14
15
|
position: relative;
|
|
15
16
|
}
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
|
|
29
30
|
.title {
|
|
30
31
|
font-size: 3.4em; //2.875em;
|
|
31
|
-
color: rgba(0, 0, 0,
|
|
32
|
+
color: rgba(0, 0, 0, 100%);
|
|
32
33
|
position: relative;
|
|
33
34
|
font-family: AlibabaPuHuiTiRHeavy;
|
|
34
35
|
|
|
@@ -39,8 +40,7 @@
|
|
|
39
40
|
|
|
40
41
|
.description {
|
|
41
42
|
margin-top: 0.83%; //12px;
|
|
42
|
-
margin-bottom:
|
|
43
|
-
color: rgba(106, 123, 140, 1);
|
|
43
|
+
margin-bottom: 0;
|
|
44
44
|
font-weight: 200;
|
|
45
45
|
position: relative;
|
|
46
46
|
width: 40%;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
overflow: hidden;
|
|
53
53
|
text-overflow: ellipsis;
|
|
54
54
|
-webkit-line-clamp: 4;
|
|
55
|
-
display:
|
|
55
|
+
display: box;
|
|
56
56
|
-webkit-box-orient: vertical;
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
display: flex;
|
|
65
65
|
align-items: center;
|
|
66
66
|
justify-content: center;
|
|
67
|
-
cursor: pointer;
|
|
68
67
|
border-radius: 12px;
|
|
69
68
|
z-index: 10;
|
|
70
69
|
position: relative;
|
|
@@ -73,13 +72,12 @@
|
|
|
73
72
|
height: 54px;
|
|
74
73
|
min-width: 166px;
|
|
75
74
|
padding: 0 10px;
|
|
76
|
-
box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 0.1);
|
|
77
75
|
background-color: #691eff;
|
|
78
76
|
font-size: 18px;
|
|
79
77
|
cursor: pointer;
|
|
80
78
|
box-shadow: 0 8px 28px 0 #f2f2f2;
|
|
81
79
|
margin-right: 20px;
|
|
82
|
-
color: #
|
|
80
|
+
color: #fff;
|
|
83
81
|
overflow: hidden;
|
|
84
82
|
|
|
85
83
|
.icon {
|
|
@@ -94,8 +92,7 @@
|
|
|
94
92
|
}
|
|
95
93
|
|
|
96
94
|
&.primary {
|
|
97
|
-
color: #fff;
|
|
98
|
-
background-color: #ffffff;
|
|
95
|
+
background-color: #fff;
|
|
99
96
|
color: #000;
|
|
100
97
|
border: 1px solid #e8e8e8;
|
|
101
98
|
|
|
@@ -123,8 +120,8 @@
|
|
|
123
120
|
display: flex;
|
|
124
121
|
height: 54px;
|
|
125
122
|
cursor: pointer;
|
|
126
|
-
box-shadow: 0 8px 28px 0 rgba(0, 0, 0,
|
|
127
|
-
background-color: #
|
|
123
|
+
box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 5%);
|
|
124
|
+
background-color: #fff;
|
|
128
125
|
border: 1px solid #e8e8e8;
|
|
129
126
|
justify-content: center;
|
|
130
127
|
align-items: center;
|
|
@@ -146,6 +143,7 @@
|
|
|
146
143
|
|
|
147
144
|
.gh-btn {
|
|
148
145
|
padding: 16px;
|
|
146
|
+
|
|
149
147
|
.gh-ico {
|
|
150
148
|
display: block;
|
|
151
149
|
width: 20px;
|
|
@@ -172,7 +170,7 @@
|
|
|
172
170
|
margin-left: -8px;
|
|
173
171
|
color: #1d2129;
|
|
174
172
|
letter-spacing: 0;
|
|
175
|
-
font-family: AlibabaSans102-Medium;
|
|
173
|
+
font-family: "AlibabaSans102-Medium";
|
|
176
174
|
}
|
|
177
175
|
}
|
|
178
176
|
}
|
|
@@ -195,7 +193,6 @@
|
|
|
195
193
|
display: flex;
|
|
196
194
|
position: absolute;
|
|
197
195
|
right: 0;
|
|
198
|
-
margin-top: -300px;
|
|
199
196
|
width: 32%;
|
|
200
197
|
max-width: 598px;
|
|
201
198
|
height: 324px;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
z-index: 1;
|
|
12
12
|
top: 0;
|
|
13
13
|
height: 100%;
|
|
14
|
-
box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0);
|
|
14
|
+
box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0%);
|
|
15
15
|
width: 1px;
|
|
16
16
|
transition: all 0.3s;
|
|
17
17
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
user-select: none;
|
|
46
46
|
background-color: #fff;
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
&::after {
|
|
49
49
|
transition: all 0.3s;
|
|
50
50
|
background-color: transparent;
|
|
51
51
|
border: 1px solid transparent;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
&:hover {
|
|
61
61
|
border-color: var(--primary-color);
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
&::before {
|
|
64
64
|
transition: all 0.3s;
|
|
65
65
|
content: '';
|
|
66
66
|
position: absolute;
|
|
@@ -127,7 +127,6 @@
|
|
|
127
127
|
display: inline-block;
|
|
128
128
|
width: 100%;
|
|
129
129
|
vertical-align: bottom;
|
|
130
|
-
|
|
131
130
|
overflow: hidden;
|
|
132
131
|
text-overflow: ellipsis;
|
|
133
132
|
white-space: nowrap;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: center;
|
|
38
38
|
font-size: 14px;
|
|
39
|
-
border-bottom: 1px solid rgba(255, 255, 255,
|
|
39
|
+
border-bottom: 1px solid rgba(255, 255, 255, 25%);
|
|
40
40
|
margin-bottom: 16px;
|
|
41
41
|
box-sizing: border-box;
|
|
42
42
|
padding-bottom: 16px;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
:global(.anticon),
|
|
73
73
|
a {
|
|
74
74
|
margin-right: 8px;
|
|
75
|
-
color: rgba(255, 255, 255,
|
|
75
|
+
color: rgba(255, 255, 255, 60%);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&.light {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
ul {
|
|
58
58
|
list-style: none;
|
|
59
59
|
padding: 0;
|
|
60
|
-
margin: 0 0 20px
|
|
60
|
+
margin: 0 0 20px;
|
|
61
61
|
|
|
62
62
|
&:last-child {
|
|
63
63
|
margin-bottom: 32px;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
margin-bottom: 4px;
|
|
88
88
|
font-size: 14px;
|
|
89
89
|
line-height: 22px;
|
|
90
|
-
color: rgba(0, 0, 0,
|
|
90
|
+
color: rgba(0, 0, 0, 85%);
|
|
91
91
|
transition: all 0.3s;
|
|
92
92
|
|
|
93
93
|
&:hover {
|
|
@@ -3,6 +3,8 @@ import React from 'react';
|
|
|
3
3
|
import styles from "./SearchResult.module.less";
|
|
4
4
|
import classnames from "classnames";
|
|
5
5
|
import { createNewSession } from "../../../model/AIChat";
|
|
6
|
+
import { authStore, showLoginModal } from "../../../model/auth";
|
|
7
|
+
import { useSnapshot } from "valtio";
|
|
6
8
|
var getHighlightInfo = function getHighlightInfo(textSegments) {
|
|
7
9
|
return /*#__PURE__*/React.createElement(React.Fragment, null, textSegments.map(function (segment) {
|
|
8
10
|
return /*#__PURE__*/React.createElement("span", {
|
|
@@ -21,6 +23,7 @@ export var SearchResult = function SearchResult(_ref) {
|
|
|
21
23
|
var _useSiteData = useSiteData(),
|
|
22
24
|
themeConfig = _useSiteData.themeConfig;
|
|
23
25
|
var intl = useIntl();
|
|
26
|
+
var authSnap = useSnapshot(authStore);
|
|
24
27
|
return /*#__PURE__*/React.createElement("div", {
|
|
25
28
|
className: styles.searchResult
|
|
26
29
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -35,6 +38,10 @@ export var SearchResult = function SearchResult(_ref) {
|
|
|
35
38
|
}), /*#__PURE__*/React.createElement("a", {
|
|
36
39
|
className: styles.result,
|
|
37
40
|
onClick: function onClick() {
|
|
41
|
+
if (!authSnap.isAuthenticated) {
|
|
42
|
+
showLoginModal();
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
38
45
|
createNewSession({
|
|
39
46
|
promptText: keywords,
|
|
40
47
|
mode: "solve",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
.container {
|
|
66
66
|
max-width: 100%;
|
|
67
67
|
padding: 0 20px;
|
|
68
|
-
border-bottom: 1px solid rgba(0, 0, 0,
|
|
68
|
+
border-bottom: 1px solid rgba(0, 0, 0, 10%);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.nav {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
|
|
88
88
|
&:hover {
|
|
89
89
|
background: #fff;
|
|
90
|
-
box-shadow: 0 2px 5px 0 rgba(0, 0, 0,
|
|
90
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 10%);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -174,11 +174,11 @@
|
|
|
174
174
|
font-size: 18px;
|
|
175
175
|
|
|
176
176
|
a {
|
|
177
|
-
color: rgba(0, 0, 0,
|
|
177
|
+
color: rgba(0, 0, 0, 85%);
|
|
178
178
|
transition: all 0.3s;
|
|
179
179
|
|
|
180
180
|
&:hover {
|
|
181
|
-
color: rgba(0, 0, 0,
|
|
181
|
+
color: rgba(0, 0, 0, 100%);
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
.remindHref {
|
|
403
|
-
margin:
|
|
403
|
+
margin: 0 6px 0 5px;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
.modalContent {
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
top: 50%;
|
|
16
16
|
margin: -50px 0 0 -120px;
|
|
17
17
|
}
|
|
18
|
+
|
|
18
19
|
.loader {
|
|
19
20
|
--duration: 3s;
|
|
21
|
+
|
|
20
22
|
width: 44px;
|
|
21
23
|
height: 44px;
|
|
22
24
|
position: relative;
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
margin: 0 16px;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
|
-
.loader
|
|
29
|
+
.loader::before {
|
|
28
30
|
content: ' ';
|
|
29
31
|
width: 6px;
|
|
30
32
|
height: 6px;
|
|
@@ -34,9 +36,9 @@
|
|
|
34
36
|
background: #ff700a;
|
|
35
37
|
top: 37px;
|
|
36
38
|
left: 19px;
|
|
37
|
-
-webkit-transform: translate(-18px, -18px);
|
|
38
39
|
transform: translate(-18px, -18px);
|
|
39
|
-
|
|
40
|
+
transform: translate(-18px, -18px);
|
|
41
|
+
animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
40
42
|
animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
41
43
|
}
|
|
42
44
|
|
|
@@ -58,21 +60,21 @@
|
|
|
58
60
|
.loader svg polygon {
|
|
59
61
|
stroke-dasharray: 145 76 145 76;
|
|
60
62
|
stroke-dashoffset: 0;
|
|
61
|
-
|
|
63
|
+
animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
62
64
|
animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
.loader svg rect {
|
|
66
68
|
stroke-dasharray: 192 64 192 64;
|
|
67
69
|
stroke-dashoffset: 0;
|
|
68
|
-
|
|
70
|
+
animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
69
71
|
animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
.loader svg circle {
|
|
73
75
|
stroke-dasharray: 150 50 150 50;
|
|
74
76
|
stroke-dashoffset: 75;
|
|
75
|
-
|
|
77
|
+
animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
76
78
|
animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
77
79
|
}
|
|
78
80
|
|
|
@@ -80,11 +82,11 @@
|
|
|
80
82
|
width: 48px;
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
.loader.triangle
|
|
85
|
+
.loader.triangle::before {
|
|
84
86
|
left: 21px;
|
|
85
|
-
-webkit-transform: translate(-10px, -18px);
|
|
86
87
|
transform: translate(-10px, -18px);
|
|
87
|
-
|
|
88
|
+
transform: translate(-10px, -18px);
|
|
89
|
+
animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
88
90
|
animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
89
91
|
}
|
|
90
92
|
|
|
@@ -99,7 +101,7 @@
|
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
103
|
|
|
102
|
-
|
|
104
|
+
@keyframes ~":global(pathTriangle)" {
|
|
103
105
|
33% {
|
|
104
106
|
stroke-dashoffset: 74;
|
|
105
107
|
}
|
|
@@ -127,41 +129,41 @@
|
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
131
|
|
|
130
|
-
|
|
132
|
+
@keyframes ~":global(dotTriangle)" {
|
|
131
133
|
33% {
|
|
132
|
-
|
|
134
|
+
transform: translate(0, 0);
|
|
133
135
|
transform: translate(0, 0);
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
66% {
|
|
137
|
-
|
|
139
|
+
transform: translate(10px, -18px);
|
|
138
140
|
transform: translate(10px, -18px);
|
|
139
141
|
}
|
|
140
142
|
|
|
141
143
|
100% {
|
|
142
|
-
|
|
144
|
+
transform: translate(-10px, -18px);
|
|
143
145
|
transform: translate(-10px, -18px);
|
|
144
146
|
}
|
|
145
147
|
}
|
|
146
148
|
|
|
147
149
|
@keyframes ~":global(dotTriangle)" {
|
|
148
150
|
33% {
|
|
149
|
-
|
|
151
|
+
transform: translate(0, 0);
|
|
150
152
|
transform: translate(0, 0);
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
66% {
|
|
154
|
-
|
|
156
|
+
transform: translate(10px, -18px);
|
|
155
157
|
transform: translate(10px, -18px);
|
|
156
158
|
}
|
|
157
159
|
|
|
158
160
|
100% {
|
|
159
|
-
|
|
161
|
+
transform: translate(-10px, -18px);
|
|
160
162
|
transform: translate(-10px, -18px);
|
|
161
163
|
}
|
|
162
164
|
}
|
|
163
165
|
|
|
164
|
-
|
|
166
|
+
@keyframes ~":global(pathRect)" {
|
|
165
167
|
25% {
|
|
166
168
|
stroke-dashoffset: 64;
|
|
167
169
|
}
|
|
@@ -197,51 +199,51 @@
|
|
|
197
199
|
}
|
|
198
200
|
}
|
|
199
201
|
|
|
200
|
-
|
|
202
|
+
@keyframes ~":global(dotRect)" {
|
|
201
203
|
25% {
|
|
202
|
-
|
|
204
|
+
transform: translate(0, 0);
|
|
203
205
|
transform: translate(0, 0);
|
|
204
206
|
}
|
|
205
207
|
|
|
206
208
|
50% {
|
|
207
|
-
|
|
209
|
+
transform: translate(18px, -18px);
|
|
208
210
|
transform: translate(18px, -18px);
|
|
209
211
|
}
|
|
210
212
|
|
|
211
213
|
75% {
|
|
212
|
-
|
|
214
|
+
transform: translate(0, -36px);
|
|
213
215
|
transform: translate(0, -36px);
|
|
214
216
|
}
|
|
215
217
|
|
|
216
218
|
100% {
|
|
217
|
-
|
|
219
|
+
transform: translate(-18px, -18px);
|
|
218
220
|
transform: translate(-18px, -18px);
|
|
219
221
|
}
|
|
220
222
|
}
|
|
221
223
|
|
|
222
224
|
@keyframes ~":global(dotRect)" {
|
|
223
225
|
25% {
|
|
224
|
-
|
|
226
|
+
transform: translate(0, 0);
|
|
225
227
|
transform: translate(0, 0);
|
|
226
228
|
}
|
|
227
229
|
|
|
228
230
|
50% {
|
|
229
|
-
|
|
231
|
+
transform: translate(18px, -18px);
|
|
230
232
|
transform: translate(18px, -18px);
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
75% {
|
|
234
|
-
|
|
236
|
+
transform: translate(0, -36px);
|
|
235
237
|
transform: translate(0, -36px);
|
|
236
238
|
}
|
|
237
239
|
|
|
238
240
|
100% {
|
|
239
|
-
|
|
241
|
+
transform: translate(-18px, -18px);
|
|
240
242
|
transform: translate(-18px, -18px);
|
|
241
243
|
}
|
|
242
244
|
}
|
|
243
245
|
|
|
244
|
-
|
|
246
|
+
@keyframes ~":global(pathCircle)" {
|
|
245
247
|
25% {
|
|
246
248
|
stroke-dashoffset: 125;
|
|
247
249
|
}
|