Skip to content

Commit

Permalink
perf: 优化主题色及样式 (#7009)
Browse files Browse the repository at this point in the history
  • Loading branch information
lan-yonghui authored Nov 12, 2024
1 parent ee947b6 commit f2849aa
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
11 changes: 4 additions & 7 deletions frontend/src/components/app-status/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,9 @@
:content="$t('website.openrestyHelper', [httpPort, httpsPort])"
placement="top-start"
>
<el-alert
:title="$t('app.checkTitle')"
:closable="false"
type="warning"
show-icon
class="h-8"
/>
<el-button size="small" type="warning" :icon="Warning">
{{ $t('app.checkTitle') }}
</el-button>
</el-tooltip>
</div>
</div>
Expand Down Expand Up @@ -113,6 +109,7 @@ import { ElMessageBox } from 'element-plus';
import i18n from '@/lang';
import { MsgSuccess } from '@/utils/message';
import { ClearNginxCache } from '@/api/modules/nginx';
import { Warning } from '@element-plus/icons-vue';
const props = defineProps({
appKey: {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/styles/element-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ html.dark {

.el-tag.el-tag--primary {
--el-tag-bg-color: var(--panel-main-bg-color-9);
--el-tag-border-color: var(--panel-color-primary-light-8);
--el-tag-border-color: var(--panel-main-bg-color-8);
--el-tag-hover-color: var(--panel-color-primary);
}

Expand Down
17 changes: 13 additions & 4 deletions frontend/src/views/app-store/apps/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,19 @@
<el-col :xs="16" :sm="18" :md="18" :lg="18" :xl="19">
<div class="app-content">
<div class="app-header">
<span class="app-title">{{ app.name }}</span>
<el-text type="success" class="!ml-2" v-if="app.installed">
{{ $t('app.allReadyInstalled') }}
</el-text>
<el-space wrap :size="1">
<span class="app-title">{{ app.name }}</span>
<el-tag
type="success"
v-if="app.installed"
round
size="small"
class="!ml-2"
>
{{ $t('app.allReadyInstalled') }}
</el-tag>
</el-space>

<el-button
class="app-button"
type="primary"
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/views/login/components/login-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,10 @@ onMounted(() => {
margin-top: -20px;
margin-left: 20px;
}
:deep(.el-input__inner) {
color: #000 !important;
}
}
.cursor-pointer {
outline: none;
Expand Down

0 comments on commit f2849aa

Please sign in to comment.