feat: entity列表(部分)、css架构更改
This commit is contained in:
@@ -18,14 +18,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.cn-container {
|
||||
height: calc(100% - 50px);
|
||||
background-color: $--content-right-background-color;
|
||||
width: 100%;
|
||||
&>div {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -239,118 +239,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.cn-header {
|
||||
display: flex;
|
||||
height: 50px;
|
||||
|
||||
.header__left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-grow: 1;
|
||||
|
||||
.shrink-button {
|
||||
margin-left: 20px;
|
||||
color: #A4ADB5;
|
||||
cursor: pointer;
|
||||
transition: all linear .4s;
|
||||
|
||||
&.shrink-button--collapse {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
.header-menu {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
flex-grow: 1;
|
||||
|
||||
.el-dropdown {
|
||||
width: 60px;
|
||||
text-align: center;
|
||||
height: 36px;
|
||||
line-height: 50px;
|
||||
.el-dialog{
|
||||
width: 1000px;
|
||||
height: 70px;
|
||||
.el-dialog__header{
|
||||
.el-dialog__title{
|
||||
color: #fff;
|
||||
}
|
||||
.el-dialog__close{
|
||||
color: #fff;
|
||||
line-height: 50px;
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.header-menu--item {
|
||||
color: #778391;
|
||||
cursor: pointer;
|
||||
transition: color linear .2s;
|
||||
i {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
.header-menu--item:hover {
|
||||
color: #313336;
|
||||
}
|
||||
.personal {
|
||||
display: flex;
|
||||
.el-dropdown {
|
||||
margin: 0 10px 0 30px;
|
||||
height: 36px;
|
||||
line-height: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
.login-user {
|
||||
color: #333;
|
||||
i {
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.left-menu--pin {
|
||||
width: 20px;
|
||||
font-size: 20px;
|
||||
font-weight: 100;
|
||||
color: #999999;
|
||||
transition: all .4s;
|
||||
height: 100%;
|
||||
line-height: 50px;
|
||||
margin-left: 10px;
|
||||
i {
|
||||
transform: rotateY(0);
|
||||
transition: transform .4s;
|
||||
}
|
||||
i.icon-reverse {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
}
|
||||
.left-menu--pin-normal{
|
||||
}
|
||||
.left-menu--pin-reverse{
|
||||
}
|
||||
}
|
||||
.link-title a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.cn-breakcrumb {
|
||||
padding-left: 15px;
|
||||
line-height: 50px;
|
||||
|
||||
.el-breadcrumb__item .el-breadcrumb__inner {
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
.entity-selector {
|
||||
.el-input__prefix {
|
||||
left: 7px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -32,18 +32,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.cn-home {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
transition: all .2s;
|
||||
.cn-body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: calc(100% - 240px);
|
||||
transition: all .2s;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -130,108 +130,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
// el-submenu active字色
|
||||
.el-submenu.is-active .el-submenu__title,
|
||||
.el-submenu.is-active .el-submenu__title>i,
|
||||
.el-menu-item.is-active {
|
||||
color: white !important;
|
||||
}
|
||||
// el-submenu active且open背景色
|
||||
.el-submenu__title:not(.is-active):hover, .el-menu-item:not(.is-active):hover, .el-menu-item:not(.is-active):focus {
|
||||
background-color: mix($--color-white, $--menu-background-color, 7%) !important;
|
||||
}
|
||||
.is-active.is-opened {
|
||||
.el-submenu__title, .el-menu-item:not(.is-active) {
|
||||
background-color: $--menu-hover-background-color !important;
|
||||
}
|
||||
}
|
||||
.el-menu-item {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&.is-active {
|
||||
background-color: $--color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.left-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
background-color: $--menu-background-color;
|
||||
|
||||
.el-menu-item .cn-icon, .el-submenu .cn-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
width: 24px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
}
|
||||
>.el-menu:not(.el-menu--collapse) {
|
||||
width: 240px;
|
||||
}
|
||||
>.el-menu.menu-list {
|
||||
height: calc(100% - 110px);
|
||||
border-right: none;
|
||||
overflow: auto;
|
||||
|
||||
.el-menu-item, .el-submenu__title {
|
||||
height: 46px;
|
||||
line-height: 46px;
|
||||
}
|
||||
}
|
||||
|
||||
/*---滚动条默认显示样式--*/
|
||||
>.el-menu::-webkit-scrollbar-thumb {
|
||||
background-color: rgba(255,255,255,.4);
|
||||
border-radius: 2px;
|
||||
border: none;
|
||||
}
|
||||
/*---鼠标点击滚动条显示样式--*/
|
||||
>.el-menu::-webkit-scrollbar-thumb:hover {
|
||||
background-color: rgba(255,255,255,.3);
|
||||
border-radius: 2px;
|
||||
}
|
||||
/*---滚动条大小--*/
|
||||
>.el-menu::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 14px;
|
||||
}
|
||||
/*---顶部logo---*/
|
||||
>.el-menu.header-logo {
|
||||
border-right: none;
|
||||
>.el-menu-item {
|
||||
padding: 13px 0 0 18px !important;
|
||||
height: 50px;
|
||||
border-right: 1px solid #202F3F;
|
||||
background-color: #182534 !important;
|
||||
|
||||
.logo {
|
||||
display: flex;
|
||||
|
||||
img {
|
||||
box-shadow: 0 0 2px 0 rgba(0,0,0,0.50);
|
||||
}
|
||||
|
||||
.system-name {
|
||||
padding-left: 8px;
|
||||
color: white;
|
||||
font-size: 14px;
|
||||
letter-spacing: 0;
|
||||
line-height: 34px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-menu--popup {
|
||||
.el-menu-item {
|
||||
height: 49px;
|
||||
line-height: 49px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user