From 226516aca48e97d3dc4e4df213bc2023e64b1afd Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 27 Mar 2022 21:29:24 +0200 Subject: Initial commit --- css/player.css | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 css/player.css (limited to 'css/player.css') diff --git a/css/player.css b/css/player.css new file mode 100644 index 0000000..08da44f --- /dev/null +++ b/css/player.css @@ -0,0 +1,94 @@ +#player { + position: fixed; + bottom: 0; + left: 0; + right: 0; + height: 56px; + width: 100%; + border-top: 1px solid rgba(0, 0, 0, .175); + background-color: rgba(0, 0, 0, .02); + transition: background-color 200ms; +} + +#player:hover { + background-color: rgba(0, 0, 0, .03); +} + +#player-inner { + text-align: center; + height: 100%; +} + +#player-buttons, #player-info, #player-seekbar-area { + display: inline-flex; + align-items: center; + justify-content: center; + height: 100%; + text-align: center; + vertical-align: middle; +} + +.player-button { + display: inline-block; + padding: 5px; + width: 24px; + height: 24px; +} + +.player-button:hover .player-button-icon { + opacity: .75; +} + +.player-button:active .player-button-icon { + opacity: .5; +} + +#player-artwork { + width: 42px; + height: 42px; + margin-right: 8px; + background: rgb(208, 208, 208); +} + +#player-info-text { + font-size: 14px; + text-align: left; + display: grid; + grid-template-columns: 1fr; + grid-template-rows: 1fr 1fr; +} + +#player-info-text-title { + font-weight: 600; +} + +#player-info-text-title, #player-info-text-set, #player-info-text { + text-overflow: ellipsis; + width: 256px; + overflow: hidden; +} + +#player-button-load-icon { + display: inline-block; + width: 24px; + height: 24px; +} + +#player-seekbar { + width: 35vw; + margin: 0 10px; +} + +#player-seekbar-elapsed, #player-seekbar-total { + font-size: 12px; + display: inline-block; + width: 48px; +} + +#player-seekbar-total { + margin-right: 5px; +} + +.player-button-disabled .player-button-icon { + opacity: .25 !important; +} \ No newline at end of file -- cgit