Skip to content

Commit

Permalink
css: Transfer icingadb related searchbar styles to default control la…
Browse files Browse the repository at this point in the history
…yout

Any view using the default controls layout should have a thin search bar.
Just like Icinga DB Web.
  • Loading branch information
nilmerg committed Sep 7, 2023
1 parent 72bb31c commit 2f635d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
11 changes: 0 additions & 11 deletions asset/css/compat.less
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,3 @@ form.icinga-form .control-group {
}
}
}

// SearchBar styles

.icinga-module.module-icingadb .controls .search-bar .filter-input-area {
label {
&::after,
input {
padding: 0 .5em;
}
}
}
9 changes: 9 additions & 0 deletions asset/css/controls.less
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,13 @@
// Suggestions should be kept at a distance from the bottom of the page
margin-bottom: 2.5em;
}

> .search-controls > .search-bar .filter-input-area {
label {
&::after,
input {
padding: 0 .5em;
}
}
}
}

0 comments on commit 2f635d3

Please sign in to comment.