reviewing correlated alerts

This commit is contained in:
fbsanchez 2021-04-12 19:16:39 +02:00
parent a6f2b364f6
commit 6a220208b4

View File

@ -1,12 +1,44 @@
.rules div {
display: inline-block;
}
li#li-buttons-alert-list > div { li#li-buttons-alert-list > div {
margin-left: 10px; margin-left: 10px;
} }
ul.sample li {
padding-bottom: 1em;
}
ul.sample li:last-child {
padding-bottom: 0;
}
#rule-builder .rule-builder-actions li { #rule-builder .rule-builder-actions li {
display: inline; display: inline;
width: auto; width: auto;
} }
li#li-filters_show_action_alerts > label,
li#li-buttons-alert-list > label,
li#li-filters-alert-list > label {
width: initial;
}
form#advanced_filters_alert ul li label,
form#general_filters_alert ul li label {
width: 150px;
}
#rules.flex-row label {
flex: 1 1 70px;
}
li#li-from-to-threshold > label:not(:first-child),
li#li-time-from-to > label:not(:first-child) {
width: initial;
margin-right: 15px;
}
#rule-builder .rule-builder-actions li label { #rule-builder .rule-builder-actions li label {
width: 0; width: 0;
} }
@ -21,10 +53,6 @@ ul.sample {
flex: 1 1 300px; flex: 1 1 300px;
} }
#rules.flex-row label {
flex: 1 1 70px;
}
#rules.flex-row div { #rules.flex-row div {
flex: 10 1 200px; flex: 10 1 200px;
} }
@ -39,17 +67,6 @@ span.rule-title {
width: 100%; width: 100%;
} }
li#li-filters_show_action_alerts > label,
li#li-buttons-alert-list > label,
li#li-filters-alert-list > label {
width: initial;
}
form#advanced_filters_alert ul li label,
form#general_filters_alert ul li label {
width: 150px;
}
form#conditions_filters_alert ul li label:first-child { form#conditions_filters_alert ul li label:first-child {
width: 300px; width: 300px;
} }
@ -62,17 +79,14 @@ li#li-description textarea {
flex: 1 1 auto; flex: 1 1 auto;
} }
li#li-from-to-threshold > label:not(:first-child),
li#li-time-from-to > label:not(:first-child) {
width: initial;
margin-right: 15px;
}
li#li-from-to-threshold > input, li#li-from-to-threshold > input,
li#li-time-from-to > input { li#li-time-from-to > input {
margin-right: 15px; margin-right: 15px;
} }
.mode_table_firing table.info_table thead tr th img {
padding: 10px;
vertical-align: middle;
}
form#advanced_filters_alert textarea { form#advanced_filters_alert textarea {
flex: 1 1 auto; flex: 1 1 auto;
height: 5em; height: 5em;
@ -107,12 +121,7 @@ ul.sample {
flex-grow: 1; flex-grow: 1;
justify-content: space-between; justify-content: space-between;
} }
ul.sample li {
padding-bottom: 1em;
}
ul.sample li:last-child {
padding-bottom: 0;
}
div.target { div.target {
flex-grow: 1; flex-grow: 1;
flex-basis: auto; flex-basis: auto;
@ -140,28 +149,28 @@ div.target.flex {
position: relative; position: relative;
top: 25%; top: 25%;
display: block; display: block;
left: 37%; margin: 0 auto;
font-size: 3em; font-size: 3em;
color: #aaa; color: #aaa;
overflow: hidden; overflow: hidden;
width: 6em;
background: #fff; background: #fff;
text-align: center; text-align: center;
z-index: 2;
} }
div#rules.show::after { div#rules::after {
content: "Drop Here";
position: relative; position: relative;
top: 25%;
display: block; display: block;
left: 37%; margin: 2em auto;
font-size: 3em; font-size: 3em;
color: #aaa; color: #aaa;
overflow: hidden; overflow: hidden;
width: 6em;
background: #fff; background: #fff;
text-align: center; text-align: center;
z-index: 2;
} }
div#rules.cleanup::after {
content: none;
}
div#rules.show { div#rules.show {
box-shadow: 0 0 15px -5px #424242; box-shadow: 0 0 15px -5px #424242;
border: 1px solid #ddd; border: 1px solid #ddd;
@ -209,10 +218,6 @@ div#rules.show {
background-color: #424242; background-color: #424242;
} }
.rules div {
display: inline-block;
}
.inEdit { .inEdit {
background-color: #888; background-color: #888;
} }
@ -253,11 +258,6 @@ div#rules.show {
font-weight: bolder; font-weight: bolder;
} }
.mode_table_firing table.info_table thead tr th img {
padding: 10px;
vertical-align: middle;
}
#rules select.click-list-elements { #rules select.click-list-elements {
border-radius: 0px; border-radius: 0px;
background-color: #424242; background-color: #424242;