mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-28 12:58:48 +00:00
global focusable css class added
This commit is contained in:
parent
f198444c96
commit
f56bedb351
1 changed files with 20 additions and 0 deletions
|
|
@ -101,4 +101,24 @@ html, body, :global(#app) {
|
|||
::-webkit-scrollbar-track {
|
||||
background-color: var(--color-backgroundlight);
|
||||
}
|
||||
}
|
||||
|
||||
:global(.focusable-with-border) {
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
|
||||
&:focus {
|
||||
&::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
display: block;
|
||||
pointer-events: none;
|
||||
border: var(--focusable-border-size) solid var(--color-surfacelighter);
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue