Refining modal styles and responsive structures
This commit is contained in:
@ -39,7 +39,7 @@ export default class KioskModeModal extends React.Component{
|
||||
<div className="player">
|
||||
<div className="current-track">
|
||||
<div className="title">{ this.props.current_track ? this.props.current_track.name : <span>-</span> }</div>
|
||||
{ this.props.current_track ? <ArtistSentence artists={ this.props.current_track.artists } /> : <ArtistSentence /> }
|
||||
{ this.props.current_track ? <ArtistSentence nolinks artists={ this.props.current_track.artists } /> : <ArtistSentence /> }
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -229,15 +229,14 @@ class Discover extends React.Component{
|
||||
render(){
|
||||
return (
|
||||
<div className="view discover-view">
|
||||
<Header icon="compass" title="Discover" className="overlay" />
|
||||
<div className="intro">
|
||||
<Parallax image="/iris/assets/backgrounds/discover.jpg" />
|
||||
<div className="liner">
|
||||
<h2>Explore new music</h2>
|
||||
<h3>
|
||||
<h1>Explore new music</h1>
|
||||
<h2 className="grey-text">
|
||||
Add seeds below to build your sound. Let's start with
|
||||
{this.props.authorized ? " two of your favorite artists" : " the chill genre"}.
|
||||
</h3>
|
||||
</h2>
|
||||
{this.renderSeeds()}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -245,10 +245,25 @@
|
||||
max-width: 90vw;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
border-radius: 3px;
|
||||
|
||||
.title {
|
||||
padding: 16px 20px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 3px 3px 0 0;
|
||||
}
|
||||
|
||||
& > span {
|
||||
|
||||
button,
|
||||
.button {
|
||||
color: $white;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.dropdown-field {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-item-wrapper {
|
||||
|
||||
@ -56,7 +56,6 @@ main {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background: rgba(0,0,0,0.1);
|
||||
color: $white;
|
||||
z-index: 95;
|
||||
|
||||
@ -69,6 +68,7 @@ main {
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
padding: 10px 10px 10px 0;
|
||||
margin-bottom: -20px;
|
||||
|
||||
.icon {
|
||||
visibility: hidden;
|
||||
@ -76,11 +76,11 @@ main {
|
||||
|
||||
h1 {
|
||||
vertical-align: top;
|
||||
padding-top: 8px;
|
||||
padding-top: 6px;
|
||||
}
|
||||
|
||||
.options {
|
||||
top: 10px;
|
||||
top: 8px;
|
||||
right: 0;
|
||||
|
||||
.context-menu-trigger {
|
||||
|
||||
@ -202,8 +202,9 @@
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
|
||||
.list-item {
|
||||
padding: 7px 30px 7px 48px !important;
|
||||
padding: 12px !important;
|
||||
|
||||
.source {
|
||||
position: static;
|
||||
@ -303,5 +304,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.track-list {
|
||||
.list-item {
|
||||
padding: 7px 30px 7px 48px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -5,7 +5,7 @@
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
z-index: 999;
|
||||
background: $overlay_dark;
|
||||
overflow-y: scroll;
|
||||
|
||||
@ -109,6 +109,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.add_to_queue,
|
||||
&.create_playlist {
|
||||
h1 {
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
&.image_zoom {
|
||||
.content {
|
||||
@ -184,6 +190,10 @@
|
||||
.current-track {
|
||||
padding-top: 50px;
|
||||
font-size: 30px;
|
||||
|
||||
.artist-sentence {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -124,9 +124,9 @@
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
bottom: 48px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 60px;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
width: auto;
|
||||
|
||||
.loading {
|
||||
|
||||
@ -27,6 +27,45 @@
|
||||
.thumbnail {
|
||||
float: left;
|
||||
margin: 12px;
|
||||
|
||||
&:before {
|
||||
@include animate();
|
||||
display: block;
|
||||
content: "\f065";
|
||||
font-family: "FontAwesome";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
margin-top: -9px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
color: $white;
|
||||
z-index: 1;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:after {
|
||||
@include animate();
|
||||
content: '';
|
||||
display: block;
|
||||
background: rgba(0,0,0,0.75);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
border-radius: 3px;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
&:after,
|
||||
&:before {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
|
||||
@ -16,59 +16,17 @@ aside{
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
bottom: 120px;
|
||||
box-sizing: border-box;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
width: 220px;
|
||||
left: -220px;
|
||||
position: fixed;
|
||||
z-index: 98;
|
||||
|
||||
.sidebar-open & {
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.liner {
|
||||
bottom: 0 !important;
|
||||
}
|
||||
|
||||
.thumbnail {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@include responsive( null, null, $bp_shallow ){
|
||||
.liner {
|
||||
bottom: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.thumbnail {
|
||||
position: absolute;
|
||||
top: -30px;
|
||||
right: -30px;
|
||||
bottom: -30px;
|
||||
left: -30px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
max-width: none;
|
||||
z-index: 1;
|
||||
opacity: 0.2;
|
||||
|
||||
.image {
|
||||
@include blur();
|
||||
padding-bottom: 0;
|
||||
height: 100%;
|
||||
}
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
nav {
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
padding-top: 25px;
|
||||
padding-top: 20px;
|
||||
line-height: 1em;
|
||||
|
||||
a {
|
||||
@include feature_font();
|
||||
@ -78,15 +36,15 @@ aside{
|
||||
color: $darkest_grey;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding: 8px 10px 6px;
|
||||
padding: 9px 10px 5px;
|
||||
margin: 0 20px;
|
||||
border-radius: 3px;
|
||||
line-height: 18px;
|
||||
|
||||
.icon {
|
||||
height: 14px;
|
||||
padding-right: 8px;
|
||||
vertical-align: top;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
@ -127,9 +85,25 @@ aside{
|
||||
color: $mid_grey;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
width: 220px;
|
||||
left: -220px;
|
||||
padding-bottom: 0;
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
|
||||
.sidebar-open & {
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.liner {
|
||||
bottom: 0 !important;
|
||||
}
|
||||
|
||||
.thumbnail {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -66,7 +66,7 @@ main {
|
||||
@include responsive( $bp_medium ){
|
||||
|
||||
.content-wrapper {
|
||||
padding: 40px 10px 40px;
|
||||
padding: 20px 10px 40px;
|
||||
}
|
||||
|
||||
section.list-wrapper {
|
||||
|
||||
@ -167,11 +167,11 @@ input[type="submit"] {
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
margin-right: 10px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
@include responsive( $bp_narrow ){
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -19,6 +19,7 @@ $overlay_dark: rgba(10, 10, 10, 0.95);
|
||||
|
||||
$bp_wide: 1000px;
|
||||
$bp_medium: 800px;
|
||||
$bp_small: 500px;
|
||||
$bp_narrow: 350px;
|
||||
$bp_shallow: 650px;
|
||||
|
||||
|
||||
@ -38,7 +38,9 @@ main .album-view {
|
||||
|
||||
.thumbnail-wrapper {
|
||||
width: 40%;
|
||||
padding: 10px 20px 10px 10px;
|
||||
padding: 10px 20px 10px 0;
|
||||
float: left;
|
||||
position: static;
|
||||
|
||||
.thumbnail {
|
||||
float: none;
|
||||
@ -48,8 +50,7 @@ main .album-view {
|
||||
}
|
||||
|
||||
.title {
|
||||
padding: 20px 20px 20px 40%;
|
||||
min-height: 30vw;
|
||||
padding: 30px 0 20px 40%;
|
||||
|
||||
.details {
|
||||
padding: 5px 0;
|
||||
@ -57,8 +58,20 @@ main .album-view {
|
||||
}
|
||||
|
||||
.actions {
|
||||
text-align: center;
|
||||
padding: 20px 5px;
|
||||
@include clearfix();
|
||||
padding: 10px 0 20px 40%;
|
||||
}
|
||||
}
|
||||
|
||||
@include responsive( $bp_small ){
|
||||
.title {
|
||||
@include clearfix();
|
||||
padding: 20px 20px 10px 40%;
|
||||
min-height: 20vw;
|
||||
}
|
||||
|
||||
.actions {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -84,7 +84,7 @@
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
.intro {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 0;
|
||||
|
||||
.parallax {
|
||||
canvas {
|
||||
@ -93,20 +93,28 @@
|
||||
}
|
||||
|
||||
.liner {
|
||||
text-align: center;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-top: 10vh;
|
||||
|
||||
.thumbnail {
|
||||
position: static;
|
||||
float: none;
|
||||
margin: 0 auto 20px;
|
||||
max-width: 65%;
|
||||
float: left;
|
||||
margin: 0 20px 0 20px;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@include clearfix();
|
||||
padding: 12vw 10px 0 0;
|
||||
}
|
||||
|
||||
.actions {
|
||||
padding: 30px 10px 10px;
|
||||
}
|
||||
|
||||
.sub-views {
|
||||
margin-left: 0;
|
||||
margin-left: 5px;
|
||||
|
||||
.option {
|
||||
margin: 0 8px;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
.intro {
|
||||
position: relative;
|
||||
padding: 200px 40px 80px 40px;
|
||||
padding: 90px 40px 70px;
|
||||
z-index: 1;
|
||||
|
||||
.parallax {
|
||||
@ -40,6 +40,7 @@
|
||||
}
|
||||
|
||||
.seeds {
|
||||
padding-top: 40px;
|
||||
|
||||
.seed {
|
||||
display: inline-block;
|
||||
@ -110,7 +111,7 @@
|
||||
.discover-new-releases-view {
|
||||
.intro {
|
||||
position: relative;
|
||||
padding-top: 130px;
|
||||
padding-top: 80px;
|
||||
|
||||
header {
|
||||
margin-bottom: 0;
|
||||
|
||||
@ -38,7 +38,9 @@ main .playlist-view {
|
||||
|
||||
.thumbnail-wrapper {
|
||||
width: 40%;
|
||||
padding: 10px 20px 10px 10px;
|
||||
padding: 10px 20px 10px 0;
|
||||
float: left;
|
||||
position: static;
|
||||
|
||||
.thumbnail {
|
||||
float: none;
|
||||
@ -48,8 +50,7 @@ main .playlist-view {
|
||||
}
|
||||
|
||||
.title {
|
||||
padding: 20px 20px 20px 40%;
|
||||
min-height: 30vw;
|
||||
padding: 30px 0 20px 40%;
|
||||
|
||||
.details {
|
||||
padding: 5px 0;
|
||||
@ -57,8 +58,20 @@ main .playlist-view {
|
||||
}
|
||||
|
||||
.actions {
|
||||
text-align: center;
|
||||
padding: 20px 5px;
|
||||
@include clearfix();
|
||||
padding: 10px 0 20px 40%;
|
||||
}
|
||||
}
|
||||
|
||||
@include responsive( $bp_small ){
|
||||
.title {
|
||||
@include clearfix();
|
||||
padding: 20px 20px 10px 40%;
|
||||
min-height: 20vw;
|
||||
}
|
||||
|
||||
.actions {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,6 +35,7 @@
|
||||
.search-form {
|
||||
top: 18px;
|
||||
left: 50px;
|
||||
right: 60px;
|
||||
|
||||
input {
|
||||
font-size: 1.8rem;
|
||||
|
||||
Reference in New Issue
Block a user