mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web: make tab focus blue for better visibility
This commit is contained in:
parent
ea830974b6
commit
65c14d41fa
4 changed files with 7 additions and 4 deletions
|
@ -115,6 +115,7 @@
|
||||||
#input-container.focused :global(#input-link-icon) {
|
#input-container.focused :global(#input-link-icon) {
|
||||||
stroke: var(--secondary);
|
stroke: var(--secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
#input-container.downloadable :global(#input-link-icon) {
|
#input-container.downloadable :global(#input-link-icon) {
|
||||||
stroke: var(--secondary);
|
stroke: var(--secondary);
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-button:focus-visible {
|
#download-button:focus-visible {
|
||||||
box-shadow: 0 0 0 1.5px var(--secondary) inset;
|
box-shadow: 0 0 0 2px var(--blue) inset;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-state {
|
#download-state {
|
||||||
|
|
|
@ -44,13 +44,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-tab:focus-visible {
|
.sidebar-tab:focus-visible {
|
||||||
box-shadow: 0 0 0 1.5px var(--sidebar-highlight) inset;
|
box-shadow: 0 0 0 3px var(--blue) inset;
|
||||||
outline: none;
|
outline: none;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-tab.active:focus-visible {
|
.sidebar-tab.active:focus-visible {
|
||||||
box-shadow: 0 0 0 1.5px var(--sidebar-bg) inset;
|
background: var(--blue);
|
||||||
|
color: var(--sidebar-highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 535px) {
|
@media screen and (max-width: 535px) {
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
--primary: #ffffff;
|
--primary: #ffffff;
|
||||||
--secondary: #000000;
|
--secondary: #000000;
|
||||||
--gray: #8d8d95;
|
--gray: #8d8d95;
|
||||||
|
--blue: #2f8af9;
|
||||||
|
|
||||||
--button: #eeeeee;
|
--button: #eeeeee;
|
||||||
--button-hover: #e8e8e8;
|
--button-hover: #e8e8e8;
|
||||||
|
@ -120,7 +121,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(button:focus-visible) {
|
:global(button:focus-visible) {
|
||||||
box-shadow: 0 0 0 1.5px var(--secondary) inset;
|
box-shadow: 0 0 0 2px var(--blue) inset;
|
||||||
outline: none;
|
outline: none;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue