zhongrj
2023-06-27 d74b495736f0c04522ec54274b70fed0ded2878d
public/map/widgets/realTimePolice/RealTimePolice.css
New file
@@ -0,0 +1,636 @@
.real-time-police {
    width: 0%;
    background: rgb(255, 255, 255);
    display: flex;
}
.real-time-select-condition {
    display: none !important;
    position: relative;
    height: 60px;
    line-height: 60px;
    width: 100%;
}
.real-time-select-condition div {
    display: inline-block;
}
.real-time-select-condition .realtime-district,
.real-time-select-condition .realtime-level {
    width: 224px;
    height: 30px;
    line-height: 30px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(231, 234, 243, 1);
    border-radius: 5px;
    color: #fff;
}
.real-time-select-condition .realtime-district {
    margin-left: 20px;
}
.real-time-select-condition .realtime-level {
    margin-left: 10px;
}
.real-time-select-condition .realtime-district>ul,
.real-time-select-condition .realtime-level>ul {
    display: flex;
    padding: 0px;
    height: 30px;
    line-height: 30px;
    align-items: center;
}
.real-time-select-condition .realtime-district>ul>li,
.real-time-select-condition .realtime-level>ul>li {
    height: auto;
}
.real-time-select-condition .realtime-district>ul>li:first-child,
.real-time-select-condition .realtime-level>ul>li:first-child {
    position: relative;
    padding-left: 10px;
    flex: 4;
    font-size: 14px;
    color: #677788;
    z-index: 1111;
}
/* Ã§Â±Â»Ã¥Ë†Â«Ã©â‚¬â€°Ã¦â€¹Â©Ã¤Â¸Â­Ã¥Â¾â€”下拉框 */
.real-time-select-condition .realtime-district>ul>li:first-child div:first-child,
.real-time-select-condition .realtime-level>ul>li:first-child div:first-child {
    position: absolute;
    top: 0;
    height: 30px;
    color: #677788;
    padding-left: 10px;
    box-sizing: border-box;
    cursor: pointer;
}
.real-time-select-condition .realtime-district>ul>li:first-child div:first-child {
    left: 54px;
    width: calc(100% - 54px);
}
.real-time-select-condition .realtime-level>ul>li:first-child div:first-child {
    left: 68px;
    width: calc(100% - 68px);
}
.real-time-select-condition .realtime-district>ul>li:first-child div:first-child i,
.real-time-select-condition .realtime-level>ul>li:first-child div:first-child i {
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
    width: 8px;
    height: 8px;
    background: url('/images/select-bg.png') repeat;
    background-size: 100% 100%;
}
.real-time-select-condition .realtime-district>ul>li:first-child div:last-child,
.real-time-select-condition .realtime-level>ul>li:first-child div:last-child {
    display: none;
    position: absolute;
    top: 30px;
    left: -1px;
    z-index: 10;
    padding-top: 14px;
    width: calc(100% + 2px);
}
.real-time-select-condition .realtime-district>ul>li:first-child ul,
.real-time-select-condition .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 rgba(231, 234, 243, 1);
    box-sizing: border-box;
    border-radius: 5px;
    scrollbar-width: thin;
}
.real-time-select-condition .realtime-district>ul>li:first-child ul li,
.real-time-select-condition .realtime-level>ul>li:first-child ul li {
    flex: 1;
    padding-left: 10px;
    height: 32px;
    border-top: 1px solid rgba(231, 234, 243, 1);
    background: rgba(255, 255, 255, 1);
    color: #677788;
    box-sizing: border-box;
    cursor: pointer;
}
.real-time-select-condition .realtime-district>ul>li:first-child ul li:hover,
.real-time-select-condition .realtime-level>ul>li:first-child ul li:hover {
    color: #15a2fe;
    background: #beeeff;
}
.real-time-select-condition .realtime-district>ul>li:first-child ul li:first-child,
.real-time-select-condition .realtime-level>ul>li:first-child ul li:first-child {
    border: none;
}
/* Ã¦â€”¥æœŸé€‰æ‹©å™¨çš„æ ·å¼ */
.real-time-select-condition .realtime-timeselect {
    height: 32px;
    line-height: 32px;
}
.real-time-select-condition .realtime-timeselect input[timeSelect] {
    width: 170px;
    padding: 0 10px;
    height: 32px;
    line-height: 32px;
    cursor: pointer;
    border: 1px solid rgba(231, 234, 243, 1);
    border-radius: 5px;
    box-sizing: border-box;
    vertical-align: top;
}
.real-time-select-condition .realtime-timeselect input[timeSelect]:focus {
    outline: none;
}
.client-btn-qk {
    background-color: #F0EFF4;
    color: #596D82;
}
/* Ã¥Â¹Â´Ã¦Å“ˆæ—¥é€‰æ‹©ç›¸å…³æŒ‰é’®æ ·å¼ */
.real-time-select-condition .realtime-quick {
    position: absolute;
    top: 0;
    left: auto;
    bottom: 0;
    right: 10px;
    margin: auto;
    width: 180px;
    height: 32px;
    line-height: 32px;
    display: flex;
    align-items: center;
}
.real-time-select-condition .realtime-quick button {
    flex: 1;
    margin: 0px 4px;
    height: 28px;
    border-color: #1E9FFF;
    background: #1E9FFF;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}
/* Ã¥Â®Å¾Ã¦â€”¶è­¦æƒ…列表相关样式调整 */
.real-time-information-list {
    height: calc(100% - 60px);
    width: 100%;
}
.real-time-information-list>div {
    margin: 0 !important;
}
.real-time-information-list>div .layui-table-header tr {
    background: rgba(248, 250, 253, 1);
}
.real-time-information-list>div td {
    border: 1px solid rgba(231, 234, 243, 0.7) !important;
}
.real-time-information-list .layui-btn-radius {
    border-radius: 5px;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
}
.real-time-information-list .layui-btn {
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
}
/* Ã¥Â®Å¾Ã¦â€”¶è­¦æƒ…弹框得相关样式 */
@keyframes real-bounceIn {
    0% {
        opacity: 0;
        transform: scale(.5) rotateX(48deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg)
    }
}
.layer-realtime-police-parent {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    z-index: 111111;
}
.layer-realtime-police {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    padding: 0;
    width: 1120px;
    height: 422px;
    z-index: 11111111111;
    -webkit-overflow-scrolling: touch;
    /* background-color: #fff; */
    -webkit-background-clip: content;
    border-radius: 10px;
    box-shadow: 0px 1px 50px rgb(0 0 0 / 75%);
    /* transform: rotateX(38deg);*/
    animation-fill-mode: both;
    animation-duration: .5s;
    animation-name: real-bounceIn;
}
.layer-realtime-police::after {
    content: '';
    position: absolute;
    left: -5px;
    top: 25px;
    right: -5px;
    bottom: 25px;
    background: red;
    border-radius: 10px;
    filter: blur(120px);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: -1;
}
.layer-realtime-police table {
    width: 100%;
    border-collapse: collapse;
}
.layer-realtime-police table tr {
    display: flex;
}
.layer-realtime-police table th,
.layer-realtime-police table td {
    flex: 1;
    padding: 0 10px;
    border-top: 1px solid rgba(231, 234, 243, 0.7);
    border-left: 1px solid rgba(231, 234, 243, 0.7);
    width: 25%;
    height: auto !important;
    line-height: 36px;
    font-weight: normal;
    text-align: center;
    word-break: break-all;
    color: rgb(110, 110, 110);
}
.layer-realtime-police table tr td:last-child {
    border-right: 1px solid rgba(231, 234, 243, 0.7);
}
.layer-realtime-police table tr:last-child td {
    border-bottom: 1px solid rgba(231, 234, 243, 0.7);
}
.layer-realtime-police td:nth-child(odd) {
    color: #15a2fe;
}
.layer-realtime-police table tbody tr:nth-child(7) td:nth-child(1),
.layer-realtime-police table tbody tr:nth-child(8) td:nth-child(1),
.layer-realtime-police table tbody tr:nth-child(9) td:nth-child(1) {
    flex: 0 0 auto;
    width: 25% !important;
    box-sizing: border-box;
}
.layer-realtime-police table tbody tr:nth-child(7) td:nth-child(2),
.layer-realtime-police table tbody tr:nth-child(8) td:nth-child(2),
.layer-realtime-police table tbody tr:nth-child(9) td:nth-child(2) {
    flex: 0 0 auto;
    width: 75% !important;
    box-sizing: border-box;
}
.layer-realtime-police table tbody tr:nth-child(6) td:last-child,
.layer-realtime-police table tbody tr:nth-child(6) td:nth-child(2) {
    display: flex;
    align-items: center;
    text-align: center;
}
.layer-realtime-police table tbody tr:nth-child(6) td:last-child textarea {
    flex: 1;
    margin: 4px 0;
    padding: 4px;
    height: 56px;
    resize: none;
    border: 1px solid rgba(231, 234, 243, 1);
    border-radius: 5px;
    box-sizing: border-box;
}
.layer-realtime-police table tbody tr:nth-child(6) input {
    margin: 0 5%;
    padding: 0 6px;
    width: 90%;
    height: 32px;
    line-height: 32px;
    cursor: pointer;
    border: 1px solid rgba(231, 234, 243, 1);
    border-radius: 5px;
    box-sizing: border-box;
    vertical-align: top;
    text-align: center;
}
.layer-realtime-police table tbody tr:nth-child(6) input:focus,
.layer-realtime-police table tbody tr:nth-child(6) textarea:focus {
    outline: none;
}
.layer-realtime-police table td button {
    width: 72px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    color: #fff;
    background: #15a2fe;
    border: 1px solid #3680C1;
    border-radius: 4px;
    cursor: pointer;
}
.layer-realtime-police table td .generate {
    background: #15a2fe;
    border: 1px solid #15a2fe;
}
.layer-realtime-police table td .revoke {
    background: rgb(228, 100, 25);
    border: 1px solid rgb(228, 100, 25);
}
.layer-realtime-police table td .a-key-to-call,
.layer-realtime-police table td .push-number-one {
    background: red;
    border: 1px solid red;
}
.layer-realtime-police table td .video-intercom {
    background: rgb(4, 243, 24);
    border: 1px solid rgb(4, 243, 24);
}
.layer-realtime-police .layer-header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background: linear-gradient(45deg, #ff0000, #ff3c3c);
    border-radius: 10px 10px 0 0;
}
.layer-realtime-police .layer-header h4 {
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    font-size: 24px;
}
.layer-realtime-police .layer-header .close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: url('/images/close-white.png') no-repeat;
    background-size: 100% 100%;
}
.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 .layer-content {
    position: absolute;
    top: 40px;
    width: 100%;
    height: calc(100% - 40px);
    border-radius: 0 0 10px 10px;
    background: #fff;
}
.layer-realtime-police ul {
    position: absolute;
    top: 0;
    bottom: 40px;
    height: auto;
    width: 64%;
    padding-top: 4px;
    background: #fff;
}
.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;
    background: #fff;
    border-radius: 0 0 10px 10px;
}
.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;
}
.layer-realtime-police .layer-realtime-video {
    padding: 4px;
    padding-left: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 64%;
    bottom: 40px;
    width: auto;
    height: auto;
    text-align: center;
    background: #fff;
}
.layer-realtime-police .layer-realtime-video video {
    width: 100%;
    height: 100%;
    object-fit:fill;
}
/* Ã¥Ë†â€ Ã©Â¡ÂµÃ§Å¡â€žÃ¦Â Â·Ã¥Â¼ÂÃ¨Â°Æ’æ•´ */
.layui-laypage-real_time {
    float: right;
}
.layui-laypage-real_time .layui-laypage-em {
    background: rgba(55, 125, 255, 1) !important;
}
.layui-laypage-real_time .layui-laypage-skip,
.layui-laypage-real_time .layui-laypage-count,
.layui-laypage-real_time .layui-laypage-limits {
    display: none !important;
}
.client-left-map {
    width: 34% !important;
    left: 66% !important;
}
#mainMapWidget {
    width: 100% !important;
}