open-consul/ui-v2/app/styles/components/healthcheck-output/skin.scss
Kenia 093c353c4b ui: Redesign - Instance Detail Proxy Info tab (#7745)
* Fix clickFirstAnchor bug

* Create Proxy Info Tab for Instance Detail Page

* Create tests for ProxyInfo and update other scenarios with Proxy data

* ui: Refactors our app-view/%app-view component (#7752)

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2020-05-12 17:14:46 +00:00

62 lines
1.3 KiB
SCSS

%healthcheck-output {
border-width: 1px;
}
%healthcheck-output::before {
@extend %as-pseudo;
min-width: 20px;
min-height: 20px;
margin-right: 15px;
}
@media #{$--lt-spacious-healthcheck-output} {
%healthcheck-output::before {
min-width: 18px;
min-height: 18px;
margin-right: 8px;
}
}
%healthcheck-output dd em {
@extend %pill;
/*TODO: Should this be merged into %pill? */
cursor: default;
font-style: normal;
margin-top: -2px;
margin-left: 0.5em;
}
%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;
}
%healthcheck-output,
%healthcheck-output pre {
border-radius: $decor-radius-100;
}
%healthcheck-output dd:first-of-type {
color: $gray-400;
}
%healthcheck-output pre {
background-color: $gray-050;
color: $gray-600;
}
%healthcheck-output {
/* TODO: this should be a frame-gray */
color: $gray-900;
border-color: $gray-200;
border-style: solid;
border-left-width: 4px;
}
%healthcheck-output.passing {
border-left-color: $green-500;
}
%healthcheck-output.warning {
border-left-color: $yellow-500;
}
%healthcheck-output.critical {
border-left-color: $red-500;
}