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
nezha-nezha-fronted/nezha-fronted/src/assets/css/components/common/detailView/detailViewTopSearch.scss
2021-11-25 16:05:16 +08:00

95 lines
2.1 KiB
SCSS

.detail-view-top-search {
.search-detail-box{
display: inline-block;
margin-right: 20px;
transition: background-color .1s ease-out;
border-radius: 2px;
}
.search-detail-box:hover{
background: $--background-color-base;
}
.search-detail-box.select-dropdown{
background: #F9F9F9;
}
.detail-dropdown{
padding: 0 10px;
height: 30px;
line-height: 30px;
border-radius: 2px;
}
.search-detail-title {
font-size: 14px;
color: $--color-text-primary;
letter-spacing: 0;
line-height: 14px;
font-weight: 600;
margin-right: 10px;
}
.search-value{
font-size: 14px;
color: $--color-text-regular;
letter-spacing: 0;
line-height: 14px;
font-weight: 400;
}
.detail-top-search {
display: inline-block;
vertical-align: bottom;
overflow: hidden;
text-overflow:ellipsis;
white-space:nowrap;
max-width: 100px;
}
}
.detail-top-search-dropdown{
max-height: 300px;
overflow-y: auto;
.el-dropdown-menu__item{
background: $--background-color-empty !important;
padding: 0;
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: flex;
.el-checkbox{
width: calc(100% - 20px);
height: 36px;
padding: 0 0 0 20px;
display: flex;
align-items: center;
.el-checkbox__label{
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.el-checkbox:hover{
color: $--color-primary;
background-color: $--background-color-base !important;
}
.children-title-name{
width: calc(100% - 20px);
height: 36px;
padding-left: 20px;
font-size: 12px;
color: $--color-text-secondary;
line-height: 30px;
}
}
.el-dropdown-menu__item:not(.is-disabled):hover{
color: $--color-text-secondary;
background: $--background-color-base !important;
}
}
.clear-all-select{
padding: 0 20px;
padding-left: 42px;
color: #0052cc;
font-size: 12px;
}
.clear-all-select:hover{
text-decoration: underline;
}