dashboard.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. html{
  2. height: 100%;
  3. max-width: 100%;
  4. }
  5. body{
  6. display: flex;
  7. flex-direction: row;
  8. height: 100%;
  9. max-width: 100%;
  10. }
  11. .contentBlock{
  12. width: 100%;
  13. height: 100vh;
  14. flex: 1;
  15. box-sizing: border-box;
  16. padding: 0 50px 0 50px;
  17. }
  18. .strand{
  19. flex-direction: column;
  20. height: 100%;
  21. width: 100%;
  22. }
  23. .strandTitle{
  24. text-align: left;
  25. margin: 15px;
  26. padding: 0;
  27. }
  28. /* Cards */
  29. .card{
  30. margin: 0 15px;
  31. border: 1px solid rgba(183, 183, 183, 0.9);
  32. border-radius: 7px;
  33. box-shadow: 1px 2px gray;
  34. flex-grow: 1;
  35. height: 100%;
  36. }
  37. .card > *{
  38. margin: 10px;
  39. }
  40. .card p:first-of-type{
  41. font-size: 14px;
  42. font-weight: bold;
  43. text-align: center;
  44. }
  45. /* Home Strand */
  46. #homeStrand{
  47. display: flex;
  48. }
  49. .flexRow{
  50. display: flex;
  51. justify-content: space-around;
  52. width: 100%;
  53. flex-basis: 100px;
  54. flex-grow: 1;
  55. margin: 15px 0;
  56. }
  57. #revenueCard{
  58. display: flex;
  59. flex-direction: column;
  60. justify-content: center;
  61. align-items: center;
  62. }
  63. #revenue{
  64. text-align: center;
  65. font-size: 30px;
  66. font-weight: bold;
  67. }
  68. #revenueChange{
  69. display: flex;
  70. }
  71. #revenueChange > p{
  72. font-weight: 100;
  73. }
  74. #revenueChange img{
  75. height: 15px;
  76. width: 15px;
  77. margin-right: 10px;
  78. }
  79. #graphCard{
  80. flex-grow: 5;
  81. display: flex;
  82. justify-content: center;
  83. }
  84. #inventoryCheckCard{
  85. display: flex;
  86. flex-direction: column;;
  87. justify-content: space-between;
  88. flex-grow: 0.1;
  89. }
  90. #inventoryCheckCard ul{
  91. list-style: none;
  92. }
  93. #inventoryCheckCard li{
  94. margin: 5px 0;
  95. }
  96. #inventoryCheckCard li > p{
  97. font-weight: 300;
  98. font-size: 15px;
  99. margin-right: 25px;
  100. }
  101. #inventoryCheckCard li > p:nth-of-type(1){
  102. width: 50%;
  103. }
  104. #inventoryCheckCard li input{
  105. width: 75px;
  106. margin-right: 25px;
  107. font-size: 20px;
  108. text-align: center;
  109. }
  110. #inventoryCheckCard li p:nth-of-type(2){
  111. width: 25%;
  112. min-width: 75px;
  113. }
  114. #inventoryCheckCard button{
  115. width: 150px;
  116. text-align: center;
  117. margin-left: auto;
  118. }
  119. #popularIngredientsCard{
  120. display: flex;
  121. flex-direction: column;
  122. align-items: center;
  123. }
  124. .notice{
  125. color: red;
  126. font-size: 35px;
  127. font-weight: bold;
  128. }
  129. /* Ingredients Strand */
  130. #ingredientsStrand{
  131. display: none;
  132. height: 100%;
  133. box-sizing: border-box;
  134. padding-right: 100px;
  135. }
  136. #ingredientsStrand > h1{
  137. margin-bottom: 100px;
  138. }
  139. #ingredientHead{
  140. display: flex;
  141. justify-content: space-between;
  142. align-items: center;
  143. margin-bottom: 100px;
  144. }
  145. #ingredientHead button{
  146. display: flex;
  147. align-items: center;
  148. }
  149. #ingredientHead svg{
  150. margin-right: 5px;
  151. }
  152. .categoryDiv > div:first-of-type{
  153. display: flex;
  154. margin: 0 0 0 10vw;
  155. width: 75%;
  156. }
  157. .categoryDiv > div:first-of-type p{
  158. display: flex;
  159. align-items: center;
  160. padding: 20px 0 20px 100px;
  161. background: rgb(240, 252, 255);
  162. border: 1px solid gray;
  163. border-radius: 5px;
  164. margin-right: 25px;
  165. flex-grow: 1;
  166. }
  167. .categoryDiv > div:first-of-type button{
  168. padding: 10px;
  169. background: rgb(240, 252, 255);
  170. border: 1px solid black;
  171. border-radius: 5px;
  172. width: 75px;
  173. height: 75px;
  174. cursor: pointer;
  175. }
  176. .ingredientsDiv{
  177. flex-direction: column;
  178. }
  179. .ingredient{
  180. display: flex;
  181. width: 50%;
  182. padding: 15px;
  183. margin-left: 15vw;
  184. cursor: pointer;
  185. border-radius: 5px;
  186. }
  187. .ingredient:hover{
  188. background: rgb(0, 27, 45);
  189. color: white;
  190. }
  191. .ingredient > *{
  192. width: 33%;
  193. margin-right: 15px;
  194. }
  195. .ingredient > p:last-of-type{
  196. text-align: right;
  197. }
  198. /* Recipe Book Strand */
  199. #recipeBookStrand{
  200. display: none;
  201. }
  202. #recipeHead{
  203. display: flex;
  204. justify-content: space-between;
  205. }
  206. #recipeList{
  207. display: flex;
  208. flex-direction: column;
  209. margin-top: 50px;
  210. }
  211. .recipeItem{
  212. display: flex;
  213. justify-content: space-between;
  214. align-items: center;
  215. background: rgb(240, 252, 255);
  216. border-radius: 5px;
  217. padding: 20px 20px;
  218. margin-left: 10vw;
  219. width: 25vw;
  220. border: 1px solid gray;
  221. cursor: pointer;
  222. width: 50%;
  223. }
  224. .recipeItem:hover{
  225. background: rgb(0, 27, 45);
  226. color: white;
  227. }
  228. /* Orders Strand */
  229. #ordersStrand{
  230. display: none;
  231. }