forked from oslabs-beta/kQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.global.scss
159 lines (125 loc) · 2.56 KB
/
app.global.scss
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
@import '~bootstrap/scss/bootstrap';
// Variables
$primary: rgb(83, 190, 243);
$primary-dark: rgb(36, 171, 238);
$secondary: #222;
$white: rgb(240, 240, 240);
$dark: rgb(36, 36, 36);
$app-background-color: #3b404c;
$box-background-color: #23252d;
$bright-white: #f9f9fc;
$dim-white: #d1d1d2;
// Similar to a "function", centers elements
@mixin flexCenter() {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
* {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
}
.app {
background-color: $app-background-color;
}
.title {
@include flexCenter();
background-color: $box-background-color;
height: 70px;
margin-bottom: 30px;
border-radius: 0px 0px 5px 5px;
font-size: 40px;
h1 {
color: $bright-white;
}
h2 {
position: absolute;
left: 0;
margin-left: 25px;
color: $primary;
}
}
.dashTitle {
background-color: orange;
border: 10px solid blueviolet;
}
.metrics-container {
display: flex;
flex-direction: row;
}
.dashboard {
height: 100%;
width: 100%;
margin-left: 7px;
// @include flexCenter();
// flex-direction: row;
// display: flex;
// flex-direction: row;
// display: flex;
// // flex: 1;
// justify-content: center;
// align-items: center;
// flex-direction: column;
// grid-area: db;
// background-color: cornflowerblue;
// border: orange solid 10px;
.metric-heading {
margin-left: 10px;
color: $bright-white;
font-weight: normal;
}
}
.dashboard-container {
width: 100%;
}
.dashForm {
display: flex;
justify-content: center;
align-items: center;
}
// .system-data-container {
// display: flex;
// align-items: center;
// }
.system-data {
@include flexCenter();
justify-content: normal;
align-items: flex-start;
height: 550px;
width: 310px;
margin: 10px;
padding: 10px 20px;
background-color: $box-background-color;
border: 1px solid $box-background-color;
border-radius: 15px;
}
.metrics {
color: $dim-white;
font-size: 24px;
}
.metric-title {
color: $primary;
font-size: 30px;
text-align: center;
margin-top: 8px;
margin-bottom: 18px;
}
// .graph {
// border: 10 px solid black;
// background-color: darkkhaki;
// }
// .stopLight {
// border: 10 px solid black;
// background-color: forestgreen;
// }
.chart {
background-color: $box-background-color;
padding: 5px;
padding-top: 10px;
padding-left: 0px;
border-radius: 5px;
height: 300px;
width: 275px;
}