2020-04-01 20:43:50 +02:00
|
|
|
.file-page {
|
2020-04-14 01:48:11 +02:00
|
|
|
.file-page__video-container + .card,
|
2020-04-01 20:43:50 +02:00
|
|
|
.file-render + .card,
|
|
|
|
.content__cover + .card,
|
|
|
|
.card + .file-render,
|
2020-04-14 01:48:11 +02:00
|
|
|
.card + .file-page__video-container,
|
2020-04-01 20:43:50 +02:00
|
|
|
.card + .content__cover {
|
2021-04-23 21:59:48 +02:00
|
|
|
margin-top: var(--spacing-m);
|
2020-04-01 20:43:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.card + .file-render {
|
2021-04-23 21:59:48 +02:00
|
|
|
margin-top: var(--spacing-m);
|
2020-04-01 20:43:50 +02:00
|
|
|
}
|
|
|
|
|
2021-03-12 17:18:09 +01:00
|
|
|
.file-page__md {
|
|
|
|
.file-viewer--document {
|
|
|
|
margin-top: var(--spacing-l);
|
2020-10-05 20:54:51 +02:00
|
|
|
|
2021-03-12 17:18:09 +01:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-top: var(--spacing-xl);
|
2020-10-05 20:54:51 +02:00
|
|
|
}
|
2021-06-03 12:14:41 +02:00
|
|
|
|
|
|
|
.button {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
.button__content {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2020-04-01 20:43:50 +02:00
|
|
|
}
|
|
|
|
|
2021-03-11 18:08:11 +01:00
|
|
|
.media__actions {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2020-04-01 20:43:50 +02:00
|
|
|
|
2021-03-11 18:08:11 +01:00
|
|
|
.file-page__secondary-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0 var(--spacing-m);
|
2020-04-01 20:43:50 +02:00
|
|
|
}
|
|
|
|
}
|
2020-08-10 22:47:39 +02:00
|
|
|
|
2020-09-02 22:08:37 +02:00
|
|
|
> * {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-08-10 22:47:39 +02:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2020-04-01 20:43:50 +02:00
|
|
|
}
|
|
|
|
|
2018-06-15 02:19:21 +02:00
|
|
|
.file-render {
|
2019-08-13 07:35:13 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-04-27 23:32:47 +02:00
|
|
|
z-index: 1;
|
2018-06-15 02:19:21 +02:00
|
|
|
overflow: hidden;
|
2019-11-14 18:23:42 +01:00
|
|
|
max-height: var(--inline-player-max-height);
|
2020-10-20 19:10:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-render--video {
|
2021-01-04 16:12:46 +01:00
|
|
|
background-color: black;
|
|
|
|
|
2020-10-20 19:10:02 +02:00
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
background-color: black;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 2;
|
|
|
|
animation: fadeInFromBlack 2s ease;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeInFromBlack {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2020-04-14 01:48:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-render--embed {
|
|
|
|
border-radius: 0;
|
|
|
|
position: fixed;
|
|
|
|
max-height: none;
|
2018-07-27 02:24:00 +02:00
|
|
|
}
|
|
|
|
|
2020-04-01 21:36:59 +02:00
|
|
|
.file-render__header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.file-viewer {
|
2018-07-27 02:24:00 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-10-17 19:14:24 +02:00
|
|
|
|
2018-07-27 02:24:00 +02:00
|
|
|
iframe,
|
2019-02-22 06:01:59 +01:00
|
|
|
webview,
|
2019-08-06 05:25:33 +02:00
|
|
|
img {
|
2018-06-15 02:19:21 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-08-06 05:25:33 +02:00
|
|
|
object-fit: contain;
|
2020-04-14 11:46:55 +02:00
|
|
|
max-height: var(--inline-player-max-height);
|
2019-02-28 23:51:33 +01:00
|
|
|
}
|
2019-11-22 22:13:00 +01:00
|
|
|
video {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-11-16 18:19:52 +01:00
|
|
|
.video-js.vjs-user-inactive.vjs-playing {
|
2020-01-09 05:19:04 +01:00
|
|
|
video {
|
|
|
|
cursor: none;
|
|
|
|
}
|
|
|
|
}
|
2018-07-27 02:24:00 +02:00
|
|
|
}
|
|
|
|
|
2020-04-26 03:55:23 +02:00
|
|
|
.file-render__viewer--comic {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
.comic-viewer {
|
|
|
|
width: 100%;
|
2020-06-01 19:03:19 +02:00
|
|
|
height: calc(100vh - var(--header-height) - var(--spacing-m) * 2);
|
2020-04-26 03:55:23 +02:00
|
|
|
max-height: var(--inline-player-max-height);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.file-viewer--iframe {
|
2020-04-01 20:43:50 +02:00
|
|
|
display: flex; /*this eliminates extra height from whitespace, if someone edits this with a better technique, tell Jeremy*/
|
|
|
|
/*
|
|
|
|
ideally iframes would dynamiclly grow, see <IframeReact> for a start at this
|
|
|
|
for now, since we don't know size, let's make as large as we can without being larger than available area
|
|
|
|
*/
|
|
|
|
iframe {
|
2020-06-01 19:03:19 +02:00
|
|
|
height: calc(100vh - var(--header-height) - var(--spacing-m) * 2);
|
2018-10-17 19:14:24 +02:00
|
|
|
}
|
2018-07-27 02:24:00 +02:00
|
|
|
}
|
|
|
|
|
2020-04-25 10:24:42 +02:00
|
|
|
.file-render__viewer--three {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.three-viewer {
|
2020-06-01 19:03:19 +02:00
|
|
|
height: calc(100vh - var(--header-height) - var(--spacing-m) * 2);
|
2020-04-26 07:17:13 +02:00
|
|
|
max-height: var(--inline-player-max-height);
|
2020-04-25 10:24:42 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.file-viewer__overlay {
|
|
|
|
position: absolute;
|
|
|
|
left: auto;
|
|
|
|
right: auto;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 2;
|
|
|
|
color: var(--color-white);
|
|
|
|
font-size: var(--font-body); /* put back font size from videojs change*/
|
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.9);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-l);
|
2020-04-14 01:48:11 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button--uri-indicator,
|
|
|
|
.button--link {
|
|
|
|
color: var(--color-white);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content__viewer--floating {
|
|
|
|
.file-viewer__overlay-title,
|
|
|
|
.file-viewer__overlay-secondary {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.file-viewer__overlay-title,
|
|
|
|
.file-viewer__overlay-secondary {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-viewer__overlay-title {
|
|
|
|
text-align: center;
|
|
|
|
font-size: var(--font-large);
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-bottom: var(--spacing-m);
|
2020-04-14 01:48:11 +02:00
|
|
|
}
|
|
|
|
.file-viewer__overlay-secondary {
|
|
|
|
color: var(--color-text-subtitle);
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-bottom: var(--spacing-m);
|
2020-04-14 01:48:11 +02:00
|
|
|
}
|
|
|
|
.file-viewer__overlay-actions {
|
|
|
|
.button + .button {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-left: var(--spacing-m);
|
2020-04-14 01:48:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-viewer__overlay-logo {
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
height: 3.5rem;
|
|
|
|
width: 12rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-04-14 01:48:11 +02:00
|
|
|
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
&:hover {
|
|
|
|
filter: drop-shadow(1px 2px 10px var(--color-gray-3));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-right: var(--spacing-m);
|
|
|
|
width: 2.5rem;
|
|
|
|
|
|
|
|
.button__label {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-04-14 01:48:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
.file-viewer__overlay-logo--videoend {
|
|
|
|
height: 3.5rem;
|
|
|
|
width: 12rem;
|
|
|
|
}
|
|
|
|
|
2020-05-22 22:47:10 +02:00
|
|
|
.file-viewer--is-playing:not(:hover) .file-viewer__embedded-header {
|
2020-04-14 01:48:11 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-05-22 22:47:10 +02:00
|
|
|
.file-viewer__embedded-header {
|
2020-04-14 01:48:11 +02:00
|
|
|
position: absolute;
|
2020-04-29 20:35:55 +02:00
|
|
|
display: flex;
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
align-items: center;
|
2020-04-29 20:35:55 +02:00
|
|
|
justify-content: space-between;
|
2020-04-14 01:48:11 +02:00
|
|
|
width: 100%;
|
|
|
|
top: 0;
|
2020-10-20 19:10:02 +02:00
|
|
|
opacity: 1;
|
2020-04-14 01:48:11 +02:00
|
|
|
z-index: 2;
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
height: 4rem;
|
|
|
|
padding-left: var(--spacing-m);
|
|
|
|
padding-right: var(--spacing-s);
|
2020-04-14 01:48:11 +02:00
|
|
|
font-size: var(--font-large);
|
|
|
|
overflow-x: hidden;
|
2020-10-20 19:10:02 +02:00
|
|
|
overflow-y: hidden;
|
2020-04-14 01:48:11 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2020-10-20 19:10:02 +02:00
|
|
|
border-top-left-radius: var(--border-radius);
|
|
|
|
border-top-right-radius: var(--border-radius);
|
2020-04-29 20:35:55 +02:00
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.button {
|
|
|
|
color: var(--color-white);
|
2020-10-20 19:10:02 +02:00
|
|
|
z-index: 2;
|
2020-04-29 20:35:55 +02:00
|
|
|
|
2020-04-30 17:01:11 +02:00
|
|
|
.button__label {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2020-04-29 22:50:06 +02:00
|
|
|
&:hover {
|
|
|
|
color: var(--color-white);
|
|
|
|
}
|
2020-05-22 22:47:10 +02:00
|
|
|
}
|
2020-04-29 22:50:06 +02:00
|
|
|
|
2020-05-22 22:47:10 +02:00
|
|
|
.credit-amount,
|
|
|
|
.icon--Key {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-right: var(--spacing-m);
|
2020-05-22 22:47:10 +02:00
|
|
|
}
|
2020-10-05 20:54:51 +02:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
padding: 0 var(--spacing-l);
|
|
|
|
}
|
2020-05-22 22:47:10 +02:00
|
|
|
}
|
2020-04-30 17:01:11 +02:00
|
|
|
|
2020-10-20 19:10:02 +02:00
|
|
|
.file-viewer__embedded-gradient {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 2;
|
|
|
|
background: linear-gradient(#000000, #00000000 70%);
|
|
|
|
height: 75px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2020-05-22 22:47:10 +02:00
|
|
|
.file-viewer__embedded-title {
|
|
|
|
max-width: 75%;
|
2020-10-20 19:10:02 +02:00
|
|
|
z-index: 2;
|
2020-05-22 22:47:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-viewer__embedded-info {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-size: var(--font-small);
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-left: var(--spacing-m);
|
2020-05-22 22:47:10 +02:00
|
|
|
white-space: nowrap;
|
2020-10-05 20:54:51 +02:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2020-05-22 22:47:10 +02:00
|
|
|
|
|
|
|
& > *:not(:last-child) {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-right: var(--spacing-s);
|
2020-04-14 01:48:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-13 07:35:13 +02:00
|
|
|
.file-render__content {
|
2018-07-28 03:42:35 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-10-17 19:14:24 +02:00
|
|
|
overflow: auto;
|
2020-02-28 04:44:24 +01:00
|
|
|
max-width: 100vw;
|
2018-07-28 03:42:35 +02:00
|
|
|
}
|
|
|
|
|
2019-08-13 07:35:13 +02:00
|
|
|
//
|
|
|
|
// Custom viewers live below here
|
2019-10-13 19:41:51 +02:00
|
|
|
// These either have custom class names that can't be changed or have styles that need to be overridden
|
2019-08-13 07:35:13 +02:00
|
|
|
//
|
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Code-viewer
|
2019-08-13 07:35:13 +02:00
|
|
|
.CodeMirror {
|
|
|
|
@extend .file-render__content;
|
2018-07-27 02:24:00 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
.cm-invalidchar {
|
|
|
|
display: none;
|
2018-07-27 02:24:00 +02:00
|
|
|
}
|
|
|
|
|
2018-07-28 03:42:35 +02:00
|
|
|
.CodeMirror .CodeMirror-lines {
|
2018-10-17 19:14:24 +02:00
|
|
|
// is there really a .CodeMirror inside a .CodeMirror?
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-s) 0;
|
2018-07-28 03:42:35 +02:00
|
|
|
}
|
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
.CodeMirror-code {
|
2021-05-20 21:31:14 +02:00
|
|
|
@include font-sans;
|
2018-12-19 06:44:53 +01:00
|
|
|
letter-spacing: 0.1rem;
|
2018-07-27 02:24:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-gutters {
|
2019-12-09 18:25:13 +01:00
|
|
|
background-color: var(--color-gray-1);
|
|
|
|
border-right: 1px solid var(--color-gray-4);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-right: var(--spacing-m);
|
2018-07-27 02:24:00 +02:00
|
|
|
}
|
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
.CodeMirror-line {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-left: var(--spacing-m);
|
2018-10-17 19:14:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-linenumber {
|
2019-12-09 18:25:13 +01:00
|
|
|
color: var(--color-gray-5);
|
2018-07-27 02:24:00 +02:00
|
|
|
}
|
|
|
|
}
|
2019-08-06 05:25:33 +02:00
|
|
|
|
2020-12-14 17:40:59 +01:00
|
|
|
// ****************************************************************************
|
|
|
|
// Video
|
|
|
|
// ****************************************************************************
|
|
|
|
|
2020-04-16 23:43:09 +02:00
|
|
|
.video-js-parent {
|
2019-08-06 05:25:33 +02:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2020-04-16 23:43:09 +02:00
|
|
|
}
|
2019-08-06 05:25:33 +02:00
|
|
|
|
2020-04-16 23:43:09 +02:00
|
|
|
// By default no video js play button
|
|
|
|
.vjs-big-play-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-js {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2019-08-14 20:09:45 +02:00
|
|
|
|
|
|
|
.vjs-modal-dialog .vjs-modal-dialog-content {
|
|
|
|
position: relative;
|
|
|
|
padding-top: 5rem;
|
|
|
|
// Make sure no videojs message interferes with overlaying buttons
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2020-04-23 06:21:07 +02:00
|
|
|
|
|
|
|
.vjs-control-bar {
|
2021-02-13 13:26:07 +01:00
|
|
|
// background-color: rgba(0, 0, 0, 0.8);
|
2020-10-05 20:54:51 +02:00
|
|
|
|
2020-04-23 06:21:07 +02:00
|
|
|
.vjs-remaining-time {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-current-time,
|
|
|
|
.vjs-time-divider,
|
|
|
|
.vjs-duration {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2020-10-20 19:10:02 +02:00
|
|
|
|
|
|
|
.vjs-picture-in-picture-control {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-08-06 05:25:33 +02:00
|
|
|
}
|
2019-12-12 22:25:31 +01:00
|
|
|
|
2020-12-14 17:40:59 +01:00
|
|
|
// ****************************************************************************
|
|
|
|
// Video::Overlays
|
|
|
|
// ****************************************************************************
|
|
|
|
|
|
|
|
.video-js {
|
|
|
|
.vjs-overlay-playrate,
|
|
|
|
.vjs-overlay-seeked {
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
font-size: var(--font-large);
|
|
|
|
width: auto;
|
|
|
|
padding: 10px 30px;
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
-ms-transform: translate(-50%, -50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
|
|
animation: fadeOutAnimation ease-in 0.6s;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeOutAnimation {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ****************************************************************************
|
|
|
|
// Video - Mobile UI
|
|
|
|
// ****************************************************************************
|
|
|
|
|
|
|
|
.video-js.vjs-mobile-ui {
|
|
|
|
.vjs-control-bar {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-touch-overlay:not(.show-play-toggle) {
|
|
|
|
.vjs-control-bar {
|
|
|
|
// Sync the controlBar's visibility with the overlay's
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-touch-overlay {
|
|
|
|
&.show-play-toggle,
|
|
|
|
&.skip {
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
2020-12-21 13:13:53 +01:00
|
|
|
|
|
|
|
// Override the original's 'display: block' to avoid the big play button
|
|
|
|
// from being squished to the side:
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
video::-internal-media-controls-overlay-cast-button {
|
|
|
|
// Push the cast button above vjs-touch-overlay:
|
|
|
|
z-index: 3;
|
|
|
|
|
|
|
|
// Move it to the upper-right since it will clash with "tap to unmute":
|
|
|
|
left: unset;
|
|
|
|
right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-js.video-js.vjs-user-inactive {
|
|
|
|
video::-internal-media-controls-overlay-cast-button {
|
|
|
|
// (1) Android-Chrome's original Cast button behavior:
|
|
|
|
// - If video is playing, fade out the button.
|
|
|
|
// - If video is paused and video is tapped, display the button and stay on.
|
|
|
|
// (2) We then injected another behavior:
|
|
|
|
// - Display the button when '.vjs-touch-overlay' is displayed. However,
|
|
|
|
// the 'controlslist' attribute hack that was used to do this results in the
|
|
|
|
// button staying displayed without a fade-out timer.
|
|
|
|
// (3) Ideally, we should sync the '.vjs-touch-overlay' visibility with the
|
|
|
|
// cast button, similar to how to controlBar's visibility is synced above.
|
|
|
|
// But I have no idea how to grab the sibling '.show-play-toggle' into the
|
|
|
|
// css logic.
|
|
|
|
// (4) So, this is the best that I can come up with: Whenever user is idle,
|
|
|
|
// the button goes away. The only downside I know is the scenario of
|
|
|
|
// "overlay is up and video is paused, but button goes away due to idle".
|
|
|
|
// The user just needs to re-tap any empty space on the overlay to get the
|
|
|
|
// Cast button again.
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 1s ease;
|
2020-12-14 17:40:59 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ****************************************************************************
|
|
|
|
// Layout and control visibility
|
|
|
|
// ****************************************************************************
|
|
|
|
|
2020-11-20 08:53:22 +01:00
|
|
|
.video-js.vjs-fullscreen,
|
|
|
|
.video-js:not(.vjs-fullscreen) {
|
|
|
|
// --- Unhide desired components per layout ---
|
|
|
|
&.vjs-layout-x-small {
|
|
|
|
.vjs-playback-rate {
|
|
|
|
display: inherit;
|
|
|
|
}
|
2020-06-30 20:14:12 +02:00
|
|
|
}
|
|
|
|
|
2020-11-20 08:53:22 +01:00
|
|
|
&.vjs-layout-small {
|
|
|
|
.vjs-current-time,
|
|
|
|
.vjs-time-divider,
|
|
|
|
.vjs-duration,
|
|
|
|
.vjs-playback-rate {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// --- Adjust spacing ---
|
|
|
|
.vjs-current-time {
|
|
|
|
padding-right: 0;
|
2020-06-30 20:14:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-duration {
|
|
|
|
padding-left: 0;
|
2020-11-20 08:53:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-playback-rate .vjs-playback-rate-value {
|
|
|
|
// Reduce the gigantic font a bit. Default was 1.5em.
|
|
|
|
font-size: 1.25em;
|
|
|
|
line-height: 2.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-playback-rate .vjs-menu {
|
|
|
|
// Extend the width to prevent a potential scrollbar from blocking the text.
|
|
|
|
width: 8em;
|
|
|
|
left: -2em;
|
2020-06-30 20:14:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-17 03:05:23 +01:00
|
|
|
.video-js.vjs-fullscreen {
|
|
|
|
.vjs-button--theater-mode {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-14 17:40:59 +01:00
|
|
|
// ****************************************************************************
|
|
|
|
// Tap-to-unmute
|
|
|
|
// ****************************************************************************
|
2020-04-28 00:44:19 +02:00
|
|
|
|
2020-06-10 15:01:54 +02:00
|
|
|
.video-js--tap-to-unmute {
|
|
|
|
visibility: hidden; // Start off as hidden.
|
|
|
|
z-index: 2;
|
|
|
|
position: absolute;
|
2020-06-16 23:09:32 +02:00
|
|
|
top: var(--spacing-xs);
|
|
|
|
left: var(--spacing-xs);
|
2020-06-10 15:01:54 +02:00
|
|
|
padding: var(--spacing-xs) var(--spacing-m); // Make it comfy for touch.
|
|
|
|
color: var(--color-gray-1);
|
|
|
|
background: black;
|
|
|
|
border: 1px solid var(--color-gray-4);
|
2020-07-09 20:18:56 +02:00
|
|
|
opacity: 0.9;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
color: var(--color-white);
|
|
|
|
}
|
2020-06-10 15:01:54 +02:00
|
|
|
}
|
|
|
|
|
2020-12-14 17:40:59 +01:00
|
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
|
|
|
|
|
|
.video-js:hover {
|
|
|
|
.vjs-big-play-button {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-12 22:25:31 +01:00
|
|
|
.file-render {
|
|
|
|
.video-js {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-04-14 01:48:11 +02:00
|
|
|
}
|
2019-12-12 22:25:31 +01:00
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.vjs-big-play-button {
|
|
|
|
@extend .button--icon;
|
|
|
|
@extend .button--play;
|
|
|
|
border: none;
|
|
|
|
position: static;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
.vjs-icon-placeholder {
|
|
|
|
display: none;
|
2019-12-12 22:25:31 +01:00
|
|
|
}
|
|
|
|
}
|
2021-01-14 20:43:16 +01:00
|
|
|
|
|
|
|
.vjs-menu-item-text,
|
|
|
|
.vjs-icon-placeholder {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
2019-12-12 22:25:31 +01:00
|
|
|
}
|
2020-01-27 19:52:25 +01:00
|
|
|
|
2020-12-14 17:40:59 +01:00
|
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.file-render--embed {
|
2020-04-30 17:01:11 +02:00
|
|
|
// on embeds, do not inject our colors until interaction
|
|
|
|
.video-js:hover {
|
|
|
|
.vjs-big-play-button {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-paused {
|
2020-02-20 05:20:14 +01:00
|
|
|
.vjs-big-play-button {
|
2020-04-28 00:44:19 +02:00
|
|
|
display: block;
|
2020-04-29 16:00:48 +02:00
|
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-30 17:01:11 +02:00
|
|
|
.vjs-ended {
|
2020-04-29 16:00:48 +02:00
|
|
|
.vjs-big-play-button {
|
2020-04-30 17:01:11 +02:00
|
|
|
display: none;
|
2020-02-20 05:20:14 +01:00
|
|
|
}
|
|
|
|
}
|
2020-06-12 23:41:26 +02:00
|
|
|
|
2020-10-05 20:54:51 +02:00
|
|
|
.video-js--tap-to-unmute {
|
|
|
|
margin-top: var(--spacing-xl);
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-left: calc(var(--spacing-m) + var(--spacing-s));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-12 23:41:26 +02:00
|
|
|
.file-viewer {
|
|
|
|
iframe,
|
|
|
|
webview,
|
|
|
|
img {
|
|
|
|
max-height: none;
|
|
|
|
}
|
|
|
|
}
|
2020-01-28 16:18:33 +01:00
|
|
|
}
|
|
|
|
|
2020-04-30 16:37:39 +02:00
|
|
|
.file-viewer--ended-embed .vjs-big-play-button {
|
|
|
|
display: none !important; // yes this is dumb, but this was broken and the above CSS was overriding
|
|
|
|
}
|
|
|
|
|
2020-12-14 17:40:59 +01:00
|
|
|
// ****************************************************************************
|
|
|
|
// Autoplay Countdown
|
|
|
|
// ****************************************************************************
|
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.autoplay-countdown {
|
2020-01-27 19:52:25 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-04-14 01:48:11 +02:00
|
|
|
width: 100%;
|
2020-01-27 19:52:25 +01:00
|
|
|
}
|
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.autoplay-countdown__timer {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
.autoplay-countdown__counter {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-m);
|
2020-01-27 19:52:25 +01:00
|
|
|
}
|
|
|
|
|
2020-04-14 01:48:11 +02:00
|
|
|
.autoplay-countdown__button {
|
|
|
|
/* Border size and color */
|
|
|
|
border: 3px solid transparent;
|
|
|
|
/* Creates a circle */
|
|
|
|
border-radius: 50%;
|
|
|
|
/* Circle size */
|
|
|
|
display: inline-block;
|
|
|
|
height: 86px;
|
|
|
|
width: 86px;
|
|
|
|
/* Use transform to rotate to adjust where opening appears */
|
|
|
|
transition: border 1s;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
.button {
|
|
|
|
background-color: transparent;
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
}
|
2020-01-27 21:02:58 +01:00
|
|
|
}
|
2020-01-27 19:52:25 +01:00
|
|
|
}
|
2020-04-14 01:48:11 +02:00
|
|
|
.autoplay-countdown__button--4 {
|
|
|
|
border-top-color: #fff;
|
|
|
|
}
|
|
|
|
.autoplay-countdown__button--3 {
|
|
|
|
border-top-color: #fff;
|
|
|
|
border-right-color: #fff;
|
|
|
|
}
|
|
|
|
.autoplay-countdown__button--2 {
|
|
|
|
border-top-color: #fff;
|
|
|
|
border-right-color: #fff;
|
|
|
|
border-bottom-color: #fff;
|
|
|
|
}
|
|
|
|
.autoplay-countdown__button--1 {
|
|
|
|
border-color: #fff;
|
2020-01-27 19:52:25 +01:00
|
|
|
}
|
2020-09-30 22:46:20 +02:00
|
|
|
|
2020-12-14 17:40:59 +01:00
|
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
|
|
|
2020-09-30 22:46:20 +02:00
|
|
|
.file__viewdate {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2021-04-04 04:44:51 +02:00
|
|
|
flex-direction: column;
|
2020-09-30 22:46:20 +02:00
|
|
|
margin-bottom: var(--spacing-s);
|
|
|
|
|
2021-04-04 04:44:51 +02:00
|
|
|
> :first-child {
|
|
|
|
margin-bottom: var(--spacing-s);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: start;
|
2020-09-30 22:46:20 +02:00
|
|
|
|
|
|
|
> :first-child {
|
2021-04-04 04:44:51 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
margin-right: 1rem;
|
2020-09-30 22:46:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-17 16:02:57 +01:00
|
|
|
|
|
|
|
.file-page__image {
|
|
|
|
img {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|