client/style: style focused buttons

This commit is contained in:
rr- 2016-04-07 17:28:02 +02:00
parent 10be5f422d
commit 26ac304e69
1 changed files with 9 additions and 0 deletions

View File

@ -212,3 +212,12 @@ input[type=submit]:disabled {
background-color: var(--button-disabled-background-color); background-color: var(--button-disabled-background-color);
color: var(--button-disabled-text-color); color: var(--button-disabled-text-color);
} }
button:focus,
input[type=button]:focus,
input[type=submit]:focus {
outline: 2px solid var(--text-color);
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
}