// 查询 样式 .main-body { .query { display: flex; // justify-content: space-between; &.left { justify-content: flex-start; } .query-items { flex: 0 0 auto; display: flex; .query-item { flex: 0 0 auto; display: flex; margin: 0 1.4815vh; .el-input { &.placeholder-left { input { &::placeholder { text-align: left; } } } } .placeholder-left { .el-input { input { height: 33px !important; &::placeholder { text-align: left; } } } } .lable { flex: 0 0 auto; margin-right: 1.4815vh; line-height: 33px; color: @gray-l; } .search-input { position: relative; // input { // box-sizing: border-box; // flex: 0 0 200px; // border: 0px solid @darkgray; // color: @white; // outline: unset; // border-radius: 0%; // padding-right: 40px; // background: fade(#536268, 20); // height: 33px; // line-height: 33px; // &::placeholder { // font-size: 12px; // text-align: right; // color: @darkgray; // } // } // .unit { // position: absolute; // right: 12px; // top: 6px; // line-height: 33px; // margin: auto; // } } } } .query-actions { flex: 0 0 auto; margin-left: 50px; } .query-actions1 { flex: 0 0 auto; } } input { box-sizing: border-box; flex: 0 0 200px; border: 0px solid @darkgray; color: @white; outline: unset; border-radius: 0%; padding-right: 40px; background: fade(#536268, 20); height: 33px; line-height: 33px; &::placeholder { font-size: 12px; text-align: right; color: @darkgray; } } input[type="checkbox"] { position: relative; display: inline-block; appearance: none; width: 14px; height: 14px; outline: none; border: 1px solid @gray; background-color: #000; border-radius: 20%; margin: 0; padding: 0; &:checked { border-color: @green; background: @green; } &::after { display: inline-block; content: " "; position: absolute; left: 30%; top: 5%; width: 3px; height: 7px; border-color: #fff; border-style: solid; border-width: 0px 2px 2px 0px; transform: rotate(45deg); opacity: 0; } &:checked::after { content: ""; opacity: 1; transition: opacity 0.3s ease-out; } } } .search-input { .el-input { line-height: 33px; height: 33px; &.el-input--prefix .el-input__inner { padding-left: 16px; } .el-input__icon { height: 33px; line-height: 33px; } } .el-select { line-height: 33px; .el-input { .el-input__suffix { padding: 0 8px; background: transparent; right: 0; } .el-input__icon { line-height: 33px; height: 33px; } .el-input__inner { background: fade(#536268, 20); border-color: fade(#536268, 20); height: 33px; line-height: 33px; padding-left: 16px; &::placeholder { text-align: right; padding-right: 8px; color: @gray; } } } .el-select__tags .el-tag { background-color: fade(@green, 50); color: @white; .el-icon-close { background-color: fade(@green, 50); } } } .el-input__prefix { left: unset; right: 5px; } .el-input__suffix { right: 30px; } } .select { &.el-select__popper.el-popper[role="tooltip"] { background: fade(#121d1c, 95); border: 1px solid fade(#121d1c, 95); } .el-select-dropdown { &.is-multiple .el-select-dropdown__item.selected { background-color: fade(@green, 20); color: #fff; font-weight: 400; border: 1px solid @green; } .el-select-dropdown__item { color: @font-color; &:hover { background-color: fade(@green, 20); color: #fff; } &.selected { background-color: fade(@green, 20); color: #fff; border: 1px solid #05bb4c; font-weight: 500; } } } &.el-popper.is-light .el-popper__arrow::before { background: fade(#121d1c, 95); border: 1px solid fade(#121d1c, 95) !important; } } .date-select { .el-input { .el-input__inner { background: fade(#536268, 20); border-color: fade(#536268, 20); height: 33px; line-height: 33px; padding-left: 16px; color: #ffffff; font-size: 12px; font-family: "SourceHanSans"; &::placeholder { font-size: 12px; color: #606769; } } } &.el-picker__popper.el-popper[role="tooltip"] { background: fade(#121d1c, 95); border: 1px solid fade(#121d1c, 95); .el-picker-panel { background: transparent; color: @white; .el-date-table { th { color: @white; } td { &.next-month, &.prev-month { color: @gray; } &.available:hover { color: @green; } &.today span { color: @green; } &.current:not(.disabled) span { color: @white; background: @green; } } } .el-year-table td.today .cell { color: @white; } .el-date-picker__editor-wrap { .el-time-panel { .el-time-panel__content { background: fade(#121d1c, 95); } .el-time-panel__footer { background: fade(#121d1c, 95); } } } .el-picker-panel__footer { background: fade(#121d1c, 95); } } } .el-select-dropdown { &.is-multiple .el-select-dropdown__item.selected { background-color: fade(@green, 100); color: #fff; font-weight: 400; } .el-select-dropdown__item { color: @font-color; &:hover { background-color: fade(@green, 100); color: #fff; } &.selected { background-color: fade(@green, 100); color: #fff; } } } &.el-popper.is-light .el-popper__arrow::before { background: fade(#121d1c, 95); border: 1px solid fade(#121d1c, 95) !important; } .el-picker-panel__icon-btn:hover { color: @green; } .el-date-picker__header-label.active, .el-date-picker__header-label:hover { color: @green; } .el-year-table td .cell:hover, .el-year-table td.current:not(.disabled) .cell { color: @green; } .el-month-table td .cell:hover { color: @green; } .el-month-table td.current:not(.disabled) .cell { color: @green; } } .el-form { .el-form-item { margin-bottom: 8px; .el-form-item__label { line-height: 33px; color: @gray-l; font-family: "SourceHanSans"; } .el-form-item__content { line-height: 33px; .el-input { line-height: 33px; .el-input__inner { background: fade(#536268, 20); border-color: fade(#536268, 20); height: 33px; line-height: 33px; padding-left: 16px; color: #ffffff; font-size: 12px; font-family: "SourceHanSans"; &::placeholder { font-size: 12px; color: #606769; } } } .el-textarea { .el-textarea__inner { background: fade(#536268, 20); border-color: fade(#536268, 20); color: #ffffff; font-size: 12px; font-family: "SourceHanSans"; &::placeholder { font-size: 12px; color: #606769; } } } } } } .el-input-number { .el-input { .el-input__inner { background: fade(#536268, 20); border-color: fade(#536268, 20); height: 33px; line-height: 33px; padding-left: 16px; color: #ffffff; font-size: 12px; font-family: "SourceHanSans"; &::placeholder { font-size: 12px; color: #606769; } } } } .el-checkbox-group { .el-checkbox { &.is-checked { .el-checkbox__input { &.is-checked { .el-checkbox__inner { background-color: @green; border-color: @green; } } } .el-checkbox__label { color: @green; } } .el-checkbox__input { .el-checkbox__inner { background-color: transparent; border-color: #606769; } } .el-checkbox__label { color: @gray-l; } } }