open-nomad/ui/app/styles/components/primary-metric.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
576 B
SCSS
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2018-09-14 17:20:33 +00:00
.primary-metric {
background: $white-bis;
border-radius: $radius;
padding: 0.75em;
color: $grey-dark;
.title {
color: $grey;
font-weight: $weight-normal;
}
.primary-graphic {
height: 150px;
}
&.is-short .primary-graphic {
height: 100px;
}
2018-09-14 17:20:33 +00:00
.secondary-graphic {
padding: 0.75em;
padding-bottom: 0;
margin-bottom: 0;
> .column {
padding: 0.5rem 0.75rem;
}
}
.annotation {
padding: 0 0.75em;
margin-top: -0.75rem;
}
}