зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1900240
- Home and newtab fixing link text colour issue with wallpaper r=home-newtab-reviewers,amy
Differential Revision: https://phabricator.services.mozilla.com/D212375
This commit is contained in:
Родитель
cbbd7efae0
Коммит
e984e287e8
|
@ -57,14 +57,14 @@ $ds-width: 936px;
|
|||
.collapsible-section.ds-layout {
|
||||
margin: auto;
|
||||
|
||||
.section-top-bar {
|
||||
.learn-more-link a {
|
||||
.section-top-bar .learn-more-link {
|
||||
// Contrast fix for users who have wallpapers set
|
||||
@include wallpaper-contrast-fix;
|
||||
|
||||
a {
|
||||
color: var(--newtab-primary-action-background);
|
||||
font-weight: 500;
|
||||
|
||||
// Contrast fix for users who have wallpapers set
|
||||
@include wallpaper-contrast-fix;
|
||||
|
||||
&:is(:focus, :hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -3168,16 +3168,16 @@ main section {
|
|||
.collapsible-section.ds-layout {
|
||||
margin: auto;
|
||||
}
|
||||
.lightWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link {
|
||||
color-scheme: light;
|
||||
}
|
||||
.darkWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link {
|
||||
color-scheme: dark;
|
||||
}
|
||||
.collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color: var(--newtab-primary-action-background);
|
||||
font-weight: 500;
|
||||
}
|
||||
.lightWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color-scheme: light;
|
||||
}
|
||||
.darkWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color-scheme: dark;
|
||||
}
|
||||
.collapsible-section.ds-layout .section-top-bar .learn-more-link a:is(:focus, :hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -3172,16 +3172,16 @@ main section {
|
|||
.collapsible-section.ds-layout {
|
||||
margin: auto;
|
||||
}
|
||||
.lightWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link {
|
||||
color-scheme: light;
|
||||
}
|
||||
.darkWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link {
|
||||
color-scheme: dark;
|
||||
}
|
||||
.collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color: var(--newtab-primary-action-background);
|
||||
font-weight: 500;
|
||||
}
|
||||
.lightWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color-scheme: light;
|
||||
}
|
||||
.darkWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color-scheme: dark;
|
||||
}
|
||||
.collapsible-section.ds-layout .section-top-bar .learn-more-link a:is(:focus, :hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -3168,16 +3168,16 @@ main section {
|
|||
.collapsible-section.ds-layout {
|
||||
margin: auto;
|
||||
}
|
||||
.lightWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link {
|
||||
color-scheme: light;
|
||||
}
|
||||
.darkWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link {
|
||||
color-scheme: dark;
|
||||
}
|
||||
.collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color: var(--newtab-primary-action-background);
|
||||
font-weight: 500;
|
||||
}
|
||||
.lightWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color-scheme: light;
|
||||
}
|
||||
.darkWallpaper .collapsible-section.ds-layout .section-top-bar .learn-more-link a {
|
||||
color-scheme: dark;
|
||||
}
|
||||
.collapsible-section.ds-layout .section-top-bar .learn-more-link a:is(:focus, :hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче