dashboard.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  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: space-between;
  53. align-items: center;
  54. margin-bottom: 3px;
  55. width: 80%;
  56. padding: 10px 25px;
  57. box-sizing: border-box;
  58. background: rgb(0, 27,45);
  59. border-radius: 5px;
  60. }
  61. .searchAndIcon{
  62. display: flex;
  63. }
  64. .searchAndIcon svg{
  65. background: rgb(201, 201, 201);
  66. border-bottom-left-radius: 5px;
  67. border-top-left-radius: 5px;
  68. color: gray;
  69. padding: 5px;
  70. }
  71. .searchAndIcon input{
  72. background: rgb(201, 201, 201);
  73. border: none;
  74. height: 30px;
  75. border-bottom-right-radius: 5px;
  76. border-top-right-radius: 5px;
  77. font-size: 20px;
  78. padding: 5px 0 5px 10px;
  79. }
  80. .clearButton{
  81. background: none;
  82. border: none;
  83. color: rgb(255, 99, 107);
  84. cursor: pointer;
  85. }
  86. .clearButton:hover{
  87. background: rgb(0, 27, 45);
  88. }
  89. .searchBar select{
  90. background: rgb(201, 201, 201);
  91. font-size: 20px;
  92. border-radius: 5px;
  93. border: none;
  94. height: 30px;
  95. padding: 5px 0;
  96. box-sizing: content-box;
  97. -webkit-appearance: none;
  98. -moz-appearance: none;
  99. background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  100. background-repeat: no-repeat;
  101. background-position-x: 100%;
  102. background-position-y: 50%;
  103. cursor: pointer;
  104. }
  105. /* Home Strand */
  106. #homeStrand{
  107. display: flex;
  108. }
  109. .card{
  110. margin: 0 15px;
  111. border: 1px solid rgba(183, 183, 183, 0.9);
  112. border-radius: 7px;
  113. box-shadow: 1px 2px gray;
  114. flex-grow: 1;
  115. height: 100%;
  116. }
  117. .card > *{
  118. margin: 10px;
  119. }
  120. .card p:first-of-type{
  121. font-size: 14px;
  122. font-weight: bold;
  123. text-align: center;
  124. }
  125. .flexRow{
  126. display: flex;
  127. justify-content: space-around;
  128. width: 100%;
  129. flex-basis: 100px;
  130. flex-grow: 1;
  131. margin: 15px 0;
  132. }
  133. #revenueCard{
  134. display: flex;
  135. flex-direction: column;
  136. justify-content: center;
  137. align-items: center;
  138. }
  139. #revenue{
  140. text-align: center;
  141. font-size: 30px;
  142. font-weight: bold;
  143. }
  144. #revenueChange{
  145. display: flex;
  146. }
  147. #revenueChange > p{
  148. font-weight: 100;
  149. }
  150. #revenueChange img{
  151. height: 15px;
  152. width: 15px;
  153. margin-right: 10px;
  154. }
  155. #graphCard{
  156. flex-grow: 5;
  157. display: flex;
  158. justify-content: center;
  159. }
  160. #inventoryCheckCard{
  161. display: flex;
  162. flex-direction: column;;
  163. justify-content: space-between;
  164. flex-basis: 100px;
  165. flex-grow: 1;
  166. }
  167. #inventoryCheckCard ul{
  168. list-style: none;
  169. }
  170. #inventoryCheckCard li{
  171. margin: 5px 0;
  172. }
  173. #inventoryCheckCard li > p{
  174. font-weight: 300;
  175. font-size: 15px;
  176. margin-right: 25px;
  177. }
  178. #inventoryCheckCard li p:nth-of-type(2){
  179. width: 25%;
  180. min-width: 75px;
  181. }
  182. #inventoryCheckCard button{
  183. margin-left: auto;
  184. }
  185. .ingredientCheck p:first-of-type{
  186. width: 33%;
  187. }
  188. .ingredientCheck p:last-of-type{
  189. width: 33%
  190. }
  191. .numberInput{
  192. display: flex;
  193. justify-content: center;
  194. width: 33%;
  195. margin-right: 25px;
  196. }
  197. .numberInput button{
  198. width: 30%;
  199. font-size: 23px;
  200. background: rgb(0, 27, 45);
  201. border: none;
  202. color: white;
  203. font-weight: bold;
  204. cursor: pointer;
  205. }
  206. .numberInput button:first-of-type{
  207. border-bottom-left-radius: 5px;
  208. border-top-left-radius: 5px;
  209. }
  210. .numberInput button:last-of-type{
  211. border-bottom-right-radius: 5px;
  212. border-top-right-radius: 5px;
  213. }
  214. .numberInput input{
  215. width: 40%;
  216. font-size: 20px;
  217. text-align: center;
  218. }
  219. .numberInput input::-webkit-outer-spin-button,
  220. .numberInput input::-webkit-inner-spin-button {
  221. -webkit-appearance: none;
  222. margin: 0;
  223. }
  224. .numberInput input[type=number] {
  225. -moz-appearance: textfield;
  226. }
  227. #popularIngredientsCard{
  228. display: flex;
  229. flex-direction: column;
  230. align-items: center;
  231. flex-basis: 100px;
  232. flex-grow: 2.5;
  233. }
  234. #popularCanvas{
  235. margin: 0 35px;
  236. }
  237. .notice{
  238. color: red;
  239. font-size: 35px;
  240. font-weight: bold;
  241. }
  242. /* Ingredients Strand */
  243. #ingredientsStrand{
  244. display: none;
  245. align-items: center;
  246. height: 100%;
  247. box-sizing: border-box;
  248. }
  249. #ingredientsStrand > h1{
  250. margin-bottom: 100px;
  251. }
  252. #ingredientHead button{
  253. display: flex;
  254. align-items: center;
  255. }
  256. #ingredientHead svg{
  257. margin-right: 5px;
  258. }
  259. #categoryList{
  260. align-items:center;
  261. overflow-y: auto;
  262. width: 80%;
  263. }
  264. .categoryDiv > div:first-of-type{
  265. display: flex;
  266. }
  267. .categoryDiv > div:first-of-type p{
  268. display: flex;
  269. align-items: center;
  270. padding: 20px 0 20px 100px;
  271. background: rgb(240, 252, 255);
  272. border: 1px solid gray;
  273. border-radius: 5px;
  274. margin-right: 25px;
  275. flex-grow: 1;
  276. }
  277. .categoryDiv > div:first-of-type button{
  278. padding: 10px;
  279. background: rgb(240, 252, 255);
  280. border: 1px solid black;
  281. border-radius: 5px;
  282. width: 75px;
  283. height: 75px;
  284. cursor: pointer;
  285. }
  286. .ingredientsDiv{
  287. flex-direction: column;
  288. }
  289. .ingredient{
  290. display: flex;
  291. width: 50%;
  292. padding: 15px;
  293. margin: auto;
  294. cursor: pointer;
  295. border-radius: 5px;
  296. }
  297. .ingredient:hover{
  298. background: rgb(0, 27, 45);
  299. color: white;
  300. }
  301. .ingredient > *{
  302. width: 33%;
  303. margin-right: 15px;
  304. }
  305. .ingredient > p:last-of-type{
  306. text-align: right;
  307. }
  308. .ingredientSpacer{
  309. border: none;
  310. border-top: 1px dashed black;
  311. margin: auto;
  312. }
  313. /* Recipe Book Strand */
  314. #recipeBookStrand{
  315. display: none;
  316. align-items: center;
  317. }
  318. #recipeHead{
  319. display: flex;
  320. justify-content: space-between;
  321. width: 100%;
  322. align-items: center;
  323. }
  324. #recipeHead svg{
  325. margin-right: 5px
  326. }
  327. #recipeList{
  328. display: flex;
  329. flex-direction: column;
  330. align-items: center;
  331. width: 50%;
  332. margin-top: 50px;
  333. overflow-y: auto;
  334. }
  335. /* Orders Strand */
  336. #ordersStrand{
  337. display: none;
  338. align-items: center;
  339. }
  340. #orderList{
  341. width: 50%;
  342. margin-top: 50px;
  343. overflow: auto;
  344. }
  345. #orderList p:first-of-type{
  346. font-weight: bold;
  347. font-size: 20px;
  348. }