-
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.
Refactored out some components and styles.
- Loading branch information
Showing
8 changed files
with
557 additions
and
526 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
126 changes: 126 additions & 0 deletions
126
assets/css/v2/elevator/closures/current_elevator_closed_view.scss
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,126 @@ | ||
.current-elevator-closed-view { | ||
position: relative; | ||
height: 100%; | ||
|
||
.shape { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
display: inline-block; | ||
border-right: 345px solid $accessibility-blue; | ||
border-bottom: 300px solid transparent; | ||
} | ||
|
||
.header { | ||
box-sizing: border-box; | ||
height: 528px; | ||
padding: 53px 68px 51px 48px; | ||
font-weight: 700; | ||
|
||
.icons { | ||
margin-bottom: 21px; | ||
|
||
.no-service-icon { | ||
margin-right: 16px; | ||
} | ||
} | ||
|
||
.closed-text { | ||
margin-bottom: 18px; | ||
font-size: 150px; | ||
line-height: 150px; | ||
} | ||
} | ||
|
||
hr.thin { | ||
margin: 0 20px; | ||
} | ||
|
||
.accessible-path-container { | ||
box-sizing: border-box; | ||
height: 984px; | ||
padding: 48px; | ||
|
||
.subheading-container { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
height: 142px; | ||
|
||
.subheading { | ||
align-self: center; | ||
} | ||
|
||
.arrow { | ||
width: 100px; | ||
height: 100px; | ||
} | ||
} | ||
|
||
.alternate-direction-text { | ||
color: $cool-black-30; | ||
|
||
&.small { | ||
font-size: 48px; | ||
line-height: 64px; | ||
} | ||
|
||
&.medium { | ||
font-size: 62px; | ||
line-height: 80px; | ||
} | ||
|
||
&.large { | ||
font-size: 80px; | ||
line-height: 96px; | ||
} | ||
} | ||
|
||
.map-container { | ||
position: relative; | ||
margin-top: 26px; | ||
margin-left: -48px; | ||
|
||
.map { | ||
width: 1080px; | ||
} | ||
} | ||
} | ||
|
||
.paging-indicators { | ||
justify-content: end; | ||
height: 120px; | ||
} | ||
} | ||
|
||
.marker-container { | ||
position: absolute; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 116px; | ||
height: 116px; | ||
|
||
.marker-background, | ||
.marker { | ||
position: absolute; | ||
} | ||
|
||
.marker-background { | ||
animation: pulse-ring 1.5s infinite; | ||
} | ||
} | ||
|
||
@keyframes pulse-ring { | ||
0% { | ||
transform: scale(0.5); | ||
} | ||
|
||
60% { | ||
opacity: 0.25; | ||
} | ||
|
||
100% { | ||
opacity: 0; | ||
} | ||
} |
123 changes: 123 additions & 0 deletions
123
assets/css/v2/elevator/closures/outside_closures_view.scss
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,123 @@ | ||
.outside-closures-view { | ||
display: flex; | ||
flex: 1; | ||
flex-direction: column; | ||
|
||
.in-station-summary { | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 24px 48px; | ||
font-size: 48px; | ||
font-weight: 400; | ||
line-height: 64px; | ||
color: $cool-black-30; | ||
|
||
.text { | ||
margin-right: 82px; | ||
} | ||
} | ||
|
||
.outside-closure-list { | ||
height: 100%; | ||
background-color: $warm-neutral-90; | ||
|
||
.header-container { | ||
margin: 48px; | ||
margin-bottom: 0; | ||
|
||
.header { | ||
display: flex; | ||
max-height: 432px; | ||
margin-bottom: 48px; | ||
font-size: 112px; | ||
font-weight: 700; | ||
line-height: 112px; | ||
|
||
&__title { | ||
word-spacing: 9999px; | ||
} | ||
} | ||
} | ||
|
||
.closure-list-container { | ||
overflow: hidden; | ||
|
||
.closure-list { | ||
display: flex; | ||
flex-flow: column wrap; | ||
height: 904px; | ||
transform: translateX(calc(-100% * var(--closure-list-offset))); | ||
|
||
.closure-row { | ||
box-sizing: border-box; | ||
width: 1080px; | ||
padding: 0 48px; | ||
|
||
&__station-name { | ||
font-size: 62px; | ||
font-weight: 600; | ||
line-height: 80px; | ||
color: $cool-black-15; | ||
} | ||
|
||
&__name-and-pills { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 14px; | ||
|
||
.route-pill { | ||
width: 132px; | ||
height: 68.13px; | ||
margin-right: 24px; | ||
|
||
&__text { | ||
line-height: 68.13px; | ||
} | ||
|
||
&__icon { | ||
height: 100%; | ||
} | ||
|
||
&__icon-image { | ||
height: 100%; | ||
margin-top: 0; | ||
} | ||
} | ||
} | ||
|
||
&__elevator-name { | ||
line-height: 64px; | ||
} | ||
|
||
&__elevator-name.list-item { | ||
display: list-item; | ||
margin-bottom: 8px; | ||
margin-left: 48px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.paging-info-container { | ||
position: absolute; | ||
bottom: 0; | ||
display: flex; | ||
justify-content: space-between; | ||
width: 100%; | ||
height: 72px; | ||
margin-bottom: 20px; | ||
|
||
.more-elevators-text { | ||
align-self: center; | ||
padding: 0 48px 20px; | ||
} | ||
} | ||
|
||
.paging-info-container, | ||
.closure-row__elevator-name { | ||
font-size: 48px; | ||
font-weight: 400; | ||
color: $cool-black-30; | ||
} | ||
} | ||
} |
Oops, something went wrong.