Better CSS for facet search
This commit is contained in:
parent
d188525c74
commit
80e62f3046
1 changed files with 3 additions and 5 deletions
|
@ -800,6 +800,7 @@ a.add-datalayer:hover,
|
||||||
/* Features browser panel */
|
/* Features browser panel */
|
||||||
/* ********************************* */
|
/* ********************************* */
|
||||||
|
|
||||||
|
.umap-facet-search .formbox,
|
||||||
.umap-browse-features > div {
|
.umap-browse-features > div {
|
||||||
border: 1px solid #d3d3d3;
|
border: 1px solid #d3d3d3;
|
||||||
margin-bottom: 14px;
|
margin-bottom: 14px;
|
||||||
|
@ -809,8 +810,6 @@ a.add-datalayer:hover,
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
|
||||||
.umap-browse-features h5 {
|
|
||||||
height: 30px;
|
height: 30px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
background-color: #eeeee0;
|
background-color: #eeeee0;
|
||||||
|
@ -819,14 +818,13 @@ a.add-datalayer:hover,
|
||||||
.umap-browse-features h5 span {
|
.umap-browse-features h5 span {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
.umap-browse-features li {
|
|
||||||
padding: 2px 0;
|
|
||||||
}
|
|
||||||
.umap-browse-features li, .umap-facet-search li {
|
.umap-browse-features li, .umap-facet-search li {
|
||||||
|
padding: 2px 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
.umap-facet-search li:nth-child(even),
|
||||||
.umap-browse-features li:nth-child(even) {
|
.umap-browse-features li:nth-child(even) {
|
||||||
background-color: #f8f8f3;
|
background-color: #f8f8f3;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue