diff --git a/src/App/styles.less b/src/App/styles.less index b40d9204a..503208046 100644 --- a/src/App/styles.less +++ b/src/App/styles.less @@ -30,9 +30,11 @@ --secondary-background-color: rgba(26, 23, 62, 1); --tertiary-background-color: rgba(15, 13, 32, 1); --primary-foreground-color: rgba(255, 255, 255, 1); + --secondary-foreground-color: rgb(12, 11, 17, 1); --primary-overlay-color: rgba(255, 255, 255, 0.1); --primary-accent-color: rgb(123, 91, 245); --secondary-accent-color: rgba(34, 179, 101, 1); + --tertiary-accent-color: rgba(246, 199, 0, 1); --border-radius: 0.75rem; } diff --git a/src/routes/MetaDetails/StreamsList/Stream/StreamPlaceholder/styles.less b/src/routes/MetaDetails/StreamsList/Stream/StreamPlaceholder/styles.less index 264f676cc..ac3a46192 100644 --- a/src/routes/MetaDetails/StreamsList/Stream/StreamPlaceholder/styles.less +++ b/src/routes/MetaDetails/StreamsList/Stream/StreamPlaceholder/styles.less @@ -17,6 +17,7 @@ .addon-name { width: 5rem; height: 2rem; + border-radius: var(--border-radius); background-color: var(--color-placeholder-background); } } @@ -27,6 +28,7 @@ .description-container { height: 1.2rem; + border-radius: var(--border-radius); background-color: var(--color-placeholder-background); &:nth-child(1) { diff --git a/src/routes/MetaDetails/StreamsList/Stream/styles.less b/src/routes/MetaDetails/StreamsList/Stream/styles.less index e7c0b0dc6..feec5af81 100644 --- a/src/routes/MetaDetails/StreamsList/Stream/styles.less +++ b/src/routes/MetaDetails/StreamsList/Stream/styles.less @@ -11,22 +11,26 @@ .stream-container { display: flex; flex-direction: row; - align-items: center; flex-wrap: wrap; - padding: 0.5rem 1rem; + align-items: center; + padding: 0.5rem; + margin-bottom: 0.5rem; + border-radius: var(--border-radius); &:hover, &:focus { - background-color: @color-background; + background-color: var(--primary-overlay-color); } &:hover, &:focus, &:global(.selected) { .play-icon { + opacity: 1; + .play-icon-circle-centered-background { - fill: @color-accent4-90; + fill: var(--secondary-accent-color); } .play-icon-circle-centered-icon { - fill: @color-surface-light5-90; + fill: var(--primary-foreground-color); } } } @@ -36,19 +40,21 @@ .thumbnail { display: block; - width: 5rem; height: 5rem; - object-fit: contain; + width: 8rem; + object-fit: cover; object-position: center; opacity: 0.9; } .placeholder-icon { display: block; - width: 5rem; height: 5rem; - padding: 0.5rem; - color: @color-secondaryvariant1-light3-90; + width: 8rem; + padding: 1rem; + color: var(--primary-foreground-color); + background-color: var(--primary-overlay-color); + opacity: 0.25; } .addon-name { @@ -56,49 +62,48 @@ max-height: 3.6em; font-size: 1.1rem; text-align: center; - color: @color-surface-light5-90; + color: var(--primary-foreground-color); } } .info-container { flex: 1; max-height: 3.6em; - margin: 0.5rem 1rem; - white-space: pre; - color: @color-surface-light5-90; + padding: 0 0.5rem 0 1.5rem; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + color: var(--primary-foreground-color); } .play-icon { flex: none; width: 3.5rem; height: 5rem; + opacity: 0; .play-icon-circle-centered-background { fill: none; } .play-icon-circle-centered-icon { - fill: @color-surface-dark5-90; + fill: var(--primary-foreground-color); } } .progress-bar-container { flex: 0 0 100%; - background-color: @color-background-light2; + background-color: var(--primary-accent-color); .progress-bar { height: 0.5rem; - background-color: @color-primaryvariant1; + background-color: var(--primary-foreground-color); } } } @media only screen and (max-width: @minimum) { .stream-container { - &:hover, &focus { - background-color: @color-surface-light5-20; - } - .thumbnail-container, .addon-name-container { .addon-name { font-weight: 500; @@ -107,7 +112,7 @@ .play-icon { .play-icon-circle-centered-icon { - fill: @color-surface-light5-90; + fill: var(--primary-foreground-color); } } } diff --git a/src/routes/MetaDetails/StreamsList/styles.less b/src/routes/MetaDetails/StreamsList/styles.less index afdbcd96d..3980de463 100644 --- a/src/routes/MetaDetails/StreamsList/styles.less +++ b/src/routes/MetaDetails/StreamsList/styles.less @@ -37,7 +37,7 @@ flex: none; font-size: 1.4rem; text-align: center; - color: @color-secondaryvariant2-light1-90; + color: var(--primary-foreground-color); } } @@ -68,6 +68,7 @@ flex: 0 1 auto; align-self: stretch; margin-top: 1rem; + padding: 0 1rem; overflow-y: auto; } @@ -80,10 +81,12 @@ justify-content: center; margin: 1rem; padding: 1.5rem 1rem; - background-color: @color-accent3; + border-radius: var(--border-radius); + background-color: var(--secondary-accent-color); - &:hover, &:focus { - background-color: @color-accent3-light1; + &:hover { + box-shadow: 0 0 0 0.15rem var(--secondary-accent-color) inset; + background-color: transparent; } .icon { @@ -91,16 +94,16 @@ width: 2rem; height: 2rem; margin-right: 1rem; - color: @color-surface-light5-90; + color: var(--primary-foreground-color); } .label { flex: 0 1 auto; font-size: 1.5rem; - font-weight: 500; + font-weight: 700; max-height: 3.6em; text-align: center; - color: @color-surface-light5-90; + color: var(--primary-foreground-color); } } } diff --git a/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBarPlaceholder/styles.less b/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBarPlaceholder/styles.less index 047966047..342178cee 100644 --- a/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBarPlaceholder/styles.less +++ b/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBarPlaceholder/styles.less @@ -12,7 +12,7 @@ flex-direction: row; align-items: center; width: 6.5rem; - height: 3.5rem; + height: 3rem; padding: 0.5rem; &>:first-child { diff --git a/src/routes/MetaDetails/VideosList/SeasonsBar/styles.less b/src/routes/MetaDetails/VideosList/SeasonsBar/styles.less index 56113fde7..7146e3eef 100644 --- a/src/routes/MetaDetails/VideosList/SeasonsBar/styles.less +++ b/src/routes/MetaDetails/VideosList/SeasonsBar/styles.less @@ -13,6 +13,7 @@ display: flex; flex-direction: row; justify-content: space-between; + align-items: center; padding: 1rem; overflow: visible; @@ -22,21 +23,16 @@ flex-direction: row; align-items: center; width: 6.5rem; - height: 3.5rem; + height: 3rem; + border-radius: 3rem; padding: 0.5rem; &:hover, &:focus { - .label { - color: @color-surface-light2-90; - } - - .icon { - color: @color-surface-light2-90; - } + background-color: var(--primary-overlay-color); } &:focus { - background-color: @color-surface-light5-10; + background-color: var(--primary-foreground-color); } &>:first-child { @@ -48,14 +44,14 @@ max-height: 1.2em; font-weight: 500; text-align: center; - color: @color-surface-90; + color: var(--primary-foreground-color); } .icon { flex: none; width: 1.5rem; height: 1.5rem; - color: @color-surface-90; + color: var(--primary-foreground-color); } } @@ -84,7 +80,7 @@ @media only screen and (max-width: @minimum) { .seasons-bar-container { - padding-top: 0; + height: 6rem; .seasons-popup-label-container { .multiselect-menu-container { diff --git a/src/routes/MetaDetails/VideosList/Video/Video.js b/src/routes/MetaDetails/VideosList/Video/Video.js index bc0d9a627..bf0ee96ce 100644 --- a/src/routes/MetaDetails/VideosList/Video/Video.js +++ b/src/routes/MetaDetails/VideosList/Video/Video.js @@ -110,6 +110,7 @@ const Video = ({ className, id, title, thumbnail, episode, released, upcoming, w { watched ?