dashboard.css 4.7 KB

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