diff options
author | 2022-01-31 22:16:20 +0100 | |
---|---|---|
committer | 2022-01-31 22:16:20 +0100 | |
commit | 24edd0ada26af34e946965d5692b6a35b7622ef9 (patch) | |
tree | 04f064412704b99cbdad955c21b9bdb1c4f60e88 /pydis_site/static/css | |
parent | Adding missing EOFs. (diff) |
Add a button for removing all active filters.
Diffstat (limited to 'pydis_site/static/css')
-rw-r--r-- | pydis_site/static/css/resources/resources.css | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css index 16226936..2fb3a9b5 100644 --- a/pydis_site/static/css/resources/resources.css +++ b/pydis_site/static/css/resources/resources.css @@ -97,12 +97,29 @@ i.is-primary { color: #7289da; } -/* A little space around the filter card, please! */ +/* A little space above the filter card, please! */ .filter-tags { padding-bottom: .5em; - padding-right: .5em; } +/* Style the close all filters button */ +.close-filters-button { + margin-left: auto; + display:none; +} +.close-filters-button a { + height: fit-content; + width: fit-content; + margin-right: 6px; +} +.close-filters-button a i { + color: #939bb3; +} +.close-filters-button a i:hover { + filter: brightness(115%); +} + + /* Set default display to inline-flex, for centering. */ span.filter-box-tag { display: none; |