mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-01 10:47:57 +08:00
This commit is contained in:
parent
047dbccf3d
commit
bd75d831f2
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<el-row class="tac">
|
||||
<el-col :span="12">
|
||||
<h5>Default colors</h5>
|
||||
<h5 class="mb-2">Default colors</h5>
|
||||
<el-menu
|
||||
default-active="2"
|
||||
class="el-menu-vertical-demo"
|
||||
@ -40,7 +40,7 @@
|
||||
</el-menu>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<h5>Custom colors</h5>
|
||||
<h5 class="mb-2">Custom colors</h5>
|
||||
<el-menu
|
||||
active-text-color="#ffd04b"
|
||||
background-color="#545c64"
|
||||
|
@ -915,6 +915,7 @@ $menu: map.merge(
|
||||
'hover-text-color': var(--el-text-color-primary),
|
||||
'bg-color': var(--el-color-white),
|
||||
'hover-bg-color': var(--el-color-primary-light-9),
|
||||
'item-height': 56px,
|
||||
'item-font-size': var(--el-font-size-base),
|
||||
'item-hover-fill': var(--el-color-primary-light-9),
|
||||
'border-color': #e6e6e6,
|
||||
|
@ -7,8 +7,8 @@
|
||||
@mixin menu-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 56px;
|
||||
line-height: 56px;
|
||||
height: var(--el-menu-item-height);
|
||||
line-height: var(--el-menu-item-height);
|
||||
font-size: var(--el-menu-item-font-size);
|
||||
color: var(--el-menu-text-color);
|
||||
padding: 0 20px;
|
||||
@ -67,7 +67,7 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
height: 60px;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
border-bottom: 2px solid transparent;
|
||||
color: var(--el-menu-text-color);
|
||||
@ -102,8 +102,7 @@
|
||||
}
|
||||
|
||||
& .#{$namespace}-sub-menu__title {
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
height: 100%;
|
||||
border-bottom: 2px solid transparent;
|
||||
color: var(--el-menu-text-color);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user