Files
Avideo/dist/AVideo.min.css
2024-09-27 01:25:59 +08:00

172 lines
3.0 KiB
CSS

body,
ul,
li {
margin: 0;
padding: 0;
list-style: none;
}
#app,
html,
body {
width: 100%;
height: 100%;
}
a {
text-decoration: none;
}
.active {
color: #61bd12 !important;
}
.high {
position: absolute;
width: 50px;
top: -96px;
text-align: center;
right: -15px;
height: 98px;
display: none;
}
.a_controls i,
.a_top_menu i {
color: #fff;
font-size: 18px;
margin: 0 8px;
cursor: pointer;
position: relative;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
/*清除系统默认样式*/
height: 12px;
/*拖动块高度*/
width: 12px;
/*拖动块宽度*/
background: #fff;
/*拖动块背景*/
border-radius: 50%;
/*外观设置为圆形*/
border: solid 1px #ddd;
/*设置边框*/
}
.a_left_controls span {
color: #fff;
margin-left: 4px;
font-size: 14px;
}
.a_left_controls,
.a_right_controls {
padding: 0 15px;
}
.a_left_controls i:first-child,
.a_right_controls i:last-child {
margin: 0 !important;
}
.avideo {
position: relative;
width: 60%;
height: 600px;
background: #000;
overflow: hidden;
}
.avideo .a_video {
width: 100%;
height: 100%;
position: absolute;
transform-origin: center;
}
.avideo .a_side_menu {
width: 250px;
position: absolute;
height: calc(100% - 37px - 45px);
right: 0;
top: 37px;
background: #202020;
overflow-y: scroll;
}
.avideo .a_side_menu .list_item {
display: block;
width: 100%;
height: 40px;
color: #909090;
line-height: 40px;
padding-left: 10px;
cursor: pointer;
border-bottom: 1px solid #303030;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
box-sizing: border-box;
}
.avideo .a_side_menu .list_item:hover {
color: #61bd12;
}
.avideo .a_top_menu {
position: absolute;
width: 100%;
left: 0;
top: 0;
height: 37px;
background: rgba(75, 75, 75, 0.15);
z-index: 3;
}
.avideo .a_top_menu .a_left_menu {
float: left;
display: flex;
height: 100%;
color: #fff;
align-items: center;
padding-left: 15px;
}
.avideo .a_top_menu .a_right_menu {
float: right;
display: flex;
align-items: center;
height: 100%;
}
.avideo .a_top_menu .a_right_menu i {
width: 25px;
height: 25px;
line-height: 25px;
background: #000;
border-radius: 100%;
text-align: center;
}
.avideo .a_controls {
position: absolute;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 45px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 3;
}
.avideo .a_controls .a_progress {
-webkit-appearance: none;
position: absolute;
top: -4px;
outline: none;
width: 100% !important;
background: -webkit-linear-gradient(#61bd12, #61bd12) no-repeat, #ffffff78;
background-size: 0% 100%;
/*设置左右宽度比例*/
height: 3px;
/*横条的高度*/
}
.avideo .a_controls .a_vip {
position: absolute;
color: #fff;
top: -60px;
padding: 5px 12px;
font-size: 14px;
left: 10px;
background-color: #333;
border-radius: 15px;
}
.avideo .a_controls .icon-suduspeed8 {
font-size: 16px !important;
}