mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 09:59:41 +05:00
feat: add a menu for selecting voiceover, source and episode inside of a player
This commit is contained in:
parent
0a5b8a59e6
commit
5264534693
5 changed files with 266 additions and 142 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
--media-primary-color: #fff;
|
||||
--media-secondary-color: transparent;
|
||||
--media-menu-background: rgba(28, 28, 28, 0.6);
|
||||
--media-menu-background: rgba(28, 28, 28, 0.8);
|
||||
--media-text-color: var(--_primary-color);
|
||||
--media-control-hover-background: var(--media-secondary-color);
|
||||
|
||||
|
@ -116,11 +116,12 @@
|
|||
--media-settings-menu-min-width: calc(10 * var(--base));
|
||||
--media-menu-transform-in: translateY(0) scale(1);
|
||||
--media-menu-transform-out: translateY(20px) rotate(3deg) scale(1);
|
||||
background: rgb(30 30 30 / .6);
|
||||
background: rgba(28, 28, 28, 0.8);
|
||||
min-width: var(--media-settings-menu-min-width, 170px);
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
bottom: calc(3 * var(--base));
|
||||
padding: 0;
|
||||
padding-block: calc(0.15 * var(--base));
|
||||
padding-inline: calc(0.6 * var(--base));
|
||||
margin-right: 10px;
|
||||
|
@ -131,6 +132,10 @@
|
|||
max-height: 50%;
|
||||
}
|
||||
|
||||
.media-controller media-chrome-dialog > div {
|
||||
word-wrap: normal !important;
|
||||
}
|
||||
|
||||
.media-settings-menu[hidden] {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue