mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
Fix: Focus & styling on safari (#3650)
This commit is contained in:
parent
c0e273df5b
commit
5f85d8f749
1 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="dropdown" @focusin="open = true" @focusout="handleFocusOut">
|
<div tabindex="-1" class="dropdown" @focusin="open = true" @focusout="handleFocusOut">
|
||||||
<button type="button" class="filter-dropdown-status" :class="{ 'active': filterActive }" tabindex="0">
|
<button type="button" class="filter-dropdown-status" :class="{ 'active': filterActive }" tabindex="0">
|
||||||
<div class="px-1 d-flex align-items-center">
|
<div class="px-1 d-flex align-items-center">
|
||||||
<slot name="status"></slot>
|
<slot name="status"></slot>
|
||||||
|
@ -107,6 +107,19 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
color: $link-color;
|
||||||
|
|
||||||
|
.dark & {
|
||||||
|
color: $dark-font-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
background-color: $highlight-white;
|
||||||
|
|
||||||
|
.dark & {
|
||||||
|
background-color: $dark-font-color2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
border: 1px solid $highlight;
|
border: 1px solid $highlight;
|
||||||
|
|
Loading…
Reference in a new issue