deemixer/public/css/style.css

192 lines
3.0 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-08 16:43:35 +00: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%;
}
}
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;
}
.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: flex;
align-items:flex-start;
}
.release{
display: inline-block;
width: 156px;
margin-right: 24px;
}
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%;
}