reorder-authbackend.phtml: Fix hover styles of icon-only buttons

This commit is contained in:
Johannes Meyer 2015-07-31 08:29:59 +02:00
parent eeff0dbfa5
commit 9b051cd7ce
2 changed files with 11 additions and 14 deletions

View File

@ -34,7 +34,7 @@
</td>
<td data-base-target="_self">
<?php if ($i > 0): ?>
<button type="submit" name="backend_newpos" class="icon-only" value="<?= sprintf(
<button type="submit" name="backend_newpos" class="link-like icon-only" value="<?= sprintf(
'%s|%s',
$backendNames[$i],
$i - 1
@ -48,7 +48,7 @@
</button>
<?php endif; ?>
<?php if ($i + 1 < count($backendNames)): ?>
<button type="submit" name="backend_newpos" class="icon-only" value="<?= sprintf(
<button type="submit" name="backend_newpos" class="link-like icon-only" value="<?= sprintf(
'%s|%s',
$backendNames[$i],
$i + 1

View File

@ -131,18 +131,6 @@ button, .button-like {
background-color: #666;
}
}
&.icon-only {
font-size: 1.5em;
padding: 0;
border: none;
color: inherit;
background-color: transparent;
&:hover, &:focus, &:active {
color: #666;
}
}
}
.button-like {
@ -162,6 +150,15 @@ form.link-like input[type="submit"], form.link-like button[type="submit"], input
padding: 0;
font-size: 1em;
cursor: pointer;
&.icon-only {
color: inherit;
font-size: 1.5em;
&:hover, &:focus, &:active {
color: #666;
}
}
}
form.link-like input[type="submit"]:hover,