mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
完成selector
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user