mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
reorder-authbackend.phtml: Fix hover styles of icon-only buttons
This commit is contained in:
parent
eeff0dbfa5
commit
9b051cd7ce
@ -34,7 +34,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td data-base-target="_self">
|
<td data-base-target="_self">
|
||||||
<?php if ($i > 0): ?>
|
<?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',
|
'%s|%s',
|
||||||
$backendNames[$i],
|
$backendNames[$i],
|
||||||
$i - 1
|
$i - 1
|
||||||
@ -48,7 +48,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($i + 1 < count($backendNames)): ?>
|
<?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',
|
'%s|%s',
|
||||||
$backendNames[$i],
|
$backendNames[$i],
|
||||||
$i + 1
|
$i + 1
|
||||||
|
@ -131,18 +131,6 @@ button, .button-like {
|
|||||||
background-color: #666;
|
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 {
|
.button-like {
|
||||||
@ -162,6 +150,15 @@ form.link-like input[type="submit"], form.link-like button[type="submit"], input
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
&.icon-only {
|
||||||
|
color: inherit;
|
||||||
|
font-size: 1.5em;
|
||||||
|
|
||||||
|
&:hover, &:focus, &:active {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
form.link-like input[type="submit"]:hover,
|
form.link-like input[type="submit"]:hover,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user