Better CSS for facet search

This commit is contained in:
Yohan Boniface 2023-08-10 10:10:00 +02:00
parent d188525c74
commit 80e62f3046

View file

@ -800,6 +800,7 @@ a.add-datalayer:hover,
/* Features browser panel */
/* ********************************* */
.umap-facet-search .formbox,
.umap-browse-features > div {
border: 1px solid #d3d3d3;
margin-bottom: 14px;
@ -809,8 +810,6 @@ a.add-datalayer:hover,
margin-bottom: 0;
overflow: hidden;
padding-left: 5px;
}
.umap-browse-features h5 {
height: 30px;
line-height: 30px;
background-color: #eeeee0;
@ -819,14 +818,13 @@ a.add-datalayer:hover,
.umap-browse-features h5 span {
margin-left: 10px;
}
.umap-browse-features li {
padding: 2px 0;
}
.umap-browse-features li, .umap-facet-search li {
padding: 2px 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.umap-facet-search li:nth-child(even),
.umap-browse-features li:nth-child(even) {
background-color: #f8f8f3;
}