mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31:20 -08:00
add switcher
This commit is contained in:
1 parent
65fd3fb9e6
commit
74d637fc65
10 files changed
+248
-38
No files matched your search
@@ -17,4 +17,5 @@
|
||||
@import './mini.scss';
|
||||
@import './autoSize.scss';
|
||||
@import './flip.scss';
|
||||
@import './switcher.scss';
|
||||
@import './balloon.scss';
|
||||
@@ -0,0 +1,30 @@
|
||||
.art-video-player {
|
||||
.art-control-switcher {
|
||||
position: relative;
|
||||
.art-switcher-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-switcher-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-switcher-list {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user