Skip to content

Commit 663593b

Browse files
GargronClearlyClaire
authored andcommitted
Fix link color in high-contrast theme, add underlines (mastodon#9949)
Improve sorting of default themes in the dropdown
1 parent 2e93f87 commit 663593b

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

  • app/javascript/flavours/glitch/styles/contrast

app/javascript/flavours/glitch/styles/contrast/diff.scss

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,54 @@
1212
}
1313
}
1414
}
15+
16+
.status__content a,
17+
.reply-indicator__content a {
18+
color: lighten($ui-highlight-color, 12%);
19+
text-decoration: underline;
20+
21+
&.mention {
22+
text-decoration: none;
23+
}
24+
25+
&.mention span {
26+
text-decoration: underline;
27+
28+
&:hover,
29+
&:focus,
30+
&:active {
31+
text-decoration: none;
32+
}
33+
}
34+
35+
&:hover,
36+
&:focus,
37+
&:active {
38+
text-decoration: none;
39+
}
40+
41+
&.status__content__spoiler-link {
42+
color: $secondary-text-color;
43+
text-decoration: none;
44+
}
45+
}
46+
47+
.status__content__read-more-button {
48+
text-decoration: underline;
49+
50+
&:hover,
51+
&:focus,
52+
&:active {
53+
text-decoration: none;
54+
}
55+
}
56+
57+
.getting-started__footer a {
58+
text-decoration: underline;
59+
60+
&:hover,
61+
&:focus,
62+
&:active {
63+
text-decoration: none;
64+
}
65+
}

0 commit comments

Comments
 (0)