-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support evergreen content on Sectionals
It was possible to *configure* evergreen content on this screen type, but nothing actually looked at this configuration. Other changes: * Delete some old logic for generating placeholder widgets that would never be displayed. * Simplify how candidate generator functions are specified, along the same lines as #2413. * Introduce common styles for evergreen content on `bus(way|_shelter)` screens, and remove some redundant specification of pixel sizes that could instead use `100%` of the container's width/height.
- Loading branch information
1 parent
93f14f3
commit e914950
Showing
10 changed files
with
76 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.flex-one-large__large, | ||
.flex-one-medium-two-small__left, | ||
.flex-two-medium__left, | ||
.flex-two-medium__right { | ||
.evergreen-content-image__container, | ||
.evergreen-content-video { | ||
border-radius: 16px; | ||
box-shadow: 0 12px 24px 0 rgb(23 31 38 / 25%); | ||
} | ||
} | ||
|
||
.flex-one-medium-two-small__left, | ||
.flex-two-medium__left, | ||
.flex-two-medium__right { | ||
.evergreen-content-image__container, | ||
.evergreen-content-image__image { | ||
width: 480px; | ||
height: 580px; | ||
} | ||
} | ||
|
||
.flex-one-large__large { | ||
.evergreen-content-image__container, | ||
.evergreen-content-image__image { | ||
width: 1024px; | ||
height: 576px; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.evergreen-content-image__container, | ||
.evergreen-content-video { | ||
overflow: hidden; | ||
background-color: #e4e6e1; | ||
} | ||
|
||
.evergreen-content-image__container, | ||
.evergreen-content-image__image, | ||
.evergreen-content-video, | ||
.looping-video { | ||
width: 100%; | ||
height: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters