Browse Source

fix text contrast in chromium browser

sqliteway
ghost 2 years ago
parent
commit
747fb1e52c
  1. 9
      public/search.php

9
public/search.php

@ -157,6 +157,7 @@ if (!empty($q)) {
} }
span { span {
color: #ccc;
display: block; display: block;
margin: 8px 0; margin: 8px 0;
} }
@ -174,9 +175,9 @@ if (!empty($q)) {
<main> <main>
<?php if ($results) { ?> <?php if ($results) { ?>
<div> <div>
<?php echo sprintf(_('Total found: %s'), $resultsTotal) ?> <span><?php echo sprintf(_('Total found: %s'), $resultsTotal) ?></span>
<?php if ($queueTotal = $db->getTotalPagesByHttpCode(null)) { ?> <?php if ($queueTotal = $db->getTotalPagesByHttpCode(null)) { ?>
<?php echo sprintf(_('* Please wait for all pages crawl to complete (%s in queue).'), $queueTotal) ?> <span><?php echo sprintf(_('* Please wait for all pages crawl to complete (%s in queue).'), $queueTotal) ?></span>
<?php } ?> <?php } ?>
</div> </div>
<?php foreach ($results as $result) { ?> <?php foreach ($results as $result) { ?>
@ -190,9 +191,9 @@ if (!empty($q)) {
<?php } ?> <?php } ?>
<?php } else { ?> <?php } else { ?>
<div style="text-align:center"> <div style="text-align:center">
<?php echo sprintf(_('Total found: %s'), $resultsTotal) ?> <span><?php echo sprintf(_('Total found: %s'), $resultsTotal) ?></span>
<?php if ($q && $queueTotal = $db->getTotalPagesByHttpCode(null)) { ?> <?php if ($q && $queueTotal = $db->getTotalPagesByHttpCode(null)) { ?>
<?php echo sprintf(_('* Please wait for all pages crawl to complete (%s in queue).'), $queueTotal) ?> <span><?php echo sprintf(_('* Please wait for all pages crawl to complete (%s in queue).'), $queueTotal) ?></span>
<?php } ?> <?php } ?>
</div> </div>
<?php } ?> <?php } ?>

Loading…
Cancel
Save