mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
monitoring/CSS: Don't use text-small mixin for the selection info
refs #5543
This commit is contained in:
parent
4c576a7a91
commit
ecfeb4fbe6
@ -1,6 +1,15 @@
|
||||
<?php
|
||||
$helpMessage = $this->translate('Press and hold the Ctrl key while clicking on rows to select multiple rows or press and hold the Shift key to select a range of rows.', 'multiselection');
|
||||
$helpMessage = $this->translate(
|
||||
'Press and hold the Ctrl key while clicking on rows to select multiple rows or press and hold the Shift key to'
|
||||
.' select a range of rows',
|
||||
'Multi-selection help'
|
||||
);
|
||||
?>
|
||||
<div class="selection-info text-small" title="<?= $this->escape($helpMessage) ?>">
|
||||
<span class="selection-info-count">0</span> <?= $this->translate('row(s) selected', 'multiselection') ?>
|
||||
<div class="selection-info" title="<?= $this->escape($helpMessage) ?>">
|
||||
<?= sprintf(
|
||||
/// TRANSLATORS: Please leave %s as it is because the selection counter is wrapped in a span tag for updating
|
||||
/// the counter via JavaScript
|
||||
$this->translate('%s row(s) selected', 'Multi-selection count'),
|
||||
'<span class="selection-info-count">0</span>'
|
||||
) ?>
|
||||
</div>
|
||||
|
@ -14,6 +14,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Multi-selection info
|
||||
.selection-info {
|
||||
float: right;
|
||||
font-size: @font-size-small;
|
||||
padding: @vertical-padding / 2 0;
|
||||
|
||||
&:hover {
|
||||
cursor: help;
|
||||
}
|
||||
}
|
||||
|
||||
.hosts-summary,
|
||||
.services-summary {
|
||||
.v-center();
|
||||
|
@ -200,9 +200,4 @@ table.listing-table {
|
||||
.pull-right();
|
||||
padding: @vertical-padding / 2 0;
|
||||
}
|
||||
|
||||
.selection-info {
|
||||
.pull-right();
|
||||
padding: @vertical-padding / 2 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user