diff --git a/src/common/MetaPreview/ActionButton/styles.less b/src/common/MetaPreview/ActionButton/styles.less index 748b3a39d..a74c0cc0e 100644 --- a/src/common/MetaPreview/ActionButton/styles.less +++ b/src/common/MetaPreview/ActionButton/styles.less @@ -1,10 +1,13 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; + .action-button-container { display: flex; flex-direction: column; justify-content: center; + background-color: @color-surface-light5-20; &:hover, &:focus { - background-color: var(--color-surfacedarker60); + background-color: @color-accent3; } .icon-container { @@ -21,7 +24,7 @@ display: block; width: 100%; height: 100%; - fill: var(--color-surfacelighter); + fill: @color-surface-light5-90; } } @@ -38,7 +41,7 @@ padding: 0 0.2rem; max-height: 2.4em; text-align: center; - color: var(--color-surfacelighter); + color: @color-surface-light5-90; } } } \ No newline at end of file diff --git a/src/common/MetaPreview/MetaLinks/MetaLinks.js b/src/common/MetaPreview/MetaLinks/MetaLinks.js index 0ddb3d096..586606393 100644 --- a/src/common/MetaPreview/MetaLinks/MetaLinks.js +++ b/src/common/MetaPreview/MetaLinks/MetaLinks.js @@ -9,7 +9,7 @@ const MetaLinks = ({ className, label, links }) => {
{ typeof label === 'string' && label.length > 0 ? -
{label}:
+
{label}
: null } @@ -17,9 +17,8 @@ const MetaLinks = ({ className, label, links }) => { Array.isArray(links) && links.length > 0 ?
{links.map(({ label, href }, index) => ( - ))}
diff --git a/src/common/MetaPreview/MetaLinks/styles.less b/src/common/MetaPreview/MetaLinks/styles.less index 1a9ded8ba..5d1c7b25c 100644 --- a/src/common/MetaPreview/MetaLinks/styles.less +++ b/src/common/MetaPreview/MetaLinks/styles.less @@ -1,8 +1,10 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; + .meta-links-container { .label-container { margin-bottom: 0.2rem; - font-size: 1.2rem; - color: var(--color-surfacelighter); + text-transform: uppercase; + color: @color-surface-dark3-90; } .links-container { @@ -16,12 +18,21 @@ flex-basis: auto; margin-right: 0.5rem; margin-bottom: 0.2rem; + padding: 0.3rem 0.5rem; white-space: nowrap; text-overflow: ellipsis; - color: var(--color-surfacelighter); + border-radius: 2rem; + border: var(--focus-outline-size) solid transparent; + color: @color-surface-light2-90; + background-color: @color-surface-light5-20; - &:hover { - text-decoration: underline; + &:hover, &:focus { + background-color: @color-surface-light5-30; + } + + &:focus { + outline: none; + border-color: @color-surface-light5; } } } diff --git a/src/common/MetaPreview/MetaPreview.js b/src/common/MetaPreview/MetaPreview.js index 0aca83e9a..2b2d5851b 100644 --- a/src/common/MetaPreview/MetaPreview.js +++ b/src/common/MetaPreview/MetaPreview.js @@ -3,6 +3,7 @@ const PropTypes = require('prop-types'); const classnames = require('classnames'); const UrlUtils = require('url'); const Icon = require('stremio-icons/dom'); +const Button = require('stremio/common/Button'); const Image = require('stremio/common/Image'); const ModalDialog = require('stremio/common/ModalDialog'); const SharePrompt = require('stremio/common/SharePrompt'); @@ -102,8 +103,14 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele null } { - (typeof releaseInfo === 'string' && releaseInfo.length > 0) || (released instanceof Date && !isNaN(released.getTime())) || (typeof runtime === 'string' && runtime.length > 0) ? + (typeof releaseInfo === 'string' && releaseInfo.length > 0) || (released instanceof Date && !isNaN(released.getTime())) || (typeof runtime === 'string' && runtime.length > 0) || typeof linksGroups[IMDB_LINK_CATEGORY] === 'object' ?
+ { + typeof runtime === 'string' && runtime.length > 0 ? +
{runtime}
+ : + null + } { typeof releaseInfo === 'string' && releaseInfo.length > 0 ?
{releaseInfo}
@@ -114,8 +121,17 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele null } { - typeof runtime === 'string' && runtime.length > 0 ? -
{runtime}
+ typeof linksGroups[IMDB_LINK_CATEGORY] === 'object' ? + : null } @@ -178,18 +194,6 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele : null } - { - typeof linksGroups[IMDB_LINK_CATEGORY] === 'object' ? - - : - null - } { !compact && typeof linksGroups[SHARE_LINK_CATEGORY] === 'object' ? diff --git a/src/common/MetaPreview/styles.less b/src/common/MetaPreview/styles.less index c17afc0cc..4d8c7b879 100644 --- a/src/common/MetaPreview/styles.less +++ b/src/common/MetaPreview/styles.less @@ -1,3 +1,5 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; + .meta-preview-container { position: relative; z-index: 0; @@ -50,9 +52,27 @@ .meta-info-container { flex: 1; align-self: stretch; - padding: 0 1rem; + padding: 0 2rem; overflow-y: auto; + &:hover { + &::-webkit-scrollbar-thumb { + background-color: @color-secondaryvariant2-light1; + } + + &::-webkit-scrollbar-track { + background-color: @color-background-dark2; + } + } + + &::-webkit-scrollbar-thumb { + background-color: transparent; + } + + &::-webkit-scrollbar-track { + background-color: transparent; + } + .logo, .logo-placeholder-icon { display: block; max-width: 100%; @@ -74,6 +94,7 @@ .runtime-release-info-container { display: flex; flex-direction: row; + align-items: center; flex-wrap: wrap; margin-top: 1rem; @@ -81,22 +102,62 @@ flex-grow: 0; flex-shrink: 1; flex-basis: auto; - margin: 1rem 1rem 1rem 0; - font-size: 1.2rem; - text-align: center; - color: var(--color-surfacelighter); + margin-right: 2rem; + margin-bottom: 0.5rem; + font-size: 1.4rem; + color: @color-surface-light5-90; + } + + .imdb-button-container { + flex: 0 1 none; + display: flex; + flex-direction: row; + align-items: center; + margin-bottom: 0.5rem; + padding: 0.3rem 1rem; + border-radius: 2.3rem; + border: var(--focus-outline-size) solid transparent; + background-color: @color-surface-light5-20; + + &:hover, &:focus { + background-color: @color-surface-light5-30; + } + + &:focus { + outline: none; + border: var(--focus-outline-size) solid @color-surface-light5; + } + + .icon { + flex: none; + width: 3rem; + margin-right: 1rem; + fill: @color-surface-dark2-90; + } + + .label { + flex-grow: 0; + flex-shrink: 1; + flex-basis: auto; + max-height: 1.2em; + font-size: 1.6rem; + font-weight: 500; + color: @color-surface-light5-90; + } } } .name-container { margin-top: 1rem; - font-size: 1.4rem; - color: var(--color-surfacelighter); + font-size: 1.7rem; + color: @color-surface-light5-90; } .description-container { + max-height: 6.8em; margin-top: 1rem; - color: var(--color-surfacelighter); + line-height: 1.7em; + color: @color-surface-light5-90; } .meta-links { @@ -110,13 +171,17 @@ display: flex; flex-direction: row; flex-wrap: wrap; - padding: 0 1rem; + padding: 0 2rem; .action-button { flex: none; width: 6rem; height: 6rem; - margin: 1rem 0; + margin: 2rem 0; + + &:not(:last-child) { + margin-right: 2rem; + } } } } diff --git a/src/routes/MetaDetails/StreamsList/Stream/Stream.js b/src/routes/MetaDetails/StreamsList/Stream/Stream.js index 13cf4f04b..63acbfe14 100644 --- a/src/routes/MetaDetails/StreamsList/Stream/Stream.js +++ b/src/routes/MetaDetails/StreamsList/Stream/Stream.js @@ -2,7 +2,7 @@ const React = require('react'); const PropTypes = require('prop-types'); const classnames = require('classnames'); const Icon = require('stremio-icons/dom'); -const { Button, Image } = require('stremio/common'); +const { Button, Image, PlayIconCircleCentered } = require('stremio/common'); const StreamPlaceholder = require('./StreamPlaceholder'); const styles = require('./styles'); @@ -11,7 +11,7 @@ const Stream = ({ className, addonName, title, thumbnail, progress, ...props })
); diff --git a/src/routes/MetaDetails/StreamsList/styles.less b/src/routes/MetaDetails/StreamsList/styles.less index f6cc71c59..fee483d28 100644 --- a/src/routes/MetaDetails/StreamsList/styles.less +++ b/src/routes/MetaDetails/StreamsList/styles.less @@ -1,7 +1,12 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; + .streams-list-container { display: flex; flex-direction: column; - background: var(--color-backgrounddark80); + + &:global(.streams-list-message) { + background-color: @color-background-dark3-80; + } .streams-scroll-container { flex-grow: 0; @@ -10,24 +15,40 @@ align-self: stretch; overflow-y: auto; - .message-label { - padding: 2rem 0; - font-size: 2rem; - text-align: center; - color: var(--color-surfacelighter); + .message-container { + display: flex; + flex-direction: column; + align-items: center; + width: var(--item-size); + height: 100%; + padding: 2rem; + + &>:not(:last-child) { + margin-bottom: 1rem; + } + + .image { + flex: none; + width: 10rem; + opacity: 0.9; + } + + .label { + flex: none; + font-size: 1.4rem; + text-align: center; + color: @color-surface-light5-90; + } + + .description { + flex: none; + text-align: center; + color: @color-surface-dark1-90; + } } .stream { width: var(--item-size); - margin: 1rem 2rem; - - &:first-child { - margin-top: 2rem; - } - - &:last-child { - margin-bottom: 0; - } } } @@ -38,30 +59,28 @@ flex-direction: row; align-items: center; justify-content: center; - width: var(--item-size); - margin: 1rem 2rem 2rem 2rem; - padding: 1rem; - background-color: var(--color-signal5); + padding: 1.3rem; + background-color: @color-accent3; &:hover, &:focus { - filter: brightness(1.2); + background-color: @color-accent3-light2; } .icon { flex: none; - width: 3rem; - height: 3rem; + width: 2rem; + height: 2rem; margin-right: 1rem; - fill: var(--color-surfacelighter); + fill: @color-surface-light5-90; } .label { flex-grow: 0; flex-shrink: 1; flex-basis: auto; - font-size: 1.5rem; + font-size: 1.4rem; max-height: 3.6em; - color: var(--color-surfacelighter); + color: @color-surface-light5-90; } } } \ No newline at end of file diff --git a/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBar.js b/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBar.js index d830d710d..5fdd455da 100644 --- a/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBar.js +++ b/src/routes/MetaDetails/VideosList/SeasonsBar/SeasonsBar.js @@ -16,9 +16,6 @@ const SeasonsBar = ({ className, seasons, season, onSelect }) => { const selected = React.useMemo(() => { return [String(season)]; }, [season]); - const renderMultiselectLabelContent = React.useMemo(() => () => ( -
Season {season}
- ), [season]); const prevNextButtonOnClick = React.useCallback((event) => { if (typeof onSelect === 'function') { const seasonIndex = seasons.indexOf(season); @@ -50,6 +47,7 @@ const SeasonsBar = ({ className, seasons, season, onSelect }) => {
{ options={options} selected={selected} disabled={false} - renderLabelContent={renderMultiselectLabelContent} onSelect={seasonOnSelect} />
diff --git a/src/routes/MetaDetails/VideosList/SeasonsBar/styles.less b/src/routes/MetaDetails/VideosList/SeasonsBar/styles.less index b70da1d3f..351da1a36 100644 --- a/src/routes/MetaDetails/VideosList/SeasonsBar/styles.less +++ b/src/routes/MetaDetails/VideosList/SeasonsBar/styles.less @@ -1,24 +1,54 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; + +:import('~stremio/common/Multiselect/styles.less') { + season-label: label; + season-icon: icon; +} + .seasons-bar-container { display: flex; flex-direction: row; overflow: visible; + background: @color-background-dark3-80; .prev-season-button, .next-season-button { flex: none; - width: 4rem; - height: 4rem; - padding: 1rem; - background-color: var(--color-surfacedarker60); + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + width: 6.5rem; + padding: 0.5rem; &:hover, &:focus { - background-color: var(--color-surfacedarker); + .label { + color: @color-surface-dark1; + } + + .icon { + fill: @color-surface-dark3; + } + } + + &:focus { + outline: none; + background-color: @color-surface-light5-10; + } + + &>:first-child { + margin-right: 1rem; + } + + .label { + max-height: 1.2em; + color: @color-surface-dark3-90; } .icon { display: block; - width: 100%; - height: 100%; - fill: var(--color-surfacelighter); + width: 1.5rem; + height: 1.5rem; + fill: @color-surface-dark5; } } @@ -28,26 +58,29 @@ display: flex; align-items: center; justify-content: center; - margin: 0 1rem; - background-color: var(--color-surfacedarker60); + margin: 0 2rem; + background: none; overflow: visible; &:hover, &:focus { - background-color: var(--color-surfacedarker); + background-color: @color-background-dark1; + + .season-icon { + fill: @color-surface-dark3; + } } &:global(.active) { - background-color: var(--color-surfacedark); + background-color: @color-background; } .season-label { - flex-grow: 0; - flex-shrink: 1; - flex-basis: auto; - max-height: 3.6em; - padding: 0 0.2rem; - font-size: 1.1rem; - color: var(--color-surfacelighter); + flex: none; + color: @color-surface-light5-90; + } + + .season-icon { + fill: @color-surface-dark5; } } } \ No newline at end of file diff --git a/src/routes/MetaDetails/VideosList/Video/Video.js b/src/routes/MetaDetails/VideosList/Video/Video.js index 4b13e30e6..51d75a778 100644 --- a/src/routes/MetaDetails/VideosList/Video/Video.js +++ b/src/routes/MetaDetails/VideosList/Video/Video.js @@ -32,33 +32,34 @@ const Video = ({ className, id, title, thumbnail, episode, released, upcoming, w {episode !== null && !isNaN(episode) ? `${episode}. ` : null} {typeof title === 'string' && title.length > 0 ? title : id}
- { - released instanceof Date && !isNaN(released.getTime()) ? -
- {released.toLocaleString(undefined, { year: '2-digit', month: 'short', day: 'numeric' })} -
- : - null - } - { - upcoming ? -
-
Upcoming
-
- : - null - } - { - watched ? -
-
Watched
-
- : - null - } - -
- +
+ { + released instanceof Date && !isNaN(released.getTime()) ? +
+ {released.toLocaleString(undefined, { year: '2-digit', month: 'short', day: 'numeric' })} +
+ : + null + } +
+ { + upcoming ? +
+
Upcoming
+
+ : + null + } + { + watched ? +
+
Watched
+
+ : + null + } +
+
{ progress !== null && !isNaN(progress) && progress > 0 ? diff --git a/src/routes/MetaDetails/VideosList/Video/styles.less b/src/routes/MetaDetails/VideosList/Video/styles.less index 8d9e5b855..81fc6305e 100644 --- a/src/routes/MetaDetails/VideosList/Video/styles.less +++ b/src/routes/MetaDetails/VideosList/Video/styles.less @@ -1,11 +1,13 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; + .video-container { display: flex; flex-direction: row; flex-wrap: wrap; - background-color: var(--color-surfacedarker60); + background-color: @color-background-dark3-80; &:hover, &:focus { - background-color: var(--color-surfacedarker); + background-color: @color-background; } .thumbnail-container { @@ -16,7 +18,7 @@ .thumbnail { display: block; width: 5rem; - max-height: 10rem; + height: 5rem; object-fit: contain; object-position: center; } @@ -25,7 +27,7 @@ display: block; width: 5rem; height: 5rem; - fill: var(--color-surfacelight20); + fill: @color-secondaryvariant1-light3; } } @@ -33,69 +35,75 @@ flex: 1; align-self: stretch; display: flex; - flex-direction: row; - flex-wrap: wrap; - align-content: flex-start; + flex-direction: column; + justify-content: space-between; padding: 0.5rem; &:first-child { - align-content: center; - } + height: 4rem; - .title-container { - flex-grow: 0; - flex-shrink: 0; - flex-basis: 100%; - max-height: 4.8em; - color: var(--color-surfacelighter); - } - - .released-container { - flex-grow: 0; - flex-shrink: 0; - flex-basis: 100%; - margin-top: 0.5rem; - font-size: 0.8rem; - max-height: 2.4em; - color: var(--color-surfacelight); - } - - .watched-container, .upcoming-container { - flex: none; - max-width: 100%; - margin-top: 0.5rem; - margin-right: 0.5rem; - padding: 0.2rem 0.4rem; - - .flag-label { - max-height: 2.4em; - font-size: 0.8rem; - font-weight: 700; - text-transform: uppercase; - color: var(--color-surfacelighter); - text-shadow: 1px 1px var(--color-surfacedarker60); + .title-container { + max-height: 1.2em; } } - .upcoming-container { - background-color: var(--color-signal5); + .title-container { + max-height: 2.4em; + color: @color-surface-light5-90; } - .watched-container { - background-color: var(--color-primarylight); - } - } + .flex-row-container { + display: flex; + flex-direction: row; + align-items: center; + justify-content: flex-end; - .next-icon-container { - flex: none; - align-self: center; - padding: 0.5rem; + .released-container { + flex: 1; + margin-right: 0.5rem; + font-size: 0.8rem; + white-space: nowrap; + text-overflow: ellipsis; + text-transform: uppercase; + color: @color-surface-dark5-90; + } - .next-icon { - display: block; - width: 1rem; - height: 1.5rem; - fill: var(--color-surfacelighter); + .upcoming-watched-container { + flex: 0 1 auto; + display: flex; + flex-direction: row; + + &>:nth-child(2) { + margin-left: 0.5rem; + } + + .upcoming-container, .watched-container { + flex: none; + padding: 0.2rem 0.4rem; + max-width: 10rem; + + &:not(:only-child) { + max-width: 5rem; + } + + .flag-label { + font-size: 0.8rem; + font-weight: 500; + white-space: nowrap; + text-overflow: ellipsis; + text-transform: uppercase; + color: @color-background-90; + } + } + + .upcoming-container { + background-color: @color-accent4; + } + + .watched-container { + background-color: @color-accent5; + } + } } } @@ -103,11 +111,11 @@ flex-grow: 0; flex-shrink: 0; flex-basis: 100%; - background-color: var(--color-backgroundlighter); + background-color: @color-background-light2; .progress-bar { height: 0.5rem; - background-color: var(--color-primary); + background-color: @color-primaryvariant1; } } } \ No newline at end of file diff --git a/src/routes/MetaDetails/VideosList/VideosList.js b/src/routes/MetaDetails/VideosList/VideosList.js index d7e04b78a..685fab14e 100644 --- a/src/routes/MetaDetails/VideosList/VideosList.js +++ b/src/routes/MetaDetails/VideosList/VideosList.js @@ -1,6 +1,9 @@ const React = require('react'); const PropTypes = require('prop-types'); const classnames = require('classnames'); +const Icon = require('stremio-icons/dom'); +const Image = require('stremio/common/Image'); +const TextInput = require('stremio/common/TextInput'); const SeasonsBar = require('./SeasonsBar'); const Video = require('./Video'); const useSelectableSeasons = require('./useSelectableSeasons'); @@ -17,6 +20,10 @@ const VideosList = ({ className, metaResource }) => { const seasonOnSelect = React.useCallback((event) => { selectSeason(event.value); }, []); + const [search, setSearch] = React.useState(''); + const searchInputOnChange = React.useCallback((event) => { + setSearch(event.currentTarget.value); + }, []); return (
{ @@ -33,8 +40,9 @@ const VideosList = ({ className, metaResource }) => { : metaResource.content.type === 'Err' || videosForSeason.length === 0 ? -
- No videos found for this meta +
+ +
No videos found for this meta
: @@ -49,14 +57,34 @@ const VideosList = ({ className, metaResource }) => { : null } -
- {videosForSeason.map((video, index) => ( -
+
+ {videosForSeason + .filter((video) => { + return search.length === 0 || + ( + (typeof video.title === 'string' && video.title.toLowerCase().includes(search.toLowerCase())) || + (video.released.toLocaleString(undefined, { year: '2-digit', month: 'short', day: 'numeric' }).toLowerCase().includes(search.toLowerCase())) + ); + }) + .map((video, index) => ( +
} diff --git a/src/routes/MetaDetails/VideosList/styles.less b/src/routes/MetaDetails/VideosList/styles.less index 6311956c7..f05348e74 100644 --- a/src/routes/MetaDetails/VideosList/styles.less +++ b/src/routes/MetaDetails/VideosList/styles.less @@ -1,18 +1,90 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; + .videos-list-container { display: flex; flex-direction: column; - background: var(--color-backgrounddark80); + background-color: @color-background-dark3-80; - .seasons-bar, .message-label { + .seasons-bar { flex: none; - width: var(--item-size); - margin: 2rem 2rem 1rem 2rem; + align-self: stretch; + padding: 1rem 0; } - .message-label { - font-size: 1.4rem; - text-align: center; - color: var(--color-surfacelighter); + .message-container { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + width: var(--item-size); + padding: 2rem; + background-color: @color-background-dark3-80; + + .image { + flex: none; + width: 10rem; + margin-bottom: 1rem; + opacity: 0.9; + } + + .label { + flex: 0 1 auto; + font-size: 1.4rem; + text-align: center; + color: @color-surface-light5-90; + } + } + + .search-container { + flex: none; + min-width: var(--item-size); + padding: 0 1.5rem 1rem 1.5rem; + background-color: @color-background-dark3-80; + + &:first-child { + padding-top: 1rem; + } + + .search-bar-container { + display: flex; + flex-direction: row; + align-items: center; + height: 3.5rem; + padding: 0 1rem; + border-radius: 2.3rem; + border: var(--focus-outline-size) solid transparent; + background-color: @color-background; + cursor: text; + + &:hover, &:focus-within { + background-color: @color-background-light1; + } + + &:focus-within { + border: var(--focus-outline-size) solid @color-surface-light5; + } + + .search-input { + flex: 1; + margin-right: 1rem; + font-size: 1.1rem; + color: @color-surface-light5; + + &::placeholder { + max-height: 1.2em; + opacity: 1; + color: @color-secondaryvariant1-light1-90; + } + } + + .icon { + flex: none; + width: 1.5rem; + height: 1.5rem; + fill: @color-secondaryvariant1; + } + + } } .videos-scroll-container { @@ -20,25 +92,8 @@ align-self: stretch; overflow-y: auto; - &:first-child { - .video { - &:first-child { - margin-top: 2rem; - } - } - } - .video { width: var(--item-size); - margin: 1rem 2rem; - - &:first-child { - margin-top: 0; - } - - &:last-child { - margin-bottom: 2rem; - } } } } \ No newline at end of file diff --git a/src/routes/MetaDetails/styles.less b/src/routes/MetaDetails/styles.less index 4bdea39ca..47a26e0d7 100644 --- a/src/routes/MetaDetails/styles.less +++ b/src/routes/MetaDetails/styles.less @@ -1,9 +1,17 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; +@import (reference) '~stremio/common/screen-sizes.less'; + +:import('~stremio/common/MetaPreview/styles.less') { + meta-info-container: meta-info-container; +} + .metadetails-container { display: flex; flex-direction: column; width: 100%; height: 100%; - background-color: var(--color-background); + background: + linear-gradient(to right, @color-background-dark3-60, @color-background-dark3-80); .nav-bar { flex: none; @@ -30,9 +38,9 @@ display: block; width: 100%; height: 100%; + opacity: 0.2; object-fit: cover; object-position: top left; - filter: brightness(50%); } } @@ -42,11 +50,71 @@ } .videos-list, .streams-list { - --item-size: 28rem; + --item-size: 26.5rem; flex-grow: 0; flex-shrink: 0; flex-basis: auto; align-self: stretch; } } +} + +@media only screen and (min-width: @large) { + .metadetails-container { + .metadetails-content { + .meta-preview { + .meta-info-container { + width: 58rem; + } + } + } + } +} + +@media only screen and (max-width: @large) { + .metadetails-container { + .metadetails-content { + .meta-preview { + .meta-info-container { + width: 48rem; + } + } + } + } +} + +@media only screen and (max-width: @medium) { + .metadetails-container { + .metadetails-content { + .meta-preview { + .meta-info-container { + width: 40rem; + } + } + } + } +} + +@media only screen and (max-width: @small) { + .metadetails-container { + .metadetails-content { + .meta-preview { + .meta-info-container { + width: 34rem; + } + } + } + } +} + +@media only screen and (max-width: @xsmall) { + .metadetails-container { + .metadetails-content { + .meta-preview { + .meta-info-container { + width: 30rem; + } + } + } + } } \ No newline at end of file