cc-jjsp-web/bns/css/video/video.css

523 lines
8.2 KiB
CSS

html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color: transparent;
color: #000000;
}
/*球机视频框*/
.ballsplit {
width: 96.9%;
height: 99%;
margin-left: 5%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
overflow-y: auto;
overflow-x: hidden;
margin: 0.3%;
pointer-events: auto;
}
.layui-btn+.layui-btn{
margin: unset !important;
}
.content {
width: 100%;
height: 100%;
border: none;
display: flex;
background-color: white;
}
#splitScreen {
text-align: center;
width: 100%;
height: 5%;
float: left;
display: flex;
justify-content: center;
align-items: center;
}
#one {
width: 10%;
height: 80%;
background-image: url(../../img/video/check/one_check.png);
background-repeat: no-repeat;
background-color: transparent;
border-style: none;
}
#four {
width: 10%;
height: 80%;
background-image: url(../../img/video/no_check/four.png);
background-repeat: no-repeat;
background-color: transparent;
border-style: none;
}
#nine {
width: 10%;
height: 80%;
background-image: url(../../img/video/no_check/nine.png);
background-repeat: no-repeat;
background-color: transparent;
border-style: none;
}
.content_left {
width: 20%;
height: 100%;
border: none;
position: relative;
}
.content_video {
width: calc(80% - 20px);
height: calc(100% - 20px);
padding: 10px;
}
.operate {
width: 100%;
height: 30%;
}
.list {
width: 100%;
height: 60%;
}
.operate_top {
width: 100%;
height: 70%;
display: flex;
}
.operate_bottom {
width: 100%;
height: 30%;
display: flex;
}
.box {
width: 33.33333333%;
height: 100%;
}
.left {
width: 20%;
height: 100%;
}
.middle {
width: 60%;
height: 100%;
}
.right {
width: 20%;
height: 100%;
}
.videoLocal, .videoRemote, .photoLocal, .photoRemote {
position: relative;
width: 100%;
height: 50%;
text-align: center;
flex-direction: column-reverse;
font-size: 13px;
display: flex;
}
.left img, .right img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.topBtn img {
position: absolute;
top: 100%;
left: 50%;
transform: translate(-50%, -100%);
}
.leftBtn img {
position: absolute;
top: 50%;
left: 100%;
transform: translate(-100%, -50%);
}
.rightBtn img {
position: absolute;
top: 50%;
transform: translate(0%, -50%);
}
.bottomBtn img {
position: absolute;
left: 50%;
transform: translate(-50%, 0%);
}
.middle_top {
width: 100%;
height: 33.33333333%;
display: flex;
}
.middle_top div {
position: relative;
width: 33.33333333%;
height: 100%;
}
.bot_box {
width: 100%;
height: 100%;
display: flex;
position: relative;
text-align: center;
flex-direction: column-reverse;
font-size: 16px;
}
.bot_box_left {
width: 40%;
height: 50%;
position: absolute;
top: 40%;
transform: translate(20%, -50%);
}
.bot_box_right {
width: 40%;
height: 50%;
position: absolute;
top: 40%;
transform: translate(100%, -50%);
}
.bot_box_left img {
position: absolute;
top: 50%;
left: 100%;
transform: translate(-97%, -50%);
}
.bot_box_right img {
position: absolute;
top: 50%;
left: 100%;
transform: translate(-100%, -50%);
}
.title {
padding-top: 5%;
width: 100%;
height: 50px;
display: flex;
align-items: center;
font-size: 18px;
}
hr {
background-color: #D9D9D9;
}
.title p:nth-child(1) {
width: 16px;
height: 4px;
/* border: 1px solid #2F82FB; */
background-color: #2F82FB;
/* border-radius: 14px 14px 0 0; */
-webkit-transform: rotate(90deg);
margin: 2px 0 0 2px;
/* -webkit-border-radius: 14px 14px 0 0; */
-moz-border-radius: 14px 14px 0 0;
-ms-border-radius: 14px 14px 0 0;
-o-border-radius: 14px 14px 0 0;
}
.input {
width: 100%;
height: 50px;
display: flex;
align-items: center;
font-size: 18px;
}
.input input {
height: 45px;
margin-left: 20px;
margin-right: 20px;
}
.layui-btn {
height: 45px;
}
.operate img {
cursor: pointer;
}
.btn_bottom {
position: absolute;
bottom: 1%;
left: 1%;
width: 97%;
display: flex;
}
.btn_ptz {
width: 50%;
margin-right: unset;
}
.btn_rank {
width: 50%;
margin-left: unset !important;
}
.layui-btn {
line-height: 45px;
}
.layui_btn_custom {
border: 1px #c2c2c2 solid;
text-align: center;
display: flex;
justify-content: center;
font-size: 16px;
color: black;
}
.layui_btn_custom:hover {
color: black;
}
.checkBtn {
background-color: #2F82FB !important;
color: white !important;
}
.unCheckBtn {
background: 0 0;
}
.video_box {
width: 100%;
height: 96%;
}
.list-tree {
width: 100%;
height: 75%;
}
#ballTree {
width: auto !important;
}
/* lay主题风格*/
.dtree-lay-item-this {
background-color: #d2d2d2 !important;
}
.dtree-nav-div {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.dtree-lay-item:hover {
background-color: #eaeceb !important;
}
.dtree-lay-item cite {
font-size: 16px !important;
}
.dtree-lay-dtreefont {
font-size: 16px !important;
}
.dtree-lay-ficon {
font-size: 16px !important; /* color:#393D49!important; */
}
.top {
position: sticky;
top: 0;
background: white !important;
z-index: 100000;
}
/*全屏操作按钮 */
#videoControlBtn {
width: 184px;
height: 224px;
position: absolute;
top: 68%;
left: 88%;
z-index: 99999999999999;
flex-direction: column;
pointer-events: auto;
}
#videoControlBtn button {
width: 32px;
height: 32px;
margin: 0;
background-size: 100% 100%;
border-style: none;
cursor: pointer;
z-index: 99999999999999;
}
.layout {
display: flex;
align-items: center;
justify-content: start;
box-sizing: border-box;
}
#videoControlBtn>div:nth-of-type(1) {
width: 100%;
height: 184px;
background: url(../../img/video/video_oper_btn/back.png) no-repeat 0 0/100% 100%;
justify-content: space-between;
}
#videoControlBtn>div:nth-of-type(1)>div {
width: 30%;
height: 100%;
justify-content: center;
}
#videoControlBtn>div:nth-of-type(2) {
width: 100%;
height: 40px;
}
#videoControlBtn #left {
background: url(../../img/video/video_oper_btn/leftBtn.png) no-repeat 0 0/100% 100%;
}
#videoControlBtn #right {
background: url(../../img/video/video_oper_btn/rightBtn.png) no-repeat 0 0/100% 100%;
}
#videoControlBtn #up {
background: url(../../img/video/video_oper_btn/topBtn.png) no-repeat 0 0/100% 100%;
}
#videoControlBtn #down {
background: url(../../img/video/video_oper_btn/bottomBtn.png) no-repeat 0 0/100% 100%;
}
#videoControlBtn #amplify {
background: url(../../img/video/video_oper_btn/amplify.png) no-repeat 0 0/100% 100%;
}
#videoControlBtn #shrink {
background: url(../../img/video/video_oper_btn/shrink.png) no-repeat 0 0/100% 100%;
}
/*滚动条样式start*/
::-webkit-scrollbar {
width: 5px;
height: 10px;
}
::-webkit-scrollbar-track {
background: #e7e7f1 !important;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: rgba(94, 96, 97, 0.43) !important;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(94, 96, 97, 0.43) !important;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:active {
background: rgba(94, 96, 97, 0.43) !important;
border-radius: 10px;
}
/*滚动条样式end*/
/**
* 全屏样式
*/
.layui-table-init {
background-color: transparent !important;
}
.layui-btn + .layui-btn {
margin: 0 0 0 10px;
}
.layui-table-cell{
padding: 6px 10px !important;
}
#custom-context-menu {
position: fixed;
display: none;
min-width: 200px;
background-color: white;
border-radius: 6px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
z-index: 2147483647; /* 最大z-index值 */
overflow: hidden;
/* 新增以下属性 */
pointer-events: auto !important;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.context-menu-item {
padding: 10px 16px;
cursor: pointer;
color: #333;
font-size: 14px;
transition: all 0.2s;
/* 新增以下属性 */
pointer-events: auto !important;
touch-action: manipulation;
}
.context-menu-item:hover {
background-color: #f0f0f0;
}
.context-menu-divider {
height: 1px;
background-color: #eee;
margin: 4px 0;
}