This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7362 from crh0716/827610
Bug 827610 - Modify banner style to have variable size
- Loading branch information
Showing
6 changed files
with
18 additions
and
110 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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
bottom: 75px; | ||
} | ||
|
||
#evmeContainer * { | ||
#evmeContainer *:not([role]) { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
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,57 +1,13 @@ | ||
/* from building blocks, core.css - [role=dialog]*/ | ||
#evmeContainer .banner { | ||
position: absolute; | ||
background: orange; | ||
width: 100%; | ||
height: 8.13rem; | ||
bottom: 0; | ||
vertical-align: middle; | ||
text-align: center; | ||
background-attachment: scroll, scroll; | ||
background-clip: border-box, border-box; | ||
background-color: transparent; | ||
background-image: url("/everything.me/images/shared/pattern.png"), url("/everything.me/images/shared/gradient.png"); | ||
background-origin: padding-box, padding-box; | ||
background-position: left top, left top; | ||
background-repeat: repeat, no-repeat; | ||
background-size: auto auto, 100% 100%; | ||
font-family: "MozTT",Sans-serif; | ||
-moz-transition: all 600ms ease; | ||
#evmeBanner { | ||
z-index: -1; | ||
opacity: 0; | ||
-moz-transition: all 600ms ease; | ||
} | ||
#evmeContainer .banner.visible { | ||
#evmeBanner.visible { | ||
z-index: 10001; | ||
opacity: 1; | ||
-moz-transition: all 600ms ease; | ||
} | ||
#evmeContainer .banner:before { | ||
content: ""; | ||
display: inline-block; | ||
height: 100%; | ||
vertical-align: middle; | ||
width: 1px; | ||
} | ||
#evmeContainer .banner:after { | ||
content: ""; | ||
display: inline-block; | ||
height: 100%; | ||
vertical-align: middle; | ||
width: 1px; | ||
} | ||
#evmeContainer .banner > p { | ||
display: inline-block; | ||
font-size: 1.56rem; | ||
line-height: 2.34rem; | ||
max-width: 75%; | ||
vertical-align: middle; | ||
white-space: normal; | ||
color: #FFFFFF; | ||
font-family: "MozTT",Sans-serif; | ||
} | ||
#evmeContainer .banner > p > strong { | ||
color: #0995B0; | ||
font-weight: normal; | ||
text-transform: uppercase; | ||
#evmeBanner > p > strong { | ||
white-space: nowrap; | ||
} | ||
} |
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