e0157759a8
Now the info panel has a fixed width and the TopoViz will display as a single column if the TopoViz column is too narrow for two columns.
67 lines
934 B
SCSS
67 lines
934 B
SCSS
.dashboard-metric {
|
|
width: 350px;
|
|
max-width: 350px;
|
|
|
|
&:not(:last-child) {
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
&.column:not(:last-child) {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
&.column {
|
|
width: auto;
|
|
max-width: auto;
|
|
}
|
|
|
|
.metric {
|
|
text-align: left;
|
|
font-weight: $weight-bold;
|
|
font-size: $size-3;
|
|
|
|
.metric-units {
|
|
font-size: $size-4;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: $body-size;
|
|
font-weight: $weight-normal;
|
|
}
|
|
}
|
|
|
|
.graphic {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
|
|
> .column {
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
}
|
|
|
|
.annotation {
|
|
margin-top: -0.75rem;
|
|
}
|
|
|
|
&.with-divider {
|
|
border-top: 1px solid $grey-blue;
|
|
padding-top: 1.5em;
|
|
}
|
|
|
|
.pair,
|
|
.minor-pair {
|
|
white-space: nowrap;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.pair {
|
|
font-size: $size-5;
|
|
}
|
|
|
|
.is-faded {
|
|
color: darken($grey-blue, 20%);
|
|
}
|
|
}
|