Softer UI
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
|
||||
main {
|
||||
header {
|
||||
padding: 30px 40px;
|
||||
box-sizing: border-box;
|
||||
padding: 20px 40px;
|
||||
|
||||
h1 {
|
||||
h2 {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
background-color: $light_grey;
|
||||
background-position: 50% 50%;
|
||||
background-size: cover;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.zoom {
|
||||
|
||||
@ -12,14 +12,16 @@
|
||||
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 12px 10px 12px 20px;
|
||||
border-top: 1px solid $light_grey;
|
||||
border-bottom: 1px solid $light_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 {
|
||||
@ -31,6 +33,7 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
font-size: 10px;
|
||||
display: none;
|
||||
|
||||
.fa {
|
||||
position: absolute;
|
||||
@ -73,8 +76,6 @@
|
||||
|
||||
&.track-list {
|
||||
.list-item {
|
||||
padding-left: 40px;
|
||||
|
||||
.col {
|
||||
&.name {
|
||||
width: 40%;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
.notifications {
|
||||
position: fixed;
|
||||
bottom: 15px;
|
||||
right: 30px;
|
||||
bottom: 55px;
|
||||
right: 15px;
|
||||
z-index: 97;
|
||||
pointer-events: none;
|
||||
width: 300px;
|
||||
|
||||
@ -5,18 +5,19 @@
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: 50px;
|
||||
height: 40px;
|
||||
background: $white;
|
||||
color: $black;
|
||||
border-top: 1px solid $light_grey;
|
||||
|
||||
.current-track {
|
||||
@include animate();
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
bottom: 50px;
|
||||
bottom: 41px;
|
||||
width: 220px;
|
||||
font-size: 16px;
|
||||
color: $white;
|
||||
font-size: 14px;
|
||||
color: $black;
|
||||
text-decoration: none;
|
||||
|
||||
.thumbnail {
|
||||
@ -25,7 +26,7 @@
|
||||
}
|
||||
|
||||
.title {
|
||||
padding-top: 18px;
|
||||
padding-top: 20px;
|
||||
@include one_line_text;
|
||||
}
|
||||
|
||||
@ -42,14 +43,14 @@
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgba(255,255,255,0.1);
|
||||
background: $light_grey;
|
||||
}
|
||||
}
|
||||
|
||||
.control {
|
||||
@include animate();
|
||||
font-size: 16px;
|
||||
color: $dark_grey;
|
||||
font-size: 12px;
|
||||
color: $mid_grey;
|
||||
cursor: pointer;
|
||||
padding: 8px;
|
||||
display: inline-block;
|
||||
@ -57,7 +58,7 @@
|
||||
|
||||
&.play {
|
||||
font-size: 24px;
|
||||
margin-top: -4px;
|
||||
margin-top: -6px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
@ -65,23 +66,22 @@
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $blue;
|
||||
color: $dark_grey;
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
top: 6px;
|
||||
|
||||
&.playback {
|
||||
left: 20px;
|
||||
top: 11px;
|
||||
width: 120px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.progress {
|
||||
top: 12px;
|
||||
top: 7px;
|
||||
left: 140px;
|
||||
right: 280px;
|
||||
padding-left: 20px;
|
||||
@ -96,30 +96,31 @@
|
||||
}
|
||||
|
||||
.current {
|
||||
font-size: 11px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
top: 6px;
|
||||
left: 0;
|
||||
width: 45px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.total {
|
||||
font-size: 11px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
top: 6px;
|
||||
right: 0;
|
||||
width: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
&.settings {
|
||||
top: 11px;
|
||||
right: 170px;
|
||||
width: 120px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.volume {
|
||||
top: 12px;
|
||||
top: 7px;
|
||||
right: 20px;
|
||||
width: 150px;
|
||||
|
||||
@ -139,6 +140,12 @@
|
||||
right: 0;
|
||||
left: 30px;
|
||||
}
|
||||
|
||||
.muted {
|
||||
.slider .progress {
|
||||
background: $mid_grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,8 +7,8 @@ aside{
|
||||
z-index: 96;
|
||||
width: 220px;
|
||||
overflow: hidden;
|
||||
background: $darkest_grey;
|
||||
color: $white;
|
||||
background: $off_white;
|
||||
color: $darkest_grey;
|
||||
|
||||
.liner {
|
||||
overflow-y: auto;
|
||||
@ -69,22 +69,22 @@ aside{
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
padding-top: 8px;
|
||||
font-family: "Overpass";
|
||||
|
||||
a {
|
||||
font-size: 16px;
|
||||
color: $white;
|
||||
font-size: 15px;
|
||||
color: $black;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding: 6px 18px 6px 6px;
|
||||
padding: 4px 18px 4px 14px;
|
||||
border-left: 4px solid transparent;
|
||||
font-family: "Raleway";
|
||||
font-weight: 700;
|
||||
font-weight: 600;
|
||||
|
||||
.icon {
|
||||
height: 14px;
|
||||
padding-right: 8px;
|
||||
vertical-align: top;
|
||||
margin-top: 4px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
@ -106,8 +106,8 @@ aside{
|
||||
|
||||
title {
|
||||
display: block;
|
||||
padding: 0 18px 2px 6px;
|
||||
font-size: 11px;
|
||||
padding: 0 18px 2px 14px;
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
opacity: 0.5;
|
||||
color: $mid_grey;
|
||||
|
||||
@ -6,12 +6,14 @@
|
||||
.track {
|
||||
position: absolute;
|
||||
background: $light_grey;
|
||||
border-radius: 2px;
|
||||
|
||||
.progress {
|
||||
position: absolute;
|
||||
background: $turquoise;
|
||||
pointer-events: none;
|
||||
left: 0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user