You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
JiangningUrbanManagePc/src/assets/styles/leaflet.scss

348 lines
9.1 KiB

2 years ago
.leaflet-popup-content-wrapper {
background-color: transparent !important;
box-shadow: none !important;
}
.leaflet-popup-close-button {
display: none;
}
.leaflet-popup-tip-container {
display: none;
}
// 事件分布
.event-popup {
width: 252px;
height: 224px;
background-image: url("../images/popup/bg2.png");
background-size: 100% 100%;
z-index: 600;
.event-title {
padding: 9px 10px 0 16px;
display: flex;
justify-content: space-between;
.title {
font-size: 14px;
font-family: Source Han Sans CN-Bold, Source Han Sans CN;
font-weight: 700;
color: #E9F4FF;
line-height: 19px;
display: flex;
align-items: center;
justify-content: center;
width: 194px;
height: 30px;
background: linear-gradient(270deg, rgba(9,32,53,0) 0%, rgba(8,37,64,0.98) 51%, rgba(9,34,56,0) 100%);
border-radius: 0px 0px 0px 0px;
opacity: 1;
border: 1px solid;
border-image: linear-gradient(90deg, rgba(64.00000378489494, 163.00000548362732, 255, 0), rgba(64.00000378489494, 163.00000548362732, 255, 1), rgba(64.00000378489494, 163.00000548362732, 255, 0)) 1 1;
}
.mask {
width: 13px;
height: 13px;
cursor: pointer;
}
}
.event-main {
padding: 12px 18px 25px 18px;
display: grid;
grid-column: 1fr;
grid-row-gap: 9px;
.event-info {
display: flex;
align-items: center;
.dot {
width: 4px;
height: 4px;
background: #DAEBFF;
box-shadow: 0px 0px 10px 5px rgba(0,119,255,0.25), 0px 0px 5px 0px rgba(229,241,255,0.25);
border-radius: 20px 20px 20px 20px;
margin-right: 7px;
}
.name,.position {
font-size: 12px;
font-family: Source Han Sans CN-Medium, Source Han Sans CN;
font-weight: 500;
color: #E9F4FF;
line-height: 17px;
}
.position {
width: 120px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.btn {
margin-top: 19px;
background-image: url('../images/popup/icon1btn.png');
background-size: 100% 100%;
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
font-weight: 400;
color: #D3EEF2;
line-height: 20px;
cursor: pointer;
}
}
}
// 执法人员
.person-popup {
width: 242px;
height: 244px;
background-image: url("../images/popup/bg1.png");
background-size: 100% 100%;
z-index: 600;
.person-title {
padding: 9px 10px 0 16px;
display: flex;
justify-content: space-between;
.title {
font-size: 14px;
font-family: Source Han Sans CN-Bold, Source Han Sans CN;
font-weight: 700;
color: #E9F4FF;
line-height: 19px;
display: flex;
align-items: center;
justify-content: center;
width: 194px;
height: 30px;
background: linear-gradient(270deg, rgba(9,32,53,0) 0%, rgba(8,37,64,0.98) 51%, rgba(9,34,56,0) 100%);
border-radius: 0px 0px 0px 0px;
opacity: 1;
border: 1px solid;
border-image: linear-gradient(90deg, rgba(64.00000378489494, 163.00000548362732, 255, 0), rgba(64.00000378489494, 163.00000548362732, 255, 1), rgba(64.00000378489494, 163.00000548362732, 255, 0)) 1 1;
}
.mask {
width: 13px;
height: 13px;
cursor: pointer;
}
}
.person-main {
padding: 12px 32px 25px 30px;
.person-info {
display: flex;
align-items: center;
.dot {
width: 4px;
height: 4px;
background: #DAEBFF;
box-shadow: 0px 0px 10px 5px rgba(0,119,255,0.25), 0px 0px 5px 0px rgba(229,241,255,0.25);
border-radius: 20px 20px 20px 20px;
margin-right: 15px;
}
.name,.position {
font-size: 12px;
font-family: Source Han Sans CN-Medium, Source Han Sans CN;
font-weight: 500;
color: #E9F4FF;
line-height: 14px;
margin-right: 9px;
}
}
.btns {
display: grid;
grid-column: 1fr;
grid-row-gap: 6px;
margin-top: 15px;
div {
background-image: url('../images/popup/icon1btn.png');
width: 100%;
height: 30px;
background-size: 100% 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
font-weight: 400;
color: #D3EEF2;
line-height: 20px;
cursor: pointer;
}
}
}
}
// 执法车辆
.car-popup {
width: 262px;
2 years ago
height: 138px;
background-image: url("../images/popup/bg3.png");
background-size: 100% 100%;
z-index: 600;
.car-title {
padding: 9px 10px 0 16px;
display: flex;
justify-content: space-between;
.title {
font-size: 14px;
font-family: Source Han Sans CN-Bold, Source Han Sans CN;
font-weight: 700;
color: #E9F4FF;
line-height: 19px;
display: flex;
align-items: center;
justify-content: center;
width: 194px;
height: 30px;
background: linear-gradient(270deg, rgba(9,32,53,0) 0%, rgba(8,37,64,0.98) 51%, rgba(9,34,56,0) 100%);
border-radius: 0px 0px 0px 0px;
opacity: 1;
border: 1px solid;
border-image: linear-gradient(90deg, rgba(64.00000378489494, 163.00000548362732, 255, 0), rgba(64.00000378489494, 163.00000548362732, 255, 1), rgba(64.00000378489494, 163.00000548362732, 255, 0)) 1 1;
}
.mask {
width: 13px;
height: 13px;
cursor: pointer;
}
}
.car-main {
padding: 12px 10px 25px 15px;
display: grid;
grid-column: 1fr;
grid-row-gap: 9px;
.car-info {
display: flex;
align-items: center;
.dot {
width: 4px;
height: 4px;
background: #DAEBFF;
box-shadow: 0px 0px 10px 5px rgba(0,119,255,0.25), 0px 0px 5px 0px rgba(229,241,255,0.25);
border-radius: 20px 20px 20px 20px;
margin-right: 7px;
}
.name,.position {
font-size: 12px;
font-family: Source Han Sans CN-Medium, Source Han Sans CN;
font-weight: 500;
color: #E9F4FF;
line-height: 17px;
margin-right: 8px;
}
}
.btn {
margin-top: 19px;
background-image: url('../images/popup/icon1btn.png');
background-size: 100% 100%;
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
font-weight: 400;
color: #D3EEF2;
line-height: 20px;
cursor: pointer;
}
}
}
// 监控视频
.monitoring-popup {
width: 242px;
height: 230px;
background-image: url("../images/popup/bg4.png");
background-size: 100% 100%;
z-index: 600;
.monitoring-title {
padding: 9px 10px 0 16px;
display: flex;
justify-content: space-between;
.title {
font-size: 14px;
font-family: Source Han Sans CN-Bold, Source Han Sans CN;
font-weight: 700;
color: #E9F4FF;
line-height: 19px;
display: flex;
align-items: center;
justify-content: center;
width: 194px;
height: 30px;
background: linear-gradient(270deg, rgba(9,32,53,0) 0%, rgba(8,37,64,0.98) 51%, rgba(9,34,56,0) 100%);
border-radius: 0px 0px 0px 0px;
opacity: 1;
border: 1px solid;
border-image: linear-gradient(90deg, rgba(64.00000378489494, 163.00000548362732, 255, 0), rgba(64.00000378489494, 163.00000548362732, 255, 1), rgba(64.00000378489494, 163.00000548362732, 255, 0)) 1 1;
}
.mask {
width: 13px;
height: 13px;
cursor: pointer;
}
}
.monitoring {
padding: 11px 25px 24px 25px;
.bg {
background-image: url("../images/videoImg.png");
background-size: 100% 100%;
width: 192px;
height: 108px;
padding: 2px;
img {
width: 100%;
height: 100%;
}
}
.btns {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16px;
.btn {
background-image: url("../images/popup/icon2btn.png");
background-size: 100% 100%;
width: 91px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
font-weight: 400;
color: #D3EEF2;
line-height: 20px;
cursor: pointer;
}
}
}
}
.popup-pc-person {
bottom: 20px !important;
}
.popup-pc-common {
bottom: 23px !important;
}
.popup-pc-emphasis {
bottom: 25px !important;
}
.popup-pc-car {
bottom: 25px !important;
}
.popup-pc-monitoring {
bottom: 20px !important;
}
// 重点区域文字
.region-name1 {
display: flex !important;
justify-content: center;
align-items: center;
color: #F44444;
}
// 重点路段文字
.region-name2 {
display: flex !important;
// justify-content: center;
align-items: center;
color: #46FF77;
2 years ago
}