-
Notifications
You must be signed in to change notification settings - Fork 114
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 #79 from newrelic/jerel/css-modules
Convert to CSS Modules everywhere
- Loading branch information
Showing
43 changed files
with
416 additions
and
426 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
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
2 changes: 1 addition & 1 deletion
2
src/components/Container.scss → src/components/Container.module.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.u-container { | ||
.container { | ||
max-width: 1200px; | ||
margin: auto; | ||
box-sizing: border-box; | ||
|
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,77 @@ | ||
.footer { | ||
--footer-text-color: #7da5a8; | ||
|
||
background-color: var(--color-neutrals-800); | ||
color: var(--footer-text-color); | ||
padding: 1.5rem 0; | ||
margin-top: 10rem; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
@media (max-width: 760px) { | ||
justify-content: center; | ||
} | ||
} | ||
|
||
.leftColumn { | ||
display: flex; | ||
align-items: center; | ||
|
||
@media (max-width: 760px) { | ||
display: block; | ||
} | ||
} | ||
|
||
.logo { | ||
width: 195px; | ||
min-width: 195px; | ||
height: 45px; | ||
display: inline-block; | ||
background-image: url('../images/developers-logo-footer.svg'); | ||
} | ||
|
||
.copyright { | ||
font-size: 0.75rem; | ||
margin-left: 1rem; | ||
padding: 0.75rem 0.5rem; | ||
border-left: 1px dotted var(--color-neutrals-700); | ||
|
||
@media (max-width: 760px) { | ||
border-left: none; | ||
margin-left: 0; | ||
padding: 0.5rem; | ||
} | ||
} | ||
|
||
.nav { | ||
@media (max-width: 760px) { | ||
display: none; | ||
} | ||
|
||
ul { | ||
display: flex; | ||
list-style: none; | ||
margin: 0; | ||
padding: 0; | ||
|
||
li { | ||
text-align: center; | ||
} | ||
|
||
a { | ||
color: var(--footer-text-color); | ||
text-decoration: none; | ||
font-size: 0.9rem; | ||
padding: 0.5rem 0 0.5rem 1rem; | ||
display: inline-block; | ||
} | ||
|
||
a:hover { | ||
color: var(--color-white); | ||
} | ||
} | ||
} |
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
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
10 changes: 5 additions & 5 deletions
10
...components/GuideListing/GuideListing.scss → ...nts/GuideListing/GuideListing.module.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
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.