monitoring/CSS: Don't use text-small mixin for the selection info

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-02 10:42:00 +01:00
parent 4c576a7a91
commit ecfeb4fbe6
3 changed files with 23 additions and 8 deletions

View File

@ -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>

View File

@ -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();

View File

@ -200,9 +200,4 @@ table.listing-table {
.pull-right();
padding: @vertical-padding / 2 0;
}
.selection-info {
.pull-right();
padding: @vertical-padding / 2 0;
}
}