2019-02-21 13:10:53 +00:00
|
|
|
%healthcheck-output {
|
2018-09-21 09:18:32 +00:00
|
|
|
border-width: 1px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2019-07-23 14:03:54 +00:00
|
|
|
%healthcheck-output::before {
|
|
|
|
@extend %as-pseudo;
|
2020-05-07 13:57:15 +00:00
|
|
|
min-width: 20px;
|
|
|
|
min-height: 20px;
|
2019-07-23 14:03:54 +00:00
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
@media #{$--lt-spacious-healthcheck-output} {
|
|
|
|
%healthcheck-output::before {
|
|
|
|
min-width: 18px;
|
|
|
|
min-height: 18px;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%healthcheck-output dd em {
|
|
|
|
@extend %pill;
|
2020-09-02 13:47:04 +00:00
|
|
|
background-color: $gray-100;
|
2019-11-25 18:45:10 +00:00
|
|
|
/*TODO: Should this be merged into %pill? */
|
|
|
|
cursor: default;
|
|
|
|
font-style: normal;
|
|
|
|
margin-top: -2px;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2019-07-23 14:03:54 +00:00
|
|
|
%healthcheck-output.passing::before {
|
|
|
|
@extend %with-check-circle-fill-color-icon;
|
|
|
|
}
|
|
|
|
%healthcheck-output.warning::before {
|
|
|
|
@extend %with-alert-triangle-color-icon;
|
|
|
|
}
|
|
|
|
%healthcheck-output.critical::before {
|
|
|
|
@extend %with-cancel-square-fill-color-icon;
|
|
|
|
}
|
2019-02-21 13:10:53 +00:00
|
|
|
%healthcheck-output,
|
|
|
|
%healthcheck-output pre {
|
2018-09-21 09:18:32 +00:00
|
|
|
border-radius: $decor-radius-100;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2019-02-21 13:10:53 +00:00
|
|
|
%healthcheck-output dd:first-of-type {
|
2018-11-09 15:28:26 +00:00
|
|
|
color: $gray-400;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2019-02-21 13:10:53 +00:00
|
|
|
%healthcheck-output pre {
|
2019-07-23 14:03:54 +00:00
|
|
|
background-color: $gray-050;
|
|
|
|
color: $gray-600;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2019-07-23 14:03:54 +00:00
|
|
|
%healthcheck-output {
|
2018-11-09 15:28:26 +00:00
|
|
|
/* TODO: this should be a frame-gray */
|
|
|
|
color: $gray-900;
|
|
|
|
border-color: $gray-200;
|
2018-09-21 09:18:32 +00:00
|
|
|
border-style: solid;
|
2019-07-23 14:03:54 +00:00
|
|
|
|
|
|
|
border-left-width: 4px;
|
|
|
|
}
|
|
|
|
%healthcheck-output.passing {
|
|
|
|
border-left-color: $green-500;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2019-02-21 13:10:53 +00:00
|
|
|
%healthcheck-output.warning {
|
2019-07-23 14:03:54 +00:00
|
|
|
border-left-color: $yellow-500;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2019-02-21 13:10:53 +00:00
|
|
|
%healthcheck-output.critical {
|
2019-07-23 14:03:54 +00:00
|
|
|
border-left-color: $red-500;
|
2018-09-21 09:18:32 +00:00
|
|
|
}
|