2024-01-20 11:40:13 +01:00
|
|
|
:root {
|
|
|
|
--ribbon-width: 160px;
|
2024-01-21 14:55:31 +01:00
|
|
|
--ribbon-height: 80px;
|
|
|
|
|
|
|
|
--background-color: #041936;
|
|
|
|
--text-color: #bbb;
|
2024-01-20 11:40:13 +01:00
|
|
|
}
|
|
|
|
|
2023-12-29 16:55:51 +01:00
|
|
|
/* #################### */
|
2023-12-30 15:02:13 +01:00
|
|
|
/* #### structure ##### */
|
2023-12-29 16:55:51 +01:00
|
|
|
/* #################### */
|
|
|
|
|
2024-01-20 11:40:13 +01:00
|
|
|
html, body {
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2023-12-28 04:55:06 +01:00
|
|
|
|
|
|
|
main {
|
|
|
|
height: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-auto-columns: 1fr;
|
|
|
|
grid-template-columns: 1fr 2fr;
|
2024-01-21 14:55:31 +01:00
|
|
|
grid-template-rows: var(--ribbon-height) 1fr 1fr;
|
2023-12-28 04:55:06 +01:00
|
|
|
gap: 0 0;
|
2024-01-20 11:40:13 +01:00
|
|
|
grid-template-areas: "nav nav" "queue queue" "browser result" "footer footer";
|
2023-12-28 04:55:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#queue {
|
|
|
|
grid-area: queue;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav {
|
|
|
|
grid-area: nav;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2024-01-21 14:55:31 +01:00
|
|
|
#nav > div {
|
|
|
|
width: var(--ribbon-width);
|
|
|
|
}
|
|
|
|
|
2023-12-28 04:55:06 +01:00
|
|
|
#result {
|
|
|
|
grid-area: result;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#browser {
|
|
|
|
grid-area: browser;
|
|
|
|
}
|
|
|
|
|
2024-01-20 11:40:13 +01:00
|
|
|
main footer {
|
|
|
|
grid-area: footer;
|
|
|
|
overflow: auto;
|
2024-01-21 14:55:31 +01:00
|
|
|
background-color: var(--background-color);
|
2024-01-20 11:40:13 +01:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2023-12-28 04:55:06 +01:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-12-30 15:02:13 +01:00
|
|
|
#control-admin {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sanic-logo {
|
2024-01-20 11:40:13 +01:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: flex-end;
|
2023-12-30 15:02:13 +01:00
|
|
|
}
|
|
|
|
|
2024-01-20 11:40:13 +01:00
|
|
|
#sanic-logo > div {
|
2023-12-30 15:02:13 +01:00
|
|
|
display: flex;
|
2024-01-20 11:40:13 +01:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
2023-12-30 15:02:13 +01:00
|
|
|
}
|
|
|
|
|
2024-01-20 11:40:13 +01:00
|
|
|
#sanic-logo img {
|
|
|
|
max-width: 75%;
|
|
|
|
max-height: 75%;
|
|
|
|
margin: auto;
|
|
|
|
}
|
2023-12-28 04:55:06 +01:00
|
|
|
|
2024-01-20 11:40:13 +01:00
|
|
|
.spaced {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2023-12-28 04:55:06 +01:00
|
|
|
}
|
2023-12-29 16:55:51 +01:00
|
|
|
|
|
|
|
/* #################### */
|
|
|
|
/* ### pretty stuff ### */
|
|
|
|
/* #################### */
|
|
|
|
|
2024-01-21 14:55:31 +01:00
|
|
|
#control-progress {
|
|
|
|
width: var(--ribbon-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
#control-volume {
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav > div.wide {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav > div.wide div {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2023-12-29 16:55:51 +01:00
|
|
|
/* Disable arrows in input */
|
|
|
|
|
|
|
|
/* Chrome, Safari, Edge, Opera */
|
|
|
|
#control-xfade::-webkit-outer-spin-button,
|
|
|
|
#control-xfade::-webkit-inner-spin-button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Firefox */
|
|
|
|
#control-xfade[type=number] {
|
|
|
|
-moz-appearance: textfield;
|
|
|
|
}
|
2023-12-30 15:02:13 +01:00
|
|
|
|
|
|
|
#control-xfade {
|
|
|
|
width: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#control-previous,
|
|
|
|
#control-play-pause,
|
|
|
|
#control-stop,
|
|
|
|
#control-next {
|
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
#control-track {
|
|
|
|
transform: translateX(100%);
|
|
|
|
-moz-transform: translateX(100%);
|
|
|
|
-webkit-transform: translateX(100%);
|
|
|
|
animation: scroll-left 20s linear infinite;
|
|
|
|
-moz-animation: scroll-left 2s linear infinite;
|
|
|
|
-webkit-animation: scroll-left 2s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes scroll-left {
|
|
|
|
0% {
|
|
|
|
transform: translateX(100%);
|
|
|
|
-moz-transform: translateX(100%);
|
|
|
|
-webkit-transform: translateX(100%);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateX(-100%);
|
|
|
|
-moz-transform: translateX(-100%);
|
|
|
|
-webkit-transform: translateX(-100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes scroll-left {
|
|
|
|
0% {
|
|
|
|
-moz-transform: translateX(100%);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-moz-transform: translateX(-100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes scroll-left {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: translateX(100%);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: translateX(-100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*/
|
2024-01-20 11:40:13 +01:00
|
|
|
|
|
|
|
html, body {
|
|
|
|
background-color: #09101d;
|
2024-01-21 14:55:31 +01:00
|
|
|
color: var(--text-color);
|
2024-01-20 11:40:13 +01:00
|
|
|
scrollbar-color: #490b00 #09101d; /* only in firefox: https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color */
|
|
|
|
font-weight: normal;
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
font-size: 12pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2024-01-21 14:55:31 +01:00
|
|
|
color: var(--text-color);
|
2024-01-20 11:40:13 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: #28374a;
|
2024-01-21 14:55:31 +01:00
|
|
|
color: var(--text-color);
|
2024-01-20 11:40:13 +01:00
|
|
|
border-top-color: #545454;
|
|
|
|
border-right-color: #3a3a3a;
|
|
|
|
border-bottom-color: #3a3a3a;
|
|
|
|
border-left-color: #545454;
|
|
|
|
}
|
|
|
|
|
2024-01-21 14:55:31 +01:00
|
|
|
button[disabled] {
|
|
|
|
color: var(--background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
button[disabled] .loader {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
button .loader {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loader {
|
|
|
|
width: 10pt;
|
|
|
|
height: 10pt;
|
|
|
|
border: 3px solid var(--text-color);
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
animation: rotation 1s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotation {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-20 11:40:13 +01:00
|
|
|
/* borderless button used in queue */
|
|
|
|
.borderless {
|
|
|
|
border: none;
|
|
|
|
background-color: inherit;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=text] {
|
|
|
|
background-color: #28374a;
|
2024-01-21 14:55:31 +01:00
|
|
|
color: var(--text-color);
|
2024-01-20 11:40:13 +01:00
|
|
|
border: 1px solid black;
|
|
|
|
border-right-color: #545454;
|
|
|
|
border-bottom-color: #545454;
|
|
|
|
}
|
|
|
|
|
2024-01-20 13:48:03 +01:00
|
|
|
#nav {
|
|
|
|
padding: 5px;
|
|
|
|
background: linear-gradient(0deg, rgba(3,7,11,1) 0%, rgba(14,27,43,1) 4%, rgba(41,55,74,1) 6%, rgba(18,35,56,1) 94%, rgba(40,68,104,1) 96%, rgba(168,182,200,1) 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav > div {
|
|
|
|
border-right: 1px solid black;
|
|
|
|
}
|
|
|
|
|
2024-01-20 11:40:13 +01:00
|
|
|
thead {
|
|
|
|
background: rgb(15,29,47);
|
|
|
|
background: linear-gradient(0deg, rgba(15,29,47,1) 0%, rgba(15,29,47,1) 50%, rgba(7,14,23,1) 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 2px 2px 2px 14px;
|
|
|
|
border: solid #1c2c1a;
|
|
|
|
border-width: 0 1px 0 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* show and hide action buttons on hover */
|
|
|
|
tbody tr td button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody tr:hover td button {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* fixed width for action buttons in queue so it doesn't change size when hovering */
|
|
|
|
tbody tr td:last-of-type {
|
|
|
|
min-width: 6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody td.actions {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
#queue {
|
|
|
|
border-bottom: 4px ridge #3a506b;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* make arrow for currently playing song look nice */
|
|
|
|
|
|
|
|
#queue table tr.playing td:first-of-type::before {
|
|
|
|
content: '\2BC8'; // ⯈
|
|
|
|
}
|
|
|
|
|
|
|
|
#queue table tr td:first-of-type {
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* align times */
|
|
|
|
|
|
|
|
#queue table tr td:nth-last-of-type(2) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
table tr:nth-child(odd) td {
|
|
|
|
background: #1e1f1a;
|
|
|
|
}
|
|
|
|
|
|
|
|
table tr:nth-child(even) td {
|
|
|
|
background: #171812;
|
|
|
|
}
|
|
|
|
|
|
|
|
#queue table tr:nth-child(odd).playing td,
|
|
|
|
#queue table tr:nth-child(even).playing td {
|
|
|
|
background-color: #490b00;
|
|
|
|
}
|
|
|
|
|
|
|
|
table tr:hover td {
|
|
|
|
background-color: #354158 !important; /* TODO: remove !important */
|
|
|
|
}
|
|
|
|
|
2024-01-20 13:48:03 +01:00
|
|
|
#tabs {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabs a {
|
|
|
|
width: 50%;
|
|
|
|
padding: 3pt;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #28374a;
|
2024-01-21 14:55:31 +01:00
|
|
|
color: var(--text-color);
|
2024-01-20 13:48:03 +01:00
|
|
|
border: 1px solid #545454;
|
|
|
|
border-top-left-radius: 5pt;
|
|
|
|
border-top-right-radius: 5pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabs a.active {
|
|
|
|
background-color: #1a1a1a;
|
2024-01-21 14:55:31 +01:00
|
|
|
color: var(--text-color);
|
2024-01-20 13:48:03 +01:00
|
|
|
border-bottom: none;
|
|
|
|
/*border-top-color: #1a1a1a;*/
|
|
|
|
/*border-right-color: #545454;*/
|
|
|
|
/*border-bottom-color: #545454;*/
|
|
|
|
/*border-left-color: #1a1a1a;*/
|
|
|
|
}
|
|
|
|
|
|
|
|
#browser {
|
|
|
|
background-color: #171812;
|
|
|
|
border-right: 4px ridge #3a506b;
|
|
|
|
}
|
|
|
|
|
2024-01-20 21:52:03 +01:00
|
|
|
#control-playlist-list {
|
|
|
|
font-size: 12pt;
|
|
|
|
width: 100%;
|
|
|
|
background-color: #28374a;
|
2024-01-21 14:55:31 +01:00
|
|
|
color: var(--text-color);
|
2024-01-20 21:52:03 +01:00
|
|
|
border: 1px solid black;
|
|
|
|
border-right-color: #545454;
|
|
|
|
border-bottom-color: #545454;
|
|
|
|
scrollbar-color: #490b00 #09101d; /* only in firefox: https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color */
|
|
|
|
}
|
|
|
|
|
2024-01-20 11:40:13 +01:00
|
|
|
footer svg {
|
2024-01-21 14:55:31 +01:00
|
|
|
color: var(--text-color);
|
2024-01-20 11:40:13 +01:00
|
|
|
width: 12pt;
|
|
|
|
height: 12pt;
|
|
|
|
}
|