Try to prevent iOS from highlighting buttons
after closing a dialog
This commit is contained in:
parent
7922d88bf8
commit
0e7edb7bf3
3 changed files with 30 additions and 4 deletions
|
@ -70,7 +70,14 @@ const dispatch = createEventDispatcher();
|
|||
border: 2px solid transparent;
|
||||
}
|
||||
|
||||
.repo > a:hover, .repo > a:focus {
|
||||
@media (hover){
|
||||
.repo > a:hover {
|
||||
box-shadow: none;
|
||||
border-color: var(--highlight-color);
|
||||
}
|
||||
}
|
||||
|
||||
.repo > a:focus {
|
||||
box-shadow: none;
|
||||
border-color: var(--highlight-color);
|
||||
}
|
||||
|
|
|
@ -107,7 +107,13 @@ function add(){
|
|||
color: var(--text-inverse);
|
||||
}
|
||||
|
||||
.tool-bar > button:focus, .tool-bar > button:hover {
|
||||
@media(hover){
|
||||
.tool-bar > button:hover {
|
||||
border: 2px solid var(--highlight-color);
|
||||
}
|
||||
}
|
||||
|
||||
.tool-bar > button:focus {
|
||||
border: 2px solid var(--highlight-color);
|
||||
}
|
||||
|
||||
|
|
|
@ -69,7 +69,13 @@ button {
|
|||
font-family: inherit;
|
||||
}
|
||||
|
||||
button:focus, button:hover {
|
||||
@media(hover){
|
||||
button:hover {
|
||||
border: 2px solid var(--buton-color);
|
||||
}
|
||||
}
|
||||
|
||||
button:focus {
|
||||
border: 2px solid var(--button-color);
|
||||
}
|
||||
|
||||
|
@ -137,7 +143,14 @@ button:focus, button:hover {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.dialog-content button:focus, .dialog-content button:hover {
|
||||
@media(hover){
|
||||
.dialog-content button:hover{
|
||||
border: 0;
|
||||
outline: 2px solid var(--button-color);
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-content button:focus {
|
||||
border: 0;
|
||||
outline: 2px solid var(--button-color);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue