This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cyber-narrator-cn-ui/src/assets/css/components/components/advancedSearch/advanced-search2.scss
2023-11-16 17:29:54 +08:00

182 lines
3.6 KiB
SCSS

.advanced-search {
position: relative;
height: 100%;
.search__suffixes {
&.search__suffixes--text-mode, &.search__suffixes--tag-mode {
position: absolute;
display: flex;
align-items: center;
top: 10px;
right: 10px;
.search__suffix {
margin-right: 12px;
.cn-icon-search-advance, .cn-icon-search-normal, .cn-icon-filter {
color: #A6AAAE;
font-size: 18px;
}
.el-icon-search {
color: #3976CB;
font-size: 22px;
}
&:hover {
cursor: pointer;
}
&:last-of-type {
margin-right: 4px;
}
}
.search__suffix-close {
.el-icon-error {
font-size: 17px;
color: #C4C4C4;
margin-right: 12px;
cursor: pointer;
}
}
.entity-explorer-search {
color: #3976CB;
}
.margin-r-12 {
margin-right: 12px;
}
.new-search__suffix {
width: 41px;
height: 41px;
line-height: 41px;
background: #38ACD2;
text-align: center;
margin-top: -10px;
margin-right: -10px;
.el-icon-search {
color: #fff !important;
margin-top: 9px !important;
}
}
.my-popper-class .el-popper__arrow {
display: none;
}
}
&.search__suffixes--tag-mode__block {
background: #fff;
}
}
/*.search-tip--error {
font-size: 14px;
color: #F56C6C;
}*/
}
.advanced-search--show-list .CodeMirror, .advanced-search--show-list .tag-search {
border: none;
}
.tag-search {
display: flex;
align-items: center;
height: 40px;
overflow: auto hidden;
border: 1px solid #CECECE;
border-radius: 2px;
padding-left: 10px;
padding-right: 80px;
background-color: white;
&::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.tag-search__meta, .tag-search__add {
margin-right: 10px;
flex-shrink: 0;
}
.tag-search__add {
display: flex;
align-items: center;
height: 22px;
padding: 0 4px;
font-size: 12px;
color: #333;
background-color: #F5F6F7;
border: 1px solid #D7D7D7;
border-radius: 1px;
cursor: pointer;
transition: all linear .1s;
margin-right: 30px;
&:hover {
background-color: white;
color: #111;
}
}
.tag-search__meta {
display: flex;
height: 22px;
padding: 0 6px;
font-size: 12px;
background-color: #F5F6F7;
&>div:not(:last-of-type) {
margin-right: 6px;
}
&.tag-search__meta--condition {
.condition__delete {
display: flex;
align-items: center;
color: #bcbdbd;
font-size: 16px;
margin-right: 6px;
cursor: pointer;
transition: all linear .1s;
&:hover {
color: #999;
}
}
.condition__column, .condition__operator, .condition__value {
display: flex;
align-items: center;
color: #333;
font-weight: bold;
cursor: text;
}
.condition__operator {
color: #3976CB;
}
.condition__operation-select {
display: flex;
align-items: center;
.condition__operation {
margin: 0 5px;
color: #3976CB;
}
}
}
&.tag-search__meta--connection {
.connection__value {
display: flex;
align-items: center;
color: #3976CB;
font-weight: bold;
cursor: text;
}
}
}
}
.entity__search .tag-search {
padding-left: 65px;
}
.el-popover.my-popper-class {
width: auto !important;
padding: 8px 12px !important;
}