Files
mes-ui-d2/src/assets/style/theme/default.scss
李杨 98c92a7116 no message
Former-commit-id: 9bf0ba7641d0d3f400f29efa5ae6cbec2f2a7bdf
Former-commit-id: f88060b4aacbd184d0bc525426f4fece3ae4570d
Former-commit-id: ac4dcfab71b467d0507e9fdb5f0cb45d02f812f0
2018-03-08 22:21:02 +08:00

91 lines
1.9 KiB
SCSS

@import '~@/assets/style/public.scss';
$color: #409EFF;
// 默认主题
.layout-main {
&.default {
height: 100vh;
width: 100vw;
background-color: $color-bg;
// [全局设置]
// 关闭所有卡片的阴影
.el-card {
box-shadow: none;
&:hover {
box-shadow: 0 0 8px 0 rgba(232,237,250,.6), 0 2px 4px 0 rgba(232,237,250,.5);
}
}
// [布局]
.el-header {
padding: 0px;
.logo-group {
width: 200px;
float: left;
text-align: center;
img {
height: 60px;
}
}
// 顶栏菜单
.el-menu {
float: left;
border-bottom: none;
background-color: transparent;
.el-menu-item {
border-bottom: none;
border-top: 2px solid $color-bg;
&:hover {
background-color: transparent;
}
&.is-active {
border-bottom: none;
border-top: 2px solid $color;
background-color: transparent;
}
}
}
// 顶栏右侧的按钮
.btn-group {
float: right;
height: 60px;
display: flex;
align-items: center;
.btn-text {
color: $color-text-normal;
}
.el-dropdown {
user-select: none;
cursor: pointer;
}
}
}
// 顶栏下面
.el-container {
// 侧边栏
.el-aside {
.el-menu {
background-color: transparent;
.el-menu-item {
&:focus {
background-color: transparent;
}
&:hover {
background-color: transparent;
}
}
.el-submenu__title {
&:hover {
background-color: transparent;
}
}
}
}
.el-main {
padding: 0px;
position: relative;
}
}
}
}