inventory.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. /* Account Strand */
  70. #accountStrand{
  71. flex-direction: column;
  72. align-items: center;
  73. }
  74. #accountStrand label{
  75. display: flex;
  76. }
  77. #accountEdit{
  78. display: none;
  79. }
  80. #passwordEdit{
  81. display: none;
  82. }
  83. /* Add Ingredient Action */
  84. #addIngredientAction{
  85. flex-direction: column;
  86. align-items: center;
  87. }
  88. #addIngredientAction > *{
  89. margin: 25px;
  90. }
  91. .container{
  92. display: flex;
  93. justify-content: space-around;
  94. }
  95. /* Enter Transactions Action */
  96. #enterTransactionsAction{
  97. flex-direction: column;
  98. align-items: center;
  99. }
  100. #enterTransactionsAction > *{
  101. margin: 10px;
  102. }
  103. /* Enter Purchase Action */
  104. #enterPurchaseAction{
  105. flex-direction: column;
  106. align-items: center;
  107. }
  108. #enterPurchaseAction > *{
  109. margin: 10px;
  110. }
  111. /* Single Recipe Action */
  112. #singleRecipeAction{
  113. display: none;
  114. flex-direction: column;
  115. margin: auto;
  116. align-items: center;
  117. }
  118. #singleRecipeAction > *{
  119. margin: 15px;
  120. }
  121. #delRecipe{
  122. display: "none"
  123. }
  124. @media screen and (max-width: 1000px){
  125. /* General use */
  126. body{
  127. text-align: center;
  128. }
  129. /* Single Recipe Action */
  130. #singleRecipeAction .buttonsDiv{
  131. font-size: 15px;
  132. }
  133. #singleRecipeAction input{
  134. max-width: 100px;
  135. }
  136. }
  137. @media screen and (max-width: 600px){
  138. /* Inventory Strand */
  139. #inventoryStrand h1{
  140. font-size: 20px;
  141. text-align: center;
  142. margin: 5px;
  143. }
  144. .options{
  145. flex-direction: column;
  146. }
  147. .options > *{
  148. margin: 5px;
  149. }
  150. #inventoryStrand .button-small{
  151. font-size: 12px;
  152. }
  153. #inventoryStrand td, #inventoryStrand th{
  154. padding: 3px;
  155. font-size: 12px;
  156. }
  157. /* addIngredientStrand */
  158. .container{
  159. flex-direction: column;
  160. }
  161. #addIngredientAction > *{
  162. margin: 10px;
  163. }
  164. }