mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-29 15:13:11 +01:00
[Glitch] Add keyboard shortcut info banner to the boosting preferences section
Port 20961c7538 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -488,6 +488,14 @@ body,
|
||||
}
|
||||
}
|
||||
|
||||
kbd {
|
||||
font-family: Courier, monospace;
|
||||
background-color: color.change($ui-secondary-color, $alpha: 0.1);
|
||||
padding: 4px;
|
||||
padding-bottom: 2px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
@@ -755,6 +755,12 @@ code {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.hidden-on-touch-devices {
|
||||
@media screen and (pointer: coarse) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
color: $darker-text-color;
|
||||
|
||||
@@ -585,3 +585,7 @@ a.sparkline {
|
||||
opacity: 0.25;
|
||||
}
|
||||
}
|
||||
|
||||
kbd {
|
||||
background-color: color.change($ui-highlight-color, $alpha: 0.1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user