diff --git a/open-isle-cli/src/assets/global.css b/open-isle-cli/src/assets/global.css index f597b5088..e1ab977cc 100644 --- a/open-isle-cli/src/assets/global.css +++ b/open-isle-cli/src/assets/global.css @@ -16,6 +16,7 @@ --text-color: black; --menu-width: 200px; --page-max-width: 1200px; + --article-info-background-color: #f0f0f0; } [data-theme='dark'] { @@ -23,12 +24,13 @@ --header-border-color: #555; --header-text-color: white; --menu-background-color: #333; - --background-color: #121212; + --background-color: #333; --menu-border-color: #555; --menu-selected-background-color: rgba(255, 255, 255, 0.1); --menu-text-color: white; --normal-background-color: #121212; --text-color: #eee; + --article-info-background-color: #747373; } body { diff --git a/open-isle-cli/src/components/ArticleTags.vue b/open-isle-cli/src/components/ArticleTags.vue index f5bc24522..14a802347 100644 --- a/open-isle-cli/src/components/ArticleTags.vue +++ b/open-isle-cli/src/components/ArticleTags.vue @@ -33,5 +33,21 @@ export default { gap: 10px; } + +.article-info-item { + display: flex; + flex-direction: row; + gap: 5px; + align-items: center; + font-size: 14px; + padding: 2px 4px; + background-color: var(--article-info-background-color); + border-radius: 4px; +} + +.article-info-item-img { + width: 16px; + height: 16px; +} diff --git a/open-isle-cli/src/components/BaseInput.vue b/open-isle-cli/src/components/BaseInput.vue index d22842832..93365e6fa 100644 --- a/open-isle-cli/src/components/BaseInput.vue +++ b/open-isle-cli/src/components/BaseInput.vue @@ -76,5 +76,7 @@ export default { width: 100%; font-size: 16px; resize: none; + background-color: transparent; + color: var(--text-color); } diff --git a/open-isle-cli/src/components/CommentItem.vue b/open-isle-cli/src/components/CommentItem.vue index 6a3271526..e4dfcd4a0 100644 --- a/open-isle-cli/src/components/CommentItem.vue +++ b/open-isle-cli/src/components/CommentItem.vue @@ -46,7 +46,10 @@ class="reply-toggle" @click="toggleReplies" > - {{ showReplies ? '收起' : '展开' }}{{ comment.reply.length }}条回复 + + + + {{ comment.reply.length }}条回复
@@ -191,6 +194,10 @@ export default CommentItem animation: highlight 2s; } +.reply-toggle-icon { + margin-right: 5px; +} + @keyframes highlight { from { background-color: yellow; } to { background-color: transparent; } diff --git a/open-isle-cli/src/components/Dropdown.vue b/open-isle-cli/src/components/Dropdown.vue index 852573b38..2f2d4377f 100644 --- a/open-isle-cli/src/components/Dropdown.vue +++ b/open-isle-cli/src/components/Dropdown.vue @@ -32,7 +32,7 @@
-
+