related to #1834 implemented badge on filter button

This commit is contained in:
MatthieuLP
2022-12-20 14:21:23 +01:00
parent 07ef2e0033
commit aa4ee2ca89
2 changed files with 41 additions and 1 deletions
@@ -234,6 +234,7 @@ $(document).ready(function() {
</div>
<div class="advanced-filter-btn icon-filter">
<span>{'Filters'|@translate}</span>
<span class="filter-counter">2</span>
</div>
<div id='search-user'>
<div class='search-info'> </div>
@@ -1949,6 +1950,9 @@ Advanced filter
position: absolute;
right: 650px;
margin-right:10px;
display: flex;
justify-content: center;
}
#search-user {
@@ -2409,4 +2413,17 @@ Advanced filter
.notClickableBefore:before {
color: #bbb;
}
.filter-counter {
background: #ffa500;
border-radius: 50%;
justify-content: center;
font-size: 10px;
padding: 1px 6px;
color: black;
margin:0 4px 0 7px;
display: none;
}
</style>