-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
339 Feature: Update Portal Bridge CCTP banner on main page to include…
… optimism (#349)
- Loading branch information
1 parent
138ba09
commit 7f51b3b
Showing
6 changed files
with
168 additions
and
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,199 +1,208 @@ | ||
html { | ||
-webkit-locale: "en"; | ||
box-sizing: border-box; | ||
-webkit-font-smoothing: antialiased; | ||
--vh: 10.01px; | ||
-webkit-locale: "en"; | ||
box-sizing: border-box; | ||
-webkit-font-smoothing: antialiased; | ||
--vh: 10.01px; | ||
} | ||
|
||
body { | ||
box-sizing: inherit; | ||
color: #FFFFFF; | ||
margin: 0; | ||
font-size: 0.8125rem; | ||
font-family: 'Poppins', sans-serif; | ||
font-weight: 400; | ||
line-height: 1.43; | ||
background-size: 120%; | ||
background-color: #17153f; | ||
background-image: url(/static/media/bg.7f578c3eb1b9a700a83d6113bf1579e0.svg); | ||
background-repeat: repeat-y; | ||
background-position: top center; | ||
overscroll-behavior-y: none; | ||
box-sizing: inherit; | ||
color: #ffffff; | ||
margin: 0; | ||
font-size: 0.8125rem; | ||
font-family: "Poppins", sans-serif; | ||
font-weight: 400; | ||
line-height: 1.43; | ||
background-size: 120%; | ||
background-color: #17153f; | ||
background-image: url(/static/media/bg.7f578c3eb1b9a700a83d6113bf1579e0.svg); | ||
background-repeat: repeat-y; | ||
background-position: top center; | ||
overscroll-behavior-y: none; | ||
} | ||
|
||
.root { | ||
box-sizing: inherit; | ||
box-sizing: inherit; | ||
} | ||
|
||
.container { | ||
box-sizing: inherit; | ||
display: flex; | ||
overflow: hidden; | ||
position: relative; | ||
min-height: 100vh; | ||
flex-direction: column; | ||
box-sizing: inherit; | ||
display: flex; | ||
overflow: hidden; | ||
position: relative; | ||
min-height: 100vh; | ||
flex-direction: column; | ||
} | ||
|
||
.cctp-banner { | ||
box-sizing: inherit; | ||
width: 100%; | ||
display: flex; | ||
padding: 4px 16px; | ||
font-size: 14px; | ||
background: linear-gradient(20deg, #f44b1b 0%, #eeb430 100%); | ||
min-height: 48px; | ||
text-align: center; | ||
align-items: center; | ||
font-weight: 500; | ||
letter-spacing: 0.02em; | ||
justify-content: center; | ||
box-sizing: inherit; | ||
width: 100%; | ||
display: flex; | ||
padding: 4px 16px; | ||
font-size: 14px; | ||
background: linear-gradient(20deg, #f44b1b 0%, #eeb430 100%); | ||
min-height: 48px; | ||
text-align: center; | ||
align-items: center; | ||
font-weight: 500; | ||
letter-spacing: 0.02em; | ||
justify-content: center; | ||
} | ||
#cctp-default-text { | ||
display: none; | ||
} | ||
|
||
#cctp-optimism-text { | ||
display: none; | ||
} | ||
|
||
.cctp-link { | ||
text-align: center; | ||
box-sizing: inherit; | ||
margin: 0; | ||
text-decoration: none; | ||
color: #F47B48; | ||
display: inline-flex; | ||
padding: 6px 12px; | ||
font-size: 12px; | ||
min-width: fit-content; | ||
min-height: 32px; | ||
align-items: center; | ||
font-weight: 600; | ||
margin-left: 8px; | ||
border-radius: 20px; | ||
letter-spacing: 0.08em; | ||
background-color: white; | ||
text-align: center; | ||
box-sizing: inherit; | ||
margin: 0; | ||
text-decoration: none; | ||
color: #f47b48; | ||
display: inline-flex; | ||
padding: 6px 12px; | ||
font-size: 12px; | ||
min-width: fit-content; | ||
min-height: 32px; | ||
align-items: center; | ||
font-weight: 600; | ||
margin-left: 8px; | ||
border-radius: 20px; | ||
letter-spacing: 0.08em; | ||
background-color: white; | ||
} | ||
|
||
.header { | ||
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; | ||
box-shadow: none; | ||
width: 100%; | ||
display: flex; | ||
z-index: 1100; | ||
box-sizing: border-box; | ||
flex-shrink: 0; | ||
flex-direction: column; | ||
position: static; | ||
color: inherit; | ||
background: transparent; | ||
margin-top: 16px; | ||
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; | ||
box-shadow: none; | ||
width: 100%; | ||
display: flex; | ||
z-index: 1100; | ||
box-sizing: border-box; | ||
flex-shrink: 0; | ||
flex-direction: column; | ||
position: static; | ||
color: inherit; | ||
background: transparent; | ||
margin-top: 16px; | ||
} | ||
|
||
.header-inner { | ||
color: inherit; | ||
box-sizing: inherit; | ||
display: flex; | ||
position: relative; | ||
align-items: center; | ||
padding-left: 24px; | ||
padding-right: 24px; | ||
min-height: 64px; | ||
width: 100%; | ||
margin: auto; | ||
max-width: 1440px; | ||
color: inherit; | ||
box-sizing: inherit; | ||
display: flex; | ||
position: relative; | ||
align-items: center; | ||
padding-left: 24px; | ||
padding-right: 24px; | ||
min-height: 64px; | ||
width: 100%; | ||
margin: auto; | ||
max-width: 1440px; | ||
} | ||
|
||
.logo-link { | ||
display: inline-flex; | ||
align-items: center; | ||
display: inline-flex; | ||
align-items: center; | ||
} | ||
.logo-link:hover { | ||
text-decoration: none; | ||
text-decoration: none; | ||
} | ||
|
||
.logo { | ||
height: 68px; | ||
vertical-align: middle; | ||
margin-right: 8px; | ||
display: inline-block; | ||
height: 68px; | ||
vertical-align: middle; | ||
margin-right: 8px; | ||
display: inline-block; | ||
} | ||
.logo:hover { | ||
filter: contrast(1); | ||
filter: contrast(1); | ||
} | ||
|
||
.spacer { | ||
flex: 1; | ||
width: 100vw; | ||
flex: 1; | ||
width: 100vw; | ||
} | ||
|
||
/* .links-list {} */ | ||
@media (max-width: 599.95px) { | ||
.links-list { | ||
display: none; | ||
} | ||
.links-list { | ||
display: none; | ||
} | ||
|
||
.help-container { | ||
display: block; | ||
} | ||
.help-container { | ||
display: block; | ||
} | ||
} | ||
|
||
@media (min-width: 600px) { | ||
.links-list { | ||
display: flex; | ||
} | ||
.links-list { | ||
display: flex; | ||
} | ||
|
||
.help-container { | ||
display: none; | ||
} | ||
.help-container { | ||
display: none; | ||
} | ||
} | ||
|
||
@font-face { | ||
font-family: 'Suisse BP Intl'; | ||
src: url('SuisseBPIntlBold.woff2'); | ||
font-family: "Suisse BP Intl"; | ||
src: url("SuisseBPIntlBold.woff2"); | ||
} | ||
|
||
.links-list-inner { | ||
display: flex; | ||
align-items: center; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.link { | ||
margin: 0; | ||
text-decoration: none; | ||
color: white; | ||
font-size: 0.8125rem; | ||
font-family: Suisse BP Intl, sans-serif; | ||
font-weight: 600; | ||
line-height: 1.43; | ||
text-underline-offset: 6px; | ||
margin-left: 32px; | ||
margin: 0; | ||
text-decoration: none; | ||
color: white; | ||
font-size: 0.8125rem; | ||
font-family: | ||
Suisse BP Intl, | ||
sans-serif; | ||
font-weight: 600; | ||
line-height: 1.43; | ||
text-underline-offset: 6px; | ||
margin-left: 32px; | ||
} | ||
.active { | ||
text-decoration: underline; | ||
text-decoration: underline; | ||
} | ||
|
||
/* .help-container {} */ | ||
/* .help-link {} */ | ||
.help-label { | ||
color: white; | ||
color: white; | ||
} | ||
.help-icon { | ||
fill: currentColor; | ||
width: 1em; | ||
height: 1em; | ||
display: inline-block; | ||
font-size: 1.3928571428571428rem; | ||
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; | ||
flex-shrink: 0; | ||
user-select: none; | ||
fill: currentColor; | ||
width: 1em; | ||
height: 1em; | ||
display: inline-block; | ||
font-size: 1.3928571428571428rem; | ||
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; | ||
flex-shrink: 0; | ||
user-select: none; | ||
} | ||
|
||
.footer { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
margin-bottom: 15px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
margin-bottom: 15px; | ||
} | ||
|
||
.footer-link { | ||
color: white; | ||
text-decoration: underline; | ||
color: white; | ||
text-decoration: underline; | ||
} | ||
|
||
.footer-link:visited { | ||
color: white; | ||
color: white; | ||
} |
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
Oops, something went wrong.