1158 lines
16 KiB
CSS
1158 lines
16 KiB
CSS
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
background: #111;
|
|
color: #e0e0e0;
|
|
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Main media browser
|
|
===================================================== */
|
|
|
|
.music-browser {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
min-width: 0;
|
|
min-height: 0;
|
|
|
|
padding: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
background: #111;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.music-browser-header {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
min-width: 0;
|
|
margin-bottom: 8px;
|
|
|
|
color: #fff;
|
|
}
|
|
|
|
#musicBrowserTitle {
|
|
min-width: 0;
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #fff;
|
|
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#musicBrowserClose {
|
|
flex: 0 0 auto;
|
|
|
|
width: 30px;
|
|
height: 28px;
|
|
|
|
padding: 0;
|
|
|
|
border: 1px solid #555;
|
|
border-radius: 4px;
|
|
|
|
background: #222;
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 18px;
|
|
}
|
|
|
|
#musicBrowserClose:hover {
|
|
background: #333;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Breadcrumb, search and status
|
|
===================================================== */
|
|
|
|
.music-breadcrumb {
|
|
flex: 0 0 auto;
|
|
|
|
min-height: 20px;
|
|
margin-bottom: 6px;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #ccc;
|
|
|
|
font-size: 13px;
|
|
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.music-breadcrumb:empty {
|
|
display: none;
|
|
}
|
|
|
|
.music-breadcrumb .back,
|
|
.music-breadcrumb .crumb {
|
|
color: #7ab7ff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.music-search {
|
|
flex: 0 0 auto;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 8px;
|
|
padding: 9px 10px;
|
|
|
|
border: 1px solid #555;
|
|
border-radius: 5px;
|
|
|
|
background: #222;
|
|
color: #fff;
|
|
}
|
|
|
|
.music-search:focus {
|
|
border-color: #4a90e2;
|
|
outline: none;
|
|
}
|
|
|
|
.music-search::placeholder {
|
|
color: #888;
|
|
}
|
|
|
|
.music-status {
|
|
flex: 0 0 auto;
|
|
|
|
min-height: 18px;
|
|
margin-bottom: 7px;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #aaa;
|
|
|
|
font-size: 12px;
|
|
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.music-status:empty {
|
|
min-height: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Main three-column layout
|
|
History + browser + queue remain visible much longer.
|
|
===================================================== */
|
|
|
|
.music-browser-layout {
|
|
display: grid;
|
|
|
|
grid-template-columns:
|
|
clamp(125px, 18vw, 205px)
|
|
minmax(0, 1fr)
|
|
clamp(135px, 20vw, 220px);
|
|
|
|
flex: 1 1 0;
|
|
|
|
width: 100%;
|
|
height: 0;
|
|
|
|
min-width: 0;
|
|
min-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
border-top:
|
|
1px solid rgba(255, 255, 255, 0.06);
|
|
|
|
background: #313338;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Centre browser column
|
|
===================================================== */
|
|
|
|
.browser-main-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
min-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
background: #313338;
|
|
}
|
|
|
|
#list {
|
|
display: grid;
|
|
|
|
grid-template-columns:
|
|
repeat(
|
|
auto-fill,
|
|
minmax(min(165px, 100%), 1fr)
|
|
);
|
|
|
|
grid-auto-rows: max-content;
|
|
|
|
align-content: start;
|
|
align-items: start;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
min-width: 0;
|
|
min-height: 0;
|
|
|
|
margin: 0;
|
|
padding: 10px;
|
|
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
|
|
gap: 10px;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Invidious media cards
|
|
===================================================== */
|
|
|
|
.row {
|
|
display: grid;
|
|
|
|
grid-template-rows:
|
|
auto
|
|
auto
|
|
auto;
|
|
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
|
|
padding: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
|
|
background: #181818;
|
|
color: #ddd;
|
|
|
|
cursor: default;
|
|
}
|
|
|
|
.row:hover {
|
|
border-color: #555;
|
|
background: #202020;
|
|
}
|
|
|
|
.row.clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.row.clickable:hover {
|
|
border-color: #666;
|
|
background: #252525;
|
|
}
|
|
|
|
.thumb {
|
|
display: block;
|
|
|
|
width: 100%;
|
|
height: auto;
|
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
margin: 0 0 8px;
|
|
|
|
object-fit: cover;
|
|
|
|
border-radius: 6px;
|
|
|
|
background: #222;
|
|
}
|
|
|
|
.info {
|
|
min-width: 0;
|
|
}
|
|
|
|
.title {
|
|
display: -webkit-box;
|
|
|
|
min-width: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 13px;
|
|
line-height: 1.25;
|
|
|
|
text-align: left;
|
|
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.meta {
|
|
display: -webkit-box;
|
|
|
|
min-width: 0;
|
|
|
|
margin-top: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #aaa;
|
|
|
|
font-size: 11px;
|
|
line-height: 1.25;
|
|
|
|
text-align: left;
|
|
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Media card actions
|
|
===================================================== */
|
|
|
|
.action {
|
|
display: grid !important;
|
|
|
|
grid-template-columns:
|
|
repeat(
|
|
2,
|
|
minmax(0, 1fr)
|
|
);
|
|
|
|
width: 100%;
|
|
|
|
gap: 5px;
|
|
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.send-btn {
|
|
display: block !important;
|
|
|
|
width: 100%;
|
|
min-width: 0;
|
|
|
|
padding: 6px 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 1px solid #3b82f6;
|
|
border-radius: 4px;
|
|
|
|
background: #2b6cb0;
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 11px;
|
|
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.send-btn:hover:not(:disabled) {
|
|
background: #3479c5;
|
|
}
|
|
|
|
.send-btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.queue-btn {
|
|
border-color: #686b74;
|
|
background: #4e5058;
|
|
color: #dbdee1;
|
|
}
|
|
|
|
.queue-btn:hover:not(:disabled) {
|
|
background: #686b74;
|
|
}
|
|
|
|
.empty {
|
|
grid-column: 1 / -1;
|
|
|
|
width: 100%;
|
|
|
|
padding: 36px 12px;
|
|
|
|
color: #aaa;
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
History and queue panels
|
|
===================================================== */
|
|
|
|
.media-side-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
min-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
background: #2b2d31;
|
|
}
|
|
|
|
.history-panel {
|
|
border-right:
|
|
1px solid rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.queue-panel {
|
|
border-left:
|
|
1px solid rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.side-panel-header {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
min-width: 0;
|
|
min-height: 42px;
|
|
|
|
padding: 0 8px;
|
|
|
|
border-bottom:
|
|
1px solid rgba(0, 0, 0, 0.3);
|
|
|
|
background: #232428;
|
|
|
|
gap: 4px;
|
|
}
|
|
|
|
.side-panel-title {
|
|
min-width: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #f2f3f5;
|
|
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.side-panel-count {
|
|
display: inline-grid;
|
|
|
|
place-items: center;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
min-width: 19px;
|
|
height: 19px;
|
|
|
|
margin-left: 3px;
|
|
padding: 0 5px;
|
|
|
|
border-radius: 20px;
|
|
|
|
background: #1e1f22;
|
|
color: #b5bac1;
|
|
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.side-panel-clear {
|
|
flex: 0 0 auto;
|
|
|
|
padding: 4px 6px;
|
|
|
|
border: 0;
|
|
border-radius: 4px;
|
|
|
|
background: transparent;
|
|
color: #b5bac1;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 10px;
|
|
}
|
|
|
|
.side-panel-clear:hover {
|
|
background: #3f4147;
|
|
color: #f2f3f5;
|
|
}
|
|
|
|
.side-panel-list {
|
|
flex: 1 1 auto;
|
|
|
|
min-width: 0;
|
|
min-height: 0;
|
|
|
|
padding: 6px;
|
|
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.side-panel-empty {
|
|
padding: 20px 8px;
|
|
|
|
color: #949ba4;
|
|
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Queue controls
|
|
===================================================== */
|
|
|
|
.queue-play-next {
|
|
flex: 0 0 auto;
|
|
|
|
margin: 7px 7px 2px;
|
|
padding: 8px 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 0;
|
|
border-radius: 5px;
|
|
|
|
background: #5865f2;
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.queue-play-next:hover:not(:disabled) {
|
|
background: #4752c4;
|
|
}
|
|
|
|
.queue-play-next:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
History and queue entries
|
|
===================================================== */
|
|
|
|
.side-media-item {
|
|
display: grid;
|
|
|
|
grid-template-columns:
|
|
36px
|
|
minmax(0, 1fr);
|
|
|
|
align-items: center;
|
|
|
|
min-width: 0;
|
|
|
|
gap: 6px;
|
|
|
|
margin-bottom: 6px;
|
|
padding: 6px;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
|
|
background: #232428;
|
|
}
|
|
|
|
.side-media-item:hover {
|
|
border-color:
|
|
rgba(255, 255, 255, 0.06);
|
|
|
|
background: #35373c;
|
|
}
|
|
|
|
.queue-item {
|
|
grid-template-columns:
|
|
15px
|
|
32px
|
|
minmax(0, 1fr);
|
|
}
|
|
|
|
.queue-position {
|
|
overflow: hidden;
|
|
|
|
color: #949ba4;
|
|
|
|
font-family: monospace;
|
|
font-size: 10px;
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
.side-media-thumb {
|
|
width: 36px;
|
|
height: 36px;
|
|
|
|
object-fit: cover;
|
|
|
|
border-radius: 5px;
|
|
|
|
background: #1e1f22;
|
|
}
|
|
|
|
.queue-item .side-media-thumb {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.side-media-info {
|
|
min-width: 0;
|
|
}
|
|
|
|
.side-media-title {
|
|
overflow: hidden;
|
|
|
|
color: #f2f3f5;
|
|
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.side-media-meta {
|
|
margin-top: 2px;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #949ba4;
|
|
|
|
font-size: 8px;
|
|
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.side-media-actions {
|
|
display: flex;
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
justify-content: flex-end;
|
|
|
|
min-width: 0;
|
|
|
|
gap: 3px;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.queue-actions {
|
|
grid-column: 2 / -1;
|
|
}
|
|
|
|
.side-action-button {
|
|
display: grid;
|
|
|
|
place-items: center;
|
|
|
|
min-width: 24px;
|
|
height: 23px;
|
|
|
|
padding: 0 5px;
|
|
|
|
border: 0;
|
|
border-radius: 4px;
|
|
|
|
background: #1e1f22;
|
|
color: #b5bac1;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 11px;
|
|
}
|
|
|
|
.side-action-button:hover:not(:disabled) {
|
|
background: #5865f2;
|
|
color: #fff;
|
|
}
|
|
|
|
.side-action-button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.25;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Scrollbars
|
|
===================================================== */
|
|
|
|
#list,
|
|
.side-panel-list {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #555 #232428;
|
|
}
|
|
|
|
#list::-webkit-scrollbar,
|
|
.side-panel-list::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
#list::-webkit-scrollbar-track,
|
|
.side-panel-list::-webkit-scrollbar-track {
|
|
background: #232428;
|
|
}
|
|
|
|
#list::-webkit-scrollbar-thumb,
|
|
.side-panel-list::-webkit-scrollbar-thumb {
|
|
border-radius: 10px;
|
|
background: #555;
|
|
}
|
|
|
|
|
|
/* =====================================================
|
|
Responsive scaling
|
|
===================================================== */
|
|
|
|
/*
|
|
Medium tool-window sizes:
|
|
keep History and Queue visible, make the centre cards denser.
|
|
*/
|
|
@media (max-width: 900px) {
|
|
.music-browser {
|
|
padding: 8px;
|
|
}
|
|
|
|
.music-browser-layout {
|
|
grid-template-columns:
|
|
clamp(120px, 20vw, 165px)
|
|
minmax(0, 1fr)
|
|
clamp(125px, 21vw, 175px);
|
|
}
|
|
|
|
#list {
|
|
grid-template-columns:
|
|
repeat(
|
|
auto-fill,
|
|
minmax(min(145px, 100%), 1fr)
|
|
);
|
|
|
|
padding: 8px;
|
|
|
|
gap: 8px;
|
|
}
|
|
|
|
.row {
|
|
padding: 7px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.meta {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.send-btn {
|
|
padding: 5px 3px;
|
|
font-size: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
Normal compact floating-window size.
|
|
This is the important mode:
|
|
- History remains visible
|
|
- Queue remains visible
|
|
- result thumbnails disappear
|
|
- result cards become title/meta/buttons
|
|
- side panel thumbnails disappear too
|
|
*/
|
|
@media (max-width: 720px) {
|
|
.music-browser {
|
|
padding: 7px;
|
|
}
|
|
|
|
.music-browser-layout {
|
|
grid-template-columns:
|
|
minmax(105px, 0.75fr)
|
|
minmax(170px, 1.6fr)
|
|
minmax(115px, 0.85fr);
|
|
}
|
|
|
|
#list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
padding: 7px;
|
|
|
|
gap: 6px;
|
|
}
|
|
|
|
.row {
|
|
display: block;
|
|
|
|
padding: 7px;
|
|
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.thumb {
|
|
display: none;
|
|
}
|
|
|
|
.title {
|
|
-webkit-line-clamp: 2;
|
|
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.meta {
|
|
margin-top: 3px;
|
|
|
|
font-size: 9px;
|
|
|
|
-webkit-line-clamp: 1;
|
|
}
|
|
|
|
.action {
|
|
gap: 4px;
|
|
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.send-btn {
|
|
padding: 5px 2px;
|
|
|
|
font-size: 9px;
|
|
}
|
|
|
|
.side-panel-header {
|
|
min-height: 38px;
|
|
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.side-panel-title {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.side-panel-count {
|
|
min-width: 17px;
|
|
height: 17px;
|
|
|
|
padding: 0 4px;
|
|
|
|
font-size: 9px;
|
|
}
|
|
|
|
.side-panel-clear {
|
|
padding: 3px 4px;
|
|
|
|
font-size: 9px;
|
|
}
|
|
|
|
.side-panel-list {
|
|
padding: 5px;
|
|
}
|
|
|
|
.side-media-item,
|
|
.queue-item {
|
|
display: block;
|
|
|
|
padding: 5px;
|
|
}
|
|
|
|
.side-media-thumb,
|
|
.queue-item .side-media-thumb,
|
|
.queue-position {
|
|
display: none;
|
|
}
|
|
|
|
.side-media-title {
|
|
font-size: 9px;
|
|
line-height: 1.25;
|
|
|
|
white-space: normal;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.side-media-meta {
|
|
font-size: 8px;
|
|
}
|
|
|
|
.side-media-actions,
|
|
.queue-actions {
|
|
grid-column: auto;
|
|
|
|
justify-content: flex-start;
|
|
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.side-action-button {
|
|
min-width: 22px;
|
|
height: 21px;
|
|
|
|
padding: 0 4px;
|
|
|
|
font-size: 10px;
|
|
}
|
|
|
|
.queue-play-next {
|
|
margin: 6px 5px 2px;
|
|
padding: 7px 5px;
|
|
|
|
font-size: 9px;
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
Extra-narrow windows:
|
|
still preserve all three columns, but squeeze the side panels hard.
|
|
*/
|
|
@media (max-width: 560px) {
|
|
.music-browser-header {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#musicBrowserTitle {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.music-breadcrumb {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.music-search {
|
|
margin-bottom: 6px;
|
|
padding: 7px 8px;
|
|
|
|
font-size: 12px;
|
|
}
|
|
|
|
.music-status {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.music-browser-layout {
|
|
grid-template-columns:
|
|
minmax(86px, 0.7fr)
|
|
minmax(145px, 1.5fr)
|
|
minmax(92px, 0.75fr);
|
|
}
|
|
|
|
#list {
|
|
padding: 5px;
|
|
gap: 5px;
|
|
}
|
|
|
|
.row {
|
|
padding: 6px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.meta {
|
|
display: none;
|
|
}
|
|
|
|
.action {
|
|
grid-template-columns:
|
|
1fr;
|
|
|
|
gap: 3px;
|
|
}
|
|
|
|
.send-btn {
|
|
min-height: 24px;
|
|
|
|
padding: 4px 2px;
|
|
|
|
font-size: 8px;
|
|
}
|
|
|
|
.side-panel-header {
|
|
display: grid;
|
|
|
|
grid-template-columns:
|
|
minmax(0, 1fr)
|
|
auto;
|
|
|
|
align-content: center;
|
|
|
|
min-height: 36px;
|
|
|
|
gap: 2px;
|
|
}
|
|
|
|
.side-panel-count {
|
|
display: none;
|
|
}
|
|
|
|
.side-panel-clear {
|
|
padding: 2px 3px;
|
|
|
|
font-size: 8px;
|
|
}
|
|
|
|
.side-panel-title {
|
|
font-size: 9px;
|
|
}
|
|
|
|
.side-panel-empty {
|
|
padding: 14px 4px;
|
|
|
|
font-size: 9px;
|
|
}
|
|
|
|
.side-media-title {
|
|
font-size: 8px;
|
|
}
|
|
|
|
.side-media-meta {
|
|
display: none;
|
|
}
|
|
|
|
.side-media-actions,
|
|
.queue-actions {
|
|
gap: 2px;
|
|
}
|
|
|
|
.side-action-button {
|
|
min-width: 20px;
|
|
height: 20px;
|
|
|
|
padding: 0 3px;
|
|
|
|
font-size: 9px;
|
|
}
|
|
|
|
.queue-play-next {
|
|
padding: 6px 3px;
|
|
|
|
font-size: 8px;
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
Phone-size only:
|
|
preserve usability rather than forcing impossibly tiny 3 columns.
|
|
*/
|
|
@media (max-width: 420px) {
|
|
.music-browser {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.music-browser-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
height: auto;
|
|
|
|
overflow: visible;
|
|
}
|
|
|
|
.history-panel,
|
|
.queue-panel,
|
|
.browser-main-column {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.history-panel {
|
|
max-height: 180px;
|
|
|
|
border-right: 0;
|
|
border-bottom:
|
|
1px solid rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.browser-main-column {
|
|
min-height: 360px;
|
|
}
|
|
|
|
.queue-panel {
|
|
min-height: 220px;
|
|
|
|
border-top:
|
|
1px solid rgba(0, 0, 0, 0.3);
|
|
|
|
border-left: 0;
|
|
}
|
|
}
|