-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate scss files and remove reset of top bar
- Loading branch information
1 parent
cddfa55
commit d1f48bc
Showing
9 changed files
with
155 additions
and
159 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,51 @@ | ||
@import '../../../styles/mixins'; | ||
|
||
.Announcement { | ||
display: flex; | ||
flex-shrink: 0; | ||
align-items: center; | ||
justify-content: center; | ||
height: 3rem; | ||
padding: 0 1rem 0 0.5rem; // padding is larger on the right to accommodate the close button | ||
font-size: 1rem; | ||
font-weight: 500; | ||
color: white; | ||
text-align: center; | ||
background: #000; | ||
transition: margin 200ms ease; | ||
|
||
&.Announcement--hidden { | ||
margin-top: -3rem; | ||
} | ||
|
||
p { | ||
margin: 0; | ||
} | ||
|
||
b, | ||
strong { | ||
font-weight: 700; | ||
} | ||
|
||
a { | ||
color: var(--brand-red); | ||
text-decoration: underline; | ||
} | ||
|
||
@include screen($sm) { | ||
padding: 0 1rem; | ||
} | ||
} | ||
|
||
.Announcement__close { | ||
position: absolute; | ||
right: 0.5rem; | ||
display: flex; | ||
padding: 0.125rem; | ||
font-size: 1.25rem; | ||
cursor: pointer; | ||
|
||
@include screen($sm) { | ||
right: 1rem; | ||
} | ||
} |
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,46 @@ | ||
@import '../../../styles/mixins'; | ||
|
||
.SitePopover { | ||
min-width: 16rem; | ||
max-width: 22rem; | ||
} | ||
|
||
.SitePopover__side-link { | ||
margin-left: 0.5rem; | ||
font-size: 0.8125rem; | ||
font-weight: 600; | ||
color: var(--primary-3000); | ||
text-align: right; | ||
} | ||
|
||
.SitePopover__section { | ||
width: 100%; | ||
padding: 0.5rem 0; | ||
border-bottom: 1px solid var(--border); | ||
|
||
&:first-child { | ||
padding-top: 0; | ||
} | ||
|
||
&:last-child { | ||
padding-bottom: 0; | ||
border-bottom: none; | ||
} | ||
} | ||
|
||
.AccountInfo { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.AccountInfo__identification { | ||
width: 100%; | ||
margin-left: 0.5rem; | ||
overflow: hidden; | ||
} | ||
|
||
.AccessLevelIndicator { | ||
margin-left: 0.5rem; | ||
font-size: 0.625rem; | ||
text-transform: uppercase; | ||
} |
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 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