dashboard.css 5.2 KB

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