/* .real-time-police {
|
display: none;
|
} */
|
|
div[open-li='real-time-police'] {
|
position: relative;
|
box-sizing: border-box;
|
}
|
|
div[open-li='real-time-police']>ul {
|
display: flex;
|
height: 36px;
|
line-height: 36px;
|
border: 1px solid #3680C1;
|
}
|
|
div[open-li='real-time-police']>ul>li {
|
flex: 1;
|
font-size: 18px;
|
text-align: center;
|
color: #fff;
|
cursor: pointer;
|
}
|
|
div[open-li='real-time-police']>ul>li.on {
|
color: #15a2fe;
|
background: rgb(2, 63, 82);
|
}
|
|
/* 实时报警内容展示区域 */
|
.realtime-container {
|
position: absolute;
|
top: 38px;
|
width: 100%;
|
height: calc(100% - 38px);
|
}
|
|
.realtime-container>div {
|
width: 100%;
|
height: 100%;
|
position: absolute;
|
top: 0;
|
left: 0;
|
}
|
|
.realtime-container>div:nth-child(2) {
|
display: none;
|
}
|
|
/* 显示信息得表格 */
|
.realtime-container .realtime-container-police .realtime-table-content {
|
height: calc(100%);
|
}
|
|
.realtime-container .realtime-container-equipment .realtime-table-content {
|
position: relative;
|
height: calc(100%);
|
}
|
|
/*定义滚动条高宽及背景
|
高宽分别对应横竖滚动条的尺寸*/
|
::-webkit-scrollbar {
|
width: 6px;
|
background-color: #F5F5F5;
|
}
|
|
/*定义滚动条轨道
|
内阴影+圆角*/
|
::-webkit-scrollbar-track {
|
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
background-color: #F5F5F5;
|
}
|
|
/*定义滑块
|
内阴影+圆角*/
|
::-webkit-scrollbar-thumb {
|
|
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
|
background-color: #555;
|
}
|
|
.realtime-container .table {
|
margin-top: 4px;
|
height: calc(100% - 44px);
|
}
|
|
.realtime-container .thead {
|
height: 36px;
|
}
|
|
.realtime-container .table .tbody {
|
height: calc(100% - 37px);
|
overflow-y: auto;
|
overflow-x: hidden;
|
scrollbar-width: thin;
|
}
|
|
|
.realtime-container .table table {
|
width: 360px;
|
border-collapse: collapse;
|
table-layout: fixed;
|
}
|
|
.realtime-container .table table tr {
|
height: 36px;
|
}
|
|
.realtime-container .table table tr th,
|
.realtime-container .table table tr td {
|
margin: 0;
|
padding: 0 4px;
|
border: 1px solid rgb(255, 255, 255);
|
height: 36px;
|
line-height: 36px;
|
text-align: center;
|
font-size: 12px;
|
color: #fff;
|
box-sizing: border-box;
|
}
|
|
.realtime-container .table table tr td a {
|
color: #fff;
|
cursor: default;
|
}
|
|
.realtime-container .table table tr:first-child td {
|
border-top: none;
|
}
|
|
.realtime-container .table .tbody tr {
|
cursor: pointer;
|
}
|
|
.realtime-container .table .tbody tr td:first-child,
|
.realtime-container .table .thead tr th:first-child {
|
width: 40px;
|
}
|
|
|
.realtime-container .table .tbody tr td:nth-child(2),
|
.realtime-container .table .thead tr th:nth-child(2) {
|
width: 64px;
|
}
|
|
.realtime-container .table .tbody tr td:nth-child(3),
|
.realtime-container .table .thead tr th:nth-child(3) {
|
width: 72px;
|
}
|
|
.realtime-container .table .tbody tr td:last-child,
|
.realtime-container .table .thead tr th:last-child {
|
width: 92px;
|
}
|
|
|
|
|
/* 树结构相关样式 */
|
.realtime-container-equipment .realtime-equipment-ztree {
|
position: absolute;
|
top: 0;
|
left: 0;
|
bottom: 0;
|
right: 0;
|
overflow-x: hidden;
|
overflow-y: auto;
|
}
|
|
|
|
.realtime-equipment-ztree .layui-tree-txt,
|
.realtime-equipment-ztree .layui-icon,
|
.realtime-equipment-ztree .layui-tree-set:before {
|
color: #fff !important;
|
}
|
|
.realtime-equipment-ztree .layui-tree-txt {
|
font-size: 14px;
|
}
|
|
.realtime-equipment-ztree .layui-tree-icon {
|
width: 14px;
|
height: 14px;
|
line-height: 14px;
|
}
|
|
.realtime-equipment-ztree .layui-icon {
|
font-size: 14px;
|
}
|
|
.realtime-equipment-ztree .layui-icon.layui-icon-file {
|
font-size: 18px;
|
}
|
|
.layer-realtime-equipment .device-management-box table,
|
.layer-realtime-police table {
|
width: 100%;
|
border-collapse: collapse;
|
}
|
|
.layer-realtime-equipment .device-management-box table tr,
|
.layer-realtime-police table tr {
|
display: flex;
|
}
|
|
.layer-realtime-equipment .device-management-box table td,
|
.layer-realtime-police table th,
|
.layer-realtime-police table td {
|
flex: 1;
|
padding: 0 10px;
|
border: 1px solid rgb(255, 255, 255);
|
width: 25%;
|
height: auto !important;
|
line-height: 36px;
|
font-weight: normal;
|
text-align: center;
|
word-break: break-all;
|
color: #fff;
|
}
|
|
|
.layer-realtime-equipment .device-management-box table td:nth-child(odd),
|
.layer-realtime-police td:nth-child(odd) {
|
|
color: #15a2fe;
|
}
|
|
|
.layer-realtime-equipment .device-management-box table tbody tr:nth-child(6) td:nth-child(1),
|
.layer-realtime-police table tbody tr:nth-child(6) td:nth-child(1) {
|
flex: 0 0 auto;
|
width: 25% !important;
|
box-sizing: border-box;
|
|
}
|
|
.layer-realtime-equipment .device-management-box table tbody tr:nth-child(6) td:nth-child(2),
|
.layer-realtime-police table tbody tr:nth-child(6) td:nth-child(2) {
|
flex: 0 0 auto;
|
width: 75% !important;
|
box-sizing: border-box;
|
|
}
|
|
.layer-realtime-equipment .layer-header,
|
.layer-realtime-police .layer-header {
|
position: absolute;
|
top: 0;
|
width: 100%;
|
height: 40px;
|
line-height: 40px;
|
|
}
|
|
.layer-realtime-equipment .layer-header h4,
|
.layer-realtime-police .layer-header h4 {
|
width: 100%;
|
height: 100%;
|
text-align: center;
|
color: #fff;
|
font-size: 24px;
|
}
|
|
.layer-realtime-equipment .layer-header .close,
|
.layer-realtime-police .layer-header .close {
|
position: absolute;
|
top: 8px;
|
right: 8px;
|
width: 24px;
|
height: 24px;
|
background: url('../../images/close.png') no-repeat;
|
background-size: 100% 100%;
|
}
|
|
.layer-realtime-equipment .device-management-box table tbody tr td input {
|
float: left;
|
margin: 7px 40px 0 40px;
|
padding-left: 8px;
|
width: 120px;
|
height: 22px;
|
line-height: 22px;
|
text-align: left;
|
color: #fff;
|
background: rgb(12, 25, 49);
|
border: 1px solid #3680C1;
|
border-radius: 4px;
|
cursor: pointer;
|
vertical-align: middle;
|
box-sizing: border-box;
|
}
|
|
#endDeploymentAndWithdrawal {
|
margin: 7px 12px 0 10px;
|
}
|
|
.layer-realtime-equipment .device-management-box table tbody tr td select {
|
padding-left: 8px;
|
width: 80px;
|
height: 22px;
|
line-height: 22px;
|
text-align: center;
|
color: #fff;
|
background: rgb(12, 25, 49);
|
border: 1px solid #3680C1;
|
border-radius: 4px;
|
cursor: pointer;
|
vertical-align: middle;
|
box-sizing: border-box;
|
}
|
|
.layer-realtime-police .layer-header .audio {
|
position: absolute;
|
top: 8px;
|
right: 48px;
|
width: 24px;
|
height: 24px;
|
background: url('../../images/turn-on-the-alarm.png') no-repeat;
|
background-size: 100% 100%;
|
}
|
|
.layer-realtime-police .layer-header .audio.open {
|
background: url('../../images/turn-on-the-alarm.png') no-repeat;
|
background-size: 100% 100%;
|
}
|
|
.layer-realtime-police .layer-header .audio.close {
|
background: url('../../images/turn-off-the-alarm.png') no-repeat;
|
background-size: 100% 100%;
|
}
|
|
|
|
.layer-realtime-police ul {
|
position: absolute;
|
top: 40px;
|
bottom: 40px;
|
height: auto;
|
width: 100%;
|
}
|
|
.layer-realtime-police li {
|
display: none;
|
padding: 0 10px;
|
width: 100%;
|
height: 100%;
|
overflow-x: hidden;
|
overflow-y: auto;
|
box-sizing: border-box;
|
}
|
|
.layer-realtime-police li.on {
|
display: block;
|
}
|
|
.layer-realtime-police .bottom-tab {
|
display: none;
|
position: absolute;
|
bottom: 0;
|
width: 100%;
|
height: 40px;
|
line-height: 40px;
|
text-align: center;
|
|
|
}
|
|
.layer-realtime-police .bottom-tab input {
|
margin: 0 80px;
|
width: 64px;
|
height: 28px;
|
text-align: center;
|
vertical-align: baseline;
|
box-sizing: border-box;
|
border: none;
|
color: rgb(255, 255, 255);
|
}
|
|
.layer-realtime-police .bottom-tab .up-tab.off {
|
background: #ccc;
|
border-radius: 5px;
|
|
}
|
|
.layer-realtime-police .bottom-tab .down-tab.on {
|
background: #15a2fe;
|
border-radius: 5px;
|
}
|
|
.layer-realtime-police .bottom-tab .up-tab.on {
|
background: #15a2fe;
|
border-radius: 5px;
|
|
}
|
|
.layer-realtime-police .bottom-tab .down-tab.off {
|
|
background: #ccc;
|
border-radius: 5px;
|
|
}
|
|
|
|
|
|
|
|
|
/* 类别选择,级别选择,以及热力图 */
|
.realtime-container .realtime-district,
|
.realtime-container .realtime-level {
|
height: 40px;
|
line-height: 40px;
|
padding: 4px 6px 0 6px;
|
box-sizing: border-box;
|
color: #fff;
|
}
|
|
.realtime-container .realtime-district>ul,
|
.realtime-container .realtime-level>ul {
|
display: flex;
|
padding: 0px;
|
height: 36px;
|
line-height: 36px;
|
align-items: center;
|
}
|
|
.realtime-container .realtime-district>ul>li,
|
.realtime-container .realtime-level>ul>li {
|
height: 36px;
|
line-height: 36px;
|
}
|
|
.realtime-container .realtime-district>ul>li:first-child,
|
.realtime-container .realtime-level>ul>li:first-child {
|
position: relative;
|
padding-left: 10px;
|
flex: 4;
|
color: #15a2fe;
|
background: rgb(12, 25, 49);
|
border: 1px solid #3680C1;
|
box-sizing: border-box;
|
}
|
|
|
/* 类别选择中得下拉框 */
|
.realtime-container .realtime-district>ul>li:first-child div:first-child,
|
.realtime-container .realtime-level>ul>li:first-child div:first-child {
|
position: absolute;
|
top: 0;
|
left: 60px;
|
width: calc(100% - 60px);
|
height: 34px;
|
color: #fff;
|
padding-left: 10px;
|
box-sizing: border-box;
|
cursor: pointer;
|
|
}
|
|
.realtime-container .realtime-district>ul>li:first-child div:first-child i,
|
.realtime-container .realtime-level>ul>li:first-child div:first-child i {
|
display: block;
|
position: absolute;
|
top: 50%;
|
right: 10px;
|
transform: translate(0, -50%);
|
width: 16px;
|
height: 16px;
|
background: url('../../../../images/select-bg.png') repeat;
|
background-size: 100% 100%;
|
}
|
|
.realtime-container .realtime-district>ul>li:first-child div:last-child,
|
.realtime-container .realtime-level>ul>li:first-child div:last-child {
|
display: none;
|
position: absolute;
|
top: 35px;
|
left: -1px;
|
z-index: 10;
|
width: calc(100% + 2px);
|
}
|
|
|
.realtime-container .realtime-district>ul>li:first-child ul,
|
.realtime-container .realtime-level>ul>li:first-child ul {
|
display: flex;
|
flex-direction: column;
|
width: 100%;
|
max-height: 300px;
|
height: auto;
|
overflow-y: auto;
|
overflow-x: hidden;
|
border: 1px solid #3680C1;
|
border-top: none;
|
box-sizing: border-box;
|
|
}
|
|
.realtime-container .realtime-district>ul>li:first-child ul li,
|
.realtime-container .realtime-level>ul>li:first-child ul li {
|
flex: 1;
|
padding-left: 10px;
|
height: 34px;
|
border-top: 1px solid #3680C1;
|
background: rgb(12, 25, 49);
|
color: #fff;
|
box-sizing: border-box;
|
cursor: pointer;
|
}
|
|
.realtime-container .realtime-district>ul>li:first-child ul li:hover,
|
.realtime-container .realtime-level>ul>li:first-child ul li:hover {
|
color: #15a2fe;
|
background: rgb(2, 63, 82);
|
}
|
|
|
.realtime-container .realtime-district>ul>li:first-child ul li:first-child,
|
.realtime-container .realtime-level>ul>li:first-child ul li:first-child {
|
border: none;
|
}
|