generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanalytics-dashboard.component.scss
More file actions
127 lines (109 loc) · 2.37 KB
/
analytics-dashboard.component.scss
File metadata and controls
127 lines (109 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@use "../../assets/styles/base/base.scss";
@use "../../assets/styles/layout/layout.scss";
@use "../../assets/styles/abstracts/mixins.scss" as mixins;
@use "../../assets/styles/themes/default.scss" as theme;
:host {
@include mixins.flex-box();
@include mixins.flex-direction(column);
@include mixins.flex(1 1 auto);
overflow: hidden;
}
$stats-blue-1: #123B64;
// --- Top Container
.top-container .container{
padding-top: 18px;
padding-bottom: 18px;
}
.title-container {
display: flex;
flex-direction: column;
h1 {
font-size: 1.65rem;
}
}
.dashboard-subtitle {
font-size: 14px;
letter-spacing: 0.16px;
margin-top: 4px;
margin-bottom: 0;
}
.filter-div {
display: flex;
margin-top: 20px;
.form-group {
flex-basis: 25%;
display: flex;
flex-direction: column;
justify-content: flex-end;
margin-bottom: 0;
}
}
// --- Bottom Container
.bottom-container {
// Show vertical scrollbar only when content overflows viewport
overflow-y: auto;
}
// --- chart styling
::ng-deep .apexcharts-xaxis .apexcharts-xaxis-title .chart-title-label,
::ng-deep .apexcharts-yaxis .apexcharts-yaxis-title .chart-title-label {
font-weight: 700;
font-size: 14px;
line-height: 18px;
letter-spacing: 0.20px;
text-align: center;
}
.grid-1-3 {
display: grid;
grid-template-columns: 1fr 3fr;
gap: 32px;
align-items: stretch;
width: 100%;
}
// Rectangle box for total FOM
.total-fom-box {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 10px 15px 30px;
.total-fom-content-box {
border-radius: 8px;
height: 100%;
display: flex;
flex-direction: column;
gap: 36px;
align-items: center;
justify-content: center;
background: $stats-blue-1;
font-weight: 700;
text-align: center;
color: theme.$white;
font-weight: bold;
.total-fom-content-title {
font-size: 16px;
line-height: 22px;
letter-spacing: 0px;
margin-bottom: 12px;
width: 124px;
}
.total-fom-content-value {
font-size: 64px;
line-height: 18px;
letter-spacing: 0.16px;
}
}
}
.unique-fc-box {
background: #775DD0;
height: 78px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
gap: 1.2rem;
color: theme.$white;
font-weight: bold;
.unique-fc-vtxt {
font-size: 64px;
font-weight: 700;
}
}