Commit 2b4fe6e0 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review

Merge "Make skip link visible on focus (Bug #1482453)"

parents e1076283 803f426d
.skiplink {
position: fixed;
top: 0;
left: 0;
right: 0;
margin: 0 auto;
z-index: $zindex-navbar-fixed + 1;
text-align: center;
> a.btn {
float: none;
&:not(:focus) {
padding: 0;
}
}
}
......@@ -82,6 +82,7 @@
@import "../features/message-thread";
@import "../features/notification"; // email style notification panels
@import "../features/option-alt";
@import "../features/skiplink";
@import "../features/user-pages";
......
......@@ -4,7 +4,9 @@
<!--[if (gt IE 9)|!(IE)]><!--><html{if $LANGDIRECTION == 'rtl'} dir="rtl"{/if} lang="{$LANGUAGE}"><!--<![endif]-->
{include file="header/head.tpl"}
<body data-usethemedjs="true" class="no-js {if $ADMIN || $INSTITUTIONALADMIN || $STAFF || $INSTITUTIONALSTAFF}admin{/if} {if $loggedout}loggedout{/if}">
<a class="sr-only sr-only-focusable" href="#main">{str tag=skipmenu}</a>
<div class="skiplink btn-group btn-group-top">
<a class="sr-only sr-only-focusable btn btn-default" href="#main">{str tag=skipmenu}</a>
</div>
{if $USERMASQUERADING || !$PRODUCTIONMODE || $SITECLOSED || $SITETOP}
<div class="site-messages text-center">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment