Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the one that deprecates the phase variant of the banner (#1465)
* deprecates the phase variant * Typo * Typo * comments out the loud heading in the nunjucks file Co-authored-by: Ken Hawkins <khawkins98@gmail.com>
- Loading branch information
1 parent
596050e
commit 9f61cef
Showing
4 changed files
with
32 additions
and
20 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,28 +1,30 @@ | ||
.vf-banner--phase { | ||
background-color: $vf-phase-banner-color--background; | ||
html:not(.vf-disable-deprecated) { | ||
@warn 'This variant has been deprecated, please use the --notice variant of `vf-banner'; | ||
|
||
margin: 16px 0; | ||
.vf-banner--phase { | ||
background-color: $vf-phase-banner-color--background; | ||
|
||
.vf-banner__text, | ||
[class*='vf-text'] { // as of 1.0.4 use of vf-text is not recommended and is subject to future removal | ||
color: $vf-phase-banner-color--text; | ||
margin: 0; // makes the text have no margin so the parent component defines the spacing | ||
margin: 16px 0; | ||
|
||
& .vf-banner__link, | ||
& .vf-link { | ||
color: $vf-banner-color--link; | ||
.vf-banner__text, | ||
[class*='vf-text'] { // as of 1.0.4 use of vf-text is not recommended and is subject to future removal | ||
color: $vf-phase-banner-color--text; | ||
margin: 0; // makes the text have no margin so the parent component defines the spacing | ||
|
||
& .vf-banner__link, | ||
& .vf-link { | ||
color: $vf-banner-color--link; | ||
} | ||
} | ||
} | ||
|
||
.vf-banner__content { | ||
display: flex; | ||
} | ||
.vf-banner__content { | ||
display: flex; | ||
} | ||
|
||
.vf-button { | ||
@media (min-width: $vf-breakpoint--lg) { | ||
margin-left: auto; | ||
.vf-button { | ||
@media (min-width: $vf-breakpoint--lg) { | ||
margin-left: auto; | ||
} | ||
} | ||
} | ||
|
||
|
||
} |
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