Align responsive player controls
This commit is contained in:
+7
-5
@@ -44,11 +44,11 @@
|
||||
.scrub:hover .scrub-hover { display: block; }
|
||||
|
||||
/* control row */
|
||||
.ctrl-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
.ctrl-row button { background: none; border: none; color: #fff; cursor: pointer; padding: 4px; border-radius: 50%; display: grid; place-items: center; }
|
||||
.ctrl-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
||||
.ctrl-row button { width: 30px; height: 30px; flex: 0 0 30px; background: none; border: none; color: #fff; cursor: pointer; padding: 4px; border-radius: 50%; display: grid; place-items: center; }
|
||||
.ctrl-row button:hover { background: rgba(255,255,255,.15); }
|
||||
.ctrl-row svg { width: 22px; height: 22px; fill: currentColor; }
|
||||
.time-label { font-size: 13px; color: #ddd; font-variant-numeric: tabular-nums; margin-left: 4px; user-select: none; }
|
||||
.time-label { font-size: 13px; color: #ddd; font-variant-numeric: tabular-nums; margin-left: 4px; user-select: none; white-space: nowrap; }
|
||||
.spacer { flex: 1; }
|
||||
.vol-wrap { display: flex; align-items: center; gap: 4px; }
|
||||
.vol-wrap input { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: #fff; }
|
||||
@@ -100,10 +100,12 @@
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.page { padding: 8px; }
|
||||
.ctrl-row { gap: 4px; }
|
||||
.ctrl-row button { min-width: 36px; min-height: 34px; }
|
||||
.ctrl-row { gap: 3px; }
|
||||
.ctrl-row button { width: 32px; height: 32px; flex-basis: 32px; }
|
||||
.ctrl-row svg { width: 20px; height: 20px; }
|
||||
.time-label { font-size: 11px; }
|
||||
.ctrl-row .spacer { display: none; }
|
||||
.vol-wrap input { width: 54px; opacity: 1; }
|
||||
.hours span:nth-child(even) { display: none; }
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user