pandorafms/pandora_console/include/styles/alert.css

389 lines
6.2 KiB
CSS
Raw Normal View History

2021-04-12 19:16:39 +02:00
.rules div {
display: inline-block;
}
2021-05-21 12:57:48 +02:00
#rules {
display: 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;
}
2023-03-04 13:22:52 +01:00
div.rule-builder-actions {
width: 100%;
z-index: 0;
}
div.rule-builder-actions ul {
width: 100%;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
align-content: center;
}
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-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;
2022-06-16 11:14:29 +02:00
width: 2em;
2019-11-13 12:07:23 +01:00
}
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%;
box-sizing: border-box;
2019-11-23 12:48:47 +01:00
}
div.target.flex {
border: 2px dashed #ddd;
margin-left: 0em;
margin-top: 10px;
2019-11-23 13:16:30 +01:00
padding: 1em;
2021-05-21 12:57:48 +02:00
display: flex;
flex-direction: row;
flex-wrap: wrap;
height: fit-content;
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 {
2019-11-23 12:48:47 +01:00
position: relative;
display: block;
2021-04-12 19:16:39 +02:00
margin: 2em auto;
2021-06-28 15:20:16 +02:00
font-size: 2.5em;
2019-11-23 12:48:47 +01:00
color: #aaa;
2019-11-23 13:13:24 +01:00
overflow: hidden;
2021-10-07 13:43:46 +02:00
background: transparent;
2019-11-23 13:13:24 +01:00
text-align: center;
2021-06-28 15:20:16 +02:00
height: 100px;
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-weight: 600;
background-color: #333;
2019-11-23 13:16:30 +01:00
word-break: break-all;
2021-05-21 12:57:48 +02:00
height: fit-content;
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;
}
2021-05-21 12:57:48 +02:00
.variable:empty::before {
content: "empty";
font-style: italic;
}
2019-11-12 18:45:20 +01:00
.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: 100%;
2019-11-21 15:27:47 +01:00
}
.info-item table.info_table thead tr th {
min-width: 150px;
2019-11-21 15:27:47 +01:00
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-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;
}
2021-11-03 17:30:54 +01:00
#icalendar-special-days {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
background-color: #fff;
border: 1px solid #e1e1e1;
border-radius: 5px;
padding: 20px 50px;
}
#icalendar-special-days ul.wizard {
flex: 0;
}
#icalendar-special-days ul.wizard:first-child {
flex: 1 1 100%;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
margin-right: 80px;
}
.note-special-day {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
align-content: center;
}
.note-special-day div {
display: flex;
flex-direction: row;
align-items: center;
align-content: center;
}
.note-special-day div a.tip {
margin: 0px;
margin-right: 2px;
}
.note-special-day div a.tip > img {
margin: 0px;
}
2023-03-07 15:59:36 +01:00
form#icalendar-special-days.calendar-upload-form {
border: 0px;
padding: 0px;
}
form#icalendar-special-days.calendar-upload-form > ul {
align-items: flex-start !important;
}
form#icalendar-special-days.calendar-upload-form > ul > li > label {
font-size: 13px;
line-height: 16px;
margin-bottom: 10px;
}
.special-days-thead > thead > tr > th:not(.header) {
border: 1px solid #e2e2e2;
}
.special-days-thead > thead > tr > th.header {
border: 0px;
border-bottom: 1px solid #878787;
}
.special-days-thead > thead > tr > th.c0 {
border-left: 1px solid #e2e2e2;
}
.special-days-thead > thead > tr > th.c6 {
border-right: 1px solid #e2e2e2;
}