inventory.css 3.3 KB

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