Nasty black box/lines on :active - Moodle 3.9

Re: Ri: Re: Nasty black box/lines on :active - Moodle 3.9

by Américo A. Rivas O. -
Number of replies: 0
In case someone wants to remove these accessibility features (boxes around focused/active elements), i used this code on the final SCSS section of the Fordson theme to accomplish it:

.btn:focus,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link.active,
.navbar-fhs .navbar-nav .nav-link:hover,
.navbar-fhs .navbar-nav .nav-link:focus,
.usermenu a:hover,
.usermenu a:focus,
#nav-drawer .list-group div.list-group-item:hover,
#nav-drawer .list-group a.list-group-item:hover,
#nav-drawer .list-group div.list-group-item:focus,
#nav-drawer .list-group a.list-group-item:focus,
.action-menu-trigger a:hover,
.action-menu-trigger a:focus {
outline: none;
box-shadow: none;
}