dashboard.css 4.9 KB

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