| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- .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 {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- }
- .alert-list-icon {
- font-weight: bold;
- display: flex;
- justify-content: center;
- align-items: center;
- .icon-gf, .fa {
- font-size: 200%;
- position: relative;
- top: 2px;
- }
- }
- .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;
- color: $text-color-weak;
- }
- .alert-list-info {
- color: $text-color;
- }
- .alert-list-info-left {
- padding-left: 2rem;
- }
- .alert-list-footer {
- display: flex;
- justify-content: space-between;
- flex-direction: column;
- align-items: flex-end;
- }
- .panel-has-alert {
- .panel-alert-icon:before {
- content: "\e611";
- position: relative;
- top: 1px;
- left: -3px;
- }
- }
- .panel-alert-state {
- &--alerting {
- box-shadow: 0 0 10px rgba($critical,0.5);
- position: relative;
- .panel-alert-icon:before {
- color: $critical;
- content: "\e610";
- }
- }
- &--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;
- }
- &--ok {
- .panel-alert-icon:before {
- color: $online;
- content: "\e611";
- }
- }
- }
- @keyframes alerting-panel {
- 100% {
- opacity: 1;
- }
- }
|