123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476 |
- // 查询 样式
- .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;
- }
- }
- }
|