inventory.css 3.4 KB

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