From: Valessio Soares de Brito Date: Fri, 30 Aug 2019 18:58:56 +0000 (-0400) Subject: fix position .visually-hidden with :focus X-Git-Url: https://vcs.fsf.org/?p=ryf-theme.git;a=commitdiff_plain;h=26f9e62dc5c9314ad0d59980a4988b5f83f81489;hp=30d080b7177f09858f257102790615d1ce68959d fix position .visually-hidden with :focus --- diff --git a/css/style.css b/css/style.css index 3240931..b0e1089 100644 --- a/css/style.css +++ b/css/style.css @@ -41,6 +41,14 @@ section { position: relative; } /* etcetera */ +.visually-hidden.focusable:focus { + position: absolute !important; + background: #000; + color: #FFF; + padding: 0.5em; + z-index: 9999; +} + .region-content { min-height: 300px; } h2.block-title { @@ -112,7 +120,7 @@ h2.block-title { .navbar-brand { display: none; } -#block-ryf-main-menu .navbar-nav { margin-left: 180px; } +#block-ryf-main-menu .navbar-nav { margin-left: 195px; } .navbar-default .navbar-nav > li > a:focus { outline: none; @@ -128,6 +136,7 @@ h2.block-title { margin-bottom: 5px; } +.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li.active > a:hover, .navbar-default .navbar-nav > li > a:hover { color: #DDCC00;