Files
2026-06-16 11:24:50 +08:00

268 lines
4.8 KiB
CSS

:root {
--el-header-height: 60px;
--el-status-bar-height: 30px;
--el-footer-height: 30px;
--el-mask-color: rgba(255, 255, 255, .5);
--el-font-size-base: 12px;
}
#app .el-footer {
--el-footer-height: auto;
justify-content: flex-end;
padding: 0;
}
* {
gap: 0 !important;
font-family: '微软雅黑';
font-size: 0.9rem;
}
.el-main {
padding: 0;
}
.el-header {
display: flex;
justify-content: left;
align-items: center;
padding: 0px;
}
.el-header,
.el-footer,
.el-main,
.el-aside {
display: flex;
justify-content: center;
align-items: center
}
.el-header,
.el-footer {
background-color: #106ac7;
color: var(--el-color-white);
text-align: center;
height: 35px;
}
.el-footer {
height: 40px;
}
.el-aside {
background-color: var(--el-color-primary-light-8);
color: var(--el-text-color-primary);
text-align: center
}
/* .el-main {
background-color: var(--el-color-primary-light-9);
color: var(--el-text-color-primary);
text-align: center;
} */
.el-main>div:only-child {
width: 100%;
height: 100%;
}
.fixed-height-dialog .el-dialog__body {
overflow: hidden;
height: calc(100% - 40px);
}
.el-dialog {
--el-dialog-margin-top: 0vh;
margin: 0 auto;
transform: translate(0, -50%);
top: 50%;
}
* {
padding: 0;
margin: 0;
border: 0;
box-sizing: border-box;
}
body {
height: 100vh;
width: 100vw;
overflow: hidden;
}
#app {
width: 100%;
height: 100%;
flex: 1;
background: #000;
}
.scroller-content {
height: 100%;
overflow: hidden;
}
.scroller-content.el-tabs--border-card>.el-tabs__content {
height: calc(100% - var(--el-tabs-header-height));
overflow: hidden;
padding: 0;
position: relative;
}
.el-tabs__content>.el-tab-pane {
height: 100%;
overflow: hidden;
}
.el-tabs__content>.el-tab-pane>.el-scrollbar {
height: 100%;
padding: 5px;
}
.file-manager-form div[class^=el-input] {
/* width:100px; */
}
.el-input-number+.el-input-number::before {
content: '\81f3';
padding: 0 5px;
}
.file-storage {
line-height: 18px;
display: flex;
align-items: center;
justify-content: center;
/* width: 500px; */
}
.file-storage .el-button--primary {
color: #fff;
}
.file-storage span,
.file-storage label {
font-size: 12px;
padding: 0 5px;
}
.file-storage .el-progress {
width: 200px;
}
.el-input.el-input-freqency {
width: 120px;
}
.el-input.el-input-freqency[postfix] {
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
padding: 1px;
width: auto;
}
.el-input.el-input-freqency[postfix]::after {
content: attr(postfix);
padding: 0 5px 0 0;
}
.el-input.el-input-freqency[postfix] .el-input__wrapper {
box-shadow: none;
padding-right: 0;
text-align: right;
}
.el-input.el-input-freqency[postfix] .el-input__wrapper .el-input__inner {
text-align: right;
}
.el-date-editor+.el-date-editor {
width: 204px;
}
.el-input.el-input-freqency {
border: none;
box-shadow: none;
text-align: right;
}
.el-input.el-input-freqency+.el-input.el-input-freqency,
.el-date-editor+.el-date-editor {
margin-left: 25px;
position: relative;
}
.el-input.el-input-freqency+.el-input.el-input-freqency:before,
.el-date-editor+.el-date-editor:before {
content: '至';
padding: 0 5px;
position: absolute;
left: -25.5px;
top: 0px;
z-index: 2;
text-align: center;
}
.el-input-freqency[disabled]>.el-input__wrapper,
.el-input-freqency[disabled] input {
background-color: #eeee;
user-select: none;
pointer-events: none;
}
.el-tabs--border-card>.el-tabs__content {
padding: 5px;
height: calc(100vh - 115px);
overflow: auto;
}
.el-tabs--border-card {
background: var(--el-bg-color-overlay);
border: none
}
.el-progress-bar__innerText {
color: rgba(0, 0, 0, .6);
display: inline-block;
font-size: 0.9rem;
margin: 0 5px;
vertical-align: middle;
}
/* 重写input数字输入框的增大 减小的按钮样式 */
.el-input-number__decrease,
.el-input-number__increase {
display: none;
}
.el-input-number .el-input__inner {
-webkit-appearance: none;
-moz-appearance: textfield;
line-height: 1;
text-align: left;
margin-left: -30px;
}
.el-input__suffix-inner {
align-items: center;
display: inline-flex;
justify-content: center;
pointer-events: all;
color: rgba(0, 0, 0, .6);
}
/* .el-input__suffix {
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
display: inline-flex
;
flex-shrink: 0;
flex-wrap: nowrap;
height: 100%;
line-height: var(--el-input-inner-height);
pointer-events: none;
text-align: center;
transition: all var(--el-transition-duration);
white-space: nowrap;
display: none;
} */