This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
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 #20056 from EverythingMe/1016233-ui-styling
Bug 1016233 - [Collections App] Collection UI styling
- Loading branch information
Showing
10 changed files
with
95 additions
and
32 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 |
---|---|---|
@@ -1,43 +1,70 @@ | ||
body { | ||
background: #000000; | ||
} | ||
gaia-grid { | ||
display: block; | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
#bgimage { | ||
position: fixed; | ||
#header { | ||
height: 5.4rem; | ||
line-height: 5.4rem; | ||
color: #ffffff; | ||
font-size: 2.25rem; | ||
overflow: hidden; | ||
background-position: center -2.4rem; /* to continue wallpaper position from status bar */ | ||
position: relative; | ||
} | ||
#header:after { | ||
position: absolute; | ||
content: ' '; | ||
z-index: 0; | ||
background-color: rgba(0,0,0,0.8); | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
} | ||
#name { | ||
margin-right: 1rem; | ||
padding-left: 3rem; | ||
display: block; | ||
position: relative; | ||
z-index: 1; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
mask: url('../images/app_name_mask.svg#fade_right_mask'); | ||
text-overflow: ''; | ||
-moz-box-sizing: border-box; | ||
} | ||
#close { | ||
position: absolute; | ||
background: transparent url('../images/close.png') no-repeat 50% 50%/1.7rem; | ||
left: 0; | ||
top: 0; | ||
width: 3rem; | ||
height: 5.4rem; | ||
z-index: 1; | ||
} | ||
#content { | ||
border-top: 0.1rem solid #555; | ||
position: fixed; | ||
top: 5.4rem; | ||
left: 0; | ||
z-index: -1; | ||
right: 0; | ||
bottom: 0; | ||
overflow: scroll; | ||
padding-top: 2.4rem; | ||
background-color: #000000; | ||
background-size: cover; | ||
} | ||
|
||
#bgimage:after { | ||
#content:after { | ||
position: fixed; | ||
top: 0; | ||
top: 5.4rem; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
z-index: 0; | ||
content: " "; | ||
background-color: rgba(0,0,0,0.4); | ||
} | ||
|
||
#header { | ||
height: 5rem; | ||
background: #ccc; | ||
font-size: 2rem; | ||
} | ||
#name { | ||
font-weight: bold; | ||
} | ||
#close { | ||
float: right; | ||
color: white; | ||
} | ||
|
||
#content { | ||
position: relative; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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