btrtracks/public/index.css

375 lines
6.8 KiB
CSS
Raw Normal View History

2018-10-05 10:36:57 +00:00
* {
2019-01-19 16:27:12 +00:00
margin: 0;
padding: 0;
2018-10-05 10:36:57 +00:00
}
body {
2019-01-19 16:27:12 +00:00
background-color: #0d171e;
font-family: sans-serif;
color: #fff;
2018-10-05 10:36:57 +00:00
}
.container {
2019-01-19 16:27:12 +00:00
display: flex;
flex-direction: column;
flex-grow: 1;
min-height: 0;
height: 100vh;
2018-10-05 10:36:57 +00:00
}
#search {
2019-01-19 16:27:12 +00:00
color: #fff;
background-color: #152b3a;
border: 0;
padding: 10px;
font-size: 2.5em;
border-left: 10px solid #112330;
display: block;
2018-10-05 10:36:57 +00:00
}
.table-container {
2019-01-19 16:27:12 +00:00
flex-grow: 1;
overflow: auto;
overflow-x: hidden;
2018-10-05 10:36:57 +00:00
}
.player {
display: flex;
min-height: max-content;
flex-direction: column;
bottom: 0;
width: 100%;
2019-01-19 16:27:12 +00:00
background-color: #152b3a;
2018-10-05 10:36:57 +00:00
}
.player audio {
2019-01-19 16:27:12 +00:00
width: 100%;
2018-10-05 10:36:57 +00:00
}
.player #playing {
2019-01-19 16:27:12 +00:00
padding: 10px;
2018-10-05 10:36:57 +00:00
}
table {
2019-01-19 16:27:12 +00:00
table-layout: fixed;
border-spacing: 0;
border-collapse: collapse;
2018-10-05 10:36:57 +00:00
}
2018-10-11 10:07:45 +00:00
th {
2019-01-19 16:27:12 +00:00
text-align: left;
cursor: pointer;
}
th .order {
width: 12px;
height: 12px;
display: inline-block;
background-image: url(icon/drop-up-arrow.svg);
background-repeat: no-repeat;
background-size: 16px;
background-position: center;
margin-left: 10px;
}
th .order.dn {
background-image: url(icon/drop-down-arrow.svg);
2018-10-11 10:07:45 +00:00
}
2018-10-05 10:36:57 +00:00
th.small {
2019-01-19 16:27:12 +00:00
width: 5%;
2018-10-05 10:36:57 +00:00
}
td {
2019-01-19 16:27:12 +00:00
cursor: pointer;
2019-01-19 16:59:41 +00:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
td:hover {
white-space: initial;
2018-10-05 10:36:57 +00:00
}
td,th {
2019-01-19 16:27:12 +00:00
padding: 5px;
2018-10-05 10:36:57 +00:00
}
tr:nth-child(even) {
2019-01-19 16:27:12 +00:00
background-color: #0f1b23;
2018-10-05 10:36:57 +00:00
}
2019-01-25 15:00:35 +00:00
tr.external td {
background-color: rgba(0, 255, 233, 0.25);
}
2018-10-05 10:36:57 +00:00
.pages {
2019-01-19 16:27:12 +00:00
display: flex;
flex-direction: row;
min-height: max-content;
2018-10-05 10:36:57 +00:00
}
.pages .paging {
2019-01-19 16:27:12 +00:00
flex: 1;
text-align: center;
font-size: 3em;
2018-10-05 10:36:57 +00:00
}
.paging.btn {
2019-01-19 16:27:12 +00:00
background-color: #112635;
cursor: pointer;
2018-10-05 10:36:57 +00:00
}
2018-10-05 13:28:44 +00:00
.paging.btn.inner {
2019-01-19 16:27:12 +00:00
background-color: #102331;
2018-10-05 13:28:44 +00:00
}
2018-10-05 10:36:57 +00:00
.paging.bg {
2019-01-19 16:27:12 +00:00
background-color: #0e202c;
2018-10-05 10:36:57 +00:00
}
2018-10-05 13:28:44 +00:00
.player-controls {
2019-01-19 16:27:12 +00:00
display: flex;
flex-direction: row;
height: 40px;
background-color: #0c2233;
2018-10-05 13:28:44 +00:00
}
.player-controls .grow {
2019-01-19 16:27:12 +00:00
flex-grow: 1;
2018-10-05 13:28:44 +00:00
}
.player-controls span {
2019-01-19 16:27:12 +00:00
display: block;
2018-10-05 13:28:44 +00:00
}
.player-controls .icon {
width: 30px;
height: 30px;
cursor: pointer;
background-size: 60%;
background-repeat: no-repeat;
background-position: center;
margin: 5px;
padding: 0 5px;
}
.player-controls .timestamp {
2019-01-19 16:27:12 +00:00
margin-top: 0.9em;
font-size: 0.8em;
padding: 0 5px;
min-width: 8em;
text-align: center;
2018-10-05 13:28:44 +00:00
}
.play-btn {
2019-01-19 16:27:12 +00:00
background-image: url('icon/play.svg');
2018-10-05 13:28:44 +00:00
}
.pause-btn {
2019-01-19 16:27:12 +00:00
background-image: url('icon/pause.svg');
2018-10-05 13:28:44 +00:00
}
.mute-btn {
2019-01-19 16:27:12 +00:00
background-image: url('icon/volume.svg');
2018-10-05 13:28:44 +00:00
}
.mute1-btn {
2019-01-19 16:27:12 +00:00
background-image: url('icon/volume-low.svg');
2018-10-05 13:28:44 +00:00
}
.muted-btn {
2019-01-19 16:27:12 +00:00
background-image: url('icon/volume-off.svg');
2018-10-05 13:28:44 +00:00
}
.next-btn {
2019-01-19 16:27:12 +00:00
background-image: url('icon/play-next.svg');
2018-10-05 13:28:44 +00:00
}
.prev-btn {
2019-01-19 16:27:12 +00:00
background-image: url('icon/play-prev.svg');
2018-10-05 13:28:44 +00:00
}
.volume {
2019-01-19 16:27:12 +00:00
display: flex;
flex-direction: row;
2018-10-05 13:28:44 +00:00
}
.volume .volume-bar {
2019-01-19 16:27:12 +00:00
width: 5em;
2018-10-05 13:28:44 +00:00
}
.volume .volume-bar .seek-inner {
2019-01-19 16:27:12 +00:00
width: 100%;
2018-10-05 13:28:44 +00:00
}
.seek-container {
2019-01-19 16:27:12 +00:00
height: 8px;
width: 100%;
margin: 16px 5px 0 5px;
background-color: #00131b;
cursor: pointer;
2018-10-05 13:28:44 +00:00
}
.seek-inner {
height: 100%;
width: 0%;
background-color: #00b7ff;
}
2018-10-10 09:53:05 +00:00
.ctx-menu {
2019-01-19 16:27:12 +00:00
position: absolute;
background-color: #0c2233;
border: 2px solid #031421;
2018-10-10 09:53:05 +00:00
}
.ctx-menu ul {
2019-01-19 16:27:12 +00:00
list-style: none;
display: block;
2018-10-10 09:53:05 +00:00
}
.ctx-menu ul li {
2019-01-19 16:27:12 +00:00
display: block;
2018-10-10 09:53:05 +00:00
}
2018-10-11 10:07:45 +00:00
.ctx-item, .dropdown-content div {
2019-01-19 16:27:12 +00:00
padding: 10px;
cursor: pointer;
display: block;
2018-10-10 09:53:05 +00:00
}
2018-10-11 10:07:45 +00:00
.ctx-item:nth-child(even), .dropdown-content div:nth-child(even) {
2019-01-19 16:27:12 +00:00
background-color: #0b1f2f;
2018-10-10 09:53:05 +00:00
}
2018-10-11 10:07:45 +00:00
.ctx-item:hover, .dropdown-content div:hover {
2019-01-19 16:27:12 +00:00
background-color: #0c273c;
2018-10-10 09:53:05 +00:00
}
2018-10-11 10:07:45 +00:00
.inline-flex {
2018-10-10 09:53:05 +00:00
display: flex;
flex-direction: row;
2018-10-11 10:37:06 +00:00
min-height: fit-content;
2019-01-15 14:21:33 +00:00
position: relative;
2018-10-10 09:53:05 +00:00
}
2018-10-11 10:07:45 +00:00
.inline-flex input {
2019-01-19 16:27:12 +00:00
flex-grow: 1;
min-width: 0;
2018-10-11 10:07:45 +00:00
}
2019-01-15 14:21:33 +00:00
#search-clear {
2019-01-19 16:27:12 +00:00
display: none;
2019-01-15 14:21:33 +00:00
}
.btn-clear {
2019-01-19 16:27:12 +00:00
cursor: pointer;
position: absolute;
right: 10px;
top: 12px;
bottom: 12px;
font-size: 2em;
opacity: 0.5;
padding: 0 10px;
background: url(icon/clear-button.svg) no-repeat;
background-size: 16px;
background-position: center;
2019-01-15 14:21:33 +00:00
}
2018-10-10 09:53:05 +00:00
.queue-tag {
padding: 10px;
background-color: #007d32;
text-transform: uppercase;
font-weight: bold;
border-right: 5px solid #005c25;
}
2018-10-11 10:07:45 +00:00
.dropdown-button {
background-color: #112330;
position: relative;
padding: 25px 30px;
cursor: pointer;
}
.dropdown-button::after {
2019-01-19 16:27:12 +00:00
content: "";
background: url(icon/down-arrow.svg) no-repeat;
2018-10-11 10:07:45 +00:00
background-size: auto auto;
2019-01-19 16:27:12 +00:00
background-size: 16px;
position: absolute;
width: 16px;
height: 16px;
right: 5px;
top: 40%;
2018-10-11 10:07:45 +00:00
}
.dropdown-content {
display: none;
position: absolute;
background-color: #112330;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content div {
2019-01-19 16:27:12 +00:00
padding: 20px;
2018-10-11 10:07:45 +00:00
}
.dropdown:hover .dropdown-content {
display: block;
}
2018-12-01 22:46:03 +00:00
.playing-bar {
display: flex;
flex: 1;
position: relative;
}
.playing-bar span {
2019-01-19 16:27:12 +00:00
z-index: 10;
2018-12-01 22:46:03 +00:00
}
canvas#visualizer {
position: absolute;
display: block;
opacity: 0.4;
2019-01-19 16:27:12 +00:00
z-index: 9;
}
.sidebar.active.background {
pointer-events: initial;
}
.sidebar.active .drop {
opacity: 0.5;
}
.sidebar.active .bar {
max-width: 340px;
}
.sidebar.background {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.sidebar.sb-abs {
position: absolute;
width: 100%;
height: 100%;
}
.sidebar.drop {
background-color: #060606;
z-index: 11;
opacity: 0;
transition: opacity 0.2s ease-out;
}
.sidebar.bar {
z-index: 12;
max-width: 0px;
background-color: rgba(17, 35, 48, 0.9);
overflow-x: hidden;
transition: max-width 0.2s linear;
}
.sidebar.bar h2 {
padding: 18px;
}
.sidebar.content {
width: 340px;
}
.sidebar .option {
padding: 10px;
display: flex;
}
2019-01-25 21:11:58 +00:00
.sidebar .separator {
font-weight: bold;
padding: 10px;
border-bottom: 2px solid #004561;
font-size: 1.2em;
}
.sidebar .option.checkbox, .sidebar .option.action {
2019-01-19 16:27:12 +00:00
flex-direction: row;
}
2019-01-25 21:11:58 +00:00
.sidebar .option.action button {
flex-grow: 1;
margin: 10px;
}
2019-01-19 16:27:12 +00:00
.sidebar .option label {
flex-grow: 1;
}
.sidebar .option.checkbox input {
margin: 4px 10px;
2018-12-01 22:46:03 +00:00
}
2018-10-05 10:36:57 +00:00
@media only screen and (max-width: 600px) {
tr td:nth-child(1), th:nth-child(1) {
2019-01-19 16:27:12 +00:00
display: none;
2018-10-05 10:36:57 +00:00
}
tr td:nth-child(3), th:nth-child(3) {
2019-01-19 16:27:12 +00:00
display: none;
2018-10-05 10:36:57 +00:00
}
tr td:nth-child(4), th:nth-child(4) {
2019-01-19 16:27:12 +00:00
display: none;
2018-10-05 10:36:57 +00:00
}
tr td:nth-child(5), th:nth-child(5) {
2019-01-19 16:27:12 +00:00
display: none;
2018-10-05 10:36:57 +00:00
}
tr td:nth-child(6), th:nth-child(6) {
2019-01-19 16:27:12 +00:00
display: none;
2018-10-05 10:36:57 +00:00
}
.pages .paging {
2019-01-19 16:27:12 +00:00
flex: 1;
text-align: center;
font-size: 1.3em;
}
.allowance {
margin-bottom: 100px !important;
}
.volume .volume-bar {
display: none;
}
2018-10-05 10:36:57 +00:00
}