inventory.css 3.2 KB

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