-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
278 lines (241 loc) · 5.27 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
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
/* General container styling */
.topic-container {
margin: 20px 0;
padding: 15px;
border: 2px solid #ddd;
border-radius: 8px;
background-color: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Header styling for each topic section */
.topic-container h2 {
font-size: 24px;
color: #333;
margin-bottom: 10px;
padding-bottom: 5px;
border-bottom: 2px solid #333;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.header {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
background-color: rgb(225, 216, 212); /* Header background color */
}
.study-button {
margin: 0 10px;
padding: 10px 20px;
color: white;
border: none;
cursor: pointer;
font-size: 16px;
}
.study-button.TüKITZmed {
background-color: rgb(216, 166, 159); /* TüKITZmed color */
}
.study-button.TüKITZlife {
background-color: rgb(157, 173, 132); /* TüKITZlife color */
}
.study-button.all {
background-color: #555; /* Neutral color for "Show All" button */
}
.study-button.active {
opacity: 0.8;
}
.study-button:hover {
opacity: 0.8;
}
#difficulty-filter {
margin-left: 20px;
padding: 5px;
}
.download-button {
background-color: transparent; /* Make the button background transparent */
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 24px;
color: black; /* Set the icon color to black */
margin-left: 20px;
position: relative; /* For positioning tooltip */
}
/* Tooltip styles */
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 220px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 10px;
position: absolute;
z-index: 1;
left: 125%; /* Position to the right of the button */
top: 50%;
margin-top: -22px; /* Center the tooltip vertically relative to the button */
opacity: 0;
transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
.course-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 20px;
}
.course-tile {
position: relative;
margin: 10px;
padding: 20px;
width: 250px;
height: 180px;
background-color: #ffffff; /* Neutral background color */
color: #000000;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
font-size: 18px;
cursor: pointer;
box-sizing: border-box;
border: 1px solid #ddd; /* Light border for the tile */
}
.course-header {
font-weight: bold;
margin-bottom: 10px;
width: 100%;
text-align: left;
}
.course-labels {
display: flex;
flex-wrap: wrap;
}
.label {
background-color: #f4f4f4;
border-radius: 5px;
padding: 5px 10px;
margin: 2px;
font-size: 14px;
}
.membership-indicators {
position: absolute;
bottom: 10px;
right: 10px;
display: flex;
gap: 5px;
}
.indicator {
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #888; /* Default color for indicators */
}
.indicator.TüKITZmed {
background-color: rgb(216, 166, 159); /* TüKITZmed color */
}
.indicator.TüKITZlife {
background-color: rgb(157, 173, 132); /* TüKITZlife color */
}
.skill-level {
position: absolute;
bottom: 10px;
left: 10px;
display: flex;
gap: 2px; /* Space between bars */
}
.bar {
width: 30px; /* Width of each bar */
height: 6px; /* Height of each bar */
background-color: #ddd; /* Default color for unfilled bars */
border-radius: 3px; /* Rounded corners */
transition: background-color 0.3s; /* Smooth transition */
}
.bar.filled {
background-color: #888; /* Color for filled bars */
}
/* Different filling for skill levels */
.course-tile.beginner .bar:nth-child(1) {
background-color: #888;
}
.course-tile.intermediate .bar:nth-child(1),
.course-tile.intermediate .bar:nth-child(2) {
background-color: #888;
}
.course-tile.expert .bar {
background-color: #888;
}
.popup {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
}
.popup-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
padding: 20px;
border-radius: 8px;
width: 300px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.close {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
font-size: 24px;
color: #000;
}
#course-name {
text-align: left;
margin-bottom: 10px;
}
.accordion {
margin-top: 20px;
}
.accordion-button {
background-color: #f1f1f1;
color: #444;
cursor: pointer;
padding: 10px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
transition: 0.4s;
}
.accordion-button:hover, .accordion-button.active {
background-color: #ccc;
}
.panel {
padding: 0 18px;
background-color: white;
display: none;
overflow: hidden;
}