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.

135 lines
1.8 KiB

1 year ago
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 {
min-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 {
width: 192px;
}
.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;
1 year ago
}
.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;
}