open-consul/ui-v2/app/styles/components/healthcheck-output/layout.scss

76 lines
1.4 KiB
SCSS

%healthcheck-output {
display: flex;
padding: 20px 16px;
padding-right: 24px;
margin-bottom: 24px;
}
%healthcheck-output::before {
margin-right: 15px;
}
%healthcheck-output > div {
flex: 1 1 auto;
}
%healthcheck-output header {
margin-bottom: 0.9em;
}
%healthcheck-output dl:not(:last-of-type) {
float: left;
width: 25%;
margin-right: 2%;
}
%healthcheck-output dl:nth-of-type(3) {
width: 46%;
margin-right: 0;
}
%healthcheck-output dl:not(:last-of-type) dd {
word-break: break-all;
}
%healthcheck-output dt {
margin-bottom: 0;
}
%healthcheck-output dl:last-of-type {
clear: both;
margin-bottom: 0;
}
%healthcheck-output dl:last-of-type dt {
margin-bottom: 0.3em;
}
%healthcheck-output dl:last-of-type dd {
position: relative;
}
%healthcheck-output dl > * {
float: none;
display: block;
width: auto;
position: static;
padding-left: 0;
}
%healthcheck-output pre {
padding: 12px;
padding-right: 40px;
white-space: pre-wrap;
}
%healthcheck-output .with-feedback {
position: absolute;
right: 0.5em;
top: 1em;
}
@media #{$--lt-spacious-healthcheck-output} {
%healthcheck-output {
padding-top: 15px;
padding-bottom: 15px;
padding-left: 14px;
padding-right: 19px;
}
%healthcheck-output::before {
margin-right: 8px;
}
%healthcheck-output dl:not(:last-of-type) {
float: none;
width: auto;
margin-right: 0;
}
}