Skip to content

Commit 67a8e4c

Browse files
authored
fix(placement): adjust hover style for links (#9981)
Top: Both "Mozilla ads" and "Don't want to see ads?" are underlined only on hover. Sidebar/Footer: "Mozilla ads" is underlined except on hover, and "Don't want to see ads?" is underlined only on hover.
1 parent a06e429 commit 67a8e4c

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

Diff for: client/src/ui/organisms/placement/index.scss

+20-9
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,32 @@ section.place {
4747
}
4848
}
4949

50+
&.top .pong-note,
51+
.no-pong {
52+
text-decoration: none;
53+
54+
&:focus,
55+
&:hover {
56+
text-decoration: underline;
57+
}
58+
}
59+
60+
&.side .pong-note,
61+
&.bottom-banner .pong-note {
62+
text-decoration: underline;
63+
64+
&:focus,
65+
&:hover {
66+
text-decoration: none;
67+
}
68+
}
69+
5070
.no-pong {
5171
color: var(--text-secondary);
5272
font-size: 0.6rem;
5373
margin-bottom: 0.5rem;
5474
max-width: 12rem;
5575
padding: 0;
56-
text-decoration: underline;
5776
width: 100%;
5877
}
5978

@@ -125,13 +144,6 @@ section.place {
125144
grid-area: note;
126145
margin: 0 0 auto auto;
127146
padding: 0 0.5rem 0.125rem;
128-
text-decoration: none;
129-
130-
&:hover,
131-
&:focus,
132-
&:active {
133-
text-decoration: underline;
134-
}
135147
}
136148
}
137149

@@ -262,7 +274,6 @@ div.empty-place {
262274
font-size: 0.625rem;
263275
grid-area: note;
264276
margin-top: 0.5rem;
265-
text-decoration: underline;
266277
}
267278

268279
.no-pong {

0 commit comments

Comments
 (0)