inventory.css 3.3 KB

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