fixed bug
This commit is contained in:
1 parent
54b18039e3
commit
8c3232fadf
16 files changed
+1134
-97
No files matched your search
@@ -4,6 +4,17 @@
|
||||
.atk-loading{
|
||||
background: #FFFFFF;
|
||||
}
|
||||
.atk-loading-editor-box {
|
||||
margin-bottom: 30px;
|
||||
border: 1px solid var(--frame-color);
|
||||
border-radius: 4px;
|
||||
padding: 10px;
|
||||
background: #fff;
|
||||
}
|
||||
[data-theme="dark"] .atk-loading-editor-box {
|
||||
border-color: var(--frame-dark-color);
|
||||
background: transparent;
|
||||
}
|
||||
/*对artalk评论暗夜模式进行微调*/
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.atk-pinned-badge {
|
||||
@@ -20,6 +31,21 @@
|
||||
<div id="Comments" uk-scrollspy="target: > *; cls: uk-animation-slide-bottom-small; delay: 100">
|
||||
<!-- Loading Skeleton -->
|
||||
<div class="atk-loading-placeholder">
|
||||
<!-- Editor Skeleton -->
|
||||
<div class="atk-loading-editor-box">
|
||||
<div style="display: flex; gap: 10px; margin-bottom: 10px;">
|
||||
<div class="atk-loading-line" style="width: 32%; height: 34px; border-radius: 4px; margin-bottom: 0;"></div>
|
||||
<div class="atk-loading-line" style="width: 32%; height: 34px; border-radius: 4px; margin-bottom: 0;"></div>
|
||||
<div class="atk-loading-line" style="width: 32%; height: 34px; border-radius: 4px; margin-bottom: 0;"></div>
|
||||
</div>
|
||||
<div class="atk-loading-line" style="width: 100%; height: 120px; border-radius: 4px; margin-bottom: 10px;"></div>
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<div class="atk-loading-line" style="width: 120px; height: 20px; margin-bottom: 0;"></div>
|
||||
<div class="atk-loading-line" style="width: 80px; height: 34px; border-radius: 4px; margin-bottom: 0;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Comment List Skeleton -->
|
||||
<div class="atk-loading-item">
|
||||
<div class="atk-loading-avatar"></div>
|
||||
<div class="atk-loading-content">
|
||||
@@ -45,6 +71,7 @@
|
||||
el: '#Comments',
|
||||
server: '{{ .Site.Params.artalk.server }}',
|
||||
site: '{{ .Site.Params.artalk.site }}',
|
||||
aiBadge: '{{ .Site.Params.artalk.ai_badge | default "AI" }}',
|
||||
pageKey: '{{ .RelPermalink }}',
|
||||
emoticons: '{{ .Site.Params.artalk.emoticons | relURL }}',
|
||||
aiComment: {{ if .Params.ai_comment }}
|
||||
|
||||
Reference in new issue
Block a user