This commit is contained in:
lionel-rowe 2025-05-20 09:41:20 +08:00 committed by GitHub
commit 31e5c3b97d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 24 deletions

View file

@ -627,7 +627,6 @@ li {
font-size: 0.75em; font-size: 0.75em;
text-decoration: none; text-decoration: none;
cursor: inherit; cursor: inherit;
outline-style: none;
} }
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) @media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
@ -1173,10 +1172,6 @@ optgroup, select {
color: #000; color: #000;
} }
select:focus {
outline-style: none;
}
optgroup { optgroup {
font-size: 1.00em; font-size: 1.00em;
font-weight: bold; font-weight: bold;
@ -1442,7 +1437,6 @@ input:focus, textarea:focus {
border: 1px solid #BC2A4D; border: 1px solid #BC2A4D;
background-color: #E9E9E2; background-color: #E9E9E2;
color: #BC2A4D; color: #BC2A4D;
outline-style: none;
} }
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) @media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
@ -1592,11 +1586,6 @@ input.disabled {
color: #666666; color: #666666;
} }
/* Focus states */
input.button1:focus, input.button2:focus {
outline-style: none;
}
/* jQuery popups /* jQuery popups
---------------------------------------- */ ---------------------------------------- */
.phpbb_alert { .phpbb_alert {

View file

@ -112,3 +112,11 @@ ul {
abbr[title] { abbr[title] {
text-decoration: none; text-decoration: none;
} }
/**
* Fixes accessibility issue introduced by `normalize.css` by re-adding outline
* to elements covered by the mouse when they are navigated into via keyboard
*/
a:hover {
outline: revert;
}

View file

@ -25,7 +25,6 @@
.button:focus, .button:focus,
.button:hover { .button:hover {
text-decoration: none; text-decoration: none;
outline: none;
} }
.caret { .caret {

View file

@ -27,10 +27,6 @@ select {
font-size: 1em; font-size: 1em;
} }
select:focus {
outline-style: none;
}
option { option {
padding-right: 1em; padding-right: 1em;
} }
@ -268,8 +264,6 @@ fieldset.submit-buttons input {
max-width: 100%; max-width: 100%;
font-size: 1.2em; font-size: 1.2em;
resize: vertical; resize: vertical;
outline: 3px dashed transparent;
outline-offset: -4px;
-webkit-transition: all .5s ease, height 1ms linear; -webkit-transition: all .5s ease, height 1ms linear;
-moz-transition: all .5s ease, height 1ms linear; -moz-transition: all .5s ease, height 1ms linear;
-ms-transition: all .5s ease, height 1ms linear; -ms-transition: all .5s ease, height 1ms linear;
@ -296,7 +290,6 @@ fieldset.submit-buttons input {
.inputbox:hover, .inputbox:focus { .inputbox:hover, .inputbox:focus {
border: 1px solid transparent; border: 1px solid transparent;
outline-style: none;
} }
input.inputbox { width: 85%; } input.inputbox { width: 85%; }
@ -383,11 +376,6 @@ input.disabled {
font-weight: normal; font-weight: normal;
} }
/* Focus states */
input.button1:focus, input.button2:focus, input.button3:focus {
outline-style: none;
}
/* Topic and forum Search */ /* Topic and forum Search */
.search-box { .search-box {
float: left; float: left;