@import "./mixin.scss"; * { margin: 0; padding: 0; list-style: none; } p { margin-bottom: 0; } em{ font-style: normal; } #root, html, body { width: 100%; height: 100%; overflow: hidden; // chrome 和 Safari &::-webkit-scrollbar { width: 0!important } // IE 10+s & { -ms-overflow-style: none; } // Firefox & { overflow: -moz-scrollbars-none; } } .redLogo{ color: red; margin-right: 10px; } .full-loading { height: 100%; width: 100%; line-height: 100vh; position: relative; .loading-img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } } a { color: var(--a); } .right-list .cc-result-flow .table-wrap .yisa-table .ant-table-thead th { background-color: #616b83 !important; } .right-list .cc-result-flow .table-wrap .yisa-table .ant-table-tbody td { background-color: #3e4557 !important; } .right-list .cc-result-flow .table-wrap .yisa-table .ant-table-tbody tr:nth-child(even) td { background-color: #3e4557 !important; } .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content { max-height: 610px; overflow: auto; } .ant-table-content::-webkit-scrollbar { width: 5px; } .ant-table-content::-webkit-scrollbar-thumb { background-color: #9da2ab; border-radius: 10px; } .ant-table-thead{ position: sticky; top: 0; z-index: 1; } .ant-table.ant-table-bordered>.ant-table-container{ border-left: none !important; } .colorBtn { width: 90px; height: 36px; background: linear-gradient(180deg, #3aa9ff, #59b7ff) !important; border-radius: 4px; &:hover { color: var(--color-text); border-color: transparent; // background: var(--button-default-bg-hover); width: 90px; height: 36px; background: linear-gradient(180deg, #3aa9ff, #59b7ff); border-radius: 4px; } } .colorReset { width: 90px; height: 36px; border-radius: 4px; border: none; color: white; background: #636d80 !important; &:hover { color: var(--color-text); border-color: transparent; // background: var(--button-default-bg-hover); width: 90px; height: 36px; background: #636d80; border: none; color: white; border-radius: 4px; } } .panel { // background: #fff; background: var(--color-panel-bg); border-radius: 4px; } .scroll-bar { @include scrollBar(var(--scrollbar-bg), var(--scrollbar-color)); } .hidden-scroll-bar { @include hiddenScrollBar(); } .text-ellipsis { @include text-ellipsis(); } .yisa-btn-primary { width: 160px; height: 32px; background: #1c70de; color: #fff; &:hover, &:active, &:focus { background: #1c70de; color: #fff; } } .yisa-btn-reset { background: #9fa2b4 !important; color: #fff !important; &:hover, &:active { background: #9fa2b4; color: #fff; } } .yisa-table { .ant-table-thead { th { padding: 0px 16px; height: 50px; } .ant-table-cell { background: #fafafb; font-weight: 700; &::before { display: none; } } } .ant-table-tbody { tr { &:nth-child(2n) { td { //background: #fff !important; } } &:hover { td { //background: #f0f5fc !important; } } td { //background: #fff !important; border-bottom-color: #f2f2f2; } } } .ant-pagination-options { .ant-select { &:hover { .ant-select-selector { border-color: #f5f6f9; box-shadow: none; } } } .ant-select-selector { border-color: #f5f6f9; } .ant-select-focused { .ant-select-selector { box-shadow: none !important; border-color: #f5f6f9 !important; } } .ant-pagination-options-quick-jumper { input { background: #f5f6f9; border-color: #f5f6f9; &:focus { box-shadow: none; } } } } } .total { color: var(--color-primary); margin: 0 5px; font-size: 14px; font-weight: 700; } .ant-pagination { text-align: center; } .search-group { display: flex; flex-wrap: wrap; .form-group { display: flex; flex-wrap: wrap; justify-content: flex-start; flex: 1; } .search-group-item { width: 21.5%; margin-right: 1.5%; // margin-bottom: 16px; } .item-select { display: block; .form-select-single-name { font-weight: 400; margin-top: 3px; margin-bottom: 15px; } .form-select-single-content { .ant-select-selector { border-radius: 2px; } } } .button-group { display: flex; } .search-group-button { margin-top: 32px; justify-content: space-between; width: 230px; margin-right: 10px; background-color: var(--button-primary-bg); border-color: var(--button-primary-bg); color: var(--white); } .btn-reset { background-color: var(--y-button-info); color: var(--white); border: 0; width: 48px; padding: 0; } } // .pagination-common { // margin-top: 20px; // } .pagination-common { text-align: center !important; margin-top: 15px!important; .ant-pagination-prev { background: var(--color-search-list-item-bg); border-radius: 4px; .ant-pagination-item-link { // background: var(--color-search-list-item-bg); // border-color: var(--color-border); border-width: 1px; border-radius: 4px; } // &.ant-pagination-disable { // } } .ant-pagination-item { // background: var(--color-search-list-item-bg); font-size: 14px; // border-color: var(--color-border);s border-width: 1px; border-radius: 4px; &.ant-pagination-item-active { background: #3b97ff; } } .ant-pagination-next { background: var(--color-search-list-item-bg); border-radius: 4px; .ant-pagination-item-link { // border-color: var(--color-border); border-width: 1px; border-radius: 4px; // background: var(--color-search-list-item-bg); } // &.ant-pagination-disable {} } .ant-pagination-options { .ant-pagination-options-size-changer { border-radius: 4px; .ant-select-selector{ border-radius: 4px; // .ant-select-selection-search{ // } .ant-select-selection-item{ color: var(--color-text); } // background-color: var(--color-search-list-item-bg); // border-color: var(--color-search-list-item-bd); } .ant-select-dropdown{ background-color: var(--color-search-list-item-bg); .ant-select-item-option-active,.ant-select-item-option-selected{ background-color: #cfdffd; color:rgba(28,29,31,.85); } } } .ant-pagination-options-quick-jumper { input { width: 40px; // border-color: var(--color-border); // background-color: var(--color-search-list-item-bg); border-radius: 4px; color: var(--color-search-list-item-value); } } } } .two-vehicle-modal { margin: unset; .ant-modal-body { height: 900px; .common-detail { .left { border: 1px solid rgba(204, 221, 255, 0.20); border-radius: 10px; box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16); } .info-cont { border: 1px solid rgba(204, 221, 255, 0.20); border-radius: 10px; box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16); } } } // .leaflet-popup-close-button{ // display: none; // } } .ant-modal { // top: unset !important; // box-shadow: 0px 3px 8px 0px rgba(0,0,0,0.16); border-radius: 4px; padding-bottom: 0 !important; .ant-table .ant-table-content thead>tr>th { background-color: #616b83; border-bottom: 1px solid #616b83; &:hover{ background-color: #616b83; border-bottom: 1px solid #616b83 } } .ant-modal-header { // background: rgba(28, 29, 31, 0.05); border-bottom:none; // border-bottom: 1px solid rgba($color: #1c1d1f, $alpha: 0.2); background: var(--color-modal-title-bg); // border-radius: 4px; box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16); // background: var(--color-big-card-left-bg); .ant-modal-title { font-weight: bold; color:var(--color-modal-title-text); } } .ant-modal-body { padding: 20px; // background: var(--color-big-card-left-bg); background: var(--color-modal-body-bg); } .ant-modal-footer { text-align: center; // background: var(--color-big-card-left-bg); background: var(--color-modal-body-bg); border-top:none; .ant-btn { width: 120px; border: 0; } .ant-btn-default { background-color: var(--y-button-info); color: var(--white); } .ant-btn-primary { background-color: var(--button-primary-bg); border-color: var(--button-primary-bg); color: var(--white); } } } .plate-bg { display: inline-block; border-radius: 4px; width: 90px; height: 28px; text-align: center; line-height: 28px; background: url(../../assets/images/plate.png) no-repeat center 0; font-size: 14px; font-family: Microsoft YaHei, Microsoft YaHei-Bold; font-weight: 700; color: #ffffff; // background-position: center -38px; background-position: 0 0px; cursor: pointer; &:hover, &:active, &:focus { color: #fff; } &.plate-bg-hide { background: transparent !important; } //蓝 &.type-4, &.type-14 { background-position: 0 0px; } //黄 &.type-1, &.type-2, &.type-3, &.type-9, &.type-11, &.type-21, &.type-23, &.type-25, &.type-27, &.type-98 { background-position: 0 -38px; } //绿色 &.type-12, &.type-13 { background-position: 0 -76px; } //白色 &.type-10, &.type-15, &.type-16, &.type-22, &.type-24, &.type-26 { background-position: 0 -190px; color: #000; } //黑色 &.type-5, &.type-6, &.type-7, &.type-8, &.type-17, &.type-18 { background-position: 0 -228px; } //新能源绿 &.type-19 { background-position: 0 -114px; } //新能源黄绿 &.type-20 { background-position: 0 -152px; } } .ant-tree{ .ant-tree-node-selected{ background: none !important; } .ant-tree-treenode-selected{ background-color: rgba($color: #ffffff, $alpha: 0.08) !important; } } // 图例 .cc-map { .cc-panel { width: auto; position: absolute; top: 30px; right: 30px; z-index: 500; display: flex; flex-wrap: nowrap; padding: 0; } } .ant-input::placeholder, .ant-select-selection-placeholder { color: var(--color-placeholder); } .cc-error { width: 100%; height: 100%; position: relative; .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } img { width: 500px; height: 318px; margin-bottom: 30px; } p { color: var(--color-text); text-align: center; font-size: 18px; em { font-style: normal; display: inline-block; width: 30px; text-align: center; color: var(--color-error); margin: 0 4px; } a { text-decoration: underline; margin-left: 6px; } } } .search-group-item{ .cc-form-content{ flex: 1; .ant-input-password{ border-color: var(--color-border); background: var( --color-search-list-item-bg); } } } .ant-input-affix-wrapper{ border-color: var(--color-border) !important; // background: var( --color-search-list-item-bg) !important; } .search-group-item.error{ .cc-form-content{ .ant-input-password{ border-color: var(--color-error); } } input { width: 100%; border-color: var(--color-error); background-color: var( --color-search-list-item-bg); border-radius: 4px; color:var(--color-error); } } .cc-form-tree { flex-flow: row nowrap; justify-content: center; align-items: baseline; margin-bottom: 15px; .ant-select-selector{ border-color: var(--color-border) !important; background: var( --color-search-list-item-bg) !important; } .cc-form-name{ text-align: right; width: calc(100% - 274px - 10px); } } // .ant-select:not(.ant-select-customize-input) .ant-select-selector{ // border-color: var(--color-border); // background: var( --color-search-list-item-bg); // } .cc-form-select { .form-select-single-name { em{ float:none; } } } .ant-checkbox-group{ .ant-checkbox-group-item{ .ant-checkbox-inner{ // background-color: var(--color-input-bg); border: 1px solid var(--color-border); border-radius: 2px; } } } .ant-radio-group{ .ant-radio-wrapper{ .ant-radio-inner{ background-color: var( --color-search-list-item-bg); border: 1px solid var(--color-border); // border-radius: 2px; } } } // .ant-popover-inner,.ant-picker-panel-container,.ant-select-clear,.ant-select-arrow{ // background : var(--color-table-body-bg) !important; // background : var(--color-search-list-item-bg) !important; // } .ant-select-clear,.ant-select-arrow{ color:var(--color-text) !important; } .ant-select-dropdown { // background : var(--color-table-body-bg) !important; // background : var(--ant-select-dropdown-bg) !important; .ant-select-item-option-selected{ background : var(--color-tag-bg); } .ant-select-item-option-selected:not(.ant-select-item-option-disabled){ background : var(--color-tag-bg); } } .ant-select-tree-checkbox-inner{ border:1px solid var(--color-card-title) !important; } .ant-spin{ color:#64a1cd !important; .ant-spin-dot{ .ant-spin-dot-item{ background-color: #64a1cd; } } .ant-spin-text{ font-size: 15px; } } // .ant-transfer-list{ // border-color: #666d7d !important; // background: #50586c; // border-radius: 4px; // .ant-transfer-list-content{ // &::-webkit-scrollbar{ // display: none; // } // } // } // .ant-transfer-list-header{ // background: #666d7d !important; // border: 1px solid #666D7D !important; // } // .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover, .ant-transfer-list-content-item-checked{ // background-color: #666d7d !important; // } // .ant-empty-img-simple-path{ // fill: #666d7d !important ; // } // .ant-checkbox{ // background-color: #454c5e; // } .ant-table-tbody>tr.ant-table-placeholder:hover>td { background: #3e4557 !important; } .searchWrap , .ant-modal-body ,.paid-search{ .ant-input-affix-wrapper{ background-color: #50586c; } } .result-info-row{ display: flex; justify-content: space-between; align-items: center; height: 40px; .ant-btn-primary{ width: unset !important; margin-top: 0 !important; } } .yisa-custom-scrollbar{ &::-webkit-scrollbar{ width: 10px; background-color: #3e4557; cursor: pointer; } &::-webkit-scrollbar-thumb{ background-color: #9da2ab; border-radius: 5px; } }