dashboard.css 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. @media screen and (orientation: portrait){
  2. @media screen and (max-width: 1400px){
  3. body{
  4. background:rgb(0, 27, 45);
  5. }
  6. .button{
  7. padding: 3px 0;
  8. }
  9. .mobileMenuSelector{
  10. color:rgb(240, 252, 255);
  11. z-index: 10;
  12. }
  13. .strandTitle{
  14. color: white;
  15. position: fixed;
  16. top: 15px;
  17. left: 0;
  18. right: 0;
  19. margin: 0;
  20. text-align: center;
  21. font-size: 20px;
  22. }
  23. .choosable{
  24. background:rgb(201, 201, 201);
  25. color: black;
  26. }
  27. /* HOME */
  28. #inventoryCheckCard{
  29. display: none;
  30. }
  31. #graphCard{
  32. display: none;
  33. }
  34. .card{
  35. background: white;
  36. }
  37. /* INGREDIENT INVENTORY */
  38. #categoryList{
  39. width: 95%;
  40. }
  41. .categoryDiv{
  42. margin: 5px;
  43. }
  44. .categoryDiv > div:first-of-type p{
  45. padding: 10px;
  46. margin-right: 15px;
  47. }
  48. .categoryDiv > div:first-of-type button{
  49. padding: 10px;
  50. height: initial;
  51. width: initial;
  52. display: flex;
  53. }
  54. .ingredientsDiv{
  55. width: 90%;
  56. }
  57. /* RECIPE BOOK */
  58. #recipeList{
  59. width: 90%;
  60. }
  61. /* ANALYTICS */
  62. #analyticsStrand .strandHead{
  63. height: 23vh;
  64. flex-direction: column;
  65. }
  66. #analyticsStrand .strandTitle{
  67. position: static;
  68. }
  69. .switch{
  70. margin-top: 0;
  71. }
  72. .analDateRange{
  73. display: none;
  74. }
  75. .analContent{
  76. flex-direction: column;
  77. justify-content: space-between;
  78. padding: 0;
  79. height: 70vh;
  80. }
  81. .itemsList{
  82. width: 90%;
  83. height: 47%;
  84. margin-bottom: 10px;
  85. }
  86. .analData{
  87. height: 47%;
  88. }
  89. .dataRow{
  90. flex-direction: column;
  91. }
  92. #itemUseGraph{
  93. display: none;
  94. }
  95. #analDailyAverages{
  96. display: none;
  97. }
  98. #recipeSalesGraph{
  99. display: none;
  100. }
  101. /* ORDERS */
  102. #ordersStrand .strandHead{
  103. justify-content: center;
  104. }
  105. #newOrderBtn{
  106. display: none;
  107. }
  108. #orderList{
  109. width: 90%;
  110. }
  111. #orderList > div p:nth-child(2){
  112. display: none;
  113. }
  114. /* TRANSACTIONS */
  115. #transactionsStrand .strandHead{
  116. justify-content: center;
  117. }
  118. .transactionsList{
  119. width: 90%;
  120. }
  121. @media screen and (min-width: 601px){
  122. .strandTitle{
  123. font-size: 40px;
  124. }
  125. .mobileMenuSelector{
  126. left: 40px;
  127. top: 20px;
  128. }
  129. /* HOME */
  130. #graphCard{
  131. display: flex;
  132. }
  133. /* RECIPE BOOK */
  134. #recipeList{
  135. width: 75%;
  136. }
  137. /* ORDERS */
  138. #ordersStrand .strandHead{
  139. margin-top: 25px;
  140. }
  141. /* TRANSACTIONS */
  142. #transactionsStrand .strandHead{
  143. margin-top: 25px;
  144. }
  145. }
  146. }
  147. }
  148. @media screen and (orientation: landscape){
  149. @media screen and (max-width: 1200px){
  150. body{
  151. background: rgb(0, 27, 45);
  152. }
  153. .contentBlock{
  154. padding: 0;
  155. }
  156. .button{
  157. padding: 3px 0;
  158. }
  159. .mobileMenuSelector{
  160. display: flex;
  161. color: rgb(240, 252, 255);
  162. z-index: 10;
  163. }
  164. .strandHead{
  165. color: white;
  166. position: fixed;
  167. top: 5px;
  168. left: 25px;
  169. right: 0;
  170. margin: 0;
  171. text-align: center;
  172. font-size: 20px;
  173. }
  174. .strandTitle{
  175. margin: 0;
  176. }
  177. .choosable{
  178. background: rgb(201, 201, 201);
  179. color: black;
  180. }
  181. /* HOME */
  182. #homeStrand{
  183. flex-direction: row;
  184. padding: 0;
  185. align-items: flex-end;
  186. }
  187. #graphCard{
  188. display: none;
  189. }
  190. #inventoryCheckCard{
  191. display: none;
  192. }
  193. .flexRow{
  194. height: 80%;
  195. }
  196. .flexRow:nth-child(3){
  197. flex-grow: 2;
  198. }
  199. .card{
  200. background: white;
  201. }
  202. #popularIngredientsCard{
  203. max-height: 100%;
  204. padding-bottom: 5px;
  205. }
  206. /* INGREDIENTS */
  207. #ingredientsStrand{
  208. padding-bottom: 10px;
  209. justify-content: flex-end;
  210. }
  211. #categoryList{
  212. height: 70%;
  213. }
  214. .categoryDiv{
  215. margin: 3px;
  216. }
  217. .categoryDiv > div:first-of-type p{
  218. padding: 5px 10px;
  219. }
  220. .categoryDiv > div:first-of-type button{
  221. padding: 0;
  222. height: initial;
  223. width: initial;
  224. display: flex;
  225. align-items: center;
  226. }
  227. .ingredientsDiv{
  228. width: 90%;
  229. }
  230. /* RECIPE BOOK */
  231. #recipeBookStrand{
  232. padding-bottom: 10px;
  233. justify-content: flex-end;
  234. }
  235. #recipeList{
  236. height: 70%;
  237. }
  238. /* ANALYTICS */
  239. #analyticsStrand{
  240. padding-bottom: 10px;
  241. justify-content: space-between;
  242. }
  243. #analyticsStrand .strandHead{
  244. position: static;
  245. height: unset;
  246. flex-wrap: wrap;
  247. }
  248. #analyticsStrand .strandTitle{
  249. width: 100%;
  250. margin-top: -13px;
  251. margin-left: 10px;
  252. }
  253. .switch{
  254. margin-top: -15px;
  255. font-size: 15px;
  256. }
  257. #analyticsStrand .dateRange{
  258. margin-top: -55px;
  259. }
  260. .analDateRange{
  261. display: none;
  262. }
  263. .analContent{
  264. padding: 0;
  265. height: 70%;
  266. }
  267. .itemsList{
  268. width: 23%;
  269. }
  270. .analData{
  271. width: 73%
  272. }
  273. .dataRow{
  274. display: none;
  275. }
  276. .modebar-container{
  277. display: none;
  278. }
  279. #analRecipeContent{
  280. height: 70%;
  281. }
  282. #newOrderBtn{
  283. display: none;
  284. }
  285. /* ORDERS */
  286. #ordersStrand{
  287. justify-content: flex-end;
  288. }
  289. #ordersStrand .buttonBox{
  290. margin: 0;
  291. }
  292. #orderList{
  293. height: 70%;
  294. }
  295. /* TRANSACTIONS */
  296. #transactionsStrand{
  297. justify-content: flex-end;
  298. }
  299. #transactionsStrand .buttonBox{
  300. margin: 0;
  301. }
  302. #transactionsList{
  303. height: 70%;
  304. }
  305. @media screen and (min-width: 1000px){
  306. .mobileMenuSelector{
  307. top: 20px;
  308. left: 40px;
  309. }
  310. .strandTitle{
  311. margin: 15px;
  312. }
  313. /* HOME */
  314. #homeStrand{
  315. flex-direction: column;
  316. justify-content: flex-end;
  317. }
  318. #graphCard{
  319. display: flex;
  320. }
  321. .flexRow{
  322. max-height: 40vh;
  323. }
  324. .flexRow:nth-child(2){
  325. flex-grow: 2;
  326. }
  327. .flexRow:nth-child(3){
  328. flex-grow: 1;
  329. }
  330. /* INGREDIENTS */
  331. #categoryList{
  332. height: 80%;
  333. }
  334. /* RECIPE BOOK */
  335. #recipeList{
  336. height: 80%;
  337. }
  338. /* ANALYTICS */
  339. #analyticsStrand .strandTitle{
  340. margin-top: 8px;
  341. margin-left: 30px;
  342. }
  343. .analDateRange{
  344. display: block;
  345. }
  346. #analRecipeContent, .analContent{
  347. height: 80%;
  348. }
  349. /* ORDERS */
  350. #orderList{
  351. height: 80%;
  352. }
  353. /* TRANSACTIONS */
  354. #transactionsList{
  355. height: 80%;
  356. }
  357. }
  358. }
  359. }