inventory.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. #title{
  2. font-size: 45px;
  3. color: rgb(255, 99, 107);
  4. text-align: center;
  5. margin-top: 25px;
  6. }
  7. /* Inventory Strand */
  8. #inventoryStrand{
  9. flex-direction: column;
  10. align-items: center;
  11. }
  12. #inventoryStrand > *{
  13. margin: 10px;
  14. }
  15. #inventoryStrand th{
  16. cursor: pointer;
  17. }
  18. .options{
  19. display: flex;
  20. justify-content: space-between;
  21. align-items: center;
  22. }
  23. .options > *{
  24. margin: 10px;
  25. }
  26. #filter{
  27. max-height: 32px;
  28. }
  29. /* Recipes Strand */
  30. #recipesStrand{
  31. flex-direction: column;
  32. align-items: center;
  33. }
  34. #recipesStrand > *{
  35. margin: 15px;
  36. }
  37. #recipeUpdate{
  38. margin-bottom: 10px;
  39. }
  40. #recipesContainer{
  41. display: flex;
  42. justify-content: space-around;
  43. flex-wrap: wrap;
  44. padding: 25px;
  45. }
  46. .recipe-card{
  47. border: 2px solid rgb(255, 99, 107);
  48. box-shadow: 2px 2px 2px rgb(0, 27, 45);
  49. background: rgb(0, 27, 45);
  50. color: rgb(255, 99, 107);
  51. width: 20%;
  52. min-width: 200px;
  53. padding: 35px;
  54. margin: 25px;
  55. border-radius: 10px;
  56. cursor: pointer;
  57. }
  58. .recipe-card:hover{
  59. transform: translateY(-3px);
  60. }
  61. .empty-recipe{
  62. background: rgb(255, 99, 107);
  63. border: 2px solid rgb(0, 27, 45);
  64. color: rgb(0, 27, 45);
  65. }
  66. /* Account Strand */
  67. #accountStrand{
  68. flex-direction: column;
  69. align-items: center;
  70. }
  71. #accountStrand label{
  72. display: flex;
  73. }
  74. /* Add Ingredient Action */
  75. #addIngredientAction{
  76. flex-direction: column;
  77. align-items: center;
  78. }
  79. #addIngredientAction > *{
  80. margin: 25px;
  81. }
  82. .container{
  83. display: flex;
  84. justify-content: space-around;
  85. }
  86. /* Enter Transactions Action */
  87. #enterTransactionsAction{
  88. flex-direction: column;
  89. align-items: center;
  90. }
  91. #enterTransactionsAction > *{
  92. margin: 10px;
  93. }
  94. /* Enter Purchase Action */
  95. #enterPurchaseAction{
  96. flex-direction: column;
  97. align-items: center;
  98. }
  99. #enterPurchaseAction > *{
  100. margin: 10px;
  101. }
  102. /* Single Recipe Action */
  103. #singleRecipeAction{
  104. display: none;
  105. flex-direction: column;
  106. margin: auto;
  107. align-items: center;
  108. }
  109. #singleRecipeAction > *{
  110. margin: 15px;
  111. }
  112. #delRecipe{
  113. display: "none"
  114. }
  115. @media screen and (max-width: 1000px){
  116. /* General use */
  117. body{
  118. text-align: center;
  119. }
  120. /* Single Recipe Action */
  121. #singleRecipeAction .buttonsDiv{
  122. font-size: 15px;
  123. }
  124. #singleRecipeAction input{
  125. max-width: 100px;
  126. }
  127. }
  128. @media screen and (max-width: 600px){
  129. /* Inventory Strand */
  130. #inventoryStrand h1{
  131. font-size: 20px;
  132. text-align: center;
  133. margin: 5px;
  134. }
  135. .options{
  136. flex-direction: column;
  137. }
  138. .options > *{
  139. margin: 5px;
  140. }
  141. #inventoryStrand .button-small{
  142. font-size: 12px;
  143. }
  144. #inventoryStrand td, #inventoryStrand th{
  145. padding: 3px;
  146. font-size: 12px;
  147. }
  148. /* addIngredientStrand */
  149. .container{
  150. flex-direction: column;
  151. }
  152. #addIngredientAction > *{
  153. margin: 10px;
  154. }
  155. }