summaryrefslogtreecommitdiff
path: root/css/player.css
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-03-27 21:29:24 +0200
committerMinteck <contact@minteck.org>2022-03-27 21:29:24 +0200
commit226516aca48e97d3dc4e4df213bc2023e64b1afd (patch)
tree60fb4f24b75b120e7e5b0e149069b16367c48aa0 /css/player.css
downloadargon-226516aca48e97d3dc4e4df213bc2023e64b1afd.tar.gz
argon-226516aca48e97d3dc4e4df213bc2023e64b1afd.tar.bz2
argon-226516aca48e97d3dc4e4df213bc2023e64b1afd.zip
Initial commit
Diffstat (limited to 'css/player.css')
-rw-r--r--css/player.css94
1 files changed, 94 insertions, 0 deletions
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