mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-23 18:49:21 +08:00
perf: 优化主题色及样式 (#7009)
This commit is contained in:
parent
ee947b6468
commit
f2849aa6ec
@ -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>
|
||||
@ -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: {
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -534,6 +534,10 @@ onMounted(() => {
|
||||
margin-top: -20px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
:deep(.el-input__inner) {
|
||||
color: #000 !important;
|
||||
}
|
||||
}
|
||||
.cursor-pointer {
|
||||
outline: none;
|
||||
|
Loading…
Reference in New Issue
Block a user