summaryrefslogtreecommitdiff
path: root/packages/frontend/src/style.scss
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/style.scss')
-rw-r--r--packages/frontend/src/style.scss25
1 files changed, 19 insertions, 6 deletions
diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss
index 37d1a3c557..62ba7a08d5 100644
--- a/packages/frontend/src/style.scss
+++ b/packages/frontend/src/style.scss
@@ -143,6 +143,10 @@ a {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
+ &:focus-visible {
+ outline-offset: 2px;
+ }
+
&:hover {
text-decoration: underline;
}
@@ -173,12 +177,21 @@ rt {
white-space: initial;
}
+:focus-visible {
+ outline: var(--focus) solid 2px;
+ outline-offset: -2px;
+
+ &:hover {
+ text-decoration: none;
+ }
+}
+
.ph-bold {
width: 1.28em;
vertical-align: -12%;
line-height: 1em;
- &:before {
+ &::before {
font-size: 128%;
}
}
@@ -264,10 +277,6 @@ rt {
text-decoration: none;
}
- &:focus-visible {
- outline: none;
- }
-
&:disabled {
opacity: 0.5;
cursor: default;
@@ -304,13 +313,17 @@ rt {
._help {
color: var(--accent);
- cursor: help
+ cursor: help;
}
._textButton {
@extend ._button;
color: var(--accent);
+ &:focus-visible {
+ outline-offset: 2px;
+ }
+
&:not(:disabled):hover {
text-decoration: underline;
}