Module: check_mk
Branch: master
Commit: ea476c2c95ad43b32033744221f60fc94eaeff3b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ea476c2c95ad43…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 26 22:49:06 2019 +0100
Styling of new host/service custom variable filter
Change-Id: I902fd2fddacc96f301db4b344ce6aa29cc30a1d5
---
web/htdocs/themes/classic/scss/_views.scss | 10 ++++++++++
web/htdocs/themes/facelift/scss/_main.scss | 11 +++++++++++
2 files changed, 21 insertions(+)
diff --git a/web/htdocs/themes/classic/scss/_views.scss
b/web/htdocs/themes/classic/scss/_views.scss
index 40ad3db..50ae6a0 100644
--- a/web/htdocs/themes/classic/scss/_views.scss
+++ b/web/htdocs/themes/classic/scss/_views.scss
@@ -146,6 +146,16 @@ div.floatfilter .content .filtertime select {
width: 136px;
}
+div.floatfilter.service_custom_variable input, div.floatfilter.host_custom_variable
input,
+div.floatfilter.service_custom_variable select, div.floatfilter.host_custom_variable
select {
+ display: inline-block;
+ width: 45%;
+}
+
+div.floatfilter.service_custom_variable select, div.floatfilter.host_custom_variable
select {
+ margin-right: 10px;
+}
+
/* Improving styling of floatfilters that are contained in a ListOf() */
table.valuespec_listof.filter {
width: 300px;
diff --git a/web/htdocs/themes/facelift/scss/_main.scss
b/web/htdocs/themes/facelift/scss/_main.scss
index b199bd8..6974e83 100644
--- a/web/htdocs/themes/facelift/scss/_main.scss
+++ b/web/htdocs/themes/facelift/scss/_main.scss
@@ -1546,6 +1546,7 @@ div.info {
width: 100%; }
.filterform > tbody > tr > td div.floatfilter .content {
width: 100%;
+ display: block;
box-sizing: border-box;
padding: 12px; }
.filterform > tbody > tr > td div.floatfilter .content .checkbox {
@@ -1566,6 +1567,16 @@ div.info {
width: 100%;
border-spacing: 2px 2px; }
+div.floatfilter.service_custom_variable input, div.floatfilter.host_custom_variable
input,
+div.floatfilter.service_custom_variable select, div.floatfilter.host_custom_variable
select {
+ display: inline-block;
+ width: 45%;
+}
+
+div.floatfilter.service_custom_variable select, div.floatfilter.host_custom_variable
select {
+ margin-right: 10px;
+}
+
.age input, .age select, .age textarea, .age div.snapin select, div.snapin .age select,
.age div.snapin textarea, div.snapin .age textarea, .age #mk_side_search_field {
box-sizing: content-box !important; }