dashboard.css 4.6 KB

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