From 26f9e62dc5c9314ad0d59980a4988b5f83f81489 Mon Sep 17 00:00:00 2001 From: Valessio Soares de Brito Date: Fri, 30 Aug 2019 14:58:56 -0400 Subject: [PATCH] fix position .visually-hidden with :focus --- css/style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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; -- 2.25.1