deemixer/public/css/style.css

203 lines
3.1 KiB
CSS
Raw Normal View History

2020-04-07 22:19:27 +00:00
html{height: 100%;}
body{margin: 0px;width: 100%;height: 100%;font-family: sans-serif; overflow: hidden; background-color: #ffffff; color: #333333;}
/* Sidebar section selector */
aside#sidebar{
background-color: #222324;
width: 48px;
height: 100%;
position: absolute;
color: #ffffff;
}
aside#sidebar > .side_icon{
font-size: 24px;
margin: 12px;
}
2020-04-09 10:50:05 +00:00
.side_icon.active{
color: #0A84FF;
}
2020-04-07 22:19:27 +00:00
/* Rest of the app */
main#main_content{
margin-left: 48px;
width: calc(100% - 48px);
height: 100%;
display: flex;
}
/* Middle section */
div#middle_section {
background-color: #ffffff;
width: 100%;
height: 100%;
min-width: 10px;
}
/* Center section */
#search > input#searchbar{
2020-04-08 16:43:35 +00:00
width: calc(100% - 32px);
2020-04-07 22:19:27 +00:00
height: 32px;
padding: 0px 8px;
margin: 8px;
border: 0px;
border-radius: 6px;
background-color: #eeeeee;
}
#content{
2020-04-08 21:52:08 +00:00
background-color: #ffffff;
width: calc(100% - 10px);
2020-04-07 22:19:27 +00:00
height: calc(100% - 48px);
overflow-y: scroll;
2020-04-08 21:52:08 +00:00
overflow-x: hidden;
2020-04-08 16:43:35 +00:00
padding-left: 10px
2020-04-07 22:19:27 +00:00
}
#content::-webkit-scrollbar {
width: 10px;
}
#content::-webkit-scrollbar-track {
2020-04-08 21:52:08 +00:00
background: #ffffff;
2020-04-07 22:19:27 +00:00
}
#content::-webkit-scrollbar-thumb {
background: #555;
border-radius: 4px;
width: 6px;
padding: 0px 2px;
}
2020-04-09 12:27:06 +00:00
#container {
margin: 0 auto;
max-width: 1280px;
width: 90%;
2020-04-08 16:43:35 +00:00
}
2020-04-09 12:27:06 +00:00
@media only screen and (min-width: 601px) {
2020-04-08 16:43:35 +00:00
#container {
2020-04-09 12:27:06 +00:00
width: 85%;
2020-04-08 16:43:35 +00:00
}
}
2020-04-09 12:27:06 +00:00
@media only screen and (min-width: 993px) {
2020-04-08 16:43:35 +00:00
#container {
2020-04-09 12:27:06 +00:00
width: 70%;
2020-04-08 16:43:35 +00:00
}
}
2020-04-09 12:27:06 +00:00
@media only screen and (max-width: 600px){
#container {
width: 100%;
}
}
2020-04-08 16:43:35 +00:00
2020-04-09 10:50:05 +00:00
/* Tabs */
.search_tabcontent, .main_tabcontent {
2020-04-09 10:24:49 +00:00
display: none;
}
2020-04-08 16:43:35 +00:00
/* Main Search Tab */
#main_search > .search_section{
float: none;
}
#search_tab .tab{
margin-bottom: 24px;
}
2020-04-08 16:43:35 +00:00
.top_result {
display: flex;
align-items:center;
}
.top_result > img {
display: inline-block;
width: 156px;
height: 156px;
}
.top_result > .info_box {
display: inline-block;
padding-left: 24px;
}
2020-04-08 21:52:08 +00:00
.top_result > .info_box > p, .release > p {
2020-04-08 16:43:35 +00:00
margin: 0px;
margin-bottom: 4px;
}
2020-04-08 22:05:57 +00:00
.top_result > .info_box > p.subtitle, .release > p.subtitle {
2020-04-08 16:43:35 +00:00
opacity: 0.75;
2020-04-08 22:05:57 +00:00
font-size: 14px;
2020-04-07 22:19:27 +00:00
}
2020-04-08 21:52:08 +00:00
.release_grid{
display: grid;
grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
grid-gap: 1rem;
}
.release_grid.firstrow_only{
grid-template-rows: 1fr;
grid-auto-rows: 0;
grid-row-gap: 0px;
overflow-y: hidden;
2020-04-08 21:52:08 +00:00
}
.release{
display: inline-block;
width: 156px;
}
2020-04-07 22:19:27 +00:00
/* Download tab section */
div#download_tab_container{
background-color: #222324;
color: #ffffff;
height: 100%;
width: auto;
display: flex;
}
div#download_tab_bar{
height: 100%;
width: 32px;
}
div#download_tab_bar > label{
writing-mode: vertical-rl;
line-height: 32px;
padding-top: 8px;
}
div#download_tab{
height: 100%;
width: 300px;
display: none;
}
.download_bar_icon{
font-size: 24px;
margin: 4px;
}
2020-04-09 10:30:02 +00:00
.release > img{
width: 156px;
height: 156px;
}
.track_row > td > img{
width: 32px;
height: 32px;
}
2020-04-08 16:43:35 +00:00
/* Global stuff */
img.rounded {
2020-04-08 21:52:08 +00:00
border-radius: 5px;
}
img.circle {
2020-04-08 16:43:35 +00:00
border-radius: 50%;
}
2020-04-09 10:24:49 +00:00
.coverart{
background-color: #eee;
}
2020-04-08 16:43:35 +00:00
span.tag {
background-color: #222324;
border-radius: 2px;
color: #ffffff;
display: inline-block;
font-size: 10px;
padding: 3px 6px;
}
2020-04-08 21:52:08 +00:00
.tracks_table{
width: 100%;
}