commit 834e0d4ef76bf850ec4caebc2264cc14caa557f0
parent b22abf7841d030ca92fa5d01dbba1a889452ac30
Author: Dre Grant <dgrant@mozilla.com>
Date: Tue, 6 Jan 2026 17:12:18 +0000
Bug 2008311 - Remove hover and focus styles for small tiles, r=home-newtab-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D277944
Diffstat:
2 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/browser/extensions/newtab/content-src/components/DiscoveryStreamComponents/CardSections/_CardSections.scss b/browser/extensions/newtab/content-src/components/DiscoveryStreamComponents/CardSections/_CardSections.scss
@@ -59,17 +59,6 @@
height: 32px;
width: 32px;
}
-
- &:hover,
- &:active,
- &:focus-within,
- &.active {
- .meta {
- .source-wrapper .source {
- display: none;
- }
- }
- }
}
&.ds-card.sections-card-ui {
diff --git a/browser/extensions/newtab/css/activity-stream.css b/browser/extensions/newtab/css/activity-stream.css
@@ -5176,9 +5176,6 @@ dialog:dir(rtl)::after {
height: 32px;
width: 32px;
}
- .ds-section-grid.ds-card-grid .col-1-small.refined-cards:hover .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-1-small.refined-cards:active .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-1-small.refined-cards:focus-within .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-1-small.refined-cards.active .meta .source-wrapper .source {
- display: none;
- }
.ds-section-grid.ds-card-grid .col-1-small.ds-card.sections-card-ui {
padding: unset;
}
@@ -5536,9 +5533,6 @@ dialog:dir(rtl)::after {
height: 32px;
width: 32px;
}
- .ds-section-grid.ds-card-grid .col-2-small.refined-cards:hover .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-2-small.refined-cards:active .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-2-small.refined-cards:focus-within .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-2-small.refined-cards.active .meta .source-wrapper .source {
- display: none;
- }
.ds-section-grid.ds-card-grid .col-2-small.ds-card.sections-card-ui {
padding: unset;
}
@@ -5905,9 +5899,6 @@ dialog:dir(rtl)::after {
height: 32px;
width: 32px;
}
- .ds-section-grid.ds-card-grid .col-3-small.refined-cards:hover .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-3-small.refined-cards:active .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-3-small.refined-cards:focus-within .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-3-small.refined-cards.active .meta .source-wrapper .source {
- display: none;
- }
.ds-section-grid.ds-card-grid .col-3-small.ds-card.sections-card-ui {
padding: unset;
}
@@ -6273,9 +6264,6 @@ dialog:dir(rtl)::after {
height: 32px;
width: 32px;
}
- .ds-section-grid.ds-card-grid .col-4-small.refined-cards:hover .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-4-small.refined-cards:active .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-4-small.refined-cards:focus-within .meta .source-wrapper .source, .ds-section-grid.ds-card-grid .col-4-small.refined-cards.active .meta .source-wrapper .source {
- display: none;
- }
.ds-section-grid.ds-card-grid .col-4-small.ds-card.sections-card-ui {
padding: unset;
}