-
- { this.renderExtraButtons() }
+
+
+ {helpers.uriSource( this.props.params.uri )} playlist
+
{ this.props.playlist.name }
+ { this.props.playlist.description ?
: null }
- -
- { this.props.playlist.tracks_total } tracks,
- { this.props.playlist.tracks ? : null }
-
- { this.props.playlist.last_modified ? - Updated ago
: null }
+ { this.props.playlist.owner ? - {this.props.playlist.owner.id}
: null }
+
{ this.props.playlist.followers ? - {this.props.playlist.followers.total.toLocaleString()} followers
: null }
- { scheme == 'spotify' && this.props.playlist.owner ? - By {this.props.playlist.owner.id} { !this.props.playlist.public ? : null }
: null }
- { scheme == 'spotify' ? - Spotify playlist
: null }
- { scheme == 'm3u' ? - Local playlist
: null }
+
+ { this.props.playlist.last_modified ? : null }
+
+ -
+ { this.props.playlist.tracks_total ? this.props.playlist.tracks_total : '0'} tracks,
+ { this.props.playlist.tracks ? : '0 mins' }
+
-
-
-
-
{ this.props.playlist.name }
- { this.props.playlist.description ? : null }
-
-
-
- { this.props.playlist.tracks ? this.removeTracks(tracks_indexes) } reorderTracks={ (indexes, index) => this.reorderTracks(indexes, index) } /> : null }
- this.loadMore() }/>
-
-
+
+
+ { this.renderExtraButtons() }
+
+
+ { this.props.playlist.tracks ? this.removeTracks(tracks_indexes) } reorderTracks={ (indexes, index) => this.reorderTracks(indexes, index) } /> : null }
+ this.loadMore() }/>
+
)
}
diff --git a/src/scss/global/_core.scss b/src/scss/global/_core.scss
index 8ec5593b..0c096288 100755
--- a/src/scss/global/_core.scss
+++ b/src/scss/global/_core.scss
@@ -181,10 +181,20 @@ footer {
.details {
list-style-type: none;
color: $mid_grey;
- text-transform: uppercase;
li {
- padding-bottom: 4px;
+ display: inline-block;
+
+ &:not(:first-child){
+ padding-left: 14px;
+
+ &::before {
+ display: inline-block;
+ content: '•';
+ margin-left: -8px;
+ padding-right: 6px;
+ }
+ }
}
}
diff --git a/src/scss/global/_forms.scss b/src/scss/global/_forms.scss
index ef3a95e4..0a1171de 100755
--- a/src/scss/global/_forms.scss
+++ b/src/scss/global/_forms.scss
@@ -62,6 +62,29 @@ input[type="submit"] {
border-radius: 20px;
}
+ &.outline {
+ color: #FFFFFF;
+ padding: 9px 19px;
+ border: 1px solid $darkest_grey;
+ background: transparent;
+ color: $darkest_grey;
+
+ &.white {
+ border-color: #FFFFFF;
+ color: #FFFFFF;
+ background: rgba(0,0,0,0.2);
+
+ &:hover {
+ background: rgba(0,0,0,0.4);
+ border-color: inherit;
+ }
+ }
+
+ &:hover {
+ border-color: $turquoise;
+ }
+ }
+
&.primary {
background: $turquoise;
color: #FFFFFF;
diff --git a/src/scss/views/_album.scss b/src/scss/views/_album.scss
index 691f712b..7e07cfad 100755
--- a/src/scss/views/_album.scss
+++ b/src/scss/views/_album.scss
@@ -1,105 +1,29 @@
.album-view {
- .main {
- padding-left: 300px;
- .title {
- padding: 30px 40px;
+ .title {
+ padding: 30px 40px;
- h3 {
- color: $mid_grey;
- a:hover {
- color: darken($mid_grey, 20%);
- }
+ h3 {
+ color: $mid_grey;
+ a:hover {
+ color: darken($mid_grey, 20%);
}
}
}
- .intro {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- width: 300px;
- background: $faint_grey;
-
- .thumbnail {
- float: none;
- margin: 0 auto;
- max-width: none;
- }
-
- .details {
- padding: 30px;
- }
-
- .artist-grid {
- padding: 0;
- margin: 0;
-
- .grid-item {
- margin: 0;
- width: 50%;
- position: relative;
- background: #000000;
-
- .name {
- @include animate();
- position: absolute;
- top: 40%;
- left: 0;
- right: 0;
- text-align: center;
- color: #FFFFFF;
- opacity: 0;
- z-index: 2;
- font-weight: bold;;
- font-size: 14px;
- }
-
- .secondary {
- display: none;
- }
-
- &:hover {
- .thumbnail {
- opacity: 0.3;
- }
-
- .name {
- opacity: 1;
- }
- }
- }
- }
+ .source {
+ text-transform: uppercase;
+ padding-bottom: 15px;
}
- @include responsive( $bp_medium ){
+ .actions {
+ @include clearfix();
+ }
- .main {
- padding-left: 0;
-
- .title {
- padding: 20px;
- }
- }
-
- .intro {
- position: static;
- width: auto;
-
- .artist-grid {
- display: none;
- }
-
- .details {
- padding: 20px;
-
- li {
- display: inline-block;
- padding-right: 15px;
- }
- }
- }
+ .thumbnail {
+ float: left;
+ max-width: 230px;
+ margin: 0 30px 30px 0;
}
}
diff --git a/src/scss/views/_artist.scss b/src/scss/views/_artist.scss
index f8181d76..63e4cb15 100755
--- a/src/scss/views/_artist.scss
+++ b/src/scss/views/_artist.scss
@@ -18,7 +18,7 @@
.liner {
position: relative;
z-index: 1;
- padding: 15vh 40px 20px 40px;
+ padding: 20vh 40px 0 40px;
h1 {
color: #FFFFFF;
@@ -26,21 +26,20 @@
}
.actions {
- .button {
- margin-right: 30px;
+ padding-bottom: 15px;
+
+ button {
+ margin-right: 20px;
}
}
.sub-views {
color: #FFFFFF;
- position: absolute;
- bottom: 0;
- right: 30px;
.option {
display: inline-block;
padding: 8px 0;
- margin: 0 10px;
+ margin: 0 25px 0 0;
font-size: 18px;
font-weight: 400;
border-bottom: 4px solid transparent;
diff --git a/src/scss/views/_playlist.scss b/src/scss/views/_playlist.scss
index 4062ff64..e88fdd44 100755
--- a/src/scss/views/_playlist.scss
+++ b/src/scss/views/_playlist.scss
@@ -1,103 +1,33 @@
.playlist-view {
- .main {
- padding-left: 300px;
- .title {
- padding: 30px 40px;
+ .title {
+ padding: 30px 40px;
- h3 {
- color: $mid_grey;
- a:hover {
- color: darken($mid_grey, 20%);
- }
+ h3 {
+ color: $mid_grey;
+ a:hover {
+ color: darken($mid_grey, 20%);
}
}
}
- .intro {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- width: 300px;
- background: $faint_grey;
-
- > .thumbnail {
- float: none;
- margin: 0 auto;
- max-width: none;
- }
-
- .details {
- padding: 30px;
- }
-
- .artist-grid {
- padding: 0;
- margin: 0;
-
- .grid-item {
- margin: 0;
- width: 50%;
- position: relative;
-
- .thumbnail .image {
- background-color: $secondary_grey;
- }
-
- .name {
- @include animate();
- position: absolute;
- top: 35%;
- left: 0;
- right: 0;
- text-align: center;
- color: #FFFFFF;
- opacity: 0;
- z-index: 2;
- font-weight: bold;
- }
-
- .secondary {
- display: none;
- }
-
- &:hover {
- .name {
- opacity: 1;
- }
- }
- }
- }
-
- .owner {
- padding: 30px;
- }
+ .source {
+ text-transform: uppercase;
+ padding-bottom: 15px;
}
- @include responsive( $bp_medium ){
+ .actions {
+ @include clearfix();
+ }
- .main {
- padding-left: 0px;
+ .description {
+ padding-bottom: 5px;
+ }
- .title {
- padding: 20px;
- }
- }
-
- .intro {
- width: auto;
- position: static;
-
- .details {
- padding: 20px;
-
- li {
- display: inline-block;
- padding-right: 15px;
- }
- }
- }
+ .thumbnail {
+ float: left;
+ max-width: 230px;
+ margin: 0 30px 30px 0;
}
}