mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 07:46:17 -08:00
103 lines
2.9 KiB
Plaintext
103 lines
2.9 KiB
Plaintext
.art-video-player {
|
|
.art-settings {
|
|
display: none;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
z-index: 90;
|
|
left: auto;
|
|
overflow: hidden;
|
|
border-radius: 3px;
|
|
transform-origin: bottom right;
|
|
right: var(--art-player-padding);
|
|
bottom: var(--art-control-height);
|
|
transform: scale(var(--art-settings-scale));
|
|
transition: all var(--art-transition-duration) ease;
|
|
background-color: var(--art-widget-background);
|
|
|
|
.art-setting-panel {
|
|
display: none;
|
|
flex-direction: column;
|
|
|
|
&.art-current {
|
|
display: flex;
|
|
}
|
|
|
|
.art-setting-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 35px;
|
|
padding: 0 5px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
|
|
&:hover {
|
|
color: #fff;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
&.art-current {
|
|
color: var(--art-theme);
|
|
}
|
|
|
|
.art-icon-check {
|
|
visibility: hidden;
|
|
height: 15px;
|
|
}
|
|
|
|
&.art-current .art-icon-check {
|
|
visibility: visible;
|
|
}
|
|
|
|
.art-setting-item-left {
|
|
.art-center();
|
|
gap: 5px;
|
|
|
|
.art-setting-item-left-icon {
|
|
.art-center();
|
|
height: var(--art-settings-icon-size);
|
|
width: var(--art-settings-icon-size);
|
|
}
|
|
}
|
|
|
|
.art-setting-item-right {
|
|
.art-center();
|
|
gap: 5px;
|
|
font-size: 12px;
|
|
|
|
.art-setting-item-right-tooltip {
|
|
white-space: nowrap;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.art-setting-item-right-icon {
|
|
.art-center();
|
|
min-width: 32px;
|
|
height: 24px;
|
|
}
|
|
|
|
.art-setting-range {
|
|
height: 3px;
|
|
width: 80px;
|
|
outline: none;
|
|
appearance: none;
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
}
|
|
}
|
|
|
|
.art-setting-item-back {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
}
|
|
}
|
|
|
|
&.art-setting-show {
|
|
.art-settings {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|