-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprogramstudi.css
More file actions
331 lines (283 loc) · 6.93 KB
/
programstudi.css
File metadata and controls
331 lines (283 loc) · 6.93 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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #ffffff; /* Background color: white */
color: #000000; /* Main text color: black */
}
.sidebar {
width: 250px;
height: 100vh;
background: #00abe4; /* Bright blue sidebar */
padding: 20px;
box-sizing: border-box;
position: fixed;
}
#sidebar-toggle {
background: none;
border: none;
font-size: 20px;
cursor: pointer;
margin-right: 89%; /* Space from toggle to header */
}
.sidebar .logo {
text-align: center;
margin-bottom: 30px;
}
.sidebar .logo h2 {
color: #ffffff; /* Logo text color: white */
margin: 0;
}
.sidebar ul {
list-style: none;
padding: 0;
}
.sidebar ul li {
margin-bottom: 20px;
}
.sidebar ul li a {
color: #000000; /* Menu text color: black */
text-decoration: none;
font-size: 16px;
display: flex;
align-items: center;
padding: 10px;
border-radius: 5px;
transition: none; /* No transition effect */
}
.sidebar ul li a:hover, .sidebar ul li a.active {
background: #e9f1fa; /* Background color on hover and active: light blue */
}
.main-content {
margin-left: 250px;
padding: 20px;
box-sizing: border-box;
background: #e9f1fa; /* Main content background color: light blue */
color: #000000; /* Main text color: black */
}
header {
display: flex;
align-items: center;
justify-content: flex-end; /* Justify content to the right */
margin-bottom: 20px;
}
.user-wrapper {
display: flex;
align-items: center;
}
header img {
border-radius: 50%;
margin-right: 10px;
}
.user-wrapper h4 {
margin: 0;
}
main {
margin-bottom: 20px;
}
.content-container {
background-color: #ffffff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* Softer shadow */
color: #000000; /* Main text color: black */
margin-top: 28px;
}
h2 {
margin-bottom: 10px;
}
/* CSS for table */
table {
width: 100%;
border-collapse: collapse;
background-color: #ffffff; /* White background */
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
overflow: hidden;
}
table th,
table td {
border: 1px solid #ddd;
padding: 12px;
text-align: left;
}
table th {
background-color: #e9f1fa; /* Light blue header */
color: #000000;
font-weight: bold;
}
table tr:nth-child(even) {
background-color: #f9f9f9;
}
.empty-state {
padding: 20px;
background-color: #f2f2f2;
border-radius: 8px;
text-align: center;
margin-top: 20px;
color: #777;
}
/* CSS for action buttons */
.add {
padding: 1rem 2rem;
font-weight: 700;
background: #ffffff; /* White */
color: #00ABE4; /* Bright blue */
border-radius: .5rem;
border-bottom: 2px solid #00ABE4; /* Bright blue */
border-right: 2px solid #00ABE4; /* Bright blue */
border-top: 2px solid #ffffff; /* White */
border-left: 2px solid #ffffff; /* White */
border-style: none;
transition-duration: 1s;
transition-property: border-top,
border-left,
border-bottom,
border-right,
box-shadow;
margin-bottom: 20px;
margin-right: 15px;
}
.add:hover {
border-color: #E9F1FA; /* Light blue */
box-shadow: rgba(0, 171, 228, 0.4) 5px 5px, rgba(0, 171, 228, 0.3) 10px 10px, rgba(0, 171, 228, 0.2) 15px 15px;
}
.action-buttons {
display: flex;
align-items: center;
}
.edit-btn,
.delete-btn {
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
}
.edit-btn {
background-color: #ffffff; /* Background color for Edit button (White) */
color: #00ABE4; /* Text color for Edit button (Bright blue) */
border: 1px solid #00ABE4; /* Border for Edit button (Bright blue) */
margin-right: 15px; /* Space between Edit and Delete button */
}
.edit-btn:hover {
background-color: #E9F1FA; /* Background color for Edit button on hover (Light blue) */
color: #0077b6; /* Text color for Edit button on hover (Darker blue) */
border-color: #0077b6; /* Border color for Edit button on hover (Darker blue) */
}
.delete-btn {
background-color: #ffffff; /* Background color for Delete button (White) */
color: #00ABE4; /* Text color for Delete button (Bright blue) */
border: 1px solid #00ABE4; /* Border for Delete button (Bright blue) */
}
.delete-btn:hover {
background-color: #E9F1FA; /* Background color for Delete button on hover (Light blue) */
color: #0077b6; /* Text color for Delete button on hover (Darker blue) */
border-color: #0077b6; /* Border color for Delete button on hover (Darker blue) */
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
overflow: auto;
justify-content: center;
align-items: center;
}
.modal-content {
background-color: #ffffff;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 50%;
border-radius: 8px;
}
@media (max-width: 768px) {
.sidebar {
width: 100%;
height: auto;
position: relative;
margin-bottom: 20px;
overflow: hidden;
}
.main-content {
margin-left: 0;
padding: 10px;
}
.modal-content {
width: 80%;
}
}
.footer {
background-color: #00abe4; /* Footer background color */
color: #ffffff; /* Footer text color */
padding: 20px; /* Footer padding */
text-align: center; /* Centered text */
font-size: 14px; /* Font size */
margin-top: 220px;
}
.footer a {
color: #ffffff; /* Footer link text color */
text-decoration: none; /* Remove underline from links */
margin: 0 5px; /* Space between links */
transition: color 0.3s ease; /* Transition for color change on hover */
}
.footer a:hover {
color: #f2f2f2; /* Footer link color on hover */
}
.tombol {
width: 50px;
height: 50px;
border-radius: 100%; /* Create circular button */
background-color: #00abe4;
border: none;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
cursor: pointer;
transition-duration: 0.3s;
overflow: hidden;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
}
.svgIcon {
width: 12px;
transition-duration: 0.3s;
}
.svgIcon path {
fill: white;
}
.tombol:hover {
width: 140px;
border-radius: 50px; /* Rounded corners on hover */
transition-duration: 0.3s;
background-color: #00abe4;
align-items: center;
}
.tombol:hover .svgIcon {
transition-duration: 0.3s;
transform: translateY(-200%);
}
.tombol::before {
position: absolute;
bottom: -20px;
content: "Back to Top";
color: white;
font-size: 0px;
}
.tombol:hover::before {
font-size: 13px;
opacity: 1;
bottom: unset;
transition-duration: 0.3s;
}