mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 22:34:55 +00:00
bb95738321
Adds a 'status' for the filtering/searching in the UI, without this its not super clear that you are filtering a recordset due to the menu selections being hidden once closed. You can also use the pills in this status view to delete individual filters.
61 lines
1.1 KiB
SCSS
61 lines
1.1 KiB
SCSS
.search-bar {
|
|
&-status {
|
|
& {
|
|
border-bottom: $decor-border-100;
|
|
border-bottom-color: $gray-200;
|
|
}
|
|
.remove-all button {
|
|
@extend %anchor;
|
|
}
|
|
li:not(.remove-all) {
|
|
& {
|
|
@extend %pill-200;
|
|
border: $decor-border-100;
|
|
border-color: $gray-200;
|
|
color: $gray-600;
|
|
}
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
button::before {
|
|
@extend %with-cancel-plain-mask, %as-pseudo;
|
|
color: $gray-600;
|
|
margin-top: 1px;
|
|
margin-right: 0.2rem;
|
|
}
|
|
}
|
|
& {
|
|
padding: .5rem 0;
|
|
padding-left: .5rem;
|
|
}
|
|
dt::after {
|
|
content: ':';
|
|
padding-right: 0.3rem;
|
|
}
|
|
& > dl > dt {
|
|
float: left;
|
|
}
|
|
dt {
|
|
white-space: nowrap;
|
|
}
|
|
li {
|
|
display: inline-flex;
|
|
}
|
|
li:not(:last-child) {
|
|
margin-right: 0.3rem;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
li:not(.remove-all) {
|
|
& {
|
|
padding: 0 0.2rem;
|
|
}
|
|
dl {
|
|
display: flex;
|
|
}
|
|
button {
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|