CN-1612 feat: 部分css重构内容:实体列表以及实体下拉详情

This commit is contained in:
刘洪洪
2024-04-02 12:00:49 +08:00
parent e8a9968e44
commit 8ddc0d95f5
14 changed files with 431 additions and 227 deletions

View File

@@ -59,7 +59,7 @@
margin-right: 6px;
font-family: NotoSansHans-Black;
font-size: 9px;
color: #96A2B0;
color: var(--el-color-info);
font-weight: 900;
display: flex;
align-items: center;
@@ -108,7 +108,7 @@
}
.filter-no-show-more {
cursor: not-allowed;
color: rgba(16, 16, 16, 0.3);
color: var(--el-text-color-disabled);
}
.filter-hr {

View File

@@ -1,13 +1,14 @@
.entity-explorer {
display: flex;
flex-direction: column;
background-color: white;
background-color: var(--el-fill-color-blank);
margin: 20px;
height: calc(100% - 40px) !important;
justify-content: center;
transition: all linear .2s;
transition: all linear var(--el-transition-duration-fast);
$text-color-primary: var(--el-text-color-primary);
.entity__loading {
/* .entity__loading {
position: absolute;
height: 100%;
width: 100%;
@@ -20,7 +21,7 @@
font-size: 30px;
color: #aaa;
}
}
} */
&.entity-explorer--show-list {
background-color: unset;
justify-content: flex-start;
@@ -32,103 +33,146 @@
align-items: center;
padding-bottom: 18px;
&>div {
& > div {
padding: 0 0 0 10px;
}
.el-button--small{
.el-button--small {
padding: 4px 6px !important;
min-height: 28px !important;
&.active i {
color: $--color-primary;
color: var(--el-color-primary);
}
i {
font-size: 14px;
}
}
}
.explorer-entity-top-tools {
width: 100%;
}
.explorer-detection-top-tools, .explorer-entity-top-tools {
display: flex;
justify-content: space-between;
}
.explorer-top-tools-new {
display: flex;
justify-content: space-between;
margin: 2px 0;
}
.explorer-top-tools-title {
font-size: 24px;
line-height: 24px;
font-weight: 900;
color: #353636;
color: $text-color-primary;
}
.tools-title__margin {
padding: 0;
margin-left: -10px;
}
.explorer-top-tools-block {
height: 28px;
line-height: 28px;
background: #F5F8FA;
background: var(--el-fill-color-light);
font-size: 14px;
color: #353636;
color: $text-color-primary;
font-weight: 500;
padding: 0 10px;
margin-right: 20px;
border: 1px solid #E2E5EC;
border: 1px solid var(--el-border-color-light);
border-radius: 2px;
cursor: pointer;
}
.detection-icon-setting {
margin-right: 10px;
font-size: 14px;
}
.detection-border {
border: 1px solid #E2E5EC;
border-radius: 4px;
border: 1px solid var(--el-border-color-light);
border-radius: var(--el-border-radius-base);
}
.explorer-result {
margin-top: 10px;
margin-bottom: 18px;
font-size: 14px;
color: #353636;
color: $text-color-primary;
font-weight: 400;
height: 20.8px;
line-height: 20.8px;
.entity-hide-entity {
margin-left: 20px;
.el-checkbox__label {
padding-left: 6px;
}
.margin-l__10 {
margin-left: -10px;
}
}
.explorer-result-loading {
width: 240px;
}
}
.explorer-content {
display: flex;
flex-direction: row;
padding-bottom: 20px;
}
.explorer-container, .explorer-container-new {
display: flex;
overflow: visible; /*overflow: hidden;*/
height: calc(100% - 120px);
position: relative;
}
.explorer-container-new {
width: calc(100% - 340px);
height: calc(100% - 62px);
flex-direction: column;
width: calc(100% - 340px);
.explorer-list {
display: flex;
flex-direction: column;
height: calc(100% - 42px);
}
}
.explorer-foot {
display: flex;
justify-content: center;
align-items: flex-start;
height: 17vh;
&>div {
& > div {
width: 100%;
max-width: 1200px;
display: flex;
justify-content: space-between;
align-items: center;
}
.el-divider {
width: 2px;
height: 40px;
background-color: #cecece;
background-color: var(--el-color-info-light-5);
}
.entity-overview {
display: flex;
@@ -140,22 +184,26 @@
.overview-left-span {
font-size: 16px;
color: #666666;
color: var(--el-text-color-regular);
}
.overview-left-loading {
display: inline-block;
position: relative;
.overview-left-loading-span {
font-family: NotoSansHans-Medium;
font-size: 18px;
color: #575757;
color: var(--el-text-color-regular);
font-weight: 500;
}
.chart__loading i.el-icon-loading {
top: calc(50% - 12px);
}
}
}
.overview-right {
display: flex;
flex-direction: column;
@@ -167,13 +215,15 @@
height: 18px;
line-height: 18px;
align-items: center;
color: #666666;
color: var(--el-text-color-regular);
.right-label-loading {
position: relative;
.chart__loading {
width: auto;
}
.chart__loading i.el-icon-loading {
padding: 0;
top: calc(50% - 8px);
@@ -184,46 +234,51 @@
.right-label {
width: 55px;
font-size: 14px;
color: #666666;
color: var(--el-text-color-regular);
}
.right-value {
font-size: 14px;
color: #333333;
color: var(--el-text-color-primary);
font-weight: bold;
}
.right-value-block {
font-family: NotoSansHans-Medium;
font-size: 14px;
color: #353636;
color: $text-color-primary;
font-weight: 600;
.last-hour {
font-family: NotoSansSChineseRegular;
font-size: 12px;
color: #717171;
color: var(--el-text-color-regular);
font-weight: 400;
}
}
i {
padding-right: 4px;
font-size: 19px;
}
.cn-icon-increase {
/* .cn-icon-increase {
color: #23BF9A;
}
} */
.cn-icon-active {
color: #35ADDA;
color: var(--el-color-business);
}
.entity-explorer-total__icon {
width: 18px;
height: 18px;
line-height: 18px;
padding-left: 3px;
background-color: #04A6AB;
color: #fff;
background-color: #04A6AB; // todo 保留原颜色
color: var(--el-color-white);
border-radius: 50%;
font-size: 12px;
font-weight: 500;
//font-weight: 500;
margin-right: 4px;
margin-left: 1px;
}

View File

@@ -5,26 +5,27 @@
margin-right: 12px;
overflow: auto;
z-index: 1;
border: 1px solid rgba(226, 229, 236, 1) !important;
border: 1px solid var(--el-border-color-light) !important;
border-radius: 4px !important;
$color-primary: var(--el-text-color-primary);
.filter-case__header {
padding-left: 8px;
height: 36px;
line-height: 36px;
color: #666;
font-size: 14px;
background: #F7F7F7;
box-shadow: 0 1px 0 0 rgba(226,229,236,1);
border-radius: 4px 4px 0 0;
}
padding-left: 8px;
height: 36px;
line-height: 36px;
color: var(--el-text-color-regular);
font-size: 14px;
background: var(--cn-bg-color-lighter);
box-shadow: 0 1px 0 0 var(--el-border-color-light);
border-radius: 4px 4px 0 0;
}
.filter__header {
height: 46px;
line-height: 46px;
margin: 0 20px;
font-size: 14px;
color: #353636;
color: $color-primary;
font-weight: 500;
}
@@ -35,6 +36,10 @@
overflow-y: scroll;
overflow-x: hidden;
.filter__body-loading {
top: -5px;
}
.filter__body-item {
height: 26px;
line-height: 26px;
@@ -47,19 +52,19 @@
display: flex;
align-items: center;
font-size: 14px;
color: #353636;
color: $color-primary;
font-weight: 400;
.filter__body-item-left-index {
width: 16px;
height: 16px;
text-align: center;
background: #EFF2F5;
background: var(--el-bg-color-page);
border-radius: 2px;
margin-right: 6px;
font-family: NotoSansHans-Black;
font-size: 9px;
color: #96A2B0;
color: var(--el-color-info);
font-weight: 900;
display: flex;
align-items: center;
@@ -70,7 +75,7 @@
max-width: 180px;
font-family: NotoSansSChineseRegular;
font-size: 14px;
color: #353636;
color: $color-primary;
font-weight: 400;
overflow: hidden;
white-space: nowrap;
@@ -82,19 +87,23 @@
flex-shrink: 0;
font-family: NotoSansSChineseRegular;
font-size: 12px;
color: #717171;
color: var(--el-text-color-regular);
font-weight: 400;
margin-right: 10px;
}
}
}
.padding-t-40 {
padding-top: 40px;
}
}
.filter-country-flag {
width: 18px;
height: 12px;
margin-right: 6px;
border: 1px solid #E8E8E8;
border: 1px solid var(--el-border-color-light);
}
.filter-show-more, .filter-no-show-more {
@@ -102,13 +111,14 @@
height: 26px;
line-height: 26px;
margin-left: 20px;
color: #046ECA;
color: var(--el-color-primary);
user-select: none; // 禁止文本选中
font-size: 12px;
}
.filter-no-show-more {
cursor: not-allowed;
color: rgba(16, 16, 16, 0.3);
color: var(--el-text-color-disabled);
}
.filter-hr {
@@ -116,6 +126,5 @@
margin-left: 20px;
margin-top: 6px;
height: 1px;
background: #EFF2F5;
//background: #000;
background: var(--el-bg-color-page);
}

View File

@@ -3,6 +3,9 @@
position: relative;
flex-direction: column;
padding: 0 30px;
$color-text-primary: var(--el-text-color-primary);
$color-primary: var(--el-color-primary);
$color-primary9: var(--el-color-primary-light-9);
.overview-map {
position: absolute;
@@ -14,37 +17,48 @@
&.overview-map--ip {
height: 210px;
}
&.overview-map--app {
height: 260px;
}
.cn-chart {
height: 100%;
width: 100%;
.chart-drawing {
height: 100%;
width: 100%;
}
}
}
.overview-item {
display: flex;
flex-direction: column;
padding-bottom: 10px;
.overview__title {
color: #333;
color: $color-text-primary;
font-size: 14px;
font-weight: 600;
}
.overview__content-loading.overview__content {
.overview__content-loading {
position: relative;
.chart__loading i.el-icon-loading {
left: calc(50% - 428px);
}
.content-loading {
width: 50%;
}
}
.overview__content-loading-net.overview__content {
position: relative;
}
.overview__content {
display: flex;
flex-direction: column;
@@ -56,13 +70,15 @@
flex-wrap: wrap;
padding: 2px 0;
font-size: 14px;
.no-recent-alerts {
font-size: 12px;
color: #333333;
color: $color-text-primary;
font-weight: 400;
line-height: 19px;
i {
color: #23BF9A;
color: var(--el-color-success);
margin-right: 4px;
margin-top: 2px;
}
@@ -71,38 +87,49 @@
&.overview__row--small-font {
font-size: 12px;
}
.show-more.show-more-disabled {
color: #8FA1BE;
color: var(--el-text-color-disabled);
}
.show-more {
color: #3976CB;
color: $color-primary;
cursor: pointer;
}
&.overview__row--single-value {
flex-wrap: wrap;
.cn-chart__single-value--detail-overview {
margin-right: 30px;
}
}
.row__label {
color: #6B717B;
color: var(--el-text-color-regular);
padding-right: 20px;
&.row__label--width130 {
flex-basis: 140px;
padding-right: unset;
}
&.row__label--width160 {
flex-basis: 160px;
padding-right: unset;
}
}
.row__content {
display: flex;
color: #046ECA;
color: $color-primary;
word-wrap: break-word;
max-width: 30%;
.row__content__word {
word-break: break-word;
}
.alert-level-tag {
display: flex;
padding: 1px 4px;
@@ -113,40 +140,60 @@
&.alert-level-tag--high.critical {
background-color: #D84C4C;
}
&.alert-level-tag--high.high {
background-color: #FF9A79;
}
&.alert-level-tag--high.info {
background-color: #D1BD50;
}
&.alert-level-tag--high.medium {
background-color: #FFB65A;
}
&.alert-level-tag--high.low {
background-color: #FFD82D;
}
&.alert-level-tag--middle {
background-color: #FFAB66;
}
&.alert-level-tag--low {
background-color: #F6C738;
}
}
&.row__content--width90 {
width: 90px;
}
&.row__content--width200 {
width: 200px;
}
.row__content-loading {
position: relative;
.chart__loading i.el-icon-loading {
font-size: 14px;
top: calc(50% - 5px);
left: calc(50% - 4px);
}
}
.relationship-one__loading, .relationship-two__loading {
width: 450px;
position: relative;
.one__loading {
left: 1rem;
}
}
}
.row__contents {
display: flex;
//flex-direction: column;
@@ -158,6 +205,7 @@
&:first-of-type {
padding-top: 0;
}
&:last-of-type {
padding-bottom: 0;
}
@@ -165,31 +213,41 @@
.el-popper {
min-width: 90px !important;
}
.row__content-display {
display: flex;
}
}
.row__content-accept {
margin-left: 39px;
}
.row__charts-msg {
width: auto;
padding-right: 10px;
}
.new-row__charts-msg {
width: auto;
padding-right: 10px;
}
.row__charts {
height: 20px;
width: 60px;
//padding-left: 5px;
}
}
.row__charts {
width:80px;
height:20px;
width: 80px;
height: 20px;
padding-bottom: 5px;
}
.row__desc {
color: #666666;
color: var(--el-text-color-regular);
}
}
@@ -204,75 +262,86 @@
.overview__tags.domain__tags {
flex-direction: column;
width: 70%;
.overview__domain-tabs-loading.overview__domain-tabs {
position: relative;
}
.overview__domain-tabs {
display: flex;
margin: 0 0 8px 0;
.overview__domain-tab {
display: flex;
}
.overview__tag.domain__tag {
display: unset;
padding: 6px 15px;
margin: 0 12px 0 0;
text-align: center;
white-space: nowrap;
height: 32px;
line-height: 1.5;
background-color: #EFF6FE;
font-size: 14px;
border-radius: 4px;
}
padding: 6px 15px;
margin: 0 12px 0 0;
text-align: center;
white-space: nowrap;
height: 32px;
line-height: 1.5;
//background-color: #EFF6FE;
background-color: $color-primary9;
font-size: 14px;
border-radius: 4px;
}
.overview__tag.domain__tag-list {
padding: 6px 15px;
margin: 4px 12px 0 0;
text-align: center;
height: 24px;
line-height: 0.9;
background-color: #EFF6FE;
color: #3976CB;
background-color: $color-primary9;
color: $color-primary;
font-size: 14px;
font-weight: 400;
border-radius: 15px;
}
.overview__domain-btn {
.overview__domain-more {
background-color: #EFF6FE;
background-color: $color-primary9;
width: 44px;
height: 24px;
border-radius: 15px;
color: #3976CB;
color: $color-primary;
text-align: center;
margin: 4px 12px 0 0;
padding: 6px 15px;
line-height: .3;
cursor: pointer;
}
position: relative;
}
.overview__domain-more-tabs::-webkit-scrollbar {
width: 10px;
}
.overview__domain-more-tabs {
min-width: 150px;
max-height: 180px;
overflow: auto;
background: #FFFFFF;
box-shadow: 0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05);
background: var(--el-fill-color-blank);
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
border-radius: 2px;
padding: 5px;
z-index: 1;
position: absolute;
right: -120px;
top: -180px;
.domain-more-tab {
height: 24px;
padding: 6px 12px;
text-align: center;
font-size: 12px;
color: #666666;
color: var(--el-text-color-regular);
letter-spacing: 0;
line-height: 12px;
font-weight: 400;
@@ -288,52 +357,68 @@
.overview__tags {
display: flex;
.overview__tag-loading.overview__tag {
position: relative;
}
.overview__tag {
display: flex;
padding: 0 15px;
height: 31px;
align-items: center;
margin-right: 20px;
background-color: #EFF6FE;
background-color: $color-primary9;
font-size: 14px;
border-radius: 4px;
.tag__value {
color: #3976CB;
color: $color-primary;
font-weight: bold;
}
.tag__desc {
padding-right: 5px;
color: #3976CB;
color: $color-primary;
white-space: nowrap;
}
}
}
.data-item {
display: flex;
justify-content: center;
align-items: center;
background: rgba(119,131,145,0.06);
border: 1px solid rgba(119,131,145,0.36);
background: rgba(119, 131, 145, 0.06);
border: 1px solid rgba(119, 131, 145, 0.36);
border-radius: 2px;
height:28px;
padding:8px 15px;
margin-right:10px;
height: 28px;
padding: 8px 15px;
margin-right: 10px;
//margin-bottom:15px;
font-size: 12px;
color: #353636;
color: var(--el-text-color-primary);
font-weight: 400;
white-space: nowrap;
}
.show-more-related {
height: 28px;
line-height: 28px;
padding-bottom: 12px;
cursor: pointer;
position: relative;
}
.entity-score__block {
position: relative;
.entity-score__loading {
width: 50%;
left: 1rem;
}
}
.entity-score {
.circle-icon {
border-radius: 3px;
@@ -341,59 +426,72 @@
height: 6px;
margin-right: 4px;
}
.entity-score__padding {
padding-left: 4px;
}
.data-score-red {
background: #E26154;
background: var(--el-color-danger);
}
.data-score-yellow {
background: #E5A219;
background: var(--el-color-warning);
}
.data-score-green {
background: #749F4D;
background: var(--el-color-success);
}
.score-dot {
display: inline-block;
margin-bottom: 2px;
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #CBCBCB;
background-color: var(--el-color-info-light-5);
margin-right: 4px;
&.score-dot--red {
background-color: #E26154;
background-color: var(--el-color-danger);
}
&.score-dot--yellow {
background-color: #E5A219;
background-color: var(--el-color-warning);
}
&.score-dot--green {
background-color: #749F4D;
background-color: var(--el-color-success);
}
}
height:24px;
height: 24px;
font-size: 14px;
color: #046ECA;
color: $color-primary;
font-weight: 500;
display:flex;
display: flex;
align-items: center;
justify-content: center;
}
.cn-detection__header {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
padding-bottom: 3px;
color: #333333;
color: $color-text-primary;
align-items: center;
font-size: 12px;
i {
color: #7b8fa2;
//color: #7b8fa2; // todo 待确定
color: var(--el-text-color-primary);
margin-right: 5px;
font-size: 18px;
}
.line {
color: #da5656;
color: var(--el-color-error);
margin-left: 12px;
font-size: xx-small;
font-weight: bold;
@@ -402,17 +500,17 @@
.circle {
width: 10px;
height: 10px;
border: 2px solid #da5656;
border: 2px solid var(--el-color-error);
border-radius: 10px;
margin-top: 4px;
margin-right: 12px;
}
.domain {
background: #EFF2F5;
background: var(--el-bg-color-page);
border-radius: 2px;
font-size: 14px;
color: #333333;
color: $color-text-primary;
letter-spacing: 0;
line-height: 14px;
margin-left: 5px;
@@ -421,26 +519,29 @@
font-weight: 500;
}
}
.app-popover_block, .domain-popover_block {
position: absolute;
border: 1px solid #E7EAED;
border: 1px solid var(--el-border-color-light);
max-height: 180px;
width: auto;
max-width: 220px;
color: #666665;
color: var(--el-text-color-regular);
line-height: 24px;
overflow: scroll;
padding: 12px 12px 4px;
background: #fff;
background: var(--el-fill-color-blank);
z-index: 1;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
border-radius: 4px;
}
.domain-popover_block {
//top: 194px;
}
}
}
.margin-l-140 {
margin-left: 140px;
}

View File

@@ -18,6 +18,7 @@
width: calc(100% - 10px);
height: 100%;
}
.entity-list--list {
display: flex;
flex-direction: column;
@@ -36,8 +37,7 @@
}
}
.entity__pagination{
.entity__pagination {
position: absolute;
bottom: 9px;
height: 40px;

View File

@@ -1,8 +1,11 @@
.cn-entity--list {
display: flex;
border: 1px #E2E5EC solid;
border: 1px var(--el-border-color-light) solid;
margin-bottom: 10px;
border-radius: 4px;
$border-radius: var(--el-border-radius-base);
border-radius: $border-radius;
$color-info: var(--el-color-info);
$color-regular: var(--el-text-color-regular);
.cn-entity__collapse {
margin-bottom: 1px;
@@ -11,12 +14,12 @@
display: flex;
justify-content: center;
align-items: flex-start;
background-color: #F3F7FA;
border-radius: 4px 0 0 4px;
background-color: var(--el-fill-color-light);
border-radius: $border-radius 0 0 $border-radius;
span {
transform: rotate(0);
transition: all linear .2s;
transition: all linear var(--el-transition-duration-fast);
padding-top: 0;
&.reg-down {
@@ -30,7 +33,7 @@
}
.cn-icon-arrow-right {
color: #ADBCCA;
color: var(--el-text-color-placeholder);
font-size: 12px;
}
}
@@ -44,7 +47,7 @@
padding: 16px 0;
margin-bottom: 1px;
//background-color: white;
border-radius: 0 4px 4px 0;
border-radius: 0 $border-radius $border-radius 0;
.cn-entity__icon {
margin-left: 26px;
@@ -57,11 +60,11 @@
width: 52px;
height: 52px;
border-radius: 50%;
background-color: #F3F7FA;
background-color: var(--el-fill-color-light);
i {
font-size: 26px;
color: #4E84B4;
color: #4E84B4; // todo 颜色待确定
}
}
@@ -75,13 +78,15 @@
.cn-entity__header {
font-size: 16px;
padding-bottom: 3px;
color: #333333;
color: var(--el-text-color-primary);
.cn-entity__header-title {
margin-right: 10px;
}
.entity-related-entity {
font-size: 12px;
color: #717171;
color: var(--el-text-color-regular);
cursor: pointer;
margin-right: 6px;
}
@@ -116,9 +121,11 @@
display: flex;
align-items: center;
flex-direction: row;
.item-box-loading {
position: relative;
display: flex;
.chart__loading i.el-icon-loading {
font-size: 14px;
padding: 0;
@@ -129,7 +136,7 @@
i {
padding-right: 5px;
color: #8FA1BE;
color: var(--el-text-color-primary);
font-size: 12px;
height: 13px;
}
@@ -139,11 +146,11 @@
}
span:first-of-type {
color: #999;
color: $color-info;
}
span:last-of-type {
color: #666;
color: $color-regular;
}
.row__charts {
@@ -156,7 +163,7 @@
i {
padding-right: 6px;
color: #8FA1BE;
color: var(--el-text-color-primary);
font-size: 12px;
}
@@ -165,36 +172,39 @@
}
span:first-of-type {
color: #999;
color: $color-info;
}
span:last-of-type {
color: #666;
color: $color-regular;
}
}
.basic-info__item1 {
span: {
color: #666;
color: $color-regular;
}
span:first-of-type {
color: #666;
color: $color-regular;
}
.row-item-label {
color: #999 !important;
color: $color-info !important;
}
}
.row-item-label {
font-family: NotoSansSChineseRegular;
font-size: 14px;
color: #717171;
color: var(--el-text-color-regular);
font-weight: 400;
}
.row-item-value {
font-family: NotoSansSChineseRegular;
font-size: 14px;
color: #353636;
color: var(--el-text-color-primary);
font-weight: 400;
.score-dot {
@@ -203,17 +213,19 @@
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #CBCBCB;
background-color: var(--el-color-info-light-5);
margin-right: 4px;
&.score-dot--red {
background-color: #E26154;
background-color: var(--el-color-danger);
}
&.score-dot--yellow {
background-color: #E5A219;
background-color: var(--el-color-warning);
}
&.score-dot--green {
background-color: #749F4D;
background-color: var(--el-color-success);
}
}
}
@@ -226,7 +238,7 @@
flex-shrink: 0;
padding: 0 30px;
font-size: 12px;
color: #2C72C6;
color: var(--el-color-business);
font-weight: 400;
display: flex;
flex-direction: column;
@@ -249,8 +261,21 @@
overflow: hidden;
.el-divider {
background-color: #EFF2F5;
background-color: var(--el-bg-color-page);
}
}
}
.my__display {
display: flex;
align-items: center;
}
.my__display1 {
display: flex;
}
.padding-l-4 {
padding-left: 4px;
}
}

View File

@@ -8,17 +8,20 @@
background-position: 0 100%;
background-size: 100%;
margin-bottom: 10px;
$color-primary: var(--el-color-primary);
&.explorer-search--show-list {
flex: 0 0 40px;
background-image: none;
}
.explorer-search__title {
height: 112px;
text-align: center;
font-size: 42px;
color: #3976CB;
color: $color-primary;
}
.explorer-search__input-case {
display: flex;
flex-direction: column;
@@ -36,24 +39,27 @@
}
.explorer-search__input--border .CodeMirror {
border: 1px solid #DEDEDE;
border: 1px solid var(--el-color-info-light-7);
}
}
.search-symbol-inline {
display: flex;
align-items: center;
justify-content: center;
color: #666;
color: var(--el-text-color-regular);
font-size: 16px;
padding: 0 10px;
cursor: pointer;
}
.explorer-search__input {
width: 100%;
max-width: 1000px;
height: 40px;
}
.explorer-search__foot,.explorer-search__foot-list {
.explorer-search__foot, .explorer-search__foot-list {
display: flex;
padding-top: 9px;
width: 100%;
@@ -66,10 +72,10 @@
display: flex;
align-items: center;
font-size: 14px;
color: #3976CB;
color: $color-primary;
.el-divider {
background-color: #3976CB;
background-color: $color-primary;
}
i, span {
@@ -80,6 +86,7 @@
transition: all linear .1s;
transform: rotate(0) translate(0, 0);
}
i.arrow-rotate {
transform: rotate(90deg) translate(2px, 3px);
}
@@ -95,11 +102,11 @@
max-width: 1000px;
z-index: 2;
//top: 47px;
border: 1px solid rgba(226,229,236,1);
border: 1px solid var(--el-border-color-light);
border-radius: 2px;
background-color: white;
background-color: var(--el-fill-color-blank);
.history__items {
/* .history__items {
max-height: 300px;
overflow: auto;
.history__item {
@@ -116,6 +123,7 @@
}
div {
color: #999;
border: 1px red solid;
}
.item-date {
color: #bbb;
@@ -137,34 +145,40 @@
background-color: #ecf5ff;
color: #66b1ff;
}
}
} */
.history__items-new {
max-height: 300px;
overflow: auto;
.el-table th,.el-table td {
.el-table th, .el-table td {
padding: 6px 0;
border: none !important;
}
.el-table {
font-family: NotoSansSChineseRegular;
font-size: 14px;
color: #575757;
color: var(--el-text-color-regular);
font-weight: 400;
thead {
font-family: NotoSansHans-Medium;
font-size: 14px;
color: #353636;
color: var(--el-text-color-primary);
font-weight: 500;
}
.cell {
padding-left: 18px;
}
}
.el-scrollbar__bar {
visibility: hidden;
}
}
.clear-all {
padding-left: 18px;
font-weight: normal;
@@ -172,7 +186,7 @@
height: 35px;
display: flex;
align-items: center;
color: #3976CB;
color: $color-primary;
span {
cursor: pointer;
@@ -180,28 +194,35 @@
}
}
}
.explorer-search__foot-list {
max-width: 756px;
position: absolute;
left: 196px;
top: 44px;
.search__history {
top: 6px;
max-width: 756px;
margin-left: -196px;
.history__items-new {
max-height: 300px;
overflow: auto;
.el-table th,.el-table td {
.el-table th, .el-table td {
padding: 4px 0;
border: none !important;
}
.el-table {
font-size: 12px;
thead {
font-size: 12px;
}
}
.el-table--scrollable-x .el-table__body-wrapper {
overflow-x: hidden;
}
@@ -211,21 +232,26 @@
}
}
.highlight__text {
background: #FEECC2;
background: var(--el-color-warning-light-7);
padding: 0 3px;
}
.highlight__block {
background: #FEECC2;
background: var(--el-color-warning-light-7);
}
.explorer-search__foot-list .explorer-search__block {
margin-left: -196px;
top: -44px;
}
.explorer-search__foot .explorer-search__block {
margin-left: 0;
top: -40px;
}
.explorer-search__block {
position: absolute;
padding-left: 15px;
@@ -237,13 +263,13 @@
i {
font-size: 20px;
color: #999;
color: var(--el-color-info);
}
.search-dividing-line {
width: 1px;
height: 26px;
background: #DEDEDE;
background: var(--el-color-info-light-7);
margin-left: 15px;
margin-top: 2px;
}