mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 06:42:26 +00:00
perf: 修改全局菜单
This commit is contained in:
parent
5261dce34f
commit
42425dc61b
@ -22,7 +22,6 @@
|
||||
<el-tooltip
|
||||
v-if="isSystemError && isLoading"
|
||||
:content="$tc('Reconnect')"
|
||||
effect="dark"
|
||||
placement="top"
|
||||
>
|
||||
<svg-icon icon-class="refresh" @click="onRefresh" />
|
||||
|
@ -8,7 +8,7 @@
|
||||
v-bind="data.attrs"
|
||||
>
|
||||
<template v-if="data.label" #label>
|
||||
<el-tooltip v-if="data.helpTip" effect="light" placement="top" popper-class="help-tips">
|
||||
<el-tooltip v-if="data.helpTip" effect="dark" placement="top" popper-class="help-tips">
|
||||
<div slot="content" v-html="data.helpTip" />
|
||||
<i class="el-icon-warning-outline help-tip-icon" />
|
||||
</el-tooltip>
|
||||
|
@ -164,6 +164,7 @@ $height: 28px;
|
||||
line-height: $height;
|
||||
background: transparent;
|
||||
color: #FFF;
|
||||
font-size: 13px;
|
||||
|
||||
& >>> .el-input__prefix {
|
||||
left: 0;
|
||||
|
@ -5,7 +5,7 @@
|
||||
<slot name="title">
|
||||
<span style="padding-left: 10px">
|
||||
{{ iTitle }}
|
||||
<el-tooltip v-if="helpTip" effect="light" placement="right" popper-class="help-tips">
|
||||
<el-tooltip v-if="helpTip" effect="dark" placement="top" popper-class="help-tips">
|
||||
<div slot="content" class="page-help-content" v-html="helpTip" />
|
||||
<span>
|
||||
<el-button class="help-msg-btn">
|
||||
@ -98,7 +98,7 @@ export default {
|
||||
}
|
||||
|
||||
.page-content {
|
||||
height: calc(100% - 50px);
|
||||
height: calc(100% - 90px);
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
<i v-if="item.icon" :class="item.icon" class="fa pre-icon " />
|
||||
{{ toSentenceCase(item.title) }}
|
||||
<slot :tab="item.name" name="badge" />
|
||||
<el-tooltip v-if="item.helpTip" effect="light" placement="bottom" popper-class="help-tips">
|
||||
<el-tooltip v-if="item.helpTip" effect="dark" placement="bottom" popper-class="help-tips">
|
||||
<div slot="content" class="page-help-content" v-html="item.helpTip" />
|
||||
<span>
|
||||
<el-button class="help-msg-btn">
|
||||
|
@ -80,7 +80,7 @@ export default [
|
||||
name: 'AccountTemplateList',
|
||||
component: () => import('@/views/accounts/AccountTemplate/AccountTemplateList'),
|
||||
meta: {
|
||||
menuTitle: i18n.t('Templates'),
|
||||
menuTitle: i18n.t('AccountTemplates'),
|
||||
title: i18n.t('AccountTemplateList'),
|
||||
permissions: ['accounts.view_accounttemplate']
|
||||
}
|
||||
|
@ -5,6 +5,10 @@
|
||||
--color-warning: #f8ac59;
|
||||
--color-danger: #ed5565;
|
||||
--color-link: #1c84c6;
|
||||
--color-text: #1F2329;
|
||||
--color-text-2: #646a73;
|
||||
--color-text-3: #8f959e;
|
||||
--color-text-4: #bbbfc4;
|
||||
--banner-bg: #148f76;
|
||||
--submenu-bg: #ffffff;
|
||||
--menu-bg: #ffffff;
|
||||
|
@ -93,10 +93,6 @@ div:focus {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.el-tooltip__popper.is-light {
|
||||
background-color: #ebeef5 !important;
|
||||
}
|
||||
|
||||
.el-tooltip__popper.is-light.help-tips div span {
|
||||
padding: 50px;
|
||||
}
|
||||
@ -181,9 +177,9 @@ input[type=file] {
|
||||
table-layout: fixed !important;
|
||||
}
|
||||
|
||||
|
||||
.el-tooltip__popper.is-dark {
|
||||
max-width: 60% !important;
|
||||
.el-tooltip__popper {
|
||||
max-width: 500px !important;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.view-switcher {
|
||||
@ -453,7 +449,7 @@ $tooltip-arrow-color: #c2d1e1;
|
||||
|
||||
i {
|
||||
color: var(--color-info);
|
||||
opacity: 1;
|
||||
opacity: 0.9;
|
||||
}
|
||||
}
|
||||
|
||||
@ -461,6 +457,7 @@ $tooltip-arrow-color: #c2d1e1;
|
||||
padding: 8px;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.help-tips {
|
||||
|
@ -82,8 +82,8 @@
|
||||
}
|
||||
|
||||
.el-menu-item, .el-submenu__title {
|
||||
height: 48px;
|
||||
line-height: 48px;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
font-weight: 400;
|
||||
font-size: 13px;
|
||||
}
|
||||
@ -121,6 +121,6 @@
|
||||
}
|
||||
|
||||
.nest-menu:last-child {
|
||||
padding-bottom: 10px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user