diff options
author | 2021-09-12 23:11:25 +0200 | |
---|---|---|
committer | 2021-09-12 23:11:25 +0200 | |
commit | 16dab011c575eaf96630cab406ec2d8086403d0b (patch) | |
tree | af53af45b8cb52317cef3d4d59216b1c58d8d8ff /apps/Player/styles/_player.scss | |
parent | d79f4c0bf3dae76eaae0d36469f5b279272d6944 (diff) | |
download | my_apps-16dab011c575eaf96630cab406ec2d8086403d0b.tar.gz my_apps-16dab011c575eaf96630cab406ec2d8086403d0b.tar.bz2 my_apps-16dab011c575eaf96630cab406ec2d8086403d0b.zip |
added youtube & player apps
Diffstat (limited to 'apps/Player/styles/_player.scss')
-rw-r--r-- | apps/Player/styles/_player.scss | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/apps/Player/styles/_player.scss b/apps/Player/styles/_player.scss new file mode 100644 index 0000000..8cf37cd --- /dev/null +++ b/apps/Player/styles/_player.scss @@ -0,0 +1,70 @@ +.player { + height: 100%; + width: 100%; + position: relative; + background-color: #000; + + & > div:nth-of-type(1) { + height: calc(100% - 2em); + width: 100%; + padding-bottom: .5em; + + video { + height: 100%; + width: 100%; + object-fit: contain; + } + } + + & > div:nth-of-type(2) { + width: auto; + min-width: 25em; + position: absolute; + top: 0; + left: 0; + bottom: 2em; + background-color: var(--color-glass); + transition: .3s transform; + border-top-right-radius: 1em; + border-bottom-right-radius: 1em; + border-right: 1px solid var(--color-window-border-bottom); + + li { + padding: .5em 2em .5em .5em; + white-space: nowrap; + + span { + padding-right: 1em; + } + + @media(hover: hover) { + &:hover { + background-color: var(--color-glass-alt); + } + } + } + + & > div { + position: absolute; + top: 50%; + right: -0.5em; + padding: 2em .5em; + border-radius: .5em; + transform: translateY(-50%); + background-color: var(--color-window-menu-alt); + color: var(--color-text-alt); + border: 1px solid var(--color-window-border-bottom); + transition: .3s background; + + &:hover { + background-color: var(--color-window-menu); + } + } + } + +} + +.activeItem { + color: var(--color-text-alt); + font-weight: 600; +} |