-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindividualOntologyDetail.css
More file actions
314 lines (261 loc) · 6.38 KB
/
individualOntologyDetail.css
File metadata and controls
314 lines (261 loc) · 6.38 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
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
/* Header Ribbon - this is the same for all pages */
.header-ribbon {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
padding: 15px 20px;
background: #222;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
width: 100%;
position: sticky;
top: 0;
box-sizing: border-box;
overflow: hidden;
position: fixed; /* to fix the ribbon being hidden under the content */
}
.logo a {
display: inline-block;
max-width: 100%;
}
.logo img {
height: 40px;
width: auto;
transition: transform 0.3s;
}
.logo img:hover {
transform: scale(1.1);
}
/*Last fix*/
.logo {
align-items: center;
display: flex;
gap: 10px;
}
.logo a {
color: #f7a11b; /* Match orange nav links */
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
font-size: 20px; /* larger than nav size */
}
.logo a:hover {
color: #e69518; /* Hover effect same as nav */
}
/* Navigation Menu - this is the same for all pages */
.nav {
display: flex;
gap: 15px;
margin: 0;
padding: 0;
justify-content: flex-end;
width: 100%;
}
.nav ul {
list-style: none;
display: flex;
gap: 15px;
margin: 0;
padding: 0;
justify-content: flex-end;
width: 100%;
}
.nav ul li a {
color: #f7a11b;
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
padding: 5px;
}
.nav ul li a:hover {
color: #e69518;
}
html, body {
margin: 0;
overflow-x: hidden;
font-family: Arial, sans-serif;
height: 100%;
display: flex;
flex-direction: column;
padding-top:70px;
}
/* Main Content Wrapper */
main {
flex: 1;
background: linear-gradient(145deg, #f5f5f5, #f5f5f5);
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
border-radius: 15px;
max-width: 1200px;
margin: 20px auto;
}
/* Footer - this is the same for all pages */
.footer {
text-align: center;
margin-top: auto;
padding: 20px 0;
background: #111;
font-size: 0.9rem;
color: #ccc;
}
.footer .social-icons {
margin-top: 10px;
}
.footer .social-icons a {
display: inline-block;
margin: 0 10px;
}
.footer .social-icons img {
width: 20px;
height: 20px;
transition: transform 0.3s;
}
.footer .social-icons img:hover {
transform: scale(1.2);
}
/* Style for social icons */
.social-icons {
display: flex;
gap: 10px; /* Space between icons */
justify-content: center; /* Center the icons */
margin-top: 15px;
}
.social-icons a {
display: inline-block;
width: 40px;
height: 40px;
background-color: white; /* White background behind the icons */
border-radius: 50%; /* Make the background circular */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
overflow: hidden; /* Ensure the icon fits inside the background */
text-align: center;
line-height: 40px; /* Center-align the image vertically */
}
.social-icons img {
width: 60%; /* Adjust the size of the image */
height: 60%;
object-fit: contain; /* Ensure the icon maintains its aspect ratio */
vertical-align: middle;
}
/* This is the part that makes this CSS different from the others in the folder. This is only for the table */
/* Table Styling */
#ontology-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
table-layout: fixed;
}
#ontology-table th,
#ontology-table td {
padding: 10px;
border: 1px solid #ddd;
text-align: left;
}
#ontology-table th:first-child,
#ontology-table td:first-child {
width: 20%;
}
#ontology-table th:last-child,
#ontology-table td:last-child {
width: 80%;
word-wrap: break-word;
}
#ontology-table th {
background-color: #f4f4f4;
color: #333;
}
#ontology-table td {
background-color: #fff;
}
.box-shadow {
background-color: #fff; /* White background for the box */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
padding: 20px; /* Inner padding */
margin: 20px auto; /* Center align with space around */
max-width: 900px; /* Maximum width of the box */
border: 1px solid #ddd; /* Light border for separation */
}
/* Separate Cluster Section Styling */
#cluster-box {
display: none; /* Initially hidden */
margin-top: 20px; /* Space above the cluster box */
padding: 15px; /* Inner padding for the box */
border: 2px solid #ffa500; /* Orange border to match theme */
border-radius: 8px; /* Rounded corners for the box */
background-color: #fdf5e6; /* Light yellow background */
}
#cluster-box h3 {
margin: 0 0 10px 0; /* Space below the title */
color: #333; /* Dark title color */
font-size: 18px; /* Slightly larger font size */
}
.cluster-name {
font-size: 16px; /* Font size for the cluster name */
font-weight: bold; /* Bold text for emphasis */
color: #555; /* Slightly darker text color */
}
/* because header wasnot being displayed correctly (27 Feb 25)*/
/* Responsive Fix for Smaller Screens */
@media (max-width: 768px) {
.header-ribbon {
flex-direction: column;
align-items: center;
text-align: center;
}
#evaluation-table-container {
width: 100%;
}
.nav {
justify-content: center;
width: 100%;
margin-top: 10px;
}
.nav ul {
flex-direction: column;
gap: 10px;
}
}
/* Evaluation & Spider Chart Container (27 Feb 25)*/
.evaluation-container {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 20px;
margin-top: 30px;
}
/* Spider Chart Container */
#spider-chart-container {
flex: 1; /* Takes available space */
display: flex;
justify-content: center;
align-items: center;
background: #fff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Evaluation Table Container */
#evaluation-table-container {
width: 50%;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Style for Evaluation Table */
#evaluation-table {
width: 100%;
border-collapse: collapse;
text-align: left;
font-size: 10px;
}
#evaluation-table th,
#evaluation-table td {
padding: 10px;
border: 1px solid #ddd;
}
#evaluation-table th {
background-color: #333;
color: white;
}