inventory.css 3.6 KB

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