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/popBox/selectDashboard.scss
2022-12-07 14:16:35 +08:00

191 lines
4.0 KiB
SCSS

.movable {
.el-tree-node__content {
cursor: move;
.tree--node > span:first-of-type {
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-break: break-word;
}
.tree--node > span:last-of-type > span {
cursor: pointer;
}
}
.el-dropdown-menu__item {
padding: 0;
div {
padding: 0 20px;
}
}
}
.tree--node > span:last-of-type > span > i {
font-weight: normal !important;
}
.select-panel-tree {
height: 350px;
overflow: auto;
}
.select-panel-tree .el-tree-node__content {
height: 34px;
line-height: 34px;
}
.select-panel-tree .el-tree-node__content:hover {
color: $--color-primary;
}
.select-panel-tree .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
background-color: $--background-color-base;
font-weight: bold;
color: $--color-primary;
}
.tree--node {
display: flex;
justify-content: space-between;
width: calc(100% - 28px);
}
.tree--node span:nth-of-type(1) {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-break: break-word;
}
.tree--operation {
opacity: 0;
}
.tree--node:hover .tree--operation {
opacity: 1;
}
.panel-dropdown-btn {
color: #60BEFF;
}
.panel-dropdown-btn:hover {
color: #409EFF;
}
.panel-dropdown-btn-delete {
color: #F98D9A;
}
.panel-dropdown-btn-delete:hover {
color: #D96D7A;
}
.panel-select-wrap{
width: 100%;
height: 402px;
display: flex;
justify-content: space-between;
.panel-select-left{
width: 180px;
height: 100%;
box-sizing: border-box;
border-right:1px solid $--border-color-base;
padding: 12px 0;
display: flex;
flex-direction: column;
justify-content: space-between;
.panel-select-list{
width: 100%;
.panel-select-item{
font-family: Roboto-Regular;
font-size: 14px;
font-weight: 400;
color: $--color-text-primary;
display: flex;
align-items: center;
width: 100%;
height: 36px;
cursor: pointer;
i{
margin-left: 12px;
margin-right: 5px;
width: 20px;
display: flex;
justify-content: center;
color: $--color-text-regular;
}
}
.panel-select-item:hover{
color: $--color-primary;
background: $--background-color-base;
i{
color: $--color-primary;
}
}
.panel-select-item.active{
color: $--color-primary;
background: $--background-color-base;
i{
color: $--color-primary;
}
}
}
.dashboard-select-tail{
width: 162px;
background: #FF9219;
margin: 0 auto;
border: none;
display: flex;
justify-content: center;
border-radius: 2px;
cursor: pointer;
.dashboard-select-add{
flex: 1;
height: 30px;
font-size: 14px;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
i{
color: #fff;
padding-left: 0;
}
}
.dashboard-addBy-template{
width: 30px;
height: 30px;
font-size: 14px;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-left: 1px solid #fff;
box-sizing: border-box;
position: relative;
}
}
}
.pop-item-wider{
flex: 1;
width: calc(100% - 180px);
padding-top: 0;
.panel-select-header{
margin-top: 12px;
margin-bottom: 8px;
}
}
.nz-icon-xingzhuang{
color: $--color-text-regular;
font-weight: normal;
cursor: pointer ;
}
.nz-icon-a-xingzhuang2{
color:#FF9219 !important;
cursor: pointer ;
}
.highlight-keyword{
color:$--color-primary;
background: none;
}
}
.dashboard-addBy-template-menu{
width: 162px;
// padding: 8px 0;
box-sizing: border-box;
.el-dropdown-menu__item{
// line-height: 32px;
}
}