zhgdyun/src/components/videoModule/videoModule.less
2022-06-08 14:51:11 +08:00

352 lines
7.4 KiB
Plaintext

.videoOverview{
background-color: #0D1534;
height: 100%;
}
.oneVideoContent{
height: 100%;
// background-color: #2FBBEC;
overflow: hidden;
}
.videoContent{
height: calc(100% - 60px);
// background-color: #2FBBEC;
overflow: hidden;
}
.videoContent1{
.videoItem{
width: calc(100% - 2px);
height: calc(100% - 2px);
}
}
.videoContent4{
.videoItem{
width: calc(50% - 2px);
height: calc(50% - 2px);
}
}
.videoContent9{
.videoItem{
width: calc(33.33% - 2px);
height: calc(33.33% - 2px);
}
}
.videoInner2,.videoInner{
width: 100%;
height: 100%;
}
.videoItem{
background-color: #030303;
border: 1px solid rgba(255, 255, 255, 0.3);
float: left;
position: relative;
&.active{
border-color: #CDBE23;
}
&:hover{
.top .close{
display: inline-block;
}
}
.top{
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1005;
// background-color: #030303;
.winNumName{
color: #ffffff;
font-size: 12px;
text-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
padding: 10px 18px;
display: inline-block;
}
.close{
padding: 8px 18px;
float: right;
cursor: pointer;
display: none;
}
}
}
.noVideoBox{
color: #ffffff;
text-align: center;
font-size: 15px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
p{
margin-top: 7px;
}
}
.videoControl{
padding: 0 16px;
display: flex;
align-items: center;
justify-content: space-between;
height: 60px;
}
/deep/.selectDev{
margin-right: 26px;
.el-input__inner{
background-color: transparent;
border-color: #1E5787;
color: #ffffff;
}
}
.devDetail{
color: #ffffff;
font-size: 14px;
line-height: 20px;
.addr{
opacity: 0.6;
font-size: 12px;
margin-top: 5px;
}
.name{
line-height: 16px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
&.active{
color: #2FBBEC;
}
}
.videoType{
border-radius: 3px;
height: 34px;
width: 60px;
text-align: center;
line-height: 34px;
color: #ffffff;
font-size: 15px;
margin-right: 17px;
background-color: rgba(47, 187, 236, 0.3);
display: inline-block;
cursor: pointer;
&.active{
background-color: #2FBBEC;
}
}
.operateBar{
i{
width: 23px;
height: 23px;
display: inline-block;
margin-left: 30px;
cursor: pointer;
background-repeat: no-repeat!important;
background-position: center!important;
}
}
.one{
background: url('../../assets/images/overview3/one.png');
&:hover,&.active{
background: url('../../assets/images/overview3/one_active.png');
}
}
.four{
background: url('../../assets/images/overview3/four.png');
&:hover,&.active{
background: url('../../assets/images/overview3/four_active.png');
}
}
.nine{
background: url('../../assets/images/overview3/nine.png');
&:hover,&.active{
background: url('../../assets/images/overview3/nine_active.png');
}
}
.img{
background: url('../../assets/images/overview3/img.png');
&:hover,&.active{
background: url('../../assets/images/overview3/img_active.png');
}
}
.control{
background: url('../../assets/images/overview3/control.png');
&:hover,&.active{
background: url('../../assets/images/overview3/control_active.png');
}
}
.controlBox{
position: absolute;
bottom: 60px;
right: 0;
background-color: rgba(13, 21, 52, 0.8);
width: 320px;
text-align: center;
padding-bottom: 20px;
border-radius: 3px;
z-index: 1002;
.top{
padding-top: 20px;
.arrow{
position: absolute;
opacity: 0.6;
cursor: pointer;
&:hover{
opacity: 1;
}
}
.arrow1{
top: 58px;
left: 155px;
}
.arrow2{
top: 90px;
left: 223px;
transform: rotateZ(45deg);
}
.arrow3{
top: 150px;
left: 242px;
transform: rotateZ(90deg);
}
.arrow4{
top: 207px;
left: 218px;
transform: rotateZ(135deg);
}
.arrow5{
top: 237px;
left: 155px;
transform: rotateZ(180deg);
}
.arrow8{
top: 90px;
left: 86px;
transform: rotateZ(-45deg);
}
.arrow7{
top: 150px;
left: 66px;
transform: rotateZ(-90deg);
}
.arrow6{
top: 207px;
left: 86px;
transform: rotateZ(-135deg);
}
}
.bar{
background-color: #0D1534;
border-radius: 3px;
color: #ffffff;
display: flex;
align-items: center;
width: 206px;
padding: 0 13px 0 16px;
margin: 0 auto 8px;
.slider{
width: calc(100% - 50px);
margin-left: 12px;
}
}
}
/deep/.slider{
.el-slider__runway{
height: 3px;
background-color: rgba(77, 175, 207, 0.36);
border-radius: 5px;
}
.el-slider__bar{
height: 3px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
background-color: #1DF2FF;
}
.el-slider__button{
width: 6px;
height: 6px;
background-color: #1DF2FF;
border: 2px solid #067A90;
}
.el-slider__button-wrapper{
top: -16px;
}
}
.historyDate{
display: inline-flex;
align-items: center;
i{
font-size: 24px;
color: rgba(255, 255, 255, 0.5);
margin: 0 20px;
}
.selectDev{
margin: 0;
}
}
.forward-l{
transform: rotateZ(-180deg);
}
/deep/.videoClass{
width: 100%;
height: 100%;
background-color: #030303;
outline: none;
border: none;
}
/deep/.vjs-big-play-button,/deep/.vjs-error-display,/deep/.vjs-modal-dialog{
display: none;
}
/deep/.videoClass video{
width: 100%;
height: 100%;
outline: none;
border: none;
position: relative;
z-index: 999;
&:focus{
outline: none;
border: none;
}
}
.timeLineBox{
background-color: #030303;
border-top: 1px solid rgba(47, 187, 236, 0.5);
height: 40px;
position: absolute;
width: calc(100% - 2px);
left: 1px;
bottom:61px;
z-index: 1001;
display: flex;
align-items: center;
font-size: 12px;
color: rgba(255, 255, 255, 0.8);
display: none;
.timeItem{
flex: 1;
position: relative;
height: 100%;
&::after{
content: "";
position: absolute;
width: 1px;
height: 13px;
background-color: rgba(47, 187, 236, 0.5);
right: 0;
top: 0;
}
.time{
text-align: right;
position: absolute;
top: 17px;
right: -12px;
}
}
}
.mouseLine{
width: 1px;
height: 100%;
background-color: #ffffff;
position: absolute;
top: 0;
left: 0;
}