deemix-webui/public/css/style.css

172 lines
2.7 KiB
CSS
Raw Normal View History

2020-04-08 00:19:27 +02: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;
}
/* 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 18:43:35 +02:00
width: calc(100% - 32px);
2020-04-08 00:19:27 +02:00
height: 32px;
padding: 0px 8px;
margin: 8px;
border: 0px;
border-radius: 6px;
background-color: #eeeeee;
}
#content{
2020-04-08 23:52:08 +02:00
background-color: #ffffff;
width: calc(100% - 10px);
2020-04-08 00:19:27 +02:00
height: calc(100% - 48px);
overflow-y: scroll;
2020-04-08 23:52:08 +02:00
overflow-x: hidden;
2020-04-08 18:43:35 +02:00
padding-left: 10px
2020-04-08 00:19:27 +02:00
}
#content::-webkit-scrollbar {
width: 10px;
}
#content::-webkit-scrollbar-track {
2020-04-08 23:52:08 +02:00
background: #ffffff;
2020-04-08 00:19:27 +02:00
}
#content::-webkit-scrollbar-thumb {
background: #555;
border-radius: 4px;
width: 6px;
padding: 0px 2px;
}
2020-04-08 18:43:35 +02:00
@media only screen and (min-width: 600px) {
#container{
margin-left: 5%;
margin-right: 5%;
}
}
@media only screen and (min-width: 960px) {
#container {
margin-left: 10%;
margin-right: 10%;
}
}
@media only screen and (min-width: 1280px) {
#container {
display: block;
margin-left: 20%;
margin-right: 20%;
}
}
/* Main Search Tab */
#main_search > .search_section{
float: none;
}
.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 23:52:08 +02:00
.top_result > .info_box > p, .release > p {
2020-04-08 18:43:35 +02:00
margin: 0px;
margin-bottom: 4px;
}
.top_result > .info_box > .subtitle {
opacity: 0.75;
2020-04-08 00:19:27 +02:00
}
2020-04-08 23:52:08 +02:00
.release_grid{
display: flex;
align-items:flex-start;
}
.release{
display: inline-block;
width: 156px;
margin-right: 24px;
}
2020-04-08 00:19:27 +02: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-08 18:43:35 +02:00
/* Global stuff */
img.rounded {
2020-04-08 23:52:08 +02:00
border-radius: 5px;
}
img.circle {
2020-04-08 18:43:35 +02:00
border-radius: 50%;
}
span.tag {
background-color: #222324;
border-radius: 2px;
color: #ffffff;
display: inline-block;
font-size: 10px;
padding: 3px 6px;
}
2020-04-08 23:52:08 +02:00
.tracks_table{
width: 100%;
}