-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
178 lines (152 loc) · 2.98 KB
/
styles.css
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
* {
font-family: 'Poppins', sans-serif;
}
/* Basic styles to hide pages */
.page {
display: none;
}
.active {
display: block;
}
body {
background-color: #d4edda; /* Light green background */
}
.centered {
}
/* Container for the entire graph */
.bar-graph {
width: 95%; /* Full width */
border: 1px solid #ccc;
background-color: #f9f9f9;
display: flex;
box-sizing: border-box;
}
/* Style for individual bar sections */
.bar {
height: 60px; /* Height of each bar */
margin: 5px 0; /* Space between bars */
display: flex;
align-items: center;
font-size: 12px;
padding-left: 10px;
box-sizing: border-box;
cursor: pointer;
}
.bar span {
visibility: hidden;
white-space: nowrap;
background-color: white;
}
.bar:hover {
filter: brightness(1.2);
}
.bar:hover span {
visibility: visible;
pointer-events: none;
}
/* Style for the info box */
.info-box {
margin-top: 20px;
padding: 10px;
border: 1px solid #ccc;
background-color: #f9f9f9;
font-size: 18px;
min-height: 220px;
}
.info-label {
margin-top: 20px;
padding: 10px;
border: 1px solid #ccc;
background-color: #f9f9f9;
font-size: 30px;
font-weight: bold;
}
/* Container for the color key */
.color-key {
display: flex;
flex-direction: column;
background-color: paleturquoise;
max-width: 300px;
padding: 20px;
font-family: Arial, sans-serif;
}
/* Style for each key item */
.key-item {
display: flex;
align-items: center;
margin: 5px;
}
/* Style for the color box */
.color-box {
width: 20px;
height: 20px;
margin-right: 10px;
border-radius: 4px;
border: 1px solid #ccc;
}
.key-label {
margin-right: 20px;
}
.add-button {
margin-left: auto;
margin-right: 0;
}
/* Style for the main container to create a split screen */
.split-screen {
display: flex;
box-sizing: border-box;
overflow-y: visible;
}
.split-screen>* {
padding: 20px;
}
/* Style for the left panel */
/*
.left-panel {
flex: 3;
background-color: #cadbe9;
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
}
*/
/* Style for the right panel */
/*
.right-panel {
flex: 2;
background-color: #b5c4d0;
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
}
*/
/* Overlay for the end screen */
.overlay {
display: none; /* Hidden by default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
}
/* Popup box */
.popup {
background-color: #fff;
padding: 20px;
border-radius: 8px;
width: 80%;
max-width: 400px;
text-align: center;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}
.popup h2 {
margin-top: 0;
}
.popup button {
margin-top: 20px;
padding: 10px 20px;
}