dashboard.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  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. /* Cards */
  105. .card{
  106. margin: 0 15px;
  107. border: 1px solid rgba(183, 183, 183, 0.9);
  108. border-radius: 7px;
  109. box-shadow: 1px 2px gray;
  110. flex-grow: 1;
  111. height: 100%;
  112. }
  113. .card > *{
  114. margin: 10px;
  115. }
  116. .card p:first-of-type{
  117. font-size: 14px;
  118. font-weight: bold;
  119. text-align: center;
  120. }
  121. /* Home Strand */
  122. #homeStrand{
  123. display: flex;
  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-grow: 0.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(1){
  178. width: 50%;
  179. }
  180. #inventoryCheckCard li input{
  181. width: 75px;
  182. margin-right: 25px;
  183. font-size: 20px;
  184. text-align: center;
  185. }
  186. #inventoryCheckCard li p:nth-of-type(2){
  187. width: 25%;
  188. min-width: 75px;
  189. }
  190. #inventoryCheckCard button{
  191. width: 150px;
  192. text-align: center;
  193. margin-left: auto;
  194. }
  195. #popularIngredientsCard{
  196. display: flex;
  197. flex-direction: column;
  198. align-items: center;
  199. }
  200. .notice{
  201. color: red;
  202. font-size: 35px;
  203. font-weight: bold;
  204. }
  205. /* Ingredients Strand */
  206. #ingredientsStrand{
  207. display: none;
  208. align-items: center;
  209. height: 100%;
  210. box-sizing: border-box;
  211. }
  212. #ingredientsStrand > h1{
  213. margin-bottom: 100px;
  214. }
  215. #ingredientHead button{
  216. display: flex;
  217. align-items: center;
  218. }
  219. #ingredientHead svg{
  220. margin-right: 5px;
  221. }
  222. #categoryList{
  223. align-items:center;
  224. overflow-y: auto;
  225. width: 80%;
  226. }
  227. .categoryDiv > div:first-of-type{
  228. display: flex;
  229. }
  230. .categoryDiv > div:first-of-type p{
  231. display: flex;
  232. align-items: center;
  233. padding: 20px 0 20px 100px;
  234. background: rgb(240, 252, 255);
  235. border: 1px solid gray;
  236. border-radius: 5px;
  237. margin-right: 25px;
  238. flex-grow: 1;
  239. }
  240. .categoryDiv > div:first-of-type button{
  241. padding: 10px;
  242. background: rgb(240, 252, 255);
  243. border: 1px solid black;
  244. border-radius: 5px;
  245. width: 75px;
  246. height: 75px;
  247. cursor: pointer;
  248. }
  249. .ingredientsDiv{
  250. flex-direction: column;
  251. }
  252. .ingredient{
  253. display: flex;
  254. width: 50%;
  255. padding: 15px;
  256. margin: auto;
  257. cursor: pointer;
  258. border-radius: 5px;
  259. }
  260. .ingredient:hover{
  261. background: rgb(0, 27, 45);
  262. color: white;
  263. }
  264. .ingredient > *{
  265. width: 33%;
  266. margin-right: 15px;
  267. }
  268. .ingredient > p:last-of-type{
  269. text-align: right;
  270. }
  271. .ingredientSpacer{
  272. border: none;
  273. border-top: 1px dashed black;
  274. margin: auto;
  275. }
  276. /* Recipe Book Strand */
  277. #recipeBookStrand{
  278. display: none;
  279. align-items: center;
  280. }
  281. #recipeHead{
  282. display: flex;
  283. justify-content: space-between;
  284. width: 100%;
  285. align-items: center;
  286. }
  287. #recipeHead svg{
  288. margin-right: 5px
  289. }
  290. #recipeList{
  291. display: flex;
  292. flex-direction: column;
  293. align-items: center;
  294. width: 50%;
  295. margin-top: 50px;
  296. overflow-y: auto;
  297. }
  298. /* Orders Strand */
  299. #ordersStrand{
  300. display: none;
  301. align-items: center;
  302. }
  303. #orderList{
  304. width: 50%;
  305. margin-top: 50px;
  306. overflow: auto;
  307. }
  308. #orderList p:first-of-type{
  309. font-weight: bold;
  310. font-size: 20px;
  311. }