- 所有主题的 avue-logo 背景改为白色,并添加 0 2px 8px rgba(0,0,0,0.06) 阴影效果 - 各主题顶部栏背景及文字颜色调整,提升整体对比度与视觉统一性 - 统一调整下拉菜单、面包屑、图标等元素颜色为 rgba(0,0,0,0.85) 或 0.65,增强易读性 - 修正部分输入框和色彩选择器的边框及背景颜色,增强一致性 - index.html 添加 favicon.ico 作为页面图标 - 新增图标悬停显示浅灰圆形背景效果示例页面 icon-hover-demo.html - icon-hover-demo.html 包含核心 CSS 代码和 Element Plus 的示例用法,方便复用和参考
88 lines
1.7 KiB
SCSS
88 lines
1.7 KiB
SCSS
.theme-iview {
|
|
.avue-logo {
|
|
background: #fff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
text-align: center;
|
|
|
|
.avue-logo_title {
|
|
padding: 5px 8px 8px 8px;
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px;
|
|
border-bottom-left-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
font-size: 20px;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
display: inline;
|
|
background-color: var(--el-color-primary);
|
|
}
|
|
}
|
|
|
|
.avue-tags {
|
|
padding: 3px 5px 5px 0;
|
|
background: #f0f0f0;
|
|
box-shadow: inset 0 0 3px 2px hsla(0, 0%, 39.2%, .1);
|
|
|
|
.is-active {
|
|
&:before {
|
|
background: var(--el-color-primary) !important;
|
|
}
|
|
}
|
|
|
|
.el-tabs__item {
|
|
padding: 0 15px !important;
|
|
position: relative;
|
|
height: 32px !important;
|
|
line-height: 32px !important;
|
|
border: 1px solid #e8eaec !important;
|
|
color: #515a6e !important;
|
|
background: #fff !important;
|
|
border-radius: 3px;
|
|
|
|
&:before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-right: 10px;
|
|
border-radius: 50%;
|
|
background: #e8eaec;
|
|
}
|
|
}
|
|
}
|
|
|
|
.avue-sidebar {
|
|
background: #001529;
|
|
|
|
.el-menu-item {
|
|
&.is-active {
|
|
background-color: #000c17;
|
|
|
|
&:before {
|
|
display: none;
|
|
}
|
|
|
|
i, span {
|
|
color: var(--el-color-primary);
|
|
}
|
|
}
|
|
}
|
|
|
|
.el-sub-menu {
|
|
.el-menu-item {
|
|
&.is-active {
|
|
background-color: var(--el-color-primary);
|
|
|
|
&:before {
|
|
display: none;
|
|
}
|
|
|
|
i, span {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|