app/assets/stylesheets/govuk-template.css.erb in govuk_template-0.16.0 vs app/assets/stylesheets/govuk-template.css.erb in govuk_template-0.16.1
- old
+ new
@@ -244,18 +244,21 @@
.hidden {
display: none;
visibility: hidden; }
/* Hide only visually, but have it available for screenreaders */
+.visually-hidden,
.visuallyhidden {
position: absolute;
left: -9999em;
/*
* Extends the .visuallyhidden class to allow the element to be
* focusable when navigated to via the keyboard
*/ }
- .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
+ .visually-hidden.focusable:active, .visually-hidden.focusable:focus,
+ .visuallyhidden.focusable:active,
+ .visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
@@ -394,11 +397,9 @@
border: none;
visibility: hidden; }
#global-header #logo:hover, #global-header #logo:focus {
text-decoration: none;
border-bottom-color: white; }
- #global-header #logo:active {
- color: #2b8cc4; }
#global-header .header-proposition {
padding-top: 10px; }
@media (min-width: 769px) {
#global-header .header-proposition {
padding-top: 0; } }