_alerting.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .alert-state-paused,
  2. .alert-state-pending {
  3. color: $text-muted;
  4. }
  5. .alert-state-ok {
  6. color: $online;
  7. }
  8. .alert-state-warning {
  9. color: $warn;
  10. }
  11. .alert-state-critical {
  12. color: $critical;
  13. }
  14. .alert-notify-emails {
  15. width: 400px;
  16. border-right: 1px solid $black;
  17. }
  18. .alert-notify-emails .bootstrap-tagsinput {
  19. width: 394px; // offset for 8px left padding and border width
  20. }
  21. .alert-notify-emails .bootstrap-tagsinput input {
  22. border: 0;
  23. }
  24. // Alert List
  25. .alert-list-item-state {
  26. font-weight: bold;
  27. .icon-gf, .fa {
  28. font-size: 120%;
  29. position: relative;
  30. top: 2px;
  31. }
  32. }
  33. .panel-has-alert {
  34. .panel-alert-icon:before {
  35. content: "\e611";
  36. position: relative;
  37. top: 1px;
  38. left: -3px;
  39. }
  40. }
  41. .panel-alert-state {
  42. &--alerting {
  43. animation: alerting-panel 1.6s cubic-bezier(1,.1,.73,1) 0s infinite alternate;
  44. box-shadow: 0 0 10px rgba($critical,0.5);
  45. opacity: 1;
  46. .panel-alert-icon:before {
  47. color: $critical;
  48. content: "\e610";
  49. }
  50. }
  51. &--ok {
  52. .panel-alert-icon:before {
  53. color: $online;
  54. content: "\e611";
  55. }
  56. }
  57. }
  58. @keyframes alerting-panel {
  59. 100% {
  60. box-shadow: 0 0 15px $critical;
  61. }
  62. }