this.handleContextMenu(e,item)}
playlists={playlists} />
diff --git a/src/js/views/library/LibraryTracks.js b/src/js/views/library/LibraryTracks.js
index 4a53536b..df0e5b88 100755
--- a/src/js/views/library/LibraryTracks.js
+++ b/src/js/views/library/LibraryTracks.js
@@ -42,7 +42,7 @@ class LibraryTracks extends React.Component{
return (
-
+
{ this.props.tracks ? : null }
this.loadMore() }/>
diff --git a/src/scss/app.scss b/src/scss/app.scss
index 319ea1cd..54d34989 100755
--- a/src/scss/app.scss
+++ b/src/scss/app.scss
@@ -12,9 +12,8 @@
@import 'components/dragger';
@import 'components/images';
@import 'components/icon';
-@import 'components/search-form';
@import 'components/slider';
-@import 'components/player';
+@import 'components/playback-controls';
@import 'components/sidebar';
@import 'components/sidebar-toggle-button';
@import 'components/lists';
diff --git a/src/scss/components/_context-menu.scss b/src/scss/components/_context-menu.scss
index f35cbaef..d5d92012 100755
--- a/src/scss/components/_context-menu.scss
+++ b/src/scss/components/_context-menu.scss
@@ -4,9 +4,13 @@
z-index: 99;
.liner {
- background: $dark_grey;
- color: #FFFFFF;
width: 160px;
+ box-shadow: 2px 3px 6px rgba(0,0,0,0.2);
+ border-radius: 3px;
+ background: $dark_grey;
+ font-size: 13px;
+ font-weight: 600;
+ font-family: "Overpass";
.title {
display: block;
@@ -58,12 +62,6 @@
font-weight: 200;
text-transform: capitalize;
}
-
- .notouch &:hover{
- .background {
- opacity: 0.7;
- }
- }
}
.menu-item-wrapper {
@@ -73,11 +71,38 @@
.menu-item {
cursor: pointer;
display: block;
- padding: 12px 14px;
+ padding: 9px 12px 8px;
box-sizing: border-box;
+ position: relative;
+ color: $white;
+ border-radius: 3px;
+
+ &:before {
+ @include animate();
+ content: '';
+ display: block;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ opacity: 0;
+ z-index: 9;
+ background: -webkit-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: -moz-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: -o-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ }
.notouch &:hover {
- background: lighten($dark_grey, 5%);
+ &:before {
+ opacity: 0.15;
+ }
+ }
+
+ &:active {
+ background: $black;
+ color: $white;
}
}
@@ -104,7 +129,7 @@
width: 0;
height: 100%;
overflow-y: scroll;
- background: lighten($dark_grey, 15%);
+ background: $faint_grey;
z-index: 3;
&.expanded {
@@ -116,20 +141,8 @@
width: 100%;
&.close-submenu {
- background: $dark_grey;
- border-top: 0;
color: $mid_grey;
}
-
- .notouch &:hover {
- background: lighten($dark_grey, 15%);
- }
- }
- }
-
- &:not(:first-child){
- .menu-item {
- border-top: 1px solid lighten($dark_grey, 8%);
}
}
}
@@ -232,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 {
@@ -248,6 +276,59 @@
}
}
+.context-menu-trigger {
+ @include animate();
+ display: inline-block;
+ padding: 14px 12px;
+ cursor: pointer;
+ vertical-align: top;
+ margin-top: -1px;
+ position: relative;
+ border-radius: 3px;
+ text-align: center;
+
+ .dot {
+ width: 6px;
+ height: 6px;
+ border-radius: 5px;
+ background: $black;
+ display: inline-block;
+ margin: 1px;
+ }
+
+ &.white {
+ .dot {
+ background: $white;
+ }
+ }
+
+ &:before {
+ @include animate();
+ content: '';
+ display: block;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ opacity: 0;
+ z-index: 9;
+ background: -webkit-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: -moz-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: -o-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ }
+
+ &:hover{
+ cursor: pointer;
+ box-shadow: 2px 3px 6px rgba(0,0,0,0.2);
+
+ &:before {
+ opacity: 0.15;
+ }
+ }
+}
+
.list {
&.track-list {
@@ -258,17 +339,21 @@
@include responsive( $bp_medium ){
.context-menu-trigger {
+ @include gradient_overlay(50%, 0.15);
display: block;
position: fixed;
- bottom: 50px;
+ bottom: 55px;
right: 5px;
- width: 50px;
- height: 50px;
+ width: 48px;
+ height: 8px;
+ padding: 20px 0;
overflow: hidden;
z-index: 97;
- border-radius: 50%;
background: $blue;
- color: #FFFFFF;
+
+ .dot {
+ background: $white;
+ }
&:focus,
&:active {
diff --git a/src/scss/components/_dropdown-field.scss b/src/scss/components/_dropdown-field.scss
index f61a8b53..dbfd5f56 100755
--- a/src/scss/components/_dropdown-field.scss
+++ b/src/scss/components/_dropdown-field.scss
@@ -1,20 +1,23 @@
.dropdown-field {
- font-size: 14px;
- font-weight: 600;
- text-transform: uppercase;
+ font-size: 13px;
+ font-weight: 800;
+ font-family: "Overpass";
position: relative;
display: inline-block;
.label {
padding: 14px 10px;
cursor: pointer;
+
+ &:hover {
+ color: $blue;
+ }
}
&.expanded {
.label {
- background: $dark_grey;
- color: #FFFFFF;
+ color: $blue;
}
.options {
display: block;
@@ -22,29 +25,66 @@
}
.options {
- color: #FFFFFF;
+ color: $black;
position: absolute;
- top: 52px;
- right: 0px;
+ top: 46px;
+ right: 10px;
z-index: 97;
- background: $dark_grey;
+ background: $white;
display: none;
+ box-shadow: 2px 3px 6px rgba(0,0,0,0.2);
+ border-radius: 3px;
+
+ &:before {
+ content: '';
+ display: block;
+ position: absolute;
+ top: -6px;
+ right: 10px;
+ background: $white;
+ width: 0;
+ height: 0;
+ border-left: 5px solid transparent;
+ border-right: 5px solid transparent;
+ border-bottom: 6px solid $mid_grey;
+ }
.option {
+ @include animate();
position: relative;
- padding: 6px 14px 6px 30px;
- border-top: 1px solid lighten($dark_grey, 10%);
+ padding: 9px 12px 8px 24px;
cursor: pointer;
+
+ &:before {
+ @include animate();
+ content: '';
+ display: block;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ opacity: 0;
+ z-index: 9;
+ background: -webkit-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: -moz-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: -o-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ }
.fa {
position: absolute;
- top: 12px;
- left: 10px;
- font-size: 12px;
+ top: 9px;
+ left: 8px;
+ font-size: 10px;
}
&:hover {
- background: lighten($dark_grey, 10%);
+ color: $black;
+
+ &:before {
+ opacity: 0.15;
+ }
}
}
}
diff --git a/src/scss/components/_header.scss b/src/scss/components/_header.scss
index f971187e..0b383b2d 100755
--- a/src/scss/components/_header.scss
+++ b/src/scss/components/_header.scss
@@ -1,27 +1,26 @@
main {
header {
- padding: 14px 20px;
- background: #EEEEEE;
- line-height: 24px;
box-sizing: border-box;
+ padding: 40px;
+ margin-bottom: -40px;
h1 {
- font-size: 22px;
- font-weight: 100;
display: inline-block;
}
.icon {
display: inline-block;
padding-right: 14px;
- height: 16px;
+ height: 2.6rem;
+ vertical-align: bottom;
+ margin-bottom: 5px;
}
.options {
position: absolute;
- top: 0;
- right: 10px;
+ top: 2.6rem;
+ right: 40px;
.context-menu-trigger {
display: none;
@@ -31,19 +30,23 @@ main {
.button,
button {
+ font-size: 13px;
+ font-weight: 800;
+ font-family: "Overpass";
background: transparent;
- font-size: 14px;
- font-weight: 600;
+ text-transform: none;
padding: 13px 10px;
margin: 0;
- line-height: 24px;
- text-transform: uppercase;
min-width: 0;
- border: 0;
- color: #000000;
+ color: $black;
- &:active {
- background: rgba(0,0,0,0.15);
+ &:hover {
+ color: $blue;
+ box-shadow: none;
+
+ &:before {
+ display: none;
+ }
}
}
}
@@ -53,7 +56,6 @@ main {
top: 0;
left: 0;
width: 100%;
- background: rgba(0,0,0,0.1);
color: $white;
z-index: 95;
@@ -65,11 +67,20 @@ main {
}
@include responsive( $bp_medium ){
+ padding: 10px 10px 10px 0;
+ margin-bottom: -20px;
+
.icon {
visibility: hidden;
}
+ h1 {
+ vertical-align: top;
+ padding-top: 6px;
+ }
+
.options {
+ top: 8px;
right: 0;
.context-menu-trigger {
diff --git a/src/scss/components/_images.scss b/src/scss/components/_images.scss
index 175fbf69..e16920c0 100755
--- a/src/scss/components/_images.scss
+++ b/src/scss/components/_images.scss
@@ -14,6 +14,7 @@
background-color: $light_grey;
background-position: 50% 50%;
background-size: cover;
+ border-radius: 3px;
}
.zoom {
diff --git a/src/scss/components/_lists.scss b/src/scss/components/_lists.scss
index 5f33e6db..c328b77c 100755
--- a/src/scss/components/_lists.scss
+++ b/src/scss/components/_lists.scss
@@ -12,14 +12,16 @@
display: block;
position: relative;
- padding: 12px 10px 12px 20px;
- border-top: 1px solid $faint_grey;
- border-bottom: 1px solid $faint_grey;
- margin-bottom: -1px;
+ padding: 12px 10px;
+ margin: 0 -10px -1px -10px;
cursor: pointer;
+ border-radius: 3px;
+ border-bottom: 1px solid #FAFAFA;
+ border-top: 1px solid #FAFAFA;
&.selected {
background: $yellow !important;
+ border-color: darken($yellow,10%);
}
&.playing {
@@ -27,20 +29,11 @@
}
.state-icon {
- position: absolute;
- top: 0;
- left: 0;
- font-size: 10px;
-
- .fa {
- position: absolute;
- top: 15px;
- left: 15px;
- }
+ display: none;
}
:root .notouch:not(.dragging) &:not(.header):not(.no-click):hover {
- background: rgba(150,150,150,0.1);
+ background: lighten($yellow, 10%);
cursor: pointer;
}
@@ -73,8 +66,6 @@
&.track-list {
.list-item {
- padding-left: 40px;
-
.col {
&.name {
width: 40%;
@@ -179,6 +170,8 @@
}
&.related-artist-list {
+ padding-bottom: 20px;
+
.artist {
display: block;
border: 0;
@@ -209,8 +202,9 @@
}
@include responsive( $bp_medium ){
+
.list-item {
- padding: 7px 30px 7px 48px !important;
+ padding: 12px !important;
.source {
position: static;
@@ -218,12 +212,16 @@
}
.state-icon {
+ position: absolute;
top: 0;
left: 0;
height: 100%;
width: 48px;
+ font-size: 10px;
+ display: block;
.fa {
+ position: absolute;
top: 19px;
left: 17px;
}
@@ -238,10 +236,6 @@
top: 15px;
left: 15px;
}
-
- .playing {
- display: none !important;
- }
}
.col {
@@ -310,5 +304,11 @@
}
}
}
+
+ &.track-list {
+ .list-item {
+ padding: 7px 30px 7px 48px !important;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/src/scss/components/_modal.scss b/src/scss/components/_modal.scss
index 5cef8446..97e1fac7 100755
--- a/src/scss/components/_modal.scss
+++ b/src/scss/components/_modal.scss
@@ -5,7 +5,7 @@
left: 0;
bottom: 0;
right: 0;
- z-index: 99;
+ z-index: 999;
background: $overlay_dark;
overflow-y: scroll;
@@ -75,19 +75,19 @@
box-sizing: border-box;
display: block;
padding: 16px 18px;
- border-bottom: 1px solid $mid_grey;
- border-top: 0;
position: relative;
-
- &:nth-child(1){
- border-top: 1px solid $mid_grey;
- }
+ border: 0;
.source {
position: absolute;
top: 18px;
left: 10px;
}
+
+ &:hover {
+ background: transparent !important;
+ opacity: 0.75;
+ }
}
&.playlists {
@@ -102,10 +102,6 @@
width: 49%;
float: left;
- &:nth-child(2){
- border-top: 1px solid $mid_grey;
- }
-
&:nth-child(2n){
margin-left: 2%;
}
@@ -113,6 +109,12 @@
}
}
+ &.add_to_queue,
+ &.create_playlist {
+ h1 {
+ padding-bottom: 50px;
+ }
+ }
&.image_zoom {
.content {
@@ -188,6 +190,10 @@
.current-track {
padding-top: 50px;
font-size: 30px;
+
+ .artist-sentence {
+ opacity: 0.5;
+ }
}
}
}
diff --git a/src/scss/components/_notifications.scss b/src/scss/components/_notifications.scss
index b07ddc49..2167d4b8 100755
--- a/src/scss/components/_notifications.scss
+++ b/src/scss/components/_notifications.scss
@@ -2,8 +2,8 @@
.notifications {
position: fixed;
- bottom: 15px;
- right: 30px;
+ bottom: 65px;
+ right: 15px;
z-index: 97;
pointer-events: none;
width: 300px;
@@ -17,6 +17,7 @@
margin: 10px 0 0 0;
color: $white;
pointer-events: all;
+ border-radius: 3px;
h4 {
padding-top: 0;
@@ -64,17 +65,19 @@
}
&:after {
+ pointer-events: none;
position: absolute;
display: block;
content: '';
- background: $blue;
- opacity: 1;
+ background: $white;
+ opacity: 0.1;
animation: slideloader 1s infinite;
+ top: 0;
+ right: 0;
bottom: 0;
left: 0;
- right: 0;
- height: 4px;
z-index: 1;
+ border-radius: 0 0 3px 3px;
}
}
}
@@ -121,9 +124,9 @@
}
@include responsive( $bp_medium ){
- bottom: 48px;
- left: 0;
- right: 0;
+ bottom: 60px;
+ left: 10px;
+ right: 10px;
width: auto;
.loading {
diff --git a/src/scss/components/_playback-controls.scss b/src/scss/components/_playback-controls.scss
new file mode 100755
index 00000000..0529d770
--- /dev/null
+++ b/src/scss/components/_playback-controls.scss
@@ -0,0 +1,282 @@
+
+.playback-controls {
+ position: fixed;
+ z-index: 99;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ height: 50px;
+ background: $light_grey;
+ color: $black;
+
+ background: -webkit-linear-gradient(to bottom left, $light_grey, darken($light_grey,5%));
+ background: -moz-linear-gradient(to bottom left, $light_grey, darken($light_grey,5%));
+ background: -o-linear-gradient(to bottom left, $light_grey, darken($light_grey,5%));
+ background: linear-gradient(to bottom left, $light_grey, darken($light_grey,5%));
+
+ .current-track {
+ @include animate();
+ cursor: pointer;
+ position: absolute;
+ bottom: 50px;
+ width: 220px;
+ font-size: 14px;
+ color: $black;
+ text-decoration: none;
+
+ .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 {
+ padding-top: 20px;
+ @include one_line_text;
+ }
+
+ .artist-sentence {
+ opacity: 0.5;
+ display: block;
+ @include one_line_text;
+
+ .artist {
+ color: inherit;
+ text-decoration: none;
+ border-bottom: 1px dotted transparent;
+ }
+ }
+ }
+
+ .control {
+ @include animate();
+ font-size: 12px;
+ color: $dark_grey;
+ cursor: pointer;
+ padding: 8px;
+ display: inline-block;
+ vertical-align: bottom;
+
+ &.play {
+ font-size: 24px;
+ margin-bottom: -6px;
+ }
+
+ &.active {
+ color: $turquoise !important;
+ }
+
+ &:hover {
+ color: $black;
+ }
+ }
+
+ section {
+ position: absolute;
+ bottom: 11px;
+
+ &.playback {
+ left: 20px;
+ width: 120px;
+ text-align: center;
+ }
+
+ &.progress {
+ bottom: 12px;
+ left: 140px;
+ right: 280px;
+ padding-left: 20px;
+ padding-right: 20px;
+ color: $mid_grey;
+
+ .slider {
+ position: absolute;
+ bottom: 0;
+ left: 50px;
+ right: 50px;
+ }
+
+ .current {
+ font-size: 11px;
+ position: absolute;
+ bottom: 6px;
+ left: 0;
+ width: 45px;
+ text-align: right;
+ }
+
+ .total {
+ font-size: 11px;
+ position: absolute;
+ bottom: 6px;
+ right: 0;
+ width: 45px;
+ }
+ }
+
+ &.settings {
+ right: 170px;
+ width: 120px;
+ text-align: center;
+ }
+
+ &.volume {
+ bottom: 10px;
+ right: 20px;
+ width: 150px;
+
+ .modal-trigger {
+ display: none;
+ }
+
+ .control {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ }
+
+ .slider-wrapper {
+ position: absolute;
+ bottom: 2px;
+ right: 0;
+ left: 30px;
+ }
+
+ .muted {
+ .slider .progress {
+ background: $mid_grey;
+ }
+ }
+ }
+
+ &.triggers {
+ display: none;
+ }
+ }
+
+ @include responsive($bp_medium){
+
+ .current-track {
+ width: auto;
+ bottom: auto;
+ bottom: 8px;
+ left: 60px;
+ right: 60px;
+ text-align: center;
+
+ .title {
+ padding-top: 0;
+ }
+
+ .thumbnail {
+ display: none;
+ }
+ }
+
+ section {
+
+ &.playback {
+ left: 0;
+ width: 60px;
+
+ .control {
+ &.play {
+ font-size: 12px;
+ margin-bottom: 0;
+ }
+ &.previous {
+ display: none;
+ }
+ &.stop {
+ display: none;
+ }
+ }
+ }
+
+ &.settings {
+ display: none;
+ }
+
+ &.volume {
+ display: none;
+ }
+
+ &.progress {
+ display: none;
+ }
+
+ &.triggers {
+ display: block;
+ right: 10px;
+ }
+ }
+
+ &.expanded {
+ height: 150px;
+
+ section {
+
+ &.settings {
+ display: block;
+ right: 20px;
+ bottom: 60px;
+ text-align: right;
+ }
+
+ &.volume {
+ width: auto;
+ display: block;
+ right: 130px;
+ left: 22px;
+ bottom: 60px;
+ }
+
+ &.progress {
+ display: block;
+ bottom: 110px;
+ left: 0;
+ right: 0;
+ }
+ }
+ }
+ }
+}
+
diff --git a/src/scss/components/_player.scss b/src/scss/components/_player.scss
index 75f8b5e9..ad6e98b3 100755
--- a/src/scss/components/_player.scss
+++ b/src/scss/components/_player.scss
@@ -111,16 +111,18 @@
&.mini-player {
position: fixed;
bottom: 0;
+ right: 0;
left: 0;
- width: 220px;
+ height: 50px;
+ background: $white;
+ border-top: 1px solid $light_grey;
box-sizing: border-box;
z-index: 97;
- padding: 14px;
- color: #FFFFFF;
+ color: $black;
.artist-sentence {
.artist:hover {
- border-color: #FFFFFF !important;
+ border-color: $black !important;
}
}
@@ -194,3 +196,9 @@
}
}
}
+
+
+.playback-controls {
+
+}
+
diff --git a/src/scss/components/_search-form.scss b/src/scss/components/_search-form.scss
deleted file mode 100755
index 00be09d5..00000000
--- a/src/scss/components/_search-form.scss
+++ /dev/null
@@ -1,36 +0,0 @@
-
-.search-form {
- z-index: 3;
- position: relative;
-
- input {
- background: transparent;
- border-bottom: 1px solid #FFFFFF;
- padding: 16px 0 8px;
- width: 100%;
- color: #FFFFFF;
-
- &:focus,
- &:active {
- border-color: $turquoise;
- }
- }
-
- &.sidebar {
- padding: 10px 15px 0 15px;
-
- .autocomplete-field {
- .results {
- top: 42px;
- }
-
- &.loading {
- .input:after {
- background: $turquoise;
- }
- }
- }
- }
-
-}
-
diff --git a/src/scss/components/_sidebar.scss b/src/scss/components/_sidebar.scss
index 39cee7bd..6e6aa078 100755
--- a/src/scss/components/_sidebar.scss
+++ b/src/scss/components/_sidebar.scss
@@ -5,10 +5,10 @@ aside{
left: 0;
bottom: 0;
z-index: 96;
- background: $darkest_grey;
width: 220px;
overflow: hidden;
- box-shadow: inset -20px 0px 30px -20px rgba(0, 0, 0, 0.5);
+ background: $off_white;
+ color: $darkest_grey;
.liner {
overflow-y: auto;
@@ -16,16 +16,83 @@ aside{
top: 0;
left: 0;
right: 0;
- bottom: 0;
+ bottom: 120px;
box-sizing: border-box;
z-index: 2;
+ overflow-y: auto;
+ }
+
+ nav {
+ z-index: 2;
+ position: relative;
+ padding-top: 20px;
+ line-height: 1em;
+
+ a {
+ @include feature_font();
+ @include gradient_overlay(3px);
+ font-weight: 800;
+ font-size: 15px;
+ color: $darkest_grey;
+ text-decoration: none;
+ display: block;
+ padding: 9px 10px 5px;
+ margin: 0 20px;
+ border-radius: 3px;
+ line-height: 18px;
+
+ .icon {
+ height: 14px;
+ padding-right: 8px;
+ vertical-align: top;
+ }
+
+ &.active {
+ background: $turquoise;
+ color: $white;
+ opacity: 1 !important;
+
+ &:before {
+ opacity: 0.15;
+ }
+
+ .icon {
+ @include invert();
+ }
+ }
+
+ &[disabled] {
+ opacity: 0.3;
+ cursor: not-allowed;
+ }
+
+ &:hover:not([disabled]){
+ &:before {
+ opacity: 0.15;
+ }
+ }
+ }
+
+ section {
+ padding-bottom: 25px;
+
+ title {
+ display: block;
+ padding: 0 26px 5px 26px;
+ font-size: 10px;
+ text-transform: uppercase;
+ opacity: 0.5;
+ color: $mid_grey;
+ }
+ }
}
@include responsive( $bp_medium ){
width: 220px;
left: -220px;
+ padding-bottom: 0;
position: fixed;
- z-index: 98;
+ z-index: 100;
.sidebar-open & {
left: 0px;
@@ -39,82 +106,4 @@ aside{
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%;
- }
- }
-
- nav {
- z-index: 2;
- position: relative;
- padding-top: 8px;
-
- a {
- font-size: 16px;
- color: #FFFFFF;
- text-decoration: none;
- display: block;
- padding: 6px 18px 6px 14px;
- border-left: 4px solid transparent;
-
- .icon {
- height: 14px;
- padding-right: 8px;
- vertical-align: top;
- margin-top: 4px;
- }
-
- &.active {
- border-color: $turquoise;
- background: rgba( 0, 0, 0, 0.5 );
- }
-
- &[disabled] {
- opacity: 0.3;
- cursor: not-allowed;
- }
-
- &:hover:not([disabled]) {
- background: rgba( 255, 255, 255, 0.1 );
- }
- }
-
- section {
- padding: 10px 0;
-
- title {
- display: block;
- padding: 0 18px 2px;
- font-size: 11px;
- text-transform: uppercase;
- opacity: 0.5;
- color: #FFFFFF;
- }
- }
-
- }
-
- @include responsive( $bp_medium ){
- }
}
\ No newline at end of file
diff --git a/src/scss/components/_slider.scss b/src/scss/components/_slider.scss
index 904410a7..b6e914d5 100755
--- a/src/scss/components/_slider.scss
+++ b/src/scss/components/_slider.scss
@@ -5,13 +5,15 @@
.track {
position: absolute;
- background: rgba(255,255,255,0.3);
+ background: darken($light_grey, 6%);
+ border-radius: 2px;
.progress {
position: absolute;
background: $turquoise;
pointer-events: none;
left: 0;
+ border-radius: 2px;
}
}
@@ -22,14 +24,14 @@
}
&.horizontal {
- margin: 10px 0;
height: 20px;
.track {
- height: 2px;
- top: 9px;
+ height: 5px;
+ top: 50%;
right: 0;
left: 0;
+ margin-top: -3px;
.progress {
top: 0;
@@ -43,10 +45,10 @@
height: 100%;
.track {
- width: 2px;
+ width: 5px;
top: 0;
bottom: 0;
- left: 9px;
+ left: 12px;
.progress {
bottom: 0;
diff --git a/src/scss/global/_core.scss b/src/scss/global/_core.scss
index 17e78a83..fec404c8 100755
--- a/src/scss/global/_core.scss
+++ b/src/scss/global/_core.scss
@@ -2,11 +2,12 @@
body,
html {
- background: $off_white;
- color: #000000;
+ background: $white;
+ color: $darkest_grey;
font-family: "Archivo Narrow", Helvetica, Arial, sans-serif;
font-size: 14px;
touch-action: manipulation;
+ text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}
body {
@@ -41,6 +42,10 @@ main {
position: relative;
min-height: 100vh;
+ .content-wrapper {
+ padding: 40px 40px 80px;
+ }
+
a {
color: inherit;
text-decoration: none;
@@ -58,20 +63,10 @@ main {
white-space: pre-wrap;
}
- section.grid-wrapper,
- section.text-wrapper {
- padding: 40px;
- }
-
- section.list-wrapper {
- padding: 20px 0;
- }
-
@include responsive( $bp_medium ){
- section.grid-wrapper,
- section.text-wrapper {
- padding: 20px;
+ .content-wrapper {
+ padding: 20px 10px 40px;
}
section.list-wrapper {
@@ -88,13 +83,17 @@ main {
}
h1 {
- font-weight: 500;
- font-size: 40px;
+ @include feature_font();
+ font-weight: 800;
+ font-size: 3rem;
+ line-height: 3rem;
}
h2 {
- font-weight: 500;
- font-size: 30px;
+ @include feature_font();
+ font-size: 1.8rem;
+ font-weight: 400;
+ line-height: 2rem;
}
h3 {
@@ -108,9 +107,10 @@ h3 {
}
h4 {
- font-size: 14px;
+ @include feature_font();
+ font-size: 1.3rem;
margin-bottom: 14px;
- text-transform: uppercase;
+ font-weight: 800;
&.underline {
padding-bottom: 4px;
@@ -268,15 +268,24 @@ footer {
}
.flag {
- font-size: 12px;
+ font-size: 9px;
+ font-weight: bold;
display: inline-block;
- padding: 2px 4px;
+ padding: 2px 5px;
background: $light_grey;
color: $dark_grey;
+ border-radius: 3px;
+ vertical-align: bottom;
+ margin: 0 8px 1px;
&.blue {
background: $blue;
- color: #FFFFFF;
+ color: $white;
+ }
+
+ &.dark {
+ background: $dark_grey;
+ color: $white;
}
}
@@ -295,8 +304,8 @@ footer {
color: $white;
font-size: 11px;
line-height: 11px;
- top: -16px;
- left: 4px;
+ top: -22px;
+ left: 1px;
z-index: 97;
&::before {
@@ -325,6 +334,20 @@ footer {
@include responsive( $bp_medium ){
+ h1 {
+ font-size: 1.8rem;
+ line-height: 1.8rem;
+ }
+
+ h2 {
+ font-size: 1.2rem;
+ line-height: 1.3rem;
+ }
+
+ h3 {
+ font-size: 1rem;
+ }
+
.right-padding {
padding-right: 20px;
}
@@ -332,17 +355,4 @@ footer {
.left-padding {
padding-left: 20px;
}
-
- h1 {
- font-size: 30px;
- }
-
- h2 {
- font-size: 24px;
- }
-
- h3 {
- font-size: 18px;
- }
-
}
\ No newline at end of file
diff --git a/src/scss/global/_forms.scss b/src/scss/global/_forms.scss
index 214d067d..638de460 100755
--- a/src/scss/global/_forms.scss
+++ b/src/scss/global/_forms.scss
@@ -16,8 +16,8 @@ input[type="email"],
input[type="date"],
select {
padding: 10px 14px;
- background: #FFFFFF;
- color: #000000;
+ background: $faint_grey;
+ color: $darkest_grey;
font-family: "Archivo Narrow", Helvetica, Arial, sans-serif;
font-size: 14px;
}
@@ -44,91 +44,59 @@ button,
input[type="button"],
input[type="submit"] {
@include animate();
+ @include feature_font();
+ @include gradient_overlay();
display: inline-block;
- padding: 6px 20px;
- min-width: 160px;
- border: 0;
+ padding: 9px 30px 7px;
margin: 0 20px 10px 0;
- text-align: center;
- border: 2px solid $mid_grey;
- color: $mid_grey;
- background: transparent;
- text-transform: uppercase;
- font-size: 12px;
- font-weight: 800;
+ color: $white;
+ background: $dark_grey;
+ font-size: 14px;
box-sizing: border-box;
-
- &.wide {
- min-width: 200px;
- }
+ border-radius: 3px;
+ vertical-align: middle;
+ position: relative;
+ border: 0 !important;
&:hover{
cursor: pointer;
- border-color: darken( $mid_grey, 10%);
+ box-shadow: 1px 2px 6px rgba(0,0,0,0.2);
+
+ &:before {
+ opacity: 0.15;
+ }
}
&:active {
@include noanimate();
- background: $mid_grey;
- color: #FFFFFF;
- border-color: $mid_grey;
+ background: $black;
+ color: $white;
+ margin-top: 1px;
+ margin-bottom: 9px;
}
&.primary {
- border-color: $turquoise;
- color: $turquoise;
- &:hover {
- color: darken( $turquoise, 10% );
- border-color: darken( $turquoise, 10% );
- }
+ background: $turquoise;
+ color: $white;
&:active {
- color: #FFFFFF;
- background: $turquoise;
- border-color: $turquoise;
- }
- }
-
- &.secondary {
- color: $black;
- border-color: $black;
- &:hover {
- color: lighten( $black, 40% );
- border-color: lighten( $black, 40% );
- }
- &:active {
- color: $white;
background: $black;
- border-color: $black;
}
}
- &.alternative {
- color: $blue;
- border-color: $blue;
- &:hover {
- color: darken($blue, 10%);
- border-color: darken($blue, 10%);
- }
- &:active {
- color: $white;
- background: $blue;
- border-color: $blue;
- }
+ &.white {
+ color: $black;
+ background: $white;
}
&.confirming,
&.destructive {
- border-color: $red;
- color: $red;
- &:hover {
- color: darken( $red, 6% );
- border-color: darken( $red, 6% );
- }
- &:active {
- color: #FFFFFF;
- background: $red;
- border-color: $red;
- }
+ background: $red;
+ color: $white;
+ }
+
+ &.alternative {
+ background: $blue;
+ color: $white;
}
&.timing-out {
@@ -137,25 +105,12 @@ input[type="submit"] {
@include animate_timeout(2s);
content: '';
position: absolute;
+ top: 0;
left: 0;
bottom: 0;
width: 0;
- height: 3px;
- background: $red;
- }
- }
-
- &.white {
- color: #FFFFFF;
- border-color: #FFFFFF;
- &:hover {
- color: rgba(255,255,255,0.8);
- border-color: rgba(255,255,255,0.8);
- }
- &:active {
- color: #000000;
- background: #FFFFFF;
- border-color: #FFFFFF;
+ background: $black;
+ opacity: 0.25;
}
}
@@ -172,81 +127,19 @@ input[type="submit"] {
position: relative;
&:after {
+ pointer-events: none;
position: absolute;
display: block;
content: '';
- background: $mid_grey;
- opacity: 1;
animation: slideloader 1s infinite;
- right: 0;
- bottom: 0;
+ background: $mid_grey;
+ opacity: 0.5;
+ top: 0;
left: 0;
- height: 3px;
+ bottom: 0;
+ right: 0;
z-index: 1;
}
-
- &.primary {
- &:after {
- background: $turquoise;
- }
- }
-
- &.secondary {
- &:after {
- background: $black;
- }
- }
-
- &.destructive {
- &:after {
- background: $red;
- }
- }
-
- &.white {
- &:after {
- background: $white;
- }
- }
- }
-
- &.context-menu-trigger {
- border-color: transparent;
- padding: 6px;
- margin-bottom: 8px;
- font-size: 20px;
- min-width: 0;
- line-height: 20px;
- color: #000000;
- vertical-align: bottom;
-
- .fa {
- pointer-events: none;
- }
-
- &:hover {
- border-color: transparent;
- background: rgba(0,0,0,0.1);
- }
-
- &:active {
- color: #FFFFFF;
- background: #000000;
- }
-
- &.white {
- color: #FFFFFF;
-
- &:hover {
- border-color: transparent;
- background: rgba(255,255,255,0.1);
- }
-
- &:active {
- color: #000000;
- background: #FFFFFF;
- }
- }
}
&[disabled],
@@ -273,20 +166,12 @@ input[type="submit"] {
}
@include responsive( $bp_medium ){
- min-width: 120px;
margin-right: 10px;
+ padding-left: 20px;
+ padding-right: 20px;
}
@include responsive( $bp_narrow ){
- min-width: 0;
- }
-}
-
-.actions {
-
- .button:last-of-type,
- button:last-of-type {
- margin-right: 0;
}
}
diff --git a/src/scss/global/_variables.scss b/src/scss/global/_variables.scss
index e0f94ab4..0f125da4 100755
--- a/src/scss/global/_variables.scss
+++ b/src/scss/global/_variables.scss
@@ -1,11 +1,12 @@
$turquoise: #08d58f;
$off_white: #F5F5F5;
-$faint_grey: #EEEEEE;
-$light_grey: #DDDDDD;
-$mid_grey: #AAAAAA;
-$dark_grey: #333333;
-$darkest_grey: #111111;
+$faint_grey: #f4f2f0;
+$light_grey: #edeae7;
+$mid_grey: #a3a19f;
+$grey: #888888;
+$dark_grey: #232221;
+$darkest_grey: #1b1a19;
$secondary_grey: #888888;
$white: #FFFFFF;
$black: #000000;
@@ -18,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;
@@ -112,11 +114,6 @@ $bp_shallow: 650px;
animation-iteration-count: 1;
}
-@mixin blur( $size: 10px ) {
- -webkit-filter: blur( $size );
- filter: blur( $size );
-}
-
@keyframes slideloader {
0% { left: 0%; right: 100%; }
50% { left: 0%; right: 0%; }
@@ -177,3 +174,41 @@ $bp_shallow: 650px;
}
}
}
+
+@mixin blur( $size: 10px ) {
+ -webkit-filter: blur( $size );
+ filter: blur( $size );
+}
+
+@mixin feature_font(){
+ font-family: "Overpass";
+ letter-spacing: -0.04em;
+ font-weight: 600;
+}
+
+@mixin invert(){
+ -webkit-filter: invert(1);
+ filter: invert(1);
+}
+
+@mixin gradient_overlay($radius: 0, $opacity: 0){
+ position: relative;
+ border-radius: $radius;
+
+ &:before {
+ @include animate();
+ content: '';
+ display: block;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ opacity: $opacity;
+ z-index: 9;
+ background: -webkit-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: -moz-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: -o-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ background: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
+ }
+}
diff --git a/src/scss/views/_album.scss b/src/scss/views/_album.scss
index 85cb2dcc..ef34ab44 100755
--- a/src/scss/views/_album.scss
+++ b/src/scss/views/_album.scss
@@ -1,53 +1,77 @@
-.album-view {
+main .album-view {
+ padding-left: 30%;
+ position: relative;
+
.title {
- padding: 30px 40px;
-
- h3 {
- color: $mid_grey;
+ h2 {
a:hover {
color: darken($mid_grey, 20%);
}
}
- }
- .source {
- text-transform: uppercase;
- padding-bottom: 15px;
+ .details {
+ padding: 25px 0 30px;
+ }
}
.actions {
- @include clearfix();
+ padding-bottom: 30px;
}
- .description {
- padding-bottom: 5px;
- }
+ .thumbnail-wrapper {
+ position: absolute;
+ padding: 40px;
+ width: 30%;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
- .thumbnail {
- float: left;
- max-width: 230px;
- margin: 0 30px 30px 0;
+ .thumbnail {
+ max-width: 100%;
+ }
}
@include responsive( $bp_medium ){
- .title {
- padding: 20px 20px;
+ padding-top: 0;
+ padding-left: 10px;
+
+ .thumbnail-wrapper {
+ width: 40%;
+ padding: 10px 20px 10px 0;
+ float: left;
+ position: static;
+
+ .thumbnail {
+ float: none;
+ max-width: none;
+ margin: 0 0 0 0;
+ }
}
- .thumbnail {
- float: none;
- max-width: none;
- margin: 0 0 0 0;
+ .title {
+ padding: 30px 0 20px 40%;
- .image {
- padding-bottom: 70%;
+ .details {
+ padding: 5px 0;
}
}
.actions {
- text-align: center;
- padding-bottom: 20px;
+ @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;
}
}
}
diff --git a/src/scss/views/_artist.scss b/src/scss/views/_artist.scss
index e5af439a..1f999a4a 100755
--- a/src/scss/views/_artist.scss
+++ b/src/scss/views/_artist.scss
@@ -3,7 +3,6 @@
.intro {
position: relative;
@include clearfix();
- margin-bottom: 40px;
.parallax {
position: absolute;
@@ -18,7 +17,7 @@
.liner {
position: relative;
z-index: 1;
- padding: 20vh 40px 0 260px;
+ padding: 30vh 40px 0 260px;
.thumbnail {
position: absolute;
@@ -33,12 +32,16 @@
}
h1 {
- color: #FFFFFF;
+ color: $white;
padding-bottom: 25px;
}
.actions {
padding-bottom: 15px;
+
+ .context-menu-trigger {
+ color: $white;
+ }
}
.sub-views {
@@ -68,7 +71,6 @@
.body.about {
@include clearfix();
- padding: 0 40px 40px 40px;
.biography {
padding-left: 40px;
@@ -82,7 +84,7 @@
@include responsive( $bp_medium ){
.intro {
- margin-bottom: 20px;
+ margin-bottom: 0;
.parallax {
canvas {
@@ -91,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;
diff --git a/src/scss/views/_discover.scss b/src/scss/views/_discover.scss
index 997a12bf..df88a5d0 100755
--- a/src/scss/views/_discover.scss
+++ b/src/scss/views/_discover.scss
@@ -3,7 +3,7 @@
.intro {
position: relative;
- padding: 100px 40px 60px 40px;
+ padding: 90px 40px 70px;
z-index: 1;
.parallax {
@@ -20,7 +20,7 @@
position: relative;
color: $white;
- h1 {
+ h2 {
padding-bottom: 8px;
}
@@ -40,6 +40,7 @@
}
.seeds {
+ padding-top: 40px;
.seed {
display: inline-block;
@@ -50,6 +51,7 @@
position: relative;
vertical-align: top;
margin: 0 10px 10px 0;
+ border-radius: 3px;
.type {
display: inline-block;
@@ -109,7 +111,11 @@
.discover-new-releases-view {
.intro {
position: relative;
- padding-top: 50px;
+ padding-top: 80px;
+
+ header {
+ margin-bottom: 0;
+ }
.parallax {
position: absolute;
@@ -132,12 +138,13 @@
}
h1,
+ h2,
h3,
.actions {
padding-left: 240px;
}
- h1 {
+ h2 {
padding-top: 20px;
}
@@ -160,7 +167,7 @@
padding-top: 0;
}
- h1,
+ h2,
h3,
.actions {
padding-left: 120px;
diff --git a/src/scss/views/_library.scss b/src/scss/views/_library.scss
index 0984cf1c..d8f977ae 100755
--- a/src/scss/views/_library.scss
+++ b/src/scss/views/_library.scss
@@ -2,7 +2,7 @@
.library-albums-view {
.albums-detail-subview > .album {
position: relative;
- padding-bottom: 40px;
+ padding-bottom: 60px;
min-height: 220px;
.thumbnail {
@@ -11,19 +11,12 @@
}
.detail {
- padding-left: 220px;
-
- h3 {
- padding: 0 0 0 40px;
- }
-
- h4{
- padding: 0 0 10px 40px;
- }
+ padding-bottom: 20px;
}
+ .detail,
.track-list {
- padding-left: 220px;
+ padding-left: 260px;
}
}
diff --git a/src/scss/views/_playlist.scss b/src/scss/views/_playlist.scss
index 9477e0de..db16f310 100755
--- a/src/scss/views/_playlist.scss
+++ b/src/scss/views/_playlist.scss
@@ -1,54 +1,77 @@
-.playlist-view {
+main .playlist-view {
+ padding-left: 30%;
+ position: relative;
.title {
- padding: 30px 40px;
-
- h3 {
- color: $mid_grey;
+ h2 {
a:hover {
color: darken($mid_grey, 20%);
}
}
- }
- .source {
- text-transform: uppercase;
- padding-bottom: 15px;
+ .details {
+ padding: 25px 0 30px;
+ }
}
.actions {
- @include clearfix();
+ padding-bottom: 30px;
}
- .description {
- padding-bottom: 5px;
- }
+ .thumbnail-wrapper {
+ position: absolute;
+ padding: 40px;
+ width: 30%;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
- .thumbnail {
- float: left;
- max-width: 230px;
- margin: 0 30px 30px 0;
+ .thumbnail {
+ max-width: 100%;
+ }
}
@include responsive( $bp_medium ){
- .title {
- padding: 20px 20px;
+ padding-top: 0;
+ padding-left: 10px;
+
+ .thumbnail-wrapper {
+ width: 40%;
+ padding: 10px 20px 10px 0;
+ float: left;
+ position: static;
+
+ .thumbnail {
+ float: none;
+ max-width: none;
+ margin: 0 0 0 0;
+ }
}
- .thumbnail {
- float: none;
- max-width: none;
- margin: 0 0 0 0;
+ .title {
+ padding: 30px 0 20px 40%;
- .image {
- padding-bottom: 70%;
+ .details {
+ padding: 5px 0;
}
}
.actions {
- text-align: center;
- padding-bottom: 20px;
+ @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;
}
}
}
diff --git a/src/scss/views/_queue.scss b/src/scss/views/_queue.scss
index aec202e6..0e6fe5c5 100755
--- a/src/scss/views/_queue.scss
+++ b/src/scss/views/_queue.scss
@@ -1,52 +1,48 @@
.queue-view {
- .player {
+ .current-track {
text-align: center;
- padding: 40px 20px 10px;
+ padding-bottom: 40px;
- .artwork,
- .controls a {
- border: 0;
- }
-
- .artwork,
- .controls,
- .progress {
- display: block;
- max-width: 400px;
+ .artwork {
+ position: relative;
margin: 0 auto;
- }
+ width: 60%;
+ max-width: 400px;
+ display: block;
+ border: 0 !important;
- .controls {
- padding: 20px 0 10px;
- a {
- font-size: 18px;
+ .thumbnail {
+ margin: 0 auto;
+ max-width: 100%;
+ }
+
+ &.radio-enabled {
+ .thumbnail {
+ box-sizing: border-box;
+ padding: 10%;
+ }
+
+ .radio-overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ z-index: 2;
+ }
}
}
- .thumbnail {
- max-width: none;
+ .title {
+ font-size: 18px;
+ padding-top: 20px;
}
- .current-track {
- padding: 20px 0 0 0;
- font-weight: 700;
+ .artist-sentence {
+ display: block;
+ font-size: 18px;
+ opacity: 0.5;
}
-
- .slider {
- margin-top: 0;
- .track {
- background: rgba(0,0,0,0.2);
- }
- }
- }
-
- .radio {
- margin: 20px auto 0;
- padding: 10px 12px;
- max-width: 400px;
- background: $faint_grey;
- box-sizing: border-box;
}
}
\ No newline at end of file
diff --git a/src/scss/views/_search.scss b/src/scss/views/_search.scss
index f8ab368e..08482dba 100755
--- a/src/scss/views/_search.scss
+++ b/src/scss/views/_search.scss
@@ -1,17 +1,48 @@
.search-view {
- .search-result-sections {
- padding: 20px 20px 0;
+ .search-form {
+ position: absolute;
+ top: 40px;
+ left: 90px;
+ input {
+ @include feature_font();
+ padding: 0;
+ width: 100%;
+ font-size: 3rem;
+ font-weight: 700;
+ height: 3rem;
+ background: transparent;
+ border-bottom: 2px solid transparent;
+
+ &:focus,
+ &:active {
+ border-color: $turquoise;
+ }
+ }
+ }
+
+ .search-result-sections {
section {
.inner {
- padding: 10px 20px 0 20px;
}
}
}
@include responsive( $bp_medium ){
+
+ .search-form {
+ top: 18px;
+ left: 50px;
+ right: 60px;
+
+ input {
+ font-size: 1.8rem;
+ height: 1.8rem;
+ }
+ }
+
.search-result-sections {
padding: 10px 10px 0;
diff --git a/src/scss/views/_settings.scss b/src/scss/views/_settings.scss
index d8a80544..279845d9 100755
--- a/src/scss/views/_settings.scss
+++ b/src/scss/views/_settings.scss
@@ -1,8 +1,5 @@
.settings-view {
- section {
- padding: 40px;
- }
.status {
.item {
diff --git a/src/scss/views/_user.scss b/src/scss/views/_user.scss
index 6850f774..bfdc537a 100755
--- a/src/scss/views/_user.scss
+++ b/src/scss/views/_user.scss
@@ -2,20 +2,42 @@
.user-view {
.intro {
@include clearfix();
- padding-bottom: 20px;
+ position: relative;
- .thumbnail {
- max-width: 200px;
- margin: 40px 40px 0 40px;
- float: left;
+ .parallax {
+ position: absolute;
+ z-index: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ height: auto;
}
- h1 {
- padding-top: 80px;
- }
+ .liner {
+ position: relative;
+ z-index: 1;
+ padding: 30vh 40px 40px 260px;
- .actions {
- padding-top: 20px;
+ .thumbnail {
+ position: absolute;
+ z-index: 2;
+ left: 40px;
+ bottom: 20px;
+ max-width: 184px;
+
+ .image {
+ background-color: $darkest_grey;
+ }
+ }
+
+ h1 {
+ color: $white;
+ }
+
+ h2 {
+ padding-bottom: 25px;
+ }
}
}
@@ -25,7 +47,7 @@
.thumbnail {
float: none;
- margin: 20px auto 20px;
+ margin: 0 auto 20px;
}
h1 {