Revize c1feb33a
Přidáno uživatelem plundrichov před více než 4 roky(ů)
client/src/App.css | ||
---|---|---|
74 | 74 |
.navIcon { |
75 | 75 |
color: white; |
76 | 76 |
margin: 5px; |
77 |
transition: 0.2s;
|
|
77 |
transition: 0.2s; |
|
78 | 78 |
} |
79 | 79 |
.navIcon:hover { |
80 | 80 |
color: rgb(57, 184, 177); |
... | ... | |
96 | 96 |
flex-direction: column; |
97 | 97 |
align-items: center; |
98 | 98 |
padding: 20px; |
99 |
background-color: rgb(129, 168, 162); |
|
99 | 100 |
} |
100 | 101 | |
101 | 102 |
/* --------- OFFS REQUEST ------------ */ |
... | ... | |
171 | 172 |
/* ------------ side content ------------- */ |
172 | 173 | |
173 | 174 |
.side-content { |
174 |
/* position: fixed; */ |
|
175 | 175 |
width: 35vw; |
176 | 176 |
height: 90vh; |
177 | 177 |
display: flex; |
178 | 178 |
justify-content: center; |
179 | 179 |
padding: 20px; |
180 |
background-color: rgb(129, 168, 162); |
|
180 | 181 | |
181 | 182 |
} |
182 | 183 | |
... | ... | |
199 | 200 |
} |
200 | 201 | |
201 | 202 |
.new-request { |
202 |
padding-bottom: 10px;
|
|
203 |
padding-bottom: 10px; |
|
203 | 204 |
} |
204 | 205 | |
205 | 206 |
.new-request h4 { |
... | ... | |
220 | 221 |
padding: 10px; |
221 | 222 |
} |
222 | 223 | |
223 |
table td { |
|
224 |
/* table td {
|
|
224 | 225 |
width: 50px; |
225 |
} |
|
226 |
|
|
226 |
} */
|
|
227 | ||
227 | 228 |
.side-content table td { |
228 | 229 |
height: 50px; |
229 | 230 |
} |
230 | 231 |
.side-content .td-center { |
231 | 232 |
text-align: center; |
232 |
|
|
233 | ||
233 | 234 |
} |
234 | 235 |
.side-content .th-left { |
235 | 236 |
text-align: left; |
... | ... | |
243 | 244 |
width: 50px; |
244 | 245 |
} |
245 | 246 | |
247 |
.offs-btn { |
|
248 |
justify-content: flex-end; |
|
249 |
margin-right: 20px; |
|
250 |
} |
|
251 | ||
252 |
.offs-btn .btn { |
|
253 |
margin:2 5px ; |
|
254 |
} |
|
255 | ||
246 | 256 |
.btn-edit { |
247 | 257 |
padding: 8px 8px 6px; |
248 | 258 |
border: 0.5px solid rgb(92, 92, 92); |
249 | 259 |
background-color: rgb(247, 247, 247); |
250 | 260 |
border-radius: 50px; |
261 |
transition: all 0.2s; |
|
251 | 262 |
} |
252 | 263 | |
253 | 264 |
.btn-edit:hover { |
254 | 265 |
border: 0.7px solid rgb(78, 78, 78); |
255 | 266 |
background-color: rgb(236, 236, 236); |
256 |
cursor: pointer;
|
|
267 |
cursor: pointer; |
|
257 | 268 |
} |
258 | 269 | |
259 | 270 |
/* -------------------Login------------------- */ |
... | ... | |
271 | 282 |
left: 50%; |
272 | 283 |
transform: translate(-50%, -50%); |
273 | 284 |
transition: all 0.3s; |
274 |
cursor: pointer;
|
|
285 |
cursor: pointer; |
|
275 | 286 |
} |
276 | 287 | |
277 | 288 |
.login-container:hover { |
278 |
background-color: #ffffff25;
|
|
289 |
background-color: #ffffff25; |
|
279 | 290 |
} |
280 | 291 |
.login-container h1 { |
281 | 292 |
color: white; |
... | ... | |
294 | 305 |
background-color: #ffffff41; |
295 | 306 |
border: 2px solid #ffffffd8; |
296 | 307 |
border-radius: 10px; |
297 |
color: #fff;
|
|
308 |
color: #fff; |
|
298 | 309 |
} |
299 | 310 | |
300 | 311 |
.setting-container h2 { |
... | ... | |
306 | 317 |
.underline-2 { |
307 | 318 |
height: 1px; |
308 | 319 |
background-color: #fff; |
309 |
width: 70%;
|
|
320 |
width: 70%; |
|
310 | 321 |
} |
311 | 322 | |
312 | 323 |
.setting-form { |
... | ... | |
324 | 335 |
margin: 20px 20px; |
325 | 336 |
} |
326 | 337 | |
338 |
/*----------------------Buttons----------------------*/ |
|
339 | ||
327 | 340 |
.buttons { |
328 | 341 |
padding: 20px |
329 | 342 |
} |
... | ... | |
372 | 385 | |
373 | 386 |
/* ------------ responsive --------- */ |
374 | 387 | |
375 |
@media only screen and (max-width: 768px) { |
|
376 |
table { |
|
388 |
@media only screen and (max-width: 990px) { |
|
389 |
.side-content { |
|
390 |
font-size: 13px; |
|
391 |
} |
|
392 |
.side-content h3 { |
|
393 |
font-size: 18px; |
|
394 |
} |
|
395 |
.btn-edit { |
|
396 |
padding: 6px 6px 4px; |
|
397 |
} |
|
398 |
.offs-item { |
|
377 | 399 |
font-size: 13px; |
378 | 400 |
} |
379 | 401 |
} |
380 | 402 | |
381 |
@media only screen and (max-width: 702px) { |
|
403 |
@media only screen and (max-width: 870px) { |
|
404 |
table { |
|
405 |
font-size: 12px; |
|
406 |
padding: 0; |
|
407 |
} |
|
408 |
.offsInput { |
|
409 |
width: 30px; |
|
410 |
font-size: 12px; |
|
411 |
} |
|
412 |
} |
|
413 | ||
414 |
@media only screen and (max-width: 792px) { |
|
382 | 415 |
.container { |
383 | 416 |
height: 100vh; |
384 | 417 |
flex-direction: column; |
... | ... | |
387 | 420 |
.main-content { |
388 | 421 |
width: 100%; |
389 | 422 |
justify-content: space-evenly; |
390 |
|
|
423 | ||
391 | 424 |
} |
392 | 425 | |
393 | 426 |
.offs-request { |
... | ... | |
402 | 435 |
.side-content { |
403 | 436 |
height: 100%; |
404 | 437 |
width: 100%; |
438 |
padding-top: 0; |
|
405 | 439 |
} |
406 | 440 | |
407 | 441 |
.side-board { |
... | ... | |
449 | 483 |
display: flex; |
450 | 484 |
} |
451 | 485 | |
486 |
.main-content .btn { |
|
487 |
margin-left: 10px; |
|
488 |
} |
|
489 |
.offs-item td { |
|
490 |
text-align: left; |
|
491 |
} |
|
492 | ||
452 | 493 | |
453 |
}
|
|
494 |
} |
|
454 | 495 | |
455 | 496 |
@media only screen and (max-width: 480px) { |
456 | 497 |
.top-nav h3 { |
... | ... | |
508 | 549 |
.date-input { |
509 | 550 |
width: 140px; |
510 | 551 |
} |
511 |
|
|
552 | ||
512 | 553 |
.side-content { |
513 | 554 |
background-color: rgb(129, 168, 162); |
514 | 555 |
padding-top: 0px; |
515 | 556 |
} |
557 |
.side-content th, |
|
558 |
.side-content td, |
|
559 |
.side-content .td-center { |
|
560 |
text-align: left; |
|
561 |
} |
|
562 |
.side-content h3 { |
|
563 |
text-align: left; |
|
564 |
} |
|
565 | ||
566 |
.offs-btn { |
|
567 |
margin-right: 0; |
|
568 |
} |
|
569 |
.offs-btn .btn { |
|
570 |
padding: 4px 6px; |
|
571 |
font-size: 12px; |
|
572 |
margin: 2px 0px 2px 5px; |
|
573 |
} |
|
516 | 574 | |
517 | 575 |
/* .side-board { |
518 | 576 |
box-shadow: 1px 0px 15px rgb(161, 161, 161); |
... | ... | |
581 | 639 |
} |
582 | 640 | |
583 | 641 |
.calendar-form h4 { |
584 |
|
|
642 | ||
585 | 643 |
font-size: 14px; |
586 | 644 |
} |
587 | 645 | |
... | ... | |
592 | 650 |
.date-input { |
593 | 651 |
width: 135px; |
594 | 652 |
} |
653 |
.offs-request table { |
|
654 |
font-size: 10px; |
|
655 | ||
656 |
} |
|
657 |
.offs-request td { |
|
658 |
padding: 5px 0; |
|
659 |
} |
|
660 |
.offs-btn .btn { |
|
661 |
padding: 4px; |
|
662 |
font-size: 11px; |
|
663 |
margin: 5px 0px 2px 5px; |
|
664 |
} |
|
595 | 665 |
} |
596 | 666 | |
597 | 667 |
/* .todoDiv { |
Také k dispozici: Unified diff
re #58 css responsive