dashboard.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. html{
  2. height: 100%;
  3. max-width: 100%;
  4. }
  5. body{
  6. display: flex;
  7. flex-direction: row;
  8. font-family: 'Saira', sans-serif;
  9. height: 100%;
  10. max-width: 100%;
  11. }
  12. .contentBlock{
  13. width: 100%;
  14. height: 100vh;
  15. flex: 1;
  16. box-sizing: border-box;
  17. padding: 0 50px 0 50px;
  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. /* Cards */
  30. .card{
  31. margin: 0 15px;
  32. border: 1px solid rgba(183, 183, 183, 0.9);
  33. border-radius: 7px;
  34. box-shadow: 1px 2px gray;
  35. flex-grow: 1;
  36. height: 100%;
  37. }
  38. .card > *{
  39. margin: 10px;
  40. }
  41. .card p:first-of-type{
  42. font-size: 14px;
  43. font-weight: bold;
  44. text-align: center;
  45. }
  46. /* Home Strand */
  47. #homeStrand{
  48. display: flex;
  49. }
  50. .flexRow{
  51. display: flex;
  52. justify-content: space-around;
  53. width: 100%;
  54. flex-basis: 100px;
  55. flex-grow: 1;
  56. margin: 15px 0;
  57. }
  58. #revenueCard{
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: center;
  62. align-items: center;
  63. }
  64. #revenue{
  65. text-align: center;
  66. font-size: 30px;
  67. font-weight: bold;
  68. }
  69. #revenueChange{
  70. display: flex;
  71. }
  72. #revenueChange > p{
  73. font-weight: 100;
  74. }
  75. #revenueChange img{
  76. height: 15px;
  77. width: 15px;
  78. margin-right: 10px;
  79. }
  80. #graphCard{
  81. flex-grow: 5;
  82. display: flex;
  83. justify-content: center;
  84. }
  85. #inventoryCheckCard{
  86. display: flex;
  87. flex-direction: column;;
  88. justify-content: space-between;
  89. flex-grow: 0.1;
  90. }
  91. #inventoryCheckCard ul{
  92. list-style: none;
  93. }
  94. #inventoryCheckCard li{
  95. margin: 5px 0;
  96. }
  97. #inventoryCheckCard li > p{
  98. font-weight: 300;
  99. font-size: 15px;
  100. margin-right: 25px;
  101. }
  102. #inventoryCheckCard li > p:nth-of-type(1){
  103. width: 50%;
  104. }
  105. #inventoryCheckCard li input{
  106. width: 75px;
  107. margin-right: 25px;
  108. font-size: 20px;
  109. text-align: center;
  110. }
  111. #inventoryCheckCard li p:nth-of-type(2){
  112. width: 25%;
  113. min-width: 75px;
  114. }
  115. #inventoryCheckCard button{
  116. width: 150px;
  117. text-align: center;
  118. margin-left: auto;
  119. }
  120. #popularIngredientsCard{
  121. display: flex;
  122. flex-direction: column;
  123. align-items: center;
  124. }
  125. .notice{
  126. color: red;
  127. font-size: 35px;
  128. font-weight: bold;
  129. }
  130. /* Ingredients Strand */
  131. #ingredientsStrand{
  132. display: none;
  133. height: 100vh;
  134. box-sizing: border-box;
  135. padding-right: 100px;
  136. }
  137. #ingredientsStrand > h1{
  138. margin-bottom: 100px;
  139. }
  140. #ingredientHead{
  141. display: flex;
  142. justify-content: space-between;
  143. align-items: center;
  144. margin-bottom: 100px;
  145. }
  146. #ingredientHead button{
  147. display: flex;
  148. align-items: center;
  149. }
  150. #ingredientHead svg{
  151. margin-right: 5px;
  152. }
  153. .categoryDiv > div:first-of-type{
  154. display: flex;
  155. margin-left: 15px;
  156. width: 100%;
  157. }
  158. .categoryDiv > div:first-of-type p{
  159. display: flex;
  160. align-items: center;
  161. padding: 20px 0 20px 100px;
  162. background: rgb(240, 252, 255);
  163. border: 1px solid gray;
  164. border-radius: 5px;
  165. margin-right: 25px;
  166. flex-grow: 1;
  167. }
  168. .categoryDiv > div:first-of-type button{
  169. padding: 10px;
  170. background: rgb(240, 252, 255);
  171. border: 1px solid black;
  172. border-radius: 5px;
  173. width: 75px;
  174. height: 75px;
  175. cursor: pointer;
  176. }
  177. .ingredientsDiv{
  178. flex-direction: column;
  179. }
  180. .ingredient{
  181. display: flex;
  182. width: 40%;
  183. padding: 15px;
  184. margin-left: 150px;
  185. cursor: pointer;
  186. border-radius: 5px;
  187. }
  188. .ingredient:hover{
  189. background: rgb(0, 27, 45);
  190. color: white;
  191. }
  192. .ingredient > *{
  193. width: 33%;
  194. margin-right: 15px;
  195. }
  196. .ingredient > p:last-of-type{
  197. text-align: right;
  198. }
  199. /* Recipe Book Strand */
  200. #recipeBookStrand{
  201. display: none;
  202. }
  203. #recipeHead{
  204. display: flex;
  205. justify-content: space-between;
  206. }
  207. #recipeList{
  208. display: flex;
  209. flex-direction: column;
  210. }
  211. .recipeItem{
  212. display: flex;
  213. justify-content: space-between;
  214. background: rgb(240, 252, 255);
  215. box-shadow: 0 2px 5px gray;
  216. border-radius: 5px;
  217. padding: 15px;
  218. margin: 3px 3px 3px 100px;
  219. width: 25vw;
  220. border: 1px solid black;
  221. cursor: pointer;
  222. }
  223. .recipeItem p:first-of-type{
  224. font-size: 20px;
  225. font-weight: bold;
  226. }
  227. .recipeItem:hover{
  228. background: rgb(0, 27, 45);
  229. color: white;
  230. }
  231. /* Orders Strand */
  232. #ordersStrand{
  233. display: none;
  234. }