Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@
// Load search tools
HTMLHelper::_('searchtools.form', $data['options']['formSelector'], $data['options']);
?>
<div class="js-stools d-flex flex-wrap" role="search">
<div class="js-stools" role="search">
<?php // Add the itemtype and language selectors before the form filters. Do not display in modal. ?>
<?php $app = Factory::getApplication(); ?>
<?php if ($app->input->get('forcedItemType', '', 'string') == '') : ?>
<?php $itemTypeField = $data['view']->filterForm->getField('itemtype'); ?>
<div class="js-stools-container-selector-first">
<div class="js-stools-container-selector">
<div class="js-stools-field-selector js-stools-itemtype">
<div class="sr-only"><?php echo $itemTypeField->label; ?></div>
<?php echo $itemTypeField->input; ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@
// Load search tools
HTMLHelper::_('searchtools.form', $data['options']['formSelector'], $data['options']);
?>
<div class="js-stools d-flex flex-wrap" role="search">
<div class="js-stools" role="search">
<?php if ($data['view'] instanceof \Joomla\Component\Menus\Administrator\View\Items\HtmlView) : ?>
<?php // Add the itemtype and language selectors before the form filters. Do not display in modal. ?>
<?php $app = Factory::getApplication(); ?>
<?php $clientIdField = $data['view']->filterForm->getField('client_id'); ?>
<?php if ($clientIdField) : ?>
<div class="js-stools-container-selector-first">
<div class="js-stools-container-selector">
<div class="sr-only">
<?php echo $clientIdField->label; ?>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@

// Search tools

.js-stools {
display: flex;
flex-wrap: wrap;
}

.js-stools-container-bar,
.js-stools-container-filters {
width: 100%;
margin-bottom: 10px;
}

Expand All @@ -18,6 +24,11 @@
margin-inline-start: 8px;
}
}

.js-stools-btn-clear {
background-color: var(--atum-bg-dark);
border: 0;
}
}

.ordering-select {
Expand All @@ -42,3 +53,8 @@
margin-inline-start: 8px;
}
}

.js-stools-container-selector {
margin: 5px 0;
margin-inline-end: 8px;
}