dashboard.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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 button{
  171. margin-left: auto;
  172. }
  173. .ingredientCheck{
  174. display: flex;
  175. align-items: center;
  176. margin: 5px 0;
  177. }
  178. .ingredientCheck p:first-of-type{
  179. width: 37%;
  180. font-weight: 300;
  181. font-size: 15px;
  182. margin-right: 25px;
  183. }
  184. .ingredientCheck p:last-of-type{
  185. width: 25%
  186. }
  187. .numberInput{
  188. display: flex;
  189. justify-content: center;
  190. width: 37%;
  191. margin-right: 25px;
  192. }
  193. .numberInput button{
  194. width: 30%;
  195. font-size: 23px;
  196. background: rgb(0, 27, 45);
  197. border: none;
  198. color: white;
  199. font-weight: bold;
  200. cursor: pointer;
  201. }
  202. .numberInput button:first-of-type{
  203. border-bottom-left-radius: 5px;
  204. border-top-left-radius: 5px;
  205. }
  206. .numberInput button:last-of-type{
  207. border-bottom-right-radius: 5px;
  208. border-top-right-radius: 5px;
  209. }
  210. .numberInput input{
  211. width: 40%;
  212. font-size: 15px;
  213. text-align: center;
  214. }
  215. .numberInput input::-webkit-outer-spin-button,
  216. .numberInput input::-webkit-inner-spin-button {
  217. -webkit-appearance: none;
  218. margin: 0;
  219. }
  220. .numberInput input[type=number] {
  221. -moz-appearance: textfield;
  222. }
  223. #popularIngredientsCard{
  224. display: flex;
  225. flex-direction: column;
  226. align-items: center;
  227. flex-basis: 100px;
  228. flex-grow: 2.5;
  229. }
  230. #popularCanvas{
  231. margin: 0 35px;
  232. }
  233. .notice{
  234. color: red;
  235. font-size: 35px;
  236. font-weight: bold;
  237. }
  238. /* Ingredients Strand */
  239. #ingredientsStrand{
  240. display: none;
  241. align-items: center;
  242. height: 100%;
  243. box-sizing: border-box;
  244. }
  245. #ingredientsStrand > h1{
  246. margin-bottom: 100px;
  247. }
  248. #ingredientHead button{
  249. display: flex;
  250. align-items: center;
  251. }
  252. #ingredientHead svg{
  253. margin-right: 5px;
  254. }
  255. #categoryList{
  256. align-items:center;
  257. overflow-y: auto;
  258. width: 80%;
  259. }
  260. .categoryDiv > div:first-of-type{
  261. display: flex;
  262. }
  263. .categoryDiv > div:first-of-type p{
  264. display: flex;
  265. align-items: center;
  266. padding: 20px 0 20px 100px;
  267. background: rgb(240, 252, 255);
  268. border: 1px solid gray;
  269. border-radius: 5px;
  270. margin-right: 25px;
  271. flex-grow: 1;
  272. }
  273. .categoryDiv > div:first-of-type button{
  274. padding: 10px;
  275. background: rgb(240, 252, 255);
  276. border: 1px solid black;
  277. border-radius: 5px;
  278. width: 75px;
  279. height: 75px;
  280. cursor: pointer;
  281. }
  282. .ingredientsDiv{
  283. flex-direction: column;
  284. }
  285. .ingredient{
  286. display: flex;
  287. width: 50%;
  288. padding: 15px;
  289. margin: auto;
  290. cursor: pointer;
  291. border-radius: 5px;
  292. }
  293. .ingredient:hover{
  294. background: rgb(0, 27, 45);
  295. color: white;
  296. }
  297. .ingredient > *{
  298. width: 33%;
  299. margin-right: 15px;
  300. }
  301. .ingredient > p:last-of-type{
  302. text-align: right;
  303. }
  304. .ingredientSpacer{
  305. border: none;
  306. border-top: 1px dashed black;
  307. margin: auto;
  308. }
  309. /* Recipe Book Strand */
  310. #recipeBookStrand{
  311. display: none;
  312. align-items: center;
  313. }
  314. #recipeHead{
  315. display: flex;
  316. justify-content: space-between;
  317. width: 100%;
  318. align-items: center;
  319. }
  320. #recipeHead svg{
  321. margin-right: 5px
  322. }
  323. #recipeList{
  324. display: flex;
  325. flex-direction: column;
  326. align-items: center;
  327. width: 50%;
  328. margin-top: 50px;
  329. overflow-y: auto;
  330. }
  331. /* Orders Strand */
  332. #ordersStrand{
  333. display: none;
  334. align-items: center;
  335. }
  336. #orderList{
  337. width: 50%;
  338. margin-top: 50px;
  339. overflow: auto;
  340. }
  341. #orderList p:first-of-type{
  342. font-weight: bold;
  343. font-size: 20px;
  344. }