pandorafms/pandora_console/include/styles/alert.css

284 lines
4.4 KiB
CSS
Raw Normal View History

2021-04-12 19:16:39 +02:00
.rules div {
display: inline-block;
}
2019-11-12 13:17:00 +01:00
li#li-buttons-alert-list > div {
margin-left: 10px;
}
2021-04-12 19:16:39 +02:00
ul.sample li {
padding-bottom: 1em;
}
ul.sample li:last-child {
padding-bottom: 0;
}
2019-11-23 12:48:47 +01:00
#rule-builder .rule-builder-actions li {
display: inline;
width: auto;
}
2021-04-12 19:16:39 +02:00
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;
}
2019-11-23 12:48:47 +01:00
#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;
}
2019-11-23 13:06:58 +01:00
#rules.flex-row div {
2019-11-23 12:48:47 +01:00
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-12 13:17:00 +01:00
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 > input,
li#li-time-from-to > input {
margin-right: 15px;
}
2021-04-12 19:16:39 +02:00
.mode_table_firing table.info_table thead tr th img {
padding: 10px;
vertical-align: middle;
}
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;
padding-bottom: 1em;
}
ul.sample {
max-width: 50%;
flex-grow: 1;
justify-content: space-between;
2021-04-12 20:10:58 +02:00
min-width: 300px;
2019-11-12 18:45:20 +01:00
}
2021-04-12 19:16:39 +02:00
2019-11-12 18:45:20 +01:00
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;
2021-04-19 14:51:22 +02:00
width: 100%;
2019-11-23 12:48:47 +01:00
}
div.target.flex {
display: block;
border: 2px dashed #ddd;
margin-left: 0em;
margin-top: 10px;
2019-11-23 13:16:30 +01:00
padding: 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;
}
2021-03-01 11:02:18 +01:00
#drop_mssg {
position: relative;
top: 25%;
display: block;
2021-04-12 19:16:39 +02:00
margin: 0 auto;
2021-03-01 11:02:18 +01:00
font-size: 3em;
color: #aaa;
overflow: hidden;
background: #fff;
text-align: center;
}
2021-04-12 19:16:39 +02:00
div#rules::after {
content: "Drop Here";
2019-11-23 12:48:47 +01:00
position: relative;
display: block;
2021-04-12 19:16:39 +02:00
margin: 2em auto;
2019-11-23 12:48:47 +01:00
font-size: 3em;
color: #aaa;
2019-11-23 13:13:24 +01:00
overflow: hidden;
background: #fff;
text-align: center;
2019-11-23 12:48:47 +01:00
}
2021-04-12 19:16:39 +02:00
div#rules.cleanup::after {
content: none;
}
2019-11-23 12:48:47 +01:00
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;
2019-11-23 13:16:30 +01:00
font-size: 1.2em;
padding-left: 1em;
padding-right: 1em;
2019-11-23 13:20:19 +01:00
margin: 0 0.5em 0.5em 0px;
2019-11-12 18:45:20 +01:00
color: #fff;
font-family: "lato-lighter", "Open Sans", sans-serif;
font-weight: 600;
background-color: #333;
2019-11-23 13:16:30 +01:00
word-break: break-all;
2019-11-12 18:45:20 +01:00
}
2019-11-20 09:11:03 +01:00
.field.opacityElements {
opacity: 0.2;
cursor: not-allowed;
}
2021-04-12 20:10:58 +02:00
.field.disabledElements {
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;
}
.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;
}
2019-11-25 20:06:42 +01:00
#rules select.click-list-elements {
2019-11-25 09:09:59 +01:00
border-radius: 0px;
background-color: #424242;
border: 0px;
color: #fff;
font-family: "lato-lighter", "Open Sans", sans-serif;
font-weight: 600;
}
2019-11-25 20:06:42 +01:00
#rules select.click-list-elements.fields-elements-log {
background-color: #638460;
}
#rules select.click-list-elements.fields-elements-event {
background-color: #587cff;
}
2019-11-25 09:09:59 +01:00
2019-11-25 20:06:42 +01:00
#rules select.click-list-elements:focus {
2019-11-25 09:09:59 +01:00
outline-color: transparent;
}