ss-dp/src/views/Home/mapToolBox/index.less

118 lines
3.5 KiB
Plaintext
Raw Normal View History

2026-02-06 11:00:16 +08:00
.mapToolBox{
position: absolute;
z-index: 100;
right: 445px;
top: 100px;
2026-02-07 15:39:42 +08:00
transition: all 0.3s;
2026-02-06 11:00:16 +08:00
.mapToolBtn{
width:40px;
padding-bottom: 5px;
border-radius:4px;
display: flex;
flex-direction: column;
align-items: center;
.mapToolBtnIcon{
2026-02-07 15:27:30 +08:00
width: 28px;
height: 28px;
padding: 7px;
background: url(../../../../public//assets/icons/bg.png) 50% 50% / 100% 100% no-repeat;
2026-02-06 11:00:16 +08:00
margin-top: 5px;
cursor: pointer;
}
}
.mapToolLayer{
position: absolute;
top: 5px;
right: 45px;
width: 0;
2026-02-08 09:49:07 +08:00
height: 580px;
2026-02-06 11:00:16 +08:00
transition: width 0.3s ease-in-out;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
overflow: hidden;
.mapToolLayerBox{
position: absolute;
2026-02-08 09:49:07 +08:00
background: #1c3965f0;
border: 1px solid #2755a1;
width: 160px;
2026-02-06 11:00:16 +08:00
height: 100%;
border-radius: 4px;
top: 0;
left: 0;
overflow: hidden;
.mapToolLayerBoxTitle{
height: 40px;
2026-02-08 09:49:07 +08:00
border-bottom: 1px solid #2755a1;
2026-02-06 11:00:16 +08:00
display: flex;
2026-02-08 09:49:07 +08:00
font-size: 14px;
2026-02-06 11:00:16 +08:00
font-weight: bold;
align-items: center;
justify-content: space-between;
padding: 0 10px;
.mapToolLayerBoxTitleIcon{
2026-02-08 09:49:07 +08:00
font-size: 13px;
2026-02-06 11:00:16 +08:00
cursor: pointer;
}
}
.mapToolLayerBoxContent{
padding: 10px;
display: flex;
flex-flow: wrap;
2026-02-08 09:49:07 +08:00
.hoverBg:hover{
background: #23477cf0;
2026-02-06 11:00:16 +08:00
}
.mapToolLayerBoxItem{
2026-02-08 09:49:07 +08:00
color: #ffffff;
width: 100%;
height: 27px;
2026-02-06 11:00:16 +08:00
display: flex;
align-items: center;
2026-02-08 09:49:07 +08:00
cursor: pointer;
2026-02-06 11:00:16 +08:00
.mapToolLayerBoxItemIcon{
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
2026-02-08 09:49:07 +08:00
margin:0 10px 0 10px;
}
.mapToolLayerBoxItemIcon2{
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
margin:0 5px 0 5px;
2026-02-06 11:00:16 +08:00
}
.mapToolLayerBoxItemIconDiv{
text-align: left;
font-size: 12px;
2026-02-08 09:49:07 +08:00
color: #ffffff;
2026-02-06 11:00:16 +08:00
display: flex;
flex:1;
overflow: hidden;
}
.mapToolLayerBoxItemCheckBox{
margin-right: 25px;
2026-02-08 09:49:07 +08:00
.ant-checkbox-inner{
background-color: transparent;
}
color: #ffffff;
}
.mapToolLayerBoxItemCheckBox2{
.ant-checkbox-inner{
background-color: transparent;
}
color: #ffffff;
2026-02-06 11:00:16 +08:00
}
}
}
}
}
}