remove styling from focused buttons

This commit is contained in:
or-else
2023-01-13 17:25:57 -08:00
parent acc24b552d
commit e9d0f0f1f3
4 changed files with 53 additions and 32 deletions
+6 -6
View File
@@ -117,7 +117,7 @@ button.round.small {
box-shadow: 0 2px 0.35rem 0 rgba(0, 0, 0, 0.25);
}
button:focus, button:hover, button:active {
button:hover:not([disabled]), button:active:not([disabled]) {
color: #fff;
}
button:active {
@@ -131,7 +131,7 @@ button.primary {
background-color: #1e88e5; /* blue 600 */
color: white;
}
button.primary:focus, button.primary:hover, button.primary:active {
button.primary:hover:not([disabled]), button.primary:active:not([disabled]) {
background-color: #2962ff;
}
@@ -139,7 +139,7 @@ button.secondary {
background-color: #FFF;
color: #2196f3; /* blue 500 */
}
button.secondary:focus, button.secondary:hover, button.secondary:active {
button.secondary:hover:not([disabled]), button.secondary:active:not([disabled]) {
background-color: #e3f2fd;
}
@@ -149,7 +149,7 @@ button.outline {
border: 1px solid silver;
box-shadow: none;
}
button.outline:focus, button.outline:hover, button.outline:active {
button.outline:hover:not([disabled]), button.outline:active:not([disabled]) {
background-color: #e8eaf6; /* indigo 50 */
}
@@ -157,7 +157,7 @@ button.danger {
background-color: #ec6560;
color: white;
}
button.danger:focus, button.danger:hover, button.danger:active {
button.danger:hover:not([disabled]), button.danger:active:not([disabled]) {
background-color: #f77;
}
@@ -165,7 +165,7 @@ button.positive {
background-color: #71c46f;
color: white;
}
button.positive:focus, button.positive:hover, button.positive:active {
button.positive:hover:not([disabled]), button.positive:active:not([disabled]) {
background-color: rgb(127, 237, 127);
}