2016-08-16 09:50:36 -05:00
|
|
|
.alert-state-paused,
|
|
|
|
.alert-state-pending {
|
|
|
|
color: $text-muted;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
2016-08-16 09:50:36 -05:00
|
|
|
.alert-state-ok {
|
|
|
|
color: $online;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-state-warning {
|
2016-08-16 09:50:36 -05:00
|
|
|
color: $warn;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-state-critical {
|
2016-08-16 09:50:36 -05:00
|
|
|
color: $critical;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-notify-emails {
|
|
|
|
width: 400px;
|
|
|
|
border-right: 1px solid $black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-notify-emails .bootstrap-tagsinput {
|
|
|
|
width: 394px; // offset for 8px left padding and border width
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-notify-emails .bootstrap-tagsinput input {
|
|
|
|
border: 0;
|
|
|
|
}
|
2016-08-16 09:50:36 -05:00
|
|
|
|
|
|
|
// Alert List
|
|
|
|
|
2017-09-27 03:38:01 -05:00
|
|
|
.alert-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-list-icon {
|
2016-08-16 09:50:36 -05:00
|
|
|
font-weight: bold;
|
2017-09-27 03:38:01 -05:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2016-08-16 09:50:36 -05:00
|
|
|
.icon-gf, .fa {
|
2017-09-27 03:38:01 -05:00
|
|
|
font-size: 200%;
|
2016-08-16 09:50:36 -05:00
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
2016-09-30 10:37:47 -05:00
|
|
|
|
2017-09-27 03:38:01 -05:00
|
|
|
.alert-list-body {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-list-main {
|
|
|
|
padding: 0 2rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-list-title {
|
|
|
|
font-size: $font-size-base;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-list-state {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-list-text {
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 1.5rem;
|
2017-09-28 02:41:33 -05:00
|
|
|
color: $text-color-weak;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-list-info {
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-list-info-left {
|
|
|
|
padding-left: 2rem;
|
2017-09-27 03:38:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-list-footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
2016-09-30 10:37:47 -05:00
|
|
|
.panel-has-alert {
|
|
|
|
.panel-alert-icon:before {
|
|
|
|
content: "\e611";
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
left: -3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-alert-state {
|
|
|
|
&--alerting {
|
2016-11-08 07:02:45 -06:00
|
|
|
box-shadow: 0 0 10px rgba($critical,0.5);
|
2017-04-27 01:49:03 -05:00
|
|
|
position: relative;
|
2016-09-30 10:37:47 -05:00
|
|
|
|
|
|
|
.panel-alert-icon:before {
|
|
|
|
color: $critical;
|
|
|
|
content: "\e610";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-27 01:49:03 -05:00
|
|
|
&--alerting::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
z-index: -1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-shadow: 0 0 10px rgba($critical,1);
|
|
|
|
opacity: 0;
|
|
|
|
animation: alerting-panel 1.6s cubic-bezier(1,.1,.73,1) 0s infinite alternate;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-09-30 10:37:47 -05:00
|
|
|
&--ok {
|
|
|
|
.panel-alert-icon:before {
|
|
|
|
color: $online;
|
2016-09-30 10:39:05 -05:00
|
|
|
content: "\e611";
|
2016-09-30 10:37:47 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-01 09:31:57 -05:00
|
|
|
@keyframes alerting-panel {
|
|
|
|
100% {
|
2017-04-27 01:49:03 -05:00
|
|
|
opacity: 1;
|
2016-10-01 09:31:57 -05:00
|
|
|
}
|
|
|
|
}
|