css: Keep compatibility with ipl v0.9.0 for now

This commit is contained in:
Johannes Meyer 2022-10-18 12:57:17 +02:00
parent e91f64afe1
commit b58354f310

View file

@ -134,6 +134,61 @@ p.load-more {
text-align: right;
}
// TODO: Remove once ipl-web v0.7.0 is required
.controls:not(.default-layout) {
.box-shadow(0, 0, 0, 1px, @gray-lighter);
.pagination-control {
float: left;
}
.sort-control,
.limit-control {
float: right;
margin-left: .5em;
}
.sort-control {
display: flex;
justify-content: flex-end;
:not(.form-element) > label {
margin-right: 0;
}
.control-button {
margin: 0;
}
}
> :not(:only-child) {
margin-bottom: 0.5em;
}
.search-suggestions {
margin-bottom: 2.5em;
}
.search-controls,
.filter {
clear: both;
display: flex;
min-width: 100%;
.search-bar {
flex: 1 1 auto;
& ~ .control-button:last-child {
margin-right: -.5em;
}
& ~ .control-button {
margin-left: .5em;
}
}
}
}
/* Graph colors */
@graphite-graph-bg-color: @body-bg-color;