完成selector

This commit is contained in:
Harvey committed 2020-08-25 14:24:34 +08:00
1 parent 4d77887c03
commit c621687988
12 files changed
+148 -130

No files matched your search

@@ -0,0 +1,30 @@
.art-video-player {
.art-control-selector {
position: relative;
.art-selector-list {
display: none;
position: absolute;
bottom: 35px;
width: 100px;
padding: 5px 0;
text-align: center;
color: #fff;
background: rgba(0, 0, 0, 0.8);
border-radius: 3px;
.art-selector-item {
height: 30px;
line-height: 30px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
&:hover {
background-color: rgba(255, 255, 255, 0.1);
}
}
}
&:hover .art-selector-list {
display: block;
}
}
}