Skip to content
Snippets Groups Projects
Commit dad66014 authored by Chris Hallberg's avatar Chris Hallberg Committed by Demian Katz
Browse files

Style adjustments to search controls.

parent 6c9ad760
Branches
Tags
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -31,6 +31,12 @@ ...@@ -31,6 +31,12 @@
header .container.navbar { margin-bottom: 0; } header .container.navbar { margin-bottom: 0; }
.search-sort { display: flex; }
.search-sort label {
line-height: @input-height-base;
padding-right: .5rem;
}
.top-facets { .top-facets {
margin-left: -.5rem; margin-left: -.5rem;
margin-right: -.5rem; margin-right: -.5rem;
...@@ -54,7 +60,7 @@ header .container.navbar { margin-bottom: 0; } ...@@ -54,7 +60,7 @@ header .container.navbar { margin-bottom: 0; }
.search-stats { line-height: 2; } .search-stats { line-height: 2; }
} }
.bulkActionButtons .checkbox, .bulk-checkbox,
.bulkActionButtons label { display: inline-block; } .bulkActionButtons label { display: inline-block; }
.bulkActionButtons label input { margin-top: 2px; } .bulkActionButtons label input { margin-top: 2px; }
@media (max-width: 767px) { @media (max-width: 767px) {
......
<? if (isset($this->showCheckboxes) && $this->showCheckboxes): ?> <? if (isset($this->showCheckboxes) && $this->showCheckboxes): ?>
<div class="bulkActionButtons hidden-print"> <div class="bulkActionButtons hidden-print">
<div class="checkbox"> <div class="bulk-checkbox">
<label> <input type="checkbox" class="checkbox-select-all" name="selectAll" id="<?=$this->idPrefix?>addFormCheckboxSelectAll"<?if($this->formAttr):?> form="<?=$this->escapeHtmlAttr($this->formAttr) ?>"<? endif; ?>/>
<input type="checkbox" class="checkbox-select-all" name="selectAll" id="<?=$this->idPrefix?>addFormCheckboxSelectAll"<?if($this->formAttr):?> form="<?=$this->escapeHtmlAttr($this->formAttr) ?>"<? endif; ?>/> <?=$this->transEsc('select_page')?> <label for="<?=$this->idPrefix?>addFormCheckboxSelectAll">
<?=$this->transEsc('select_page')?>
&#124; <?=$this->transEsc('with_selected')?>: &#124; <?=$this->transEsc('with_selected')?>:
</label> </label>
</div> </div>
......
<? $list = $this->params->getSortList(); if (!empty($list)): ?> <? $list = $this->params->getSortList(); if (!empty($list)): ?>
<form class="form-inline" action="<?=$this->currentPath()?>" method="get" name="sort"> <form class="search-sort" action="<?=$this->currentPath()?>" method="get" name="sort">
<?=$this->results->getUrlQuery()->asHiddenFields(array('sort' => '/.*/'));?> <?=$this->results->getUrlQuery()->asHiddenFields(array('sort' => '/.*/'));?>
<label for="sort_options_1"><?=$this->transEsc('Sort')?></label> <label for="sort_options_1"><?=$this->transEsc('Sort')?></label>
<select id="sort_options_1" name="sort" class="jumpMenu form-control"> <select id="sort_options_1" name="sort" class="jumpMenu form-control">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<? if (!isset($this->options['disableFirst']) || !$this->options['disableFirst']): ?> <? if (!isset($this->options['disableFirst']) || !$this->options['disableFirst']): ?>
<li><a href="<?=$this->currentPath() . $this->results->getUrlQuery()->setPage(1)?>">[1]</a></li> <li><a href="<?=$this->currentPath() . $this->results->getUrlQuery()->setPage(1)?>">[1]</a></li>
<? endif; ?> <? endif; ?>
<li><a href="<?=$this->currentPath() . $this->results->getUrlQuery()->setPage($this->previous)?>">&laquo; <?=$this->transEsc('Prev')?></a></li> <li><a class="page-prev" href="<?=$this->currentPath() . $this->results->getUrlQuery()->setPage($this->previous)?>">&laquo; <?=$this->transEsc('Prev')?></a></li>
<? endif; ?> <? endif; ?>
<? if (count($this->pagesInRange) > 1): ?> <? if (count($this->pagesInRange) > 1): ?>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<? endif; ?> <? endif; ?>
<? if (isset($this->next)): ?> <? if (isset($this->next)): ?>
<li><a href="<?=$this->currentPath() . $this->results->getUrlQuery()->setPage($this->next)?>"><?=$this->transEsc('Next');?> &raquo;</a></li> <li><a class="page-next" href="<?=$this->currentPath() . $this->results->getUrlQuery()->setPage($this->next)?>"><?=$this->transEsc('Next');?> &raquo;</a></li>
<? if (!isset($this->options['disableLast']) || !$this->options['disableLast']): ?> <? if (!isset($this->options['disableLast']) || !$this->options['disableLast']): ?>
<li><a href="<?=$this->currentPath() . $this->results->getUrlQuery()->setPage($this->pageCount)?>">[<?=$this->pageCount?>]</a></li> <li><a href="<?=$this->currentPath() . $this->results->getUrlQuery()->setPage($this->pageCount)?>">[<?=$this->pageCount?>]</a></li>
<? endif; ?> <? endif; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment