fix(gui): Disable outlines (#1854)

For the time being, the focus outlines are removed, until
we can improve the UX on this.

Change-Type: patch
This commit is contained in:
Jonas Hermsmeier 2017-11-17 13:33:19 +01:00 committed by GitHub
parent 701893b472
commit 19275a5ba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 25 deletions

View File

@ -47,6 +47,14 @@ body {
-webkit-overflow-scrolling: touch;
}
/* Prevent blue outline */
a:focus,
input:focus,
button:focus,
[tabindex]:focus {
outline: none !important;
}
/* Titles don't have margins on desktop apps */
h1, h2, h3, h4, h5, h6 {
margin: 0;

View File

@ -6738,12 +6738,3 @@ body {
.section-header > .button, .section-header > .progress-button {
padding-left: 3px;
padding-right: 3px; }
@keyframes focus-highlight {
from {
outline: 2px solid #ff912f; }
to {
outline: none; } }
[tabindex]:focus {
animation: focus-highlight 10s steps(2, end) forwards; }

View File

@ -123,19 +123,3 @@ body {
padding-right: 3px;
}
}
@keyframes focus-highlight {
from {
outline: 2px solid $palette-theme-warning-background;
}
to {
outline: none;
}
}
[tabindex] {
&:focus {
animation: focus-highlight 10s steps(2, end) forwards;
}
}