diff --git a/frontend/src/assets/base.scss b/frontend/src/assets/base.scss index 7345e461..13c16d90 100644 --- a/frontend/src/assets/base.scss +++ b/frontend/src/assets/base.scss @@ -9,4 +9,6 @@ --phone-width: 992px; --app-max-width: 1360px; + + --color-always-white: #ffffff; } diff --git a/frontend/src/assets/global.scss b/frontend/src/assets/global.scss index bb42274e..76030ff2 100644 --- a/frontend/src/assets/global.scss +++ b/frontend/src/assets/global.scss @@ -68,14 +68,6 @@ html { position: absolute; } -.global-text-white-border { - text-shadow: - -1px -1px 0 #ffffff75, - 1px -1px 0 #ffffff75, - -1px 1px 0 #ffffff75, - 1px 1px 0 #ffffff75; -} - .global-app-container { max-width: var(--app-max-width); margin: auto; diff --git a/frontend/src/assets/variables-dark.scss b/frontend/src/assets/variables-dark.scss index 23a47408..8b90c06f 100644 --- a/frontend/src/assets/variables-dark.scss +++ b/frontend/src/assets/variables-dark.scss @@ -23,6 +23,11 @@ .app-header-wrapper { border-bottom: 1px solid var(--color-gray-5); } + + // Antdv for dark mode + .ant-btn-default { + background-color: var(--vscode-bg-color); + } } .app-dark-base-color { diff --git a/frontend/src/components/AppHeader.vue b/frontend/src/components/AppHeader.vue index 4cf8a35d..5d4f3541 100644 --- a/frontend/src/components/AppHeader.vue +++ b/frontend/src/components/AppHeader.vue @@ -378,6 +378,7 @@ const openPhoneMenu = (b = false) => { .phone-menu-btn { padding: 16px 8px; border-bottom: 1px solid var(--color-gray-4); + color: var(--color-gray-12); } } @@ -394,11 +395,12 @@ const openPhoneMenu = (b = false) => { margin-top: 8px; button { - color: var(--color-gray-4); + color: var(--color-always-white) !important; } } - .phone-nav-button { + .phone-nav-button, + .phone-nav-button * { margin: 0px 6px; } } diff --git a/frontend/src/components/BetweenMenus.vue b/frontend/src/components/BetweenMenus.vue index afba8950..56e142fc 100644 --- a/frontend/src/components/BetweenMenus.vue +++ b/frontend/src/components/BetweenMenus.vue @@ -18,21 +18,37 @@ flex-wrap: wrap; align-items: center; justify-content: space-between; - gap: 10px; + gap: 12px; .menus-item-center { display: flex; justify-content: center; width: 30%; + flex: 1; + } + .menus-item-left { + flex: 1; + } + .menus-item-right { + text-align: right; + flex: 1; } } @media (max-width: 585px) { + .between-menus-container { + display: block; + } + .menus-item-center { + margin-bottom: 12px; + } .menus-item-left { display: none; } - .menus-item-center { + .menus-item-center, + .menus-item-right { width: 100% !important; + text-align: left !important; } } diff --git a/frontend/src/components/CardPanel.vue b/frontend/src/components/CardPanel.vue index 0642a840..55fa9769 100644 --- a/frontend/src/components/CardPanel.vue +++ b/frontend/src/components/CardPanel.vue @@ -42,9 +42,9 @@ const props = defineProps({ @import "@/assets/global.scss"; .padding { padding: 16px; - border: 1px solid var(--card-border-color); } .card-panel { + border: 1px solid var(--card-border-color); background-color: var(--background-color-white); display: flex; flex-direction: column; diff --git a/frontend/src/components/NewCardList/index.vue b/frontend/src/components/NewCardList/index.vue index 04ab8b25..3a4bc69d 100644 --- a/frontend/src/components/NewCardList/index.vue +++ b/frontend/src/components/NewCardList/index.vue @@ -13,6 +13,7 @@ import type { NewCardItem } from "../../config/index"; import { message } from "ant-design-vue"; import { reportError } from "@/tools/validator"; +import { AppstoreOutlined, BarsOutlined } from "@ant-design/icons-vue"; const { getCardPool } = useCardPool(); const { insertLayoutItem } = useLayoutConfigStore(); @@ -60,10 +61,10 @@ const cardCategoryList = [ label: t("TXT_CODE_d941eb89"), value: NEW_CARD_TYPE.INSTANCE }, - { - label: t("TXT_CODE_765d34e6"), - value: NEW_CARD_TYPE.USER - }, + // { + // label: t("TXT_CODE_765d34e6"), + // value: NEW_CARD_TYPE.USER + // }, { label: t("TXT_CODE_76b2a495"), value: NEW_CARD_TYPE.OTHER @@ -95,11 +96,12 @@ const handleTabClick = (value: string) => {