mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
https://www.pivotaltracker.com/story/show/116052359 - add absolute numbers for failures - make percentages accurate to 1 decimal place (50.0%) - make error colour appear if failures go above 3.0% - make error colour boolean (don’t interpolate between the colours)
55 lines
704 B
SCSS
55 lines
704 B
SCSS
%big-number,
|
|
.big-number {
|
|
|
|
@include bold-48($tabular-numbers: true);
|
|
|
|
&-label {
|
|
@include core-19;
|
|
display: block;
|
|
padding-bottom: $gutter-half;
|
|
}
|
|
|
|
}
|
|
|
|
.big-number-with-status {
|
|
|
|
@extend %big-number;
|
|
background: $text-colour;
|
|
color: $white;
|
|
|
|
.big-number {
|
|
padding: 15px;
|
|
}
|
|
|
|
.big-number-label {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
%big-number-status,
|
|
.big-number-status {
|
|
|
|
@include core-19;
|
|
display: block;
|
|
background: $green;
|
|
padding: 15px;
|
|
|
|
a {
|
|
|
|
&:link,
|
|
&:visited,
|
|
&:active,
|
|
&:hover {
|
|
color: $white;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.big-number-status-failing {
|
|
@extend %big-number-status;
|
|
background: $error-colour;
|
|
}
|
|
|
|
}
|