components.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .sidebar{
  2. display: flex;
  3. width: 18vw;
  4. height: 100vh;
  5. box-sizing: border-box;
  6. padding: 25px;
  7. transition: width 0.2s;
  8. overflow: hidden;
  9. box-shadow: -1px 0px 10px gray;
  10. }
  11. .sidebarHide{
  12. width: 0;
  13. transition: width 0.2s;
  14. margin: 0;
  15. padding: 0;
  16. overflow: hidden;
  17. visibility: hidden;
  18. }
  19. .sidebarHide *{
  20. width: 0;
  21. transition: width 0.2s;
  22. }
  23. .sidebarHide input{
  24. display: none;
  25. }
  26. #addIngredient{
  27. flex-direction: column;
  28. }
  29. #ingredientDetails{
  30. flex-direction: column;
  31. align-items: center;
  32. }
  33. #ingredientDetails button:first-of-type{
  34. background: none;
  35. border: none;
  36. cursor: pointer;
  37. margin-bottom: 100px;
  38. margin-right: auto;
  39. }
  40. .lineBorder{
  41. width: 100%;
  42. border-bottom: 1px solid gray;
  43. margin: 25px;
  44. }
  45. #ingredientDetails > p{
  46. border-radius: 10px;
  47. background: gray;
  48. color: white;
  49. padding: 0 3px;
  50. font-size: 14px;
  51. }
  52. #ingredientDetails label{
  53. font-size: 20px;
  54. text-align: center;
  55. }
  56. #ingredientDetails label p{
  57. font-size: 30px;
  58. font-weight: bold;
  59. padding: 10px;
  60. }