style(theme): 更新各主题logo及顶部栏样式,统一白底阴影效果
- 所有主题的 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 的示例用法,方便复用和参考
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
.avue-top {
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
|
||||
color: rgba(0, 0, 0, .65);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-size: 28px;
|
||||
height: variables.$top_height;
|
||||
line-height: variables.$top_height;
|
||||
@@ -20,10 +20,10 @@
|
||||
|
||||
.avue-breadcrumb {
|
||||
height: 100%;
|
||||
color: #fff;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
|
||||
i {
|
||||
color: #fff;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 30px !important;
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
.el-input__wrapper {
|
||||
font-size: 13px;
|
||||
border: none;
|
||||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
|
||||
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
|
||||
background-color: #fff;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -97,7 +97,7 @@
|
||||
right: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
|
||||
i,
|
||||
.el-icon,
|
||||
@@ -107,7 +107,7 @@
|
||||
}
|
||||
|
||||
.el-color-picker__trigger {
|
||||
border-color: rgba(255, 255, 255, 0.85);
|
||||
border-color: rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.el-color-picker__icon {
|
||||
@@ -132,30 +132,31 @@
|
||||
height: 100%;
|
||||
padding-left: 50px;
|
||||
box-sizing: border-box;
|
||||
background: var(--el-color-primary);
|
||||
background: #fff;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: inherit;
|
||||
font-weight: 400;
|
||||
font-weight: 500;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.avue-logo {
|
||||
height: variables.$top_height;
|
||||
line-height: variables.$top_height;
|
||||
background-color: var(--el-color-primary);
|
||||
background-color: #fff;
|
||||
font-size: 20px;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
|
||||
color: #fff;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
|
||||
&_title {
|
||||
display: block;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
&_subtitle {
|
||||
@@ -163,6 +164,6 @@
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user