35c188fba7
* Client count updates - Added Current month tab which leverages partial monthly activity api - Refactored Vault usage to Monthly history - New client count history component based on StatText and BarChart component - Restrict bar chart to showcase only top 10 namespaces - Removed config route, as config and history component will be rendered based on query param - Updated all metrics reference to clients - Removed old tests and added integration test for current month * Fixed navbar permission - Added changelog * Updated the model for current month data * Fixed current month tests * Fixed indentation and chart label
106 lines
2.2 KiB
SCSS
106 lines
2.2 KiB
SCSS
.stat-text-container {
|
|
line-height: normal;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
&.l,
|
|
&.m {
|
|
.stat-label {
|
|
font-size: $size-5;
|
|
font-weight: $font-weight-semibold;
|
|
line-height: inherit;
|
|
}
|
|
.stat-text {
|
|
font-size: $size-8;
|
|
font-weight: $font-weight-normal;
|
|
color: $ui-gray-700;
|
|
line-height: inherit;
|
|
flex-grow: 1;
|
|
}
|
|
.stat-value {
|
|
font-size: $size-3;
|
|
font-weight: $font-weight-normal;
|
|
margin-top: $spacing-s;
|
|
}
|
|
}
|
|
|
|
&.s {
|
|
.stat-label {
|
|
font-size: $size-5;
|
|
font-weight: $font-weight-semibold;
|
|
line-height: inherit;
|
|
}
|
|
.stat-text {
|
|
font-size: $size-8;
|
|
font-weight: $font-weight-normal;
|
|
color: $ui-gray-700;
|
|
line-height: inherit;
|
|
}
|
|
.stat-value {
|
|
font-size: $size-5;
|
|
font-weight: $font-weight-normal;
|
|
margin-top: $spacing-s;
|
|
}
|
|
}
|
|
|
|
&.l-no-subText {
|
|
.stat-label {
|
|
font-size: $size-5;
|
|
font-weight: $font-weight-semibold;
|
|
line-height: inherit;
|
|
}
|
|
.stat-text {
|
|
font-size: $size-8;
|
|
font-weight: $font-weight-normal;
|
|
color: $ui-gray-700;
|
|
line-height: inherit;
|
|
}
|
|
.stat-value {
|
|
font-size: $size-3;
|
|
font-weight: $font-weight-normal;
|
|
margin-top: $spacing-xxs;
|
|
}
|
|
}
|
|
|
|
&.m-no-subText {
|
|
.stat-label {
|
|
font-size: $size-8;
|
|
font-weight: $font-weight-bold;
|
|
line-height: inherit;
|
|
}
|
|
.stat-text {
|
|
font-size: $size-8;
|
|
font-weight: $font-weight-normal;
|
|
color: $ui-gray-700;
|
|
line-height: inherit;
|
|
}
|
|
.stat-value {
|
|
font-size: $size-5;
|
|
font-weight: $font-weight-normal;
|
|
margin-top: $spacing-xxs;
|
|
}
|
|
}
|
|
|
|
&.s-no-subText {
|
|
.stat-label {
|
|
font-size: $size-8;
|
|
font-weight: $font-weight-normal;
|
|
color: $ui-gray-500;
|
|
line-height: inherit;
|
|
}
|
|
.stat-text {
|
|
font-size: $size-8;
|
|
font-weight: $font-weight-normal;
|
|
color: $ui-gray-700;
|
|
line-height: inherit;
|
|
}
|
|
.stat-value {
|
|
font-size: $size-8;
|
|
font-weight: $font-weight-normal;
|
|
color: $ui-gray-800;
|
|
line-height: inherit;
|
|
}
|
|
}
|
|
}
|