Move stats styles to the stats stylesheet

These styles aren't only used in the admin section but also in the
public stats page.
This commit is contained in:
Javi Martín
2024-03-24 17:56:14 +01:00
parent b3588b1865
commit 111516f660
2 changed files with 21 additions and 25 deletions

View File

@@ -5,7 +5,6 @@
// 01. Global styles // 01. Global styles
// 02. Sidebar // 02. Sidebar
// 03. List elements // 03. List elements
// 04. Stats
// 05. Management // 05. Management
// 06. Polls // 06. Polls
// 07. Legislation // 07. Legislation
@@ -364,30 +363,6 @@ code {
} }
} }
// 04. Stats
// ---------
.stats-numbers {
p {
color: $text-medium;
font-size: rem-calc(13);
padding: rem-calc(6);
text-transform: uppercase;
&.featured {
background: $info-bg;
border: 1px solid $info-border;
font-weight: bold;
}
.number {
color: $body-font-color;
font-size: rem-calc(30);
font-weight: bold;
}
}
}
// 05. Management // 05. Management
// -------------- // --------------

View File

@@ -173,6 +173,27 @@
} }
} }
.stats-numbers {
p {
color: $text-medium;
font-size: rem-calc(13);
padding: rem-calc(6);
text-transform: uppercase;
&.featured {
background: $info-bg;
border: 1px solid $info-border;
font-weight: bold;
}
.number {
color: $body-font-color;
font-size: rem-calc(30);
font-weight: bold;
}
}
}
table { table {
&.survey-districts { &.survey-districts {