mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-30 06:24:25 +02:00
web: remove focus ring css workarounds
This commit is contained in:
parent
ba4742f3fd
commit
9657db3515
@ -282,7 +282,7 @@ a:focus-visible {
|
|||||||
background-color: var(--button-elevated-press);
|
background-color: var(--button-elevated-press);
|
||||||
}
|
}
|
||||||
|
|
||||||
.button.elevated:not(:focus-visible) {
|
.button.elevated {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
border-radius: calc(var(--border-radius) - var(--switcher-padding));;
|
border-radius: calc(var(--border-radius) - var(--switcher-padding));;
|
||||||
}
|
}
|
||||||
|
|
||||||
.switcher.big :global(.button:not(:focus-visible)) {
|
.switcher.big {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,10 +106,6 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-title:focus-visible {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.picker-body {
|
.picker-body {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
display: grid;
|
display: grid;
|
||||||
|
@ -148,10 +148,6 @@
|
|||||||
gap: var(--padding);
|
gap: var(--padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialog-inner-container:focus-visible {
|
|
||||||
box-shadow: none!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dialog-inner-container {
|
.dialog-inner-container {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
@ -191,10 +187,6 @@
|
|||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-title:focus-visible {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.action-buttons {
|
.action-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -129,11 +129,6 @@
|
|||||||
-webkit-user-select: text;
|
-webkit-user-select: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.body-text:focus-visible,
|
|
||||||
.popup-title:focus-visible {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.popup-subtext {
|
.popup-subtext {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
letter-spacing: -0.3px;
|
letter-spacing: -0.3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.donate-card button:not(:focus-visible)) {
|
:global(.donate-card button) {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,8 +62,8 @@
|
|||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.donate-card button.selected:not(:focus-visible)) {
|
:global(.donate-card button.selected) {
|
||||||
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1) inset !important;
|
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.donate-card-subtitle) {
|
:global(.donate-card-subtitle) {
|
||||||
|
@ -333,10 +333,6 @@
|
|||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
#donation-custom-input:focus-visible {
|
|
||||||
box-shadow: unset !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#input-container.focused {
|
#input-container.focused {
|
||||||
box-shadow: 0 0 0 2px var(--white) inset;
|
box-shadow: 0 0 0 2px var(--white) inset;
|
||||||
}
|
}
|
||||||
|
@ -305,10 +305,6 @@
|
|||||||
padding-right: calc(var(--input-padding) + 28px);
|
padding-right: calc(var(--input-padding) + 28px);
|
||||||
}
|
}
|
||||||
|
|
||||||
#link-area:focus-visible {
|
|
||||||
box-shadow: unset !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#link-area::placeholder {
|
#link-area::placeholder {
|
||||||
color: var(--gray);
|
color: var(--gray);
|
||||||
/* fix for firefox */
|
/* fix for firefox */
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
box-shadow 0.1s;
|
box-shadow 0.1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#services-button:not(:focus-visible):not(:active) {
|
#services-button:not(:active) {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,10 +102,6 @@
|
|||||||
padding: 0 12px 0 15px;
|
padding: 0 12px 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download-button:focus-visible {
|
|
||||||
box-shadow: var(--focus-ring);
|
|
||||||
}
|
|
||||||
|
|
||||||
#download-state {
|
#download-state {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-family: "Noto Sans Mono Variable", "Noto Sans Mono",
|
font-family: "Noto Sans Mono Variable", "Noto Sans Mono",
|
||||||
|
@ -223,10 +223,6 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-box:focus-visible {
|
|
||||||
box-shadow: unset !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#input-container.focused {
|
#input-container.focused {
|
||||||
box-shadow: 0 0 0 2px var(--secondary) inset;
|
box-shadow: 0 0 0 2px var(--secondary) inset;
|
||||||
}
|
}
|
||||||
|
@ -184,7 +184,7 @@
|
|||||||
stroke-width: 1.6px;
|
stroke-width: 1.6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-wrapper-desktop button:not(:focus-visible) {
|
.button-wrapper-desktop button {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user