Fix style of buttons used for reordering user backends
This commit is contained in:
parent
3b4bb6d890
commit
624309774b
|
@ -33,7 +33,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" value="<?= sprintf(
|
<button type="submit" name="backend_newpos" class="icon-only" value="<?= sprintf(
|
||||||
'%s|%s',
|
'%s|%s',
|
||||||
$backendNames[$i],
|
$backendNames[$i],
|
||||||
$i - 1
|
$i - 1
|
||||||
|
@ -43,11 +43,11 @@
|
||||||
$this->translate('Move user backend %s upwards'),
|
$this->translate('Move user backend %s upwards'),
|
||||||
$backendNames[$i]
|
$backendNames[$i]
|
||||||
); ?>">
|
); ?>">
|
||||||
<?= $this->icon('up-big'); ?>
|
<?= $this->icon('up-small'); ?>
|
||||||
</button>
|
</button>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($i + 1 < count($backendNames)): ?>
|
<?php if ($i + 1 < count($backendNames)): ?>
|
||||||
<button type="submit" name="backend_newpos" value="<?= sprintf(
|
<button type="submit" name="backend_newpos" class="icon-only" value="<?= sprintf(
|
||||||
'%s|%s',
|
'%s|%s',
|
||||||
$backendNames[$i],
|
$backendNames[$i],
|
||||||
$i + 1
|
$i + 1
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
$this->translate('Move user backend %s downwards'),
|
$this->translate('Move user backend %s downwards'),
|
||||||
$backendNames[$i]
|
$backendNames[$i]
|
||||||
); ?>">
|
); ?>">
|
||||||
<?= $this->icon('down-big'); ?>
|
<?= $this->icon('down-small'); ?>
|
||||||
</button>
|
</button>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -328,6 +328,18 @@ 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a.button-like {
|
a.button-like {
|
||||||
|
|
Loading…
Reference in New Issue