Skip to content
Snippets Groups Projects
Commit 39b56d95 authored by Chris Lawton's avatar Chris Lawton
Browse files

switch filter button elements to buttons

parent 8215212c
No related branches found
No related tags found
No related merge requests found
...@@ -10,16 +10,16 @@ ...@@ -10,16 +10,16 @@
{% block table %} {% block table %}
<div class="wrapper wrapper--table-actions"> <div class="wrapper wrapper--table-actions">
{% if table.data or active_filters %} {% if table.data or active_filters %}
<div class="button button--filters button--contains-icons js-toggle-filters">Filters</div> <button class="button button--filters button--contains-icons js-toggle-filters">Filters</button>
{% endif %} {% endif %}
</div> </div>
{% if table.data or active_filters %} {% if table.data or active_filters %}
<div class="filters"> <div class="filters">
<div class="filters__header"> <div class="filters__header">
<div class="js-clear-filters">Clear</div> <button class="filters__button js-clear-filters">Clear</button>
<div>Filter by</div> <div>Filter by</div>
<div class="js-close-filters">Close</div> <button class="filters__button js-close-filters">Close</button>
</div> </div>
<form action="" method="get" class="form form--filters"> <form action="" method="get" class="form form--filters">
......
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
background: url('./../../images/filters.svg') $color--white no-repeat 93% center; background: url('./../../images/filters.svg') $color--white no-repeat 93% center;
border: 1px solid $color--light-mid-grey; border: 1px solid $color--light-mid-grey;
transition: none; transition: none;
width: 100%;
@include media-query(tablet-landscape) { @include media-query(tablet-landscape) {
background: none; background: none;
...@@ -86,6 +87,7 @@ ...@@ -86,6 +87,7 @@
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
max-width: initial; max-width: initial;
width: auto;
&::before { &::before {
content: ''; content: '';
......
...@@ -50,4 +50,12 @@ ...@@ -50,4 +50,12 @@
} }
} }
} }
&__button {
appearance: none;
-webkit-appearance: none; // sass-lint:disable-line no-vendor-prefixes
border: 0;
color: $color--primary;
background: transparent;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment