linkerd2/web/app/css/service-mesh.css

113 lines
2.1 KiB
CSS

@import 'styles.css';
.header-with-metric {
margin-top: 32px;
& .subsection-header {
float: left;
}
& .metric {
float: right;
text-align: right;
}
}
.mesh-section .metric-large {
width: 131px;
}
.mesh-completion-message {
margin-top: calc(4 * var(--base-width));
background-color: var(--royalblue);
color: white;
padding: var(--base-width);
font-size: 16;
border-radius: calc(var(--base-width)/2);
font-weight: var(--font-weight-extra-bold);
border-radius: var
}
.service-mesh-table {
margin-top: 18px;
}
.conduit-table.mesh-completion-table {
& .ant-table-row {
& td {
& .container-bar {
&.neutral {
background-color: rgb(130,130,130, 0.1);;
}
&.poor{
background-color: rgb(235, 87, 87, 0.1);
}
&.good{
background-color: rgb(39, 174, 96, 0.1);
}
}
& .inner-bar {
&.neutral {
background-color: rgb(130,130,130, 0.8);;
}
&.poor{
background-color: rgb(235, 87, 87, 0.8);
}
&.good{
background-color: rgb(39, 174, 96, 0.8);
}
}
}
}
}
/* styles for the StatusTable */
td .status-dot {
float: left;
width: calc(2 * var(--base-width));
height: calc(2 * var(--base-width));
min-width: calc(2 * var(--base-width));
border-radius: 50%;
margin-right: var(--base-width);
&.dot-multiline {
margin-top: calc(0.5 * var(--base-width));
margin-bottom: calc(0.5 * var(--base-width));
}
&.status-dot-good {
background-color: var(--green);
}
&.status-dot-poor {
background-color: var(--siennared);
}
&.status-dot-neutral {
background-color: #E0E0E0;
}
}
/* error indicator and modal */
.conduit-error-icon {
cursor: pointer;
margin-left: 5px;
color: var(--siennared);
}
.conduit-pod-error {
margin-bottom: calc(3 * var(--base-width));
& p {
line-height: 8px;
}
& .error-text {
padding: var(--base-width);
margin-top: calc(2 * var(--base-width));
border-radius: calc(0.5 * var(--base-width));
font-size: 12px;
color: white;
background-color: #696969;
}
}