inventory.css 3.9 KB

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