Skip to content

Minor index column cleanup (CFM-223) #116

Merged
merged 1 commit into from
Aug 10, 2023
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
2 changes: 1 addition & 1 deletion app/templates/Standard/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<thead>
<tr>
<?php if(!empty($rowActions)): ?>
<th class="actions"></th>
<td class="actions"></td>
<?php endif; ?>
<?php
// The first heading will get the bulk select all checkbox.
Expand Down
6 changes: 4 additions & 2 deletions app/templates/element/filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@
<div id="<?= $modelName . ucfirst($this->request->getParam('action')); ?>Search" class="top-filters">
<fieldset>
<legend id="top-filters-toggle">
<em class="material-icons" aria-hidden="true">search</em>
<?= __d('operation', 'filter'); ?>
<em class="material-icons top-filters-search-icon" aria-hidden="true">search</em>
<span class="top-filters-title">
<?= __d('operation', 'filter'); ?>
</span>

<?php if(!empty($search_params)):?>
<span id="top-filters-active-filters">
Expand Down
9 changes: 6 additions & 3 deletions app/webroot/css/co-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -756,17 +756,20 @@ ul.form-list li.alert-banner .co-alert {
background-color: transparent;
}
#content .top-filters legend .material-icons {
font-size: 1.4em;
color: var(--cmg-color-headings);
}
#content .top-filters legend .material-icons.top-filters-search-icon {
font-size: 1.4rem;
padding: 0 0.2rem 0 0.1rem;
}
#content .top-filters legend button.cm-toggle .material-icons {
font-size: 34px;
line-height: 17px;
}
.top-filters fieldset {
clear: both;
position: relative;
padding: 0.5em 0.5em 0;
padding: 0.4rem 0.5rem 0;
margin: 0;
background-color: var(--cmg-color-bg-001);
}
Expand Down Expand Up @@ -1558,7 +1561,7 @@ td {
}
th:first-child,
td:first-child {
padding-left: 1.25em;
padding-left: 1rem;
}
table.list-mode th.actions:first-child,
table.list-mode td.actions:first-child {
Expand Down