artalk 2.7.1 → 2.7.2
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 +1 -1
- package/dist/Artalk.css +1 -1
- package/dist/Artalk.es.js +155 -147
- package/dist/Artalk.es.js.map +1 -1
- package/dist/Artalk.iife.js +1 -1
- package/dist/Artalk.iife.js.map +1 -1
- package/dist/Artalk.js +1 -1
- package/dist/Artalk.js.map +1 -1
- package/dist/ArtalkLite.css +1 -1
- package/dist/ArtalkLite.es.js +155 -147
- package/dist/ArtalkLite.es.js.map +1 -1
- package/dist/ArtalkLite.iife.js +1 -1
- package/dist/ArtalkLite.iife.js.map +1 -1
- package/dist/ArtalkLite.js +1 -1
- package/dist/ArtalkLite.js.map +1 -1
- package/dist/i18n/jp.js +1 -1
- package/dist/i18n/zh-TW.js +1 -1
- package/dist/src/api/_base.d.ts +7 -0
- package/dist/src/api/_options.d.ts +5 -0
- package/dist/src/components/checker/index.d.ts +2 -0
- package/dist/src/i18n/en.d.ts +1 -0
- package/dist/src/i18n/external.d.ts +1 -0
- package/dist/src/i18n/index.d.ts +3 -0
- package/dist/src/i18n/jp.d.ts +1 -0
- package/dist/src/i18n/zh-TW.d.ts +1 -0
- package/dist/src/lib/user.d.ts +8 -6
- package/dist/src/plugins/editor/_kit.d.ts +7 -1
- package/dist/src/service.d.ts +2 -8
- package/dist/types/event.d.ts +1 -1
- package/package.json +43 -17
- package/dist/src/components/dark-mode.d.ts +0 -2
- package/src/api/_base.ts +0 -18
- package/src/api/_options.ts +0 -25
- package/src/api/_request.ts +0 -104
- package/src/api/admin.ts +0 -18
- package/src/api/captcha.ts +0 -24
- package/src/api/comment.ts +0 -84
- package/src/api/index.ts +0 -29
- package/src/api/page.ts +0 -83
- package/src/api/site.ts +0 -51
- package/src/api/system.ts +0 -49
- package/src/api/upload.ts +0 -28
- package/src/api/user.ts +0 -132
- package/src/artalk.ts +0 -115
- package/src/comment/actions.ts +0 -83
- package/src/comment/comment.html +0 -18
- package/src/comment/comment.ts +0 -192
- package/src/comment/height-limit.ts +0 -100
- package/src/comment/index.ts +0 -3
- package/src/comment/render.ts +0 -150
- package/src/comment/renders/actions.ts +0 -114
- package/src/comment/renders/avatar.ts +0 -22
- package/src/comment/renders/content.ts +0 -39
- package/src/comment/renders/header.ts +0 -84
- package/src/comment/renders/index.ts +0 -19
- package/src/comment/renders/pending.ts +0 -12
- package/src/comment/renders/reply-at.ts +0 -16
- package/src/comment/renders/reply-to.ts +0 -24
- package/src/components/action-btn.ts +0 -170
- package/src/components/checker/admin.ts +0 -37
- package/src/components/checker/captcha-renders.ts +0 -69
- package/src/components/checker/captcha.ts +0 -26
- package/src/components/checker/index.ts +0 -192
- package/src/components/dark-mode.ts +0 -30
- package/src/components/dialog.ts +0 -62
- package/src/components/error-dialog.ts +0 -35
- package/src/components/pagination.ts +0 -153
- package/src/components/read-more-btn.ts +0 -92
- package/src/config.ts +0 -119
- package/src/context.ts +0 -146
- package/src/data.ts +0 -110
- package/src/defaults.ts +0 -61
- package/src/editor/editor.html +0 -18
- package/src/editor/editor.ts +0 -114
- package/src/editor/state.ts +0 -52
- package/src/editor/ui.ts +0 -36
- package/src/i18n/en.ts +0 -84
- package/src/i18n/external.ts +0 -10
- package/src/i18n/index.ts +0 -67
- package/src/i18n/jp.ts +0 -86
- package/src/i18n/zh-CN.ts +0 -88
- package/src/i18n/zh-TW.ts +0 -86
- package/src/layer/index.ts +0 -4
- package/src/layer/layer-manager.ts +0 -32
- package/src/layer/layer.ts +0 -39
- package/src/layer/scrollbar-helper.ts +0 -24
- package/src/layer/sidebar-layer.html +0 -8
- package/src/layer/sidebar-layer.ts +0 -155
- package/src/layer/wrap.ts +0 -77
- package/src/lib/component.ts +0 -12
- package/src/lib/detect.ts +0 -222
- package/src/lib/event-manager.ts +0 -47
- package/src/lib/highlight.ts +0 -5
- package/src/lib/marked-renderer.ts +0 -32
- package/src/lib/marked.ts +0 -72
- package/src/lib/sanitizer.ts +0 -57
- package/src/lib/ui.ts +0 -193
- package/src/lib/user.ts +0 -55
- package/src/lib/utils.ts +0 -236
- package/src/list/comment.ts +0 -20
- package/src/list/layout.ts +0 -120
- package/src/list/list.html +0 -20
- package/src/list/list.ts +0 -79
- package/src/list/nest.ts +0 -66
- package/src/list/page.ts +0 -97
- package/src/list/paginator/index.ts +0 -25
- package/src/list/paginator/read-more.ts +0 -67
- package/src/list/paginator/up-down.ts +0 -51
- package/src/main.ts +0 -14
- package/src/plugins/admin-only-elem.ts +0 -40
- package/src/plugins/conf-remoter.ts +0 -54
- package/src/plugins/dark-mode.ts +0 -12
- package/src/plugins/editor/_kit.ts +0 -57
- package/src/plugins/editor/_plug.ts +0 -60
- package/src/plugins/editor/_sample.ts +0 -8
- package/src/plugins/editor/closable.ts +0 -44
- package/src/plugins/editor/emoticons.scss +0 -72
- package/src/plugins/editor/emoticons.ts +0 -293
- package/src/plugins/editor/header-event.ts +0 -35
- package/src/plugins/editor/header-link.ts +0 -31
- package/src/plugins/editor/header-user.ts +0 -98
- package/src/plugins/editor/index.ts +0 -40
- package/src/plugins/editor/local-storage.ts +0 -36
- package/src/plugins/editor/mover.ts +0 -29
- package/src/plugins/editor/preview.scss +0 -7
- package/src/plugins/editor/preview.ts +0 -41
- package/src/plugins/editor/state-edit.ts +0 -116
- package/src/plugins/editor/state-reply.ts +0 -91
- package/src/plugins/editor/submit-add.ts +0 -33
- package/src/plugins/editor/submit-btn.ts +0 -25
- package/src/plugins/editor/submit.ts +0 -73
- package/src/plugins/editor/textarea.ts +0 -55
- package/src/plugins/editor/upload.ts +0 -145
- package/src/plugins/editor-kit.ts +0 -161
- package/src/plugins/index.ts +0 -16
- package/src/plugins/list/copyright.ts +0 -16
- package/src/plugins/list/count.ts +0 -31
- package/src/plugins/list/dropdown.ts +0 -95
- package/src/plugins/list/error-dialog.ts +0 -22
- package/src/plugins/list/fetch.ts +0 -64
- package/src/plugins/list/goto-first.ts +0 -23
- package/src/plugins/list/goto.ts +0 -72
- package/src/plugins/list/index.ts +0 -25
- package/src/plugins/list/loading.ts +0 -17
- package/src/plugins/list/no-comment.ts +0 -25
- package/src/plugins/list/reach-bottom.ts +0 -46
- package/src/plugins/list/sidebar-btn.ts +0 -39
- package/src/plugins/list/time-ticking.ts +0 -22
- package/src/plugins/list/unread-badge.ts +0 -26
- package/src/plugins/list/unread.ts +0 -38
- package/src/plugins/list/with-editor.ts +0 -59
- package/src/plugins/markdown.ts +0 -10
- package/src/plugins/stat.ts +0 -82
- package/src/plugins/version-check.ts +0 -36
- package/src/service.ts +0 -91
- package/src/style/_color.scss +0 -41
- package/src/style/_extend.scss +0 -20
- package/src/style/_variables.scss +0 -3
- package/src/style/comment.scss +0 -360
- package/src/style/editor.scss +0 -194
- package/src/style/list.scss +0 -212
- package/src/style/main.scss +0 -486
- package/src/style/pagination.scss +0 -58
- package/src/style/sidebar-layer.scss +0 -92
- package/types/config.ts +0 -153
- package/types/context.ts +0 -84
- package/types/data.ts +0 -271
- package/types/editor.ts +0 -95
- package/types/event.ts +0 -40
- package/types/global.d.ts +0 -1
- package/types/index.ts +0 -7
- package/types/plugin.ts +0 -3
- package/types/sidebar.ts +0 -3
package/src/style/main.scss
DELETED
|
@@ -1,486 +0,0 @@
|
|
|
1
|
-
@import "./_color.scss";
|
|
2
|
-
@import './comment.scss';
|
|
3
|
-
@import './list.scss';
|
|
4
|
-
@import './pagination.scss';
|
|
5
|
-
@import './editor.scss';
|
|
6
|
-
@import './sidebar-layer.scss';
|
|
7
|
-
|
|
8
|
-
.artalk {
|
|
9
|
-
position: relative;
|
|
10
|
-
width: 100%;
|
|
11
|
-
min-height: 200px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.artalk, .atk-layer-wrap {
|
|
15
|
-
color: var(--at-color-font);
|
|
16
|
-
word-wrap: break-word;
|
|
17
|
-
word-break: break-word;
|
|
18
|
-
|
|
19
|
-
* {
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
input, textarea, button, optgroup, select {
|
|
24
|
-
font-family: inherit;
|
|
25
|
-
color: inherit;
|
|
26
|
-
font-size: inherit;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
$codeFont: source code pro, Consolas, Monaco, Menlo, sans-serif;
|
|
30
|
-
|
|
31
|
-
code {
|
|
32
|
-
font-family: $codeFont;
|
|
33
|
-
margin: 0 .05em;
|
|
34
|
-
padding: 0 .4em;
|
|
35
|
-
display: inline-block;
|
|
36
|
-
vertical-align: middle;
|
|
37
|
-
font-size: .9em;
|
|
38
|
-
background-color: var(--at-color-bg-grey);
|
|
39
|
-
color: var(--at-color-font);
|
|
40
|
-
border-radius: 2px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
pre {
|
|
44
|
-
margin: 10px 0 0 0;
|
|
45
|
-
padding: 0;
|
|
46
|
-
line-height: 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
pre code {
|
|
50
|
-
* { font-family: $codeFont; }
|
|
51
|
-
line-height: $line-height;
|
|
52
|
-
display: block;
|
|
53
|
-
padding: 10px 15px;
|
|
54
|
-
white-space: pre-wrap !important;
|
|
55
|
-
background-color: var(--at-color-bg-grey);
|
|
56
|
-
color: var(--at-color-font);
|
|
57
|
-
margin: 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
a {
|
|
61
|
-
color: var(--at-color-main);
|
|
62
|
-
text-decoration: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
blockquote {
|
|
66
|
-
position: static;
|
|
67
|
-
margin: 10px 0 10px 0;
|
|
68
|
-
padding: 10px 20px 10px 20px;
|
|
69
|
-
background: var(--at-color-bg-grey);
|
|
70
|
-
border-left: 4px solid #687a86;
|
|
71
|
-
color: var(--at-color-font);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
p:first-child {
|
|
75
|
-
margin-top: 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
p:last-child {
|
|
79
|
-
margin-bottom: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
img {
|
|
83
|
-
max-width: 100%;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
table {
|
|
87
|
-
width: 100%;
|
|
88
|
-
border-collapse: collapse;
|
|
89
|
-
border-spacing: 0;
|
|
90
|
-
margin-bottom: 1.5em;
|
|
91
|
-
font-size: .96em
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
td, th {
|
|
95
|
-
text-align: left;
|
|
96
|
-
padding: 4px 8px 4px 10px;
|
|
97
|
-
border: 1px solid var(--at-color-border)
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
td {
|
|
101
|
-
vertical-align: top
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
tr:nth-child(even) {
|
|
105
|
-
background-color: var(--at-color-bg-grey);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
ul {
|
|
109
|
-
list-style: disc;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
ol {
|
|
113
|
-
list-style: decimal;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
li + li {
|
|
117
|
-
margin-top: 8px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
li > ol,
|
|
121
|
-
li > ul {
|
|
122
|
-
margin: 8px 0 0;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.atk-hide {
|
|
127
|
-
display: none !important;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.atk-full-layer {
|
|
131
|
-
width: 100%;
|
|
132
|
-
height: 100%;
|
|
133
|
-
position: absolute;
|
|
134
|
-
top: 0;
|
|
135
|
-
left: 0;
|
|
136
|
-
background: var(--at-color-bg);
|
|
137
|
-
z-index: 4;
|
|
138
|
-
align-items: center;
|
|
139
|
-
justify-content: center;
|
|
140
|
-
flex-flow: column;
|
|
141
|
-
display: flex;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/* Loading */
|
|
145
|
-
.atk-loading {
|
|
146
|
-
@extend .atk-full-layer;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.atk-loading-spinner {
|
|
150
|
-
position: relative;
|
|
151
|
-
width: 50px;
|
|
152
|
-
height: 50px;
|
|
153
|
-
|
|
154
|
-
svg {
|
|
155
|
-
animation: atkRotate 2s linear infinite;
|
|
156
|
-
transform-origin: center center;
|
|
157
|
-
width: 100%;
|
|
158
|
-
height: 100%;
|
|
159
|
-
position: absolute;
|
|
160
|
-
top: 0;
|
|
161
|
-
left: 0;
|
|
162
|
-
|
|
163
|
-
circle {
|
|
164
|
-
stroke-dasharray: 1,200;
|
|
165
|
-
stroke-dashoffset: 0;
|
|
166
|
-
animation: atkDash 1.5s ease-in-out infinite, atkColor 6s ease-in-out infinite;
|
|
167
|
-
stroke-linecap: round
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
@keyframes atkRotate {
|
|
173
|
-
100% { transform: rotate(360deg) }
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
@keyframes atkDash {
|
|
177
|
-
0% {
|
|
178
|
-
stroke-dasharray: 1,200;
|
|
179
|
-
stroke-dashoffset: 0
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
50% {
|
|
183
|
-
stroke-dasharray: 89,200;
|
|
184
|
-
stroke-dashoffset: -35px
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
100% {
|
|
188
|
-
stroke-dasharray: 89,200;
|
|
189
|
-
stroke-dashoffset: -124px
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
@keyframes atkColor {
|
|
194
|
-
0%,100% { stroke: #ff5652 }
|
|
195
|
-
40% { stroke: #2196F3 }
|
|
196
|
-
66% { stroke: #32c787 }
|
|
197
|
-
80%,90% { stroke: #ffc107 }
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
@keyframes atkLoadingIconRotate {
|
|
201
|
-
0% { transform: rotate(0) }
|
|
202
|
-
100% { transform: rotate(360deg) }
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.atk-loading-icon {
|
|
206
|
-
width: 18px;
|
|
207
|
-
height: 18px;
|
|
208
|
-
box-sizing: border-box;
|
|
209
|
-
border: solid 1px transparent;
|
|
210
|
-
border-top-color: #29d;
|
|
211
|
-
border-left-color: #29d;
|
|
212
|
-
border-radius: 50%;
|
|
213
|
-
animation: atkLoadingIconRotate .4s linear infinite;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/* Animations */
|
|
217
|
-
.atk-fade-in {
|
|
218
|
-
animation: atkFadeIn both .3s;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.atk-fade-out {
|
|
222
|
-
animation: atkFadeOut both .2s;
|
|
223
|
-
}
|
|
224
|
-
.atk-rotate {
|
|
225
|
-
animation: atkRotate 2s linear infinite;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
@keyframes atkFadeIn {
|
|
229
|
-
0% { opacity: 0 }
|
|
230
|
-
to { opacity: 1 }
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
@keyframes atkFadeOut {
|
|
234
|
-
100% { opacity: 0; }
|
|
235
|
-
0% {}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
@keyframes atkRotate {
|
|
239
|
-
from { transform: rotate(0deg); }
|
|
240
|
-
to { transform: rotate(360deg); }
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
i.atk-icon {
|
|
244
|
-
width: 20px;
|
|
245
|
-
height: 20px;
|
|
246
|
-
background-color: var(--at-color-deep);
|
|
247
|
-
background-size: contain;
|
|
248
|
-
background-repeat: no-repeat;
|
|
249
|
-
mask-repeat: no-repeat;
|
|
250
|
-
mask-position: center;
|
|
251
|
-
mask-size: contain;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.atk-icon-sync {
|
|
255
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.99133 4.87635C2.22512 7.64257 2.22512 12.1275 4.99133 14.8937C6.04677 15.9491 7.3524 16.6019 8.71732 16.8519' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M14.4179 15.4815L15.0072 14.8922C17.7734 12.126 17.7734 7.64107 15.0072 4.87486C13.9518 3.81942 12.6461 3.16668 11.2812 2.91664' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M6.17106 4.99252L5.58181 4.40327L4.99255 3.81401H6.17106V4.99252Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M13.8299 15.0084L14.4192 15.5976L15.0084 16.1869H13.8299V15.0084Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E");
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.atk-icon-del {
|
|
259
|
-
background-color: var(--at-color-red) !important;
|
|
260
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.29167 5.04166L4.81251 5.04166M4.81251 5.04166L4.81251 18.3333C4.81251 18.5865 5.01771 18.7917 5.27084 18.7917L16.7292 18.7917C16.9823 18.7917 17.1875 18.5865 17.1875 18.3333V5.04166M4.81251 5.04166L7.33334 5.04166M17.1875 5.04166L19.7083 5.04166M17.1875 5.04166L14.6667 5.04166M7.33334 5.04166V3.20833L14.6667 3.20833V5.04166M7.33334 5.04166L14.6667 5.04166' stroke='%23D06565' stroke-width='2'/%3E%3Cpath d='M9.16667 8.25V15.125M12.8333 8.25V15.125' stroke='%23D06565' stroke-width='2'/%3E%3C/svg%3E");
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.atk-icon-edit {
|
|
264
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.70618 4.08515L12.6081 7.06376M1.00041 13.021L11.7376 2L14.6392 4.97861L3.90274 16H1L1.00041 13.021Z' stroke='%234E5969' stroke-width='1.5'/%3E%3C/svg%3E");
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.atk-icon-no, .atk-icon-close {
|
|
268
|
-
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M19.8657 5.13431L12.5 12.5L5.13431 19.8657' stroke='%234E5969'/%3E%3Cpath d='M5.13431 5.13432L12.5 12.5L19.8657 19.8657' stroke='%234E5969'/%3E%3C/svg%3E");
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.atk-icon-yes {
|
|
272
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.7071 5.75533L9.92197 17.5404L3.29285 10.9113' stroke='%234E5969'/%3E%3C/svg%3E");
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.atk-icon-plus {
|
|
276
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.08331 10H17.9166' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M10 2.08334L10 17.9167' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E");
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
/* Layer */
|
|
280
|
-
.atk-error-layer {
|
|
281
|
-
@extend .atk-full-layer;
|
|
282
|
-
background-color: var(--at-color-bg-transl);
|
|
283
|
-
|
|
284
|
-
.atk-error-title {
|
|
285
|
-
color: var(--at-color-red);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.atk-warn-title {
|
|
289
|
-
color: var(--at-color-yellow);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.atk-error-title, .atk-warn-title {
|
|
293
|
-
display: inline-block;
|
|
294
|
-
padding: 0 15px;
|
|
295
|
-
margin-bottom: 20px;
|
|
296
|
-
font-size: 20px;
|
|
297
|
-
letter-spacing: -0.5px;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.atk-error-text {
|
|
301
|
-
text-align: center;
|
|
302
|
-
padding: 0 20px;
|
|
303
|
-
|
|
304
|
-
* {
|
|
305
|
-
color: var(--at-color-deep);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
a {
|
|
309
|
-
color: var(--at-color-meta);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.atk-layer-dialog-wrap {
|
|
315
|
-
$formInputHeight: 30px;
|
|
316
|
-
@extend .atk-full-layer;
|
|
317
|
-
background-color: var(--at-color-bg-transl);
|
|
318
|
-
|
|
319
|
-
& > .atk-layer-dialog {
|
|
320
|
-
width: 25%;
|
|
321
|
-
|
|
322
|
-
& > .atk-layer-dialog-content {
|
|
323
|
-
.atk-captcha-img {
|
|
324
|
-
cursor: pointer;
|
|
325
|
-
width: 170px;
|
|
326
|
-
height: auto;
|
|
327
|
-
margin-right: 10px;
|
|
328
|
-
padding-right: 10px;
|
|
329
|
-
border-right: 1px solid var(--at-color-border);
|
|
330
|
-
vertical-align: bottom;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
input {
|
|
334
|
-
width: 100%;
|
|
335
|
-
line-height: calc($formInputHeight + 4px);
|
|
336
|
-
background-color: var(--at-color-bg);
|
|
337
|
-
border: 1px solid var(--at-color-border);
|
|
338
|
-
border-radius: calc($block-radius / 2);
|
|
339
|
-
outline: none;
|
|
340
|
-
padding: 0 6px;
|
|
341
|
-
display: block;
|
|
342
|
-
margin-top: 10px;
|
|
343
|
-
margin-bottom: 5px;
|
|
344
|
-
text-align: center;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
& > .atk-layer-dialog-actions {
|
|
349
|
-
display: flex;
|
|
350
|
-
flex-direction: row;
|
|
351
|
-
|
|
352
|
-
button {
|
|
353
|
-
flex: 1;
|
|
354
|
-
display: block;
|
|
355
|
-
cursor: pointer;
|
|
356
|
-
border: 1px solid var(--at-color-main);
|
|
357
|
-
background: transparent;
|
|
358
|
-
color: var(--at-color-main);
|
|
359
|
-
border-radius: calc($block-radius / 2);
|
|
360
|
-
padding: 0 15px;
|
|
361
|
-
line-height: $formInputHeight;
|
|
362
|
-
outline: none;
|
|
363
|
-
|
|
364
|
-
&:active {
|
|
365
|
-
color: #FFF;
|
|
366
|
-
background: var(--at-color-main);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
&:not(:last-child) {
|
|
370
|
-
margin-right: 5px;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
&.error {
|
|
374
|
-
color: #FFF;
|
|
375
|
-
background: #ff5652;
|
|
376
|
-
border-color: #ff5652;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
.atk-checker-iframe-wrap {
|
|
382
|
-
position: fixed;
|
|
383
|
-
z-index: 999998;
|
|
384
|
-
left: 0;
|
|
385
|
-
top: 0;
|
|
386
|
-
height: 100vh;
|
|
387
|
-
width: 100vw;
|
|
388
|
-
|
|
389
|
-
& > iframe {
|
|
390
|
-
width: 100%;
|
|
391
|
-
height: 100%;
|
|
392
|
-
border: 0;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.atk-close-btn {
|
|
396
|
-
z-index: 999999;
|
|
397
|
-
position: fixed;
|
|
398
|
-
top: 20px;
|
|
399
|
-
right: 20px;
|
|
400
|
-
display: flex;
|
|
401
|
-
flex-direction: column;
|
|
402
|
-
width: 50px;
|
|
403
|
-
height: 50px;
|
|
404
|
-
align-items: center;
|
|
405
|
-
place-content: center;
|
|
406
|
-
cursor: pointer;
|
|
407
|
-
user-select: none;
|
|
408
|
-
margin-left: 10px;
|
|
409
|
-
|
|
410
|
-
&:hover .atk-icon-close {
|
|
411
|
-
background-color: rgba(232, 17, 35, 0.9);
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
@media only screen and (max-width: 768px) {
|
|
419
|
-
.atk-layer-dialog-wrap > .atk-layer-dialog {
|
|
420
|
-
width: 90% !important;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
.atk-notify {
|
|
425
|
-
display: block;
|
|
426
|
-
overflow: hidden;
|
|
427
|
-
background-color: #2c2c2c;
|
|
428
|
-
color: #FFF;
|
|
429
|
-
border-radius: calc($block-radius / 2);
|
|
430
|
-
cursor: pointer;
|
|
431
|
-
font-size: 14px;
|
|
432
|
-
padding: 5px 15px;
|
|
433
|
-
|
|
434
|
-
&:not(:last-child) {
|
|
435
|
-
margin-bottom: 3px;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
.atk-notify-content {
|
|
439
|
-
color: #FFF;
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
.atk-layer-wrap {
|
|
444
|
-
.atk-layer-mask {
|
|
445
|
-
position: fixed;
|
|
446
|
-
top: 0;
|
|
447
|
-
left: 0;
|
|
448
|
-
width: 100%;
|
|
449
|
-
height: 100%;
|
|
450
|
-
z-index: 99998;
|
|
451
|
-
background: rgba(0, 0, 0, .3);
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.atk-layer-item {
|
|
455
|
-
position: fixed;
|
|
456
|
-
z-index: 99999;
|
|
457
|
-
top: 0;
|
|
458
|
-
right: 0;
|
|
459
|
-
width: 100%;
|
|
460
|
-
height: 100%;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
/* Common Action Btn */
|
|
465
|
-
.atk-common-action-btn {
|
|
466
|
-
&.atk-btn-confirm {
|
|
467
|
-
color: var(--at-color-yellow) !important;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
&.atk-btn-warn {
|
|
471
|
-
color: var(--at-color-yellow) !important;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
&.atk-btn-error {
|
|
475
|
-
color: var(--at-color-red) !important;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
&.atk-btn-success {
|
|
479
|
-
color: var(--at-color-green) !important;
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
img[atk-emoticon] {
|
|
484
|
-
max-height: 60px;
|
|
485
|
-
display: initial;
|
|
486
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
.atk-pagination {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
padding: 10px 0;
|
|
6
|
-
position: relative;
|
|
7
|
-
|
|
8
|
-
& > .atk-btn,
|
|
9
|
-
& > .atk-input {
|
|
10
|
-
font-size: 15px;
|
|
11
|
-
height: 30px;
|
|
12
|
-
border: 1px solid var(--at-color-border);
|
|
13
|
-
border-radius: 3px;
|
|
14
|
-
padding: 0 5px;
|
|
15
|
-
text-align: center;
|
|
16
|
-
background: var(--at-color-bg);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
& > .atk-btn {
|
|
20
|
-
user-select: none;
|
|
21
|
-
width: 70px;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
align-items: center;
|
|
26
|
-
|
|
27
|
-
&:hover {
|
|
28
|
-
background: var(--at-color-bg-grey);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.atk-disabled {
|
|
32
|
-
color: var(--at-color-sub);
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
cursor: default;
|
|
36
|
-
background: initial;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
& > .atk-input {
|
|
42
|
-
background: transparent;
|
|
43
|
-
color: var(--at-color-font);
|
|
44
|
-
font-size: 18px;
|
|
45
|
-
width: 60px;
|
|
46
|
-
outline: none;
|
|
47
|
-
|
|
48
|
-
&:focus {
|
|
49
|
-
border-color: var(--at-color-main);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
& > * {
|
|
54
|
-
&:not(:last-child) {
|
|
55
|
-
margin-right: 10px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
$header-height: 60px;
|
|
2
|
-
$nav-height: 40px;
|
|
3
|
-
|
|
4
|
-
.atk-sidebar-layer {
|
|
5
|
-
$width: 430px;
|
|
6
|
-
position: fixed;
|
|
7
|
-
z-index: 99999;
|
|
8
|
-
top: 0;
|
|
9
|
-
right: 0;
|
|
10
|
-
width: $width;
|
|
11
|
-
height: 100%;
|
|
12
|
-
background: var(--at-color-bg);
|
|
13
|
-
transition: transform 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
|
|
14
|
-
transform: translate($width, 0px);
|
|
15
|
-
|
|
16
|
-
@media only screen and (max-width: $width) {
|
|
17
|
-
& {
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.atk-sidebar-inner {
|
|
23
|
-
position: relative;
|
|
24
|
-
height: 100%;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Header
|
|
28
|
-
.atk-sidebar-header {
|
|
29
|
-
position: absolute;
|
|
30
|
-
top: 0;
|
|
31
|
-
right: 0;
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: row;
|
|
34
|
-
align-items: center;
|
|
35
|
-
z-index: 99999;
|
|
36
|
-
|
|
37
|
-
.atk-sidebar-close {
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
width: $header-height;
|
|
41
|
-
height: $header-height;
|
|
42
|
-
align-items: center;
|
|
43
|
-
place-content: center;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
user-select: none;
|
|
46
|
-
margin-left: 10px;
|
|
47
|
-
|
|
48
|
-
&:hover .atk-icon-close {
|
|
49
|
-
background-color: rgba(232, 17, 35, 0.9);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.atk-sidebar-iframe-wrap {
|
|
55
|
-
height: 100%;
|
|
56
|
-
position: relative;
|
|
57
|
-
|
|
58
|
-
iframe {
|
|
59
|
-
border: 0;
|
|
60
|
-
width: 100%;
|
|
61
|
-
height: 100%;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.atk-err-alert {
|
|
65
|
-
z-index: 9999;
|
|
66
|
-
top: 50%;
|
|
67
|
-
left: 50%;
|
|
68
|
-
transform: translate(-50%, -50%);
|
|
69
|
-
position: absolute;
|
|
70
|
-
background: var(--at-color-bg);
|
|
71
|
-
padding: 40px 30px;
|
|
72
|
-
width: 80%;
|
|
73
|
-
text-align: center;
|
|
74
|
-
border-radius: 4px;
|
|
75
|
-
|
|
76
|
-
.atk-title {
|
|
77
|
-
font-size: 1.4em;
|
|
78
|
-
margin-bottom: 20px;
|
|
79
|
-
color: var(--at-color-font);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.atk-text {
|
|
83
|
-
color: var(--at-color-font);
|
|
84
|
-
|
|
85
|
-
span {
|
|
86
|
-
cursor: pointer;
|
|
87
|
-
color: var(--at-color-main);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|