play/pause button
This commit is contained in:
@@ -129,6 +129,37 @@ h1 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* --- transport ---------------------------------------------------------- */
|
||||
|
||||
#transport {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
#playpause {
|
||||
width: 100%;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
padding: 12px 24px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #43213a;
|
||||
background: var(--panel);
|
||||
color: var(--text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Paused is the state that wants acting on, so that is the one wearing the
|
||||
accent. */
|
||||
#playpause.paused {
|
||||
background: var(--accent);
|
||||
border-color: var(--accent);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
#playpause:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* --- list --------------------------------------------------------------- */
|
||||
|
||||
#list {
|
||||
|
||||
Reference in New Issue
Block a user