dashboard.css 7.4 KB

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