pandorafms/pandora_console/include/styles/alert.css

243 lines
3.6 KiB
CSS
Raw Normal View History

2019-11-12 13:17:00 +01:00
li#li-buttons-alert-list > div {
margin-left: 10px;
}
2019-11-23 12:48:47 +01:00
#rule-builder .rule-builder-actions li {
display: inline;
width: auto;
}
#rule-builder .rule-builder-actions li label {
width: 0;
}
div.white_box {
min-width: 800px;
}
#rules,
ul.sample {
margin-bottom: 2em;
flex: 1 1 300px;
}
.flex-row label {
flex: 1 1 70px;
}
.flex-row div {
flex: 10 1 200px;
}
span.rule-title {
font-family: "lato-lighter", "Open Sans", sans-serif;
font-weight: normal;
font-size: 2em;
text-align: center;
display: block;
margin-bottom: 0.8em;
width: 100%;
}
2019-11-22 10:24:12 +01:00
li#li-filters_show_action_alerts > label,
2019-11-12 13:17:00 +01:00
li#li-buttons-alert-list > label,
li#li-filters-alert-list > label {
width: initial;
}
2019-11-13 12:07:23 +01:00
form#advanced_filters_alert ul li label,
2019-11-12 13:17:00 +01:00
form#general_filters_alert ul li label {
width: 150px;
}
form#conditions_filters_alert ul li label:first-child {
width: 300px;
}
li#li-name-group input {
margin-right: 50px;
}
li#li-description textarea {
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-time-from-to > input {
margin-right: 15px;
}
2019-11-13 12:07:23 +01:00
form#advanced_filters_alert textarea {
flex: 1 1 auto;
height: 5em;
min-height: 5em;
}
form#advanced_filters_alert ul li label img {
margin-bottom: -2px;
margin-left: 5px;
}
/*DRAG DROP*/
2019-11-12 13:17:00 +01:00
#threshold_manual,
#threshold_default {
/*TODO: UGLY*/
width: initial !important;
margin-right: 10px;
}
img.handle-alerts {
width: 20px;
cursor: move;
}
2019-11-12 18:45:20 +01:00
.content {
width: 80%;
min-height: 4em;
border: 1px solid #ddd;
padding-top: 1em;
padding-bottom: 1em;
}
ul.sample {
max-width: 50%;
flex-grow: 1;
justify-content: space-between;
}
ul.sample li {
padding-bottom: 1em;
}
ul.sample li:last-child {
padding-bottom: 0;
}
div.target {
flex-grow: 1;
2019-11-23 12:48:47 +01:00
flex-basis: auto;
2019-11-12 18:45:20 +01:00
margin-left: 3em;
2019-11-23 12:48:47 +01:00
display: flex;
flex-direction: column;
}
div.target.flex {
display: block;
border: 2px dashed #ddd;
margin-left: 0em;
margin-top: 10px;
padding-top: 1em;
2019-11-12 18:45:20 +01:00
}
2019-11-23 12:48:47 +01:00
.fields,
.operators,
.variables,
.modifiers,
.nexos,
.blocks {
cursor: move;
}
div#rules.show::after {
content: "Drop here";
position: relative;
top: 30%;
display: block;
left: 38%;
font-size: 3em;
color: #aaa;
}
div#rules.show {
box-shadow: 0 0 15px -5px #424242;
border: 1px solid #ddd;
}
2019-11-12 18:45:20 +01:00
.field {
display: inline-block;
border-radius: 10px;
padding: 5px;
padding-left: 8px;
padding-right: 8px;
margin: 3px;
color: #fff;
font-family: "lato-lighter", "Open Sans", sans-serif;
font-weight: 600;
background-color: #333;
}
2019-11-20 09:11:03 +01:00
.field.opacityElements {
opacity: 0.2;
cursor: not-allowed;
}
2019-11-12 18:45:20 +01:00
.log {
background-color: #638460;
}
.event {
background-color: #587cff;
}
.operator {
background-color: #908787;
}
.variable {
background-color: #82b92e;
}
.modifier {
background-color: #cba9d2;
}
.nexo {
background-color: #424242;
}
.rules div {
display: inline-block;
}
.inEdit {
background-color: #888;
}
2019-11-21 15:27:47 +01:00
.info-container {
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
.info-item {
width: 25%;
}
.info-days {
width: 65%;
}
.info-item table.info_table thead tr th {
text-align: center;
}
.info-item table.info_table tbody tr {
border-bottom: none;
}
.info-container table.no-class tbody tr td {
padding: 10px;
}
2019-11-22 15:26:30 +01:00
.mode_table_firing {
margin-top: 20px;
}
.mode_table_firing table.info_table thead tr th {
font-weight: bolder;
}
.mode_table_firing table.info_table thead tr th img {
padding: 10px;
vertical-align: middle;
}