Update templates/room.html
Browse files- templates/room.html +9 -8
templates/room.html
CHANGED
|
@@ -23,16 +23,17 @@
|
|
| 23 |
.track-title { text-align:center; margin-top:12px; font-family:'Doto',sans-serif; font-size:20px; }
|
| 24 |
.track-artist { text-align:center; color:var(--text-secondary); margin-top:4px; font-size:14px; }
|
| 25 |
.controls { display:flex; justify-content:center; gap:20px; margin-top:18px; align-items:center; }
|
| 26 |
-
.control-btn { width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:var(--bg-surface); border:none; }
|
| 27 |
-
.control-btn.primary { background:var(--accent); color:white; width:72px; height:72px; font-size:
|
|
|
|
| 28 |
.progress { margin-top:14px; padding:0 20px; }
|
| 29 |
.progress .times { display:flex; justify-content:space-between; font-size:13px; color:var(--text-secondary); }
|
| 30 |
.playlist { margin-top:12px; }
|
| 31 |
.list-row { display:flex; align-items:center; justify-content:space-between; padding:12px; border-radius:10px; background:transparent; }
|
| 32 |
.list-row.current { background:var(--bg-surface); }
|
| 33 |
.mini { font-size:13px; color:var(--text-secondary); }
|
| 34 |
-
.fab-upload { position: fixed; right:18px; bottom:24px; border-radius:14px; padding:12px 14px; background:var(--accent); color:white; font-weight:600; box-shadow:0 8px 20px rgba(51,102,153,0.12); }
|
| 35 |
-
.enable-audio { position:fixed; left:14px; bottom:22px; background:rgba(17,17,17,0.03); padding:8px 10px; border-radius:10px; font-size:13px; color:var(--text-secondary); }
|
| 36 |
/* responsive tweaks */
|
| 37 |
@media(min-width:520px){ .container { max-width:520px; } }
|
| 38 |
</style>
|
|
@@ -66,7 +67,7 @@
|
|
| 66 |
<section id="tab-now" class="panel">
|
| 67 |
<div class="album-wrap">
|
| 68 |
<div id="album" class="album">
|
| 69 |
-
<img id="album-img" src="/
|
| 70 |
</div>
|
| 71 |
</div>
|
| 72 |
|
|
@@ -79,9 +80,9 @@
|
|
| 79 |
</div>
|
| 80 |
|
| 81 |
<div class="controls">
|
| 82 |
-
<button id="btn-prev" class="control-btn" title="Previous">
|
| 83 |
-
<button id="btn-play" class="control-btn primary" title="Play/Pause">▶</button>
|
| 84 |
-
<button id="btn-next" class="control-btn" title="Next">
|
| 85 |
</div>
|
| 86 |
</section>
|
| 87 |
|
|
|
|
| 23 |
.track-title { text-align:center; margin-top:12px; font-family:'Doto',sans-serif; font-size:20px; }
|
| 24 |
.track-artist { text-align:center; color:var(--text-secondary); margin-top:4px; font-size:14px; }
|
| 25 |
.controls { display:flex; justify-content:center; gap:20px; margin-top:18px; align-items:center; }
|
| 26 |
+
.control-btn { width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:var(--bg-surface); border:none; font-size:18px; transition:transform .18s ease, box-shadow .18s ease; }
|
| 27 |
+
.control-btn.primary { background:var(--accent); color:white; width:72px; height:72px; font-size:22px; border-radius:14px; }
|
| 28 |
+
.control-btn.primary.playing { transform:scale(1.03); box-shadow:0 8px 20px rgba(51,102,153,0.12); }
|
| 29 |
.progress { margin-top:14px; padding:0 20px; }
|
| 30 |
.progress .times { display:flex; justify-content:space-between; font-size:13px; color:var(--text-secondary); }
|
| 31 |
.playlist { margin-top:12px; }
|
| 32 |
.list-row { display:flex; align-items:center; justify-content:space-between; padding:12px; border-radius:10px; background:transparent; }
|
| 33 |
.list-row.current { background:var(--bg-surface); }
|
| 34 |
.mini { font-size:13px; color:var(--text-secondary); }
|
| 35 |
+
.fab-upload { position: fixed; right:18px; bottom:24px; border-radius:14px; padding:12px 14px; background:var(--accent); color:white; font-weight:600; box-shadow:0 8px 20px rgba(51,102,153,0.12); z-index:30; }
|
| 36 |
+
.enable-audio { position:fixed; left:14px; bottom:22px; background:rgba(17,17,17,0.03); padding:8px 10px; border-radius:10px; font-size:13px; color:var(--text-secondary); z-index:30; }
|
| 37 |
/* responsive tweaks */
|
| 38 |
@media(min-width:520px){ .container { max-width:520px; } }
|
| 39 |
</style>
|
|
|
|
| 67 |
<section id="tab-now" class="panel">
|
| 68 |
<div class="album-wrap">
|
| 69 |
<div id="album" class="album">
|
| 70 |
+
<img id="album-img" src="https://cdn.dribbble.com/userupload/23374753/file/original-090a6e986e1faa15b0929d0bd3960318.gif" alt="album art" style="width:100%; height:100%; object-fit:cover;" />
|
| 71 |
</div>
|
| 72 |
</div>
|
| 73 |
|
|
|
|
| 80 |
</div>
|
| 81 |
|
| 82 |
<div class="controls">
|
| 83 |
+
<button id="btn-prev" class="control-btn" title="Previous" aria-label="Previous">◀◀</button>
|
| 84 |
+
<button id="btn-play" class="control-btn primary" title="Play/Pause" aria-label="Play/Pause">▶</button>
|
| 85 |
+
<button id="btn-next" class="control-btn" title="Next" aria-label="Next">▶▶</button>
|
| 86 |
</div>
|
| 87 |
</section>
|
| 88 |
|