Move autoRefreshForm to skip-links

refs #7945
This commit is contained in:
Alexander Fuhr 2015-02-13 15:33:39 +01:00
parent 2112676594
commit 73a03ada83
2 changed files with 6 additions and 25 deletions

View File

@ -20,14 +20,13 @@ if (Auth::getInstance()->isAuthenticated()): ?>
<li>
<a tabindex="0" href="#navigation"><?= t('Skip to Navigation'); ?></a>
</li>
<li>
<?= $this->layout()->autoRefreshForm ?>
</li>
</ul>
</nav>
</div>
<div class="auto-refresh-trigger">
<?= $this->layout()->autoRefreshForm ?>
</div>
<ul id="notifications"><?php
$moduleName = $this->layout()->moduleName;

View File

@ -280,11 +280,12 @@ a:focus {
display: inline;
margin: 0;
padding: 0;
a {
a, button[type="submit"] {
position: absolute;
display: block;
left: -999em;
width: 10.4em;
width: 10.8em !important;
text-align: left !important;
top: 0.4em;
padding: 0.8em;
background-color: white;
@ -300,22 +301,3 @@ a:focus {
.skip-links-inline {
margin-top: -3.5em;
}
.auto-refresh-trigger {
position: absolute;
form {
button[type="submit"] {
position: absolute;
display: block;
left: -999em;
width: 12em !important;
top: 0.4em;
padding: 0.8em 0.8em !important;
background-color: white !important;
text-align: left !important;
&:focus {
left: 0;
}
}
}
}