dashboard.css 7.7 KB

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