btrtracks/public/index.css
2018-10-05 16:28:44 +03:00

182 lines
2.9 KiB
CSS

* {
margin: 0;
padding: 0;
}
body {
background-color: #0d171e;
font-family: sans-serif;
color: #fff;
}
.container {
display: flex;
flex-direction: column;
flex-grow: 1;
min-height: 0;
height: 100vh;
}
#search {
color: #fff;
background-color: #152b3a;
border: 0;
padding: 10px;
font-size: 2.5em;
border-left: 10px solid #112330;
display: block;
}
.table-container {
flex-grow: 1;
overflow: auto;
overflow-x: hidden;
}
.player {
display: flex;
min-height: max-content;
flex-direction: column;
bottom: 0;
width: 100%;
background-color: #152b3a;
}
.player audio {
width: 100%;
}
.player #playing {
padding: 10px;
}
table {
table-layout: fixed;
border-spacing: 0;
border-collapse: collapse;
}
th.small {
width: 5%;
}
td {
cursor: pointer;
}
td,th {
padding: 5px;
}
tr:nth-child(even) {
background-color: #0f1b23;
}
.pages {
display: flex;
flex-direction: row;
min-height: max-content;
}
.pages .paging {
flex: 1;
text-align: center;
font-size: 3em;
}
.paging.btn {
background-color: #112635;
cursor: pointer;
}
.paging.btn.inner {
background-color: #102331;
}
.paging.bg {
background-color: #0e202c;
}
.player-controls {
display: flex;
flex-direction: row;
height: 40px;
background-color: #0c2233;
}
.player-controls .grow {
flex-grow: 1;
}
.player-controls span {
display: block;
}
.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 {
margin-top: 0.9em;
font-size: 0.8em;
padding: 0 5px;
min-width: 8em;
text-align: center;
}
.play-btn {
background-image: url('icon/play.svg');
}
.pause-btn {
background-image: url('icon/pause.svg');
}
.mute-btn {
background-image: url('icon/volume.svg');
}
.mute1-btn {
background-image: url('icon/volume-low.svg');
}
.muted-btn {
background-image: url('icon/volume-off.svg');
}
.next-btn {
background-image: url('icon/play-next.svg');
}
.prev-btn {
background-image: url('icon/play-prev.svg');
}
.volume {
display: flex;
flex-direction: row;
}
.volume .volume-bar {
width: 5em;
}
.volume .volume-bar .seek-inner {
width: 100%;
}
.seek-container {
height: 8px;
width: 100%;
margin: 16px 5px 0 5px;
background-color: #00131b;
cursor: pointer;
}
.seek-inner {
height: 100%;
width: 0%;
background-color: #00b7ff;
}
@media only screen and (max-width: 600px) {
tr td:nth-child(1), th:nth-child(1) {
display: none;
}
tr td:nth-child(3), th:nth-child(3) {
display: none;
}
tr td:nth-child(4), th:nth-child(4) {
display: none;
}
tr td:nth-child(5), th:nth-child(5) {
display: none;
}
tr td:nth-child(6), th:nth-child(6) {
display: none;
}
.pages .paging {
flex: 1;
text-align: center;
font-size: 1.3em;
}
.allowance {
margin-bottom: 100px !important;
}
.volume .volume-bar {
display: none;
}
}