mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
84 lines
1.2 KiB
SCSS
84 lines
1.2 KiB
SCSS
.alert-state-paused,
|
|
.alert-state-pending {
|
|
color: $text-muted;
|
|
}
|
|
|
|
.alert-state-ok {
|
|
color: $online;
|
|
}
|
|
|
|
.alert-state-warning {
|
|
color: $warn;
|
|
}
|
|
|
|
.alert-state-critical {
|
|
color: $critical;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
// Alert List
|
|
|
|
.alert-list-item-state {
|
|
font-weight: bold;
|
|
.icon-gf, .fa {
|
|
font-size: 120%;
|
|
position: relative;
|
|
top: 2px;
|
|
}
|
|
}
|
|
|
|
.panel-has-alert {
|
|
.panel-alert-icon:before {
|
|
content: "\e611";
|
|
position: relative;
|
|
top: 1px;
|
|
left: -3px;
|
|
}
|
|
}
|
|
|
|
.panel-alert-state {
|
|
&--alerting {
|
|
animation: alerting-panel 2s 0s infinite;
|
|
opacity: 1;
|
|
|
|
.panel-alert-icon:before {
|
|
color: $critical;
|
|
content: "\e610";
|
|
}
|
|
}
|
|
|
|
&--ok {
|
|
box-shadow: 0 0 5px rgba(0,200,0,10.8);
|
|
.panel-alert-icon:before {
|
|
color: $online;
|
|
content: "\e611";
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes alerting-panel {
|
|
0% {
|
|
box-shadow: none;
|
|
}
|
|
50% {
|
|
box-shadow: 0 0 10px $critical;
|
|
}
|
|
100% {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
|