Tracks to one side... perhaps

This commit is contained in:
James Barnsley
2017-06-19 16:53:27 +12:00
parent e6bafd7267
commit b6d0cd77b9
14 changed files with 87 additions and 53 deletions

View File

@ -262,14 +262,39 @@
}
.context-menu-trigger {
padding: 8px 12px;
display: inline-block;
padding: 9px 10px 7px;
font-size: 18px;
cursor: pointer;
vertical-align: middle;
vertical-align: top;
margin-left: 10px;
position: relative;
border-radius: 3px;
&:hover {
color: $turquoise;
&: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;
}
}
}

View File

@ -21,7 +21,7 @@
}
.options {
color: $grey;
color: $black;
position: absolute;
top: 46px;
right: 10px;
@ -42,7 +42,7 @@
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 6px solid $light_grey;
border-bottom: 6px solid $mid_grey;
}
.option {

View File

@ -29,20 +29,15 @@ main {
.button,
button {
font-size: 13px;
font-weight: 600;
font-family: "Overpass";
background: transparent;
text-transform: none;
padding: 13px 10px;
margin: 0;
min-width: 0;
border: 0;
color: $black;
font-size: 13px;
font-weight: 600;
font-family: "Overpass";
&:active {
color: $blue;
}
}
}

View File

@ -2,7 +2,7 @@
.notifications {
position: fixed;
bottom: 55px;
bottom: 65px;
right: 15px;
z-index: 97;
pointer-events: none;

View File

@ -5,16 +5,20 @@
bottom: 0;
right: 0;
left: 0;
height: 40px;
background: $faint_grey;
height: 50px;
background: $light_grey;
color: $black;
border-top: 1px solid $light_grey;
background: -webkit-linear-gradient(to bottom left, $faint_grey, $light_grey);
background: -moz-linear-gradient(to bottom left, $faint_grey, $light_grey);
background: -o-linear-gradient(to bottom left, $faint_grey, $light_grey);
background: linear-gradient(to bottom left, $faint_grey, $light_grey);
.current-track {
@include animate();
cursor: pointer;
position: absolute;
bottom: 41px;
bottom: 50px;
width: 220px;
font-size: 14px;
color: $black;
@ -43,14 +47,14 @@
}
&:hover {
background: $light_grey;
background: darken($light_grey, 5%);
}
}
.control {
@include animate();
font-size: 12px;
color: $mid_grey;
color: $dark_grey;
cursor: pointer;
padding: 8px;
display: inline-block;
@ -66,13 +70,13 @@
}
&:hover {
color: $dark_grey;
color: $black;
}
}
section {
position: absolute;
top: 6px;
top: 11px;
&.playback {
left: 20px;
@ -81,7 +85,7 @@
}
&.progress {
top: 7px;
top: 12px;
left: 140px;
right: 280px;
padding-left: 20px;
@ -120,7 +124,7 @@
}
&.volume {
top: 7px;
top: 12px;
right: 20px;
width: 150px;

View File

@ -69,16 +69,16 @@ aside{
z-index: 2;
position: relative;
padding-top: 8px;
font-family: "Overpass";
a {
font-size: 15px;
@include animate();
@include feature_font();
font-weight: 800;
font-size: 16px;
color: $black;
text-decoration: none;
display: block;
padding: 4px 18px 4px 14px;
border-left: 4px solid transparent;
font-weight: 600;
padding: 6px 25px;
.icon {
height: 14px;
@ -102,16 +102,16 @@ aside{
}
&:hover:not([disabled]) {
opacity: 0.75;
opacity: 0.65;
}
}
section {
padding: 10px 0;
padding: 15px 0;
title {
display: block;
padding: 0 18px 2px 14px;
padding: 0 26px 5px 26px;
font-size: 10px;
text-transform: uppercase;
opacity: 0.5;

View File

@ -5,7 +5,7 @@
.track {
position: absolute;
background: $light_grey;
background: darken($light_grey, 5%);
border-radius: 2px;
.progress {