mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 21:06:15 -08:00
56 lines
1.3 KiB
SCSS
56 lines
1.3 KiB
SCSS
.art-video-player {
|
|
.art-contextmenus {
|
|
display: none;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
z-index: 120;
|
|
left: 0;
|
|
top: 0;
|
|
min-width: 200px;
|
|
padding: 5px 0;
|
|
background: rgba(0, 0, 0, 0.9);
|
|
border-radius: 3px;
|
|
|
|
.art-contextmenu {
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
display: block;
|
|
color: #fff;
|
|
padding: 10px 15px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
span {
|
|
display: inline-block;
|
|
padding: 0 7px;
|
|
&:hover,
|
|
&.art-current {
|
|
color: #00c9ff;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.art-contextmenu-show {
|
|
.art-contextmenus {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|