You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

174 lines
2.5 KiB

html * {
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
text-rendering: optimizeLegibility;
}
a {
color: inherit;
text-decoration: none;
}
#app {
width: 100vw;
height: 100vh;
--header: 60px;
}
#app > .el-container {
width: 100%;
height: 100%;
overflow: hidden;
}
#app > .el-container > .el-container {
margin-top: var(--header);
height: calc(100% - var(--header));
overflow: auto;
}
.el-scrollbar,
.el-scrollbar__view {
width: 100%;
height: 100%;
}
.el-aside {
min-height: 100%;
overflow: auto;
}
.el-menu--vertical {
min-height: 100%;
}
.el-main {
height: calc(100% - 100px);
overflow: auto;
}
.el-header {
width: 100%;
position: fixed;
border-bottom: 1px solid var(--el-border-color);
background-color: var(--el-menu-bg-color);
z-index: 10;
overflow: hidden;
}
.el-footer {
width: 100%;
border-top: 1px solid var(--el-border-color);
background-color: var(--el-menu-bg-color);
overflow: hidden;
}
a.logo {
display: block;
height: var(--header);
}
.footer {
height: var(--header);
}
.logo img {
min-width: 28px;
height: 28px;
margin-right: 16px;
}
.logo h1 {
height: 32px;
line-height: 32px;
padding-right: 20px;
}
.el-dropdown-link:focus-visible {
outline: unset;
}
.el-form--inline .el-form-item__content {
min-width: 192px;
/* height: 32px; */
}
.el-table .cell {
white-space: nowrap;
}
.el-dialog__header,
.el-dialog__footer,
.el-drawer__header,
.el-drawer__footer {
height: var(--header);
padding: 15px;
margin: 0;
}
.el-dialog__header,
.el-drawer__header {
border-bottom: 1px solid var(--el-border-color);
}
.el-dialog__footer,
.el-drawer__footer {
border-top: 1px solid var(--el-border-color);
}
.el-select,
.el-input-number {
/* width: 100%; */
}
/* markdown component */
.markdown-body {
box-sizing: border-box;
margin: 0 auto;
}
/*RongGuo Jia*/
.el-main {
height: calc(100% - 40px);
overflow: auto;
}
.el-footer {
display: none;
}
.el-aside *,
.el-header,
.el-header .el-dropdown-link {
background-color: #141414;
color: #e5eaf3;
}
.el-aside *:hover,
.el-header *:hover {
background-color: #292218;
}
.el-aside .el-menu-item.is-active * {
color: #409eff;
}
.el-aside .el-scrollbar__thumb {
background-color: #e5eaf3 !important;
opacity: 0.5 !important;
}
.el-aside el-scrollbar__thumb:hover {
background-color: #e5eaf3 !important;
}
.el-header {
border-bottom-color: #4c4d4f;
}
.el-header .el-icon {
color: #e5eaf3 !important;
}