Parallax as white

This commit is contained in:
James Barnsley
2018-08-27 08:56:39 +12:00
parent 9d7ed8efdf
commit 049e41feeb
10 changed files with 14031 additions and 10747 deletions

View File

@ -3930,6 +3930,8 @@ input[type="submit"] {
.parallax.blur canvas { .parallax.blur canvas {
-webkit-filter: blur(10px); -webkit-filter: blur(10px);
filter: blur(10px); } filter: blur(10px); }
.light-theme .parallax {
background: #f4f2f0; }
@font-face { @font-face {
font-family: 'Material Icons'; font-family: 'Material Icons';
@ -4806,7 +4808,7 @@ aside {
.light-theme .list .list-item { .light-theme .list .list-item {
border-color: rgba(0, 0, 0, 0.05); } border-color: rgba(0, 0, 0, 0.05); }
.light-theme .list .list-item.selected { .light-theme .list .list-item.selected {
background: rgba(0, 0, 0, 0.08) !important; } background: #f4f2f0 !important; }
.list .list-item.playing { .list .list-item.playing {
color: #08d58f; } color: #08d58f; }
.list .list-item .select-zone, .list .list-item .select-zone,
@ -5435,11 +5437,6 @@ main header {
left: 0; left: 0;
width: 100%; width: 100%;
z-index: 98; } z-index: 98; }
.light-theme main header.overlay h1 {
color: #FFFFFF; }
.light-theme main header.overlay .button,
.light-theme main header.overlay button {
color: #FFFFFF; }
@media (max-width: 800px) { @media (max-width: 800px) {
main header { main header {
padding: 10px 10px 10px 0; padding: 10px 10px 10px 0;
@ -6073,12 +6070,12 @@ main header {
padding-bottom: 25px; padding-bottom: 25px;
font-size: 5rem; font-size: 5rem;
line-height: 5rem; } line-height: 5rem; }
.light-theme .artist-view .intro .liner h1 {
color: #FFFFFF; }
.artist-view .intro .liner .actions { .artist-view .intro .liner .actions {
padding-bottom: 25px; } padding-bottom: 25px; }
.artist-view .intro .liner .actions .context-menu-trigger { .artist-view .intro .liner .actions .context-menu-trigger {
color: #FFFFFF; } color: #FFFFFF; }
.light-theme .artist-view .intro .liner .actions .context-menu-trigger {
color: #121212; }
.artist-view .body.overview .albums { .artist-view .body.overview .albums {
padding-top: 30px; } padding-top: 30px; }
@ -6513,6 +6510,8 @@ main .track-view {
color: #FFFFFF; } color: #FFFFFF; }
.discover-view .intro .liner h2 { .discover-view .intro .liner h2 {
padding-bottom: 8px; } padding-bottom: 8px; }
.light-theme .discover-view .intro .liner {
color: #121212; }
.discover-view .parameters { .discover-view .parameters {
padding-top: 50px; } padding-top: 50px; }
@ -6549,6 +6548,8 @@ main .track-view {
.discover-view .seeds .seed.has-thumbnail .label, .discover-view .seeds .seed.has-thumbnail .label,
.discover-view .seeds .seed.has-thumbnail .name { .discover-view .seeds .seed.has-thumbnail .name {
padding-left: 52px; } padding-left: 52px; }
.light-theme .discover-view .seeds .seed {
color: #121212; }
.discover-view .tunabilities::after { .discover-view .tunabilities::after {
content: ''; content: '';
@ -6688,6 +6689,9 @@ main .track-view {
.discover-featured-view .intro .content .actions, .discover-featured-view .intro .content .actions,
.discover-new-releases-view .intro .content .actions { .discover-new-releases-view .intro .content .actions {
padding-top: 40px; } padding-top: 40px; }
.light-theme .discover-featured-view .intro .content, .light-theme
.discover-new-releases-view .intro .content {
color: #121212; }
@media (max-width: 800px) { @media (max-width: 800px) {
.discover-featured-view .intro, .discover-featured-view .intro,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@
// Release details // Release details
// These are automatically injected to built HTML // These are automatically injected to built HTML
var build = "1535144389"; var build = "1535315726";
var version = "3.24.0"; var version = "3.24.0";
// Construct the script tag // Construct the script tag

View File

@ -187,8 +187,8 @@ export default class Parallax extends React.Component{
switch (this.props.theme){ switch (this.props.theme){
case 'light': case 'light':
gradient.addColorStop(0.5, 'rgba(24,24,24,0)'); gradient.addColorStop(0, 'rgba(255,255,255,0.4)');
gradient.addColorStop(0.9, 'rgba(24,24,24,0.6)'); gradient.addColorStop(0.9, 'rgba(255,255,255,1)');
break; break;
case 'dark': case 'dark':

View File

@ -61,17 +61,6 @@ main {
left: 0; left: 0;
width: 100%; width: 100%;
z-index: 98; z-index: 98;
.light-theme & {
h1 {
color: $white;
}
.button,
button {
color: $white;
}
}
} }
@include responsive($bp_medium){ @include responsive($bp_medium){

View File

@ -88,4 +88,8 @@
@include blur(); @include blur();
} }
} }
.light-theme & {
background: $faint_grey;
}
} }

View File

@ -41,7 +41,7 @@
border-color: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.05);
&.selected { &.selected {
background: rgba(0,0,0,0.08) !important; background: $faint_grey !important;
} }
} }

View File

@ -28,10 +28,6 @@
padding-bottom: 25px; padding-bottom: 25px;
font-size: 5rem; font-size: 5rem;
line-height: 5rem; line-height: 5rem;
.light-theme & {
color: $white;
}
} }
.actions { .actions {
@ -39,6 +35,10 @@
.context-menu-trigger { .context-menu-trigger {
color: $white; color: $white;
.light-theme & {
color: $darkest_grey;
}
} }
} }
} }

View File

@ -28,6 +28,10 @@
h2 { h2 {
padding-bottom: 8px; padding-bottom: 8px;
} }
.light-theme & {
color: $darkest_grey;
}
} }
} }
@ -78,6 +82,10 @@
padding-left: 52px; padding-left: 52px;
} }
} }
.light-theme & {
color: $darkest_grey;
}
} }
} }
@ -292,6 +300,10 @@
.actions { .actions {
padding-top: 40px; padding-top: 40px;
} }
.light-theme & {
color: $darkest_grey;
}
} }
} }