dashboard.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207
  1. /*
  2. General page styling
  3. */
  4. html{
  5. height: 100%;
  6. max-width: 100%;
  7. }
  8. body{
  9. display: flex;
  10. flex-direction: row;
  11. height: 100%;
  12. max-width: 100%;
  13. }
  14. .contentBlock{
  15. width: 100%;
  16. height: 100vh;
  17. flex: 1;
  18. box-sizing: border-box;
  19. position: relative;
  20. padding-bottom: 25px;
  21. background: rgb(201, 201, 201);
  22. }
  23. .mobileMenuSelector{
  24. display: none;
  25. position: fixed;
  26. left: 13px;
  27. top: -2px;
  28. font-size: 40px;
  29. }
  30. .mobileMenuSelector:active{
  31. color: rgb(255, 99, 107);
  32. }
  33. /*
  34. Multi-strand use classes
  35. */
  36. .strand{
  37. flex-direction: column;
  38. height: 100vh;
  39. width: 100%;
  40. padding-bottom: 25px;
  41. box-sizing: border-box;
  42. }
  43. .strandHead{
  44. display: flex;
  45. justify-content: space-between;
  46. width: 100%;
  47. padding: 10px 50px 0 50px;
  48. align-items: center;
  49. box-sizing: border-box;
  50. height: 10%;
  51. }
  52. .strandTitle{
  53. text-align: left;
  54. margin: 15px;
  55. padding: 0;
  56. }
  57. #sidebarCloser{
  58. width: 30px;
  59. background: rgb(0, 27, 45);
  60. color: white;
  61. margin-right: auto;
  62. border: none;
  63. position: fixed;
  64. top: 15px;
  65. left: 15px;
  66. }
  67. .buttonBox{
  68. display: flex;
  69. justify-content: space-around;
  70. margin-top: 50px;
  71. }
  72. .buttonBox > *{
  73. margin-right: 10px;
  74. }
  75. .choosable{
  76. display: flex;
  77. justify-content: space-around;
  78. align-items: center;
  79. background: rgb(0, 27, 45);
  80. color: rgb(255, 99, 107);
  81. margin: 2px;
  82. padding: 5px;
  83. text-align: center;
  84. cursor: pointer;
  85. width: 99%;
  86. box-sizing: border-box;
  87. border: none;
  88. font-size: 16px;
  89. }
  90. .choosable.tall{
  91. padding: 15px;
  92. }
  93. .choosable:hover{
  94. background: rgb(179, 191, 209);
  95. color: rgb(255, 99, 107);
  96. }
  97. .choosable.active{
  98. background: rgb(240, 252, 255);
  99. color: rgb(255, 99, 107);
  100. }
  101. .searchBar{
  102. display: flex;
  103. align-items: center;
  104. margin-bottom: 10px;
  105. }
  106. .searchButton{
  107. padding: 6px;
  108. background: rgb(0, 27, 45);
  109. cursor: pointer;
  110. color: white;
  111. border-top-left-radius: 10px;
  112. border-bottom-left-radius: 10px;
  113. }
  114. .searchButton:hover{
  115. background: rgb(201, 201, 201);
  116. color: black;
  117. }
  118. .searchButton:active{
  119. background: rgb(179, 191, 209);
  120. color: white;
  121. }
  122. .searchInput{
  123. border: 4px solid rgb(0, 27, 45);
  124. font-size: 20px;
  125. border-top-right-radius: 10px;
  126. border-bottom-right-radius: 10px;
  127. padding: 1px 0 1px 4px;
  128. }
  129. .dateRange{
  130. display: flex;
  131. flex-direction: column;
  132. align-items: center;
  133. }
  134. .dateRangeInput{
  135. display: flex;
  136. justify-content: space-between;
  137. }
  138. .dateRangeInput p{
  139. margin: 0 5px;
  140. font-size: 20px;
  141. font-weight: bold;
  142. }
  143. .fileUpload{
  144. background: rgb(240, 252, 255);
  145. padding: 5px;
  146. border-radius: 5px;
  147. font-size: 16px;
  148. }
  149. .fileUpload::file-selector-button{
  150. background: rgb(0, 27, 45);
  151. border-radius: 5px;
  152. color: white;
  153. border: none;
  154. cursor: pointer;
  155. font-size: 18px;
  156. margin: auto 0;
  157. }
  158. .fileUpload::file-selector-button:hover{
  159. background: rgb(201, 201, 201);
  160. color: black;
  161. }
  162. /*
  163. Home Strand
  164. */
  165. #homeStrand{
  166. display: flex;
  167. }
  168. .card{
  169. margin: 0 15px;
  170. flex-grow: 1;
  171. height: 100%;
  172. background: white;
  173. }
  174. .card > *{
  175. margin: 10px;
  176. }
  177. .card p:first-of-type{
  178. font-size: 14px;
  179. font-weight: bold;
  180. text-align: center;
  181. }
  182. .flexRow{
  183. display: flex;
  184. justify-content: space-around;
  185. width: 100%;
  186. flex-basis: 100px;
  187. flex-grow: 1;
  188. margin: 15px 0;
  189. }
  190. #revenueCard{
  191. display: flex;
  192. flex-direction: column;
  193. justify-content: center;
  194. align-items: center;
  195. }
  196. #revenue{
  197. text-align: center;
  198. font-size: 30px;
  199. font-weight: bold;
  200. }
  201. #revenueChange{
  202. display: flex;
  203. }
  204. #revenueChange > p{
  205. font-weight: 100;
  206. }
  207. #revenueChange img{
  208. height: 15px;
  209. width: 15px;
  210. margin-right: 10px;
  211. }
  212. #graphCard{
  213. flex-grow: 5;
  214. display: flex;
  215. justify-content: center;
  216. }
  217. #inventoryCheckCard{
  218. display: flex;
  219. flex-direction: column;;
  220. justify-content: space-between;
  221. flex-basis: 100px;
  222. flex-grow: 1;
  223. }
  224. #inventoryCheckCard ul{
  225. list-style: none;
  226. }
  227. #inventoryCheckCard button{
  228. margin-left: auto;
  229. }
  230. .ingredientCheck{
  231. display: flex;
  232. align-items: center;
  233. margin: 5px 0;
  234. }
  235. .ingredientCheck p:first-of-type{
  236. width: 40%;
  237. font-weight: 300;
  238. font-size: 15px;
  239. margin-right: 25px;
  240. }
  241. .ingredientCheck p:last-of-type{
  242. width: 20%
  243. }
  244. .numberInput{
  245. display: flex;
  246. justify-content: center;
  247. width: 40%;
  248. margin-right: 25px;
  249. }
  250. .numberInput button{
  251. width: 30%;
  252. font-size: 23px;
  253. background: rgb(0, 27, 45);
  254. border: none;
  255. color: white;
  256. font-weight: bold;
  257. cursor: pointer;
  258. }
  259. .numberInput button:first-of-type{
  260. border-bottom-left-radius: 5px;
  261. border-top-left-radius: 5px;
  262. }
  263. .numberInput button:last-of-type{
  264. border-bottom-right-radius: 5px;
  265. border-top-right-radius: 5px;
  266. }
  267. .numberInput input{
  268. width: 55%;
  269. font-size: 15px;
  270. text-align: center;
  271. }
  272. .numberInput input::-webkit-outer-spin-button,
  273. .numberInput input::-webkit-inner-spin-button {
  274. -webkit-appearance: none;
  275. margin: 0;
  276. }
  277. .numberInput input[type=number] {
  278. -moz-appearance: textfield;
  279. }
  280. #popularIngredientsCard{
  281. display: flex;
  282. flex-direction: column;
  283. align-items: center;
  284. flex-basis: 100px;
  285. flex-grow: 2.5;
  286. padding: 5px;
  287. box-sizing: border-box;
  288. }
  289. #popularCanvas{
  290. margin: 0 35px;
  291. }
  292. .notice{
  293. color: red;
  294. font-size: 35px;
  295. font-weight: bold;
  296. }
  297. /*
  298. Ingredients Strand
  299. */
  300. #ingredientsStrand{
  301. display: none;
  302. align-items: center;
  303. height: 100%;
  304. box-sizing: border-box;
  305. }
  306. #categoryList{
  307. align-items:center;
  308. overflow-y: auto;
  309. width: 80%;
  310. }
  311. .categoryDiv{
  312. display: flex;
  313. flex-direction: column;
  314. align-items: center;
  315. }
  316. .categoryDiv > div:first-of-type{
  317. display: flex;
  318. cursor: pointer;
  319. width: 100%;
  320. margin: 5px 0;
  321. }
  322. .categoryDiv > div:first-of-type p{
  323. display: flex;
  324. align-items: center;
  325. padding: 20px 0 20px 100px;
  326. background: rgb(0, 27, 45);
  327. flex-grow: 1;
  328. color: rgb(255, 99, 107);
  329. margin-right: 25px
  330. }
  331. .categoryDiv > div:first-of-type button{
  332. padding: 10px;
  333. background: rgb(0, 27, 45);
  334. border: none;
  335. width: 75px;
  336. height: 75px;
  337. cursor: pointer;
  338. }
  339. .ingredientsDiv{
  340. flex-direction: column;
  341. width: 50%;
  342. }
  343. .ingredientSpacer{
  344. border: none;
  345. border-top: 1px dashed black;
  346. margin: auto;
  347. }
  348. /*
  349. Recipe Book Strand
  350. */
  351. #recipeBookStrand{
  352. display: none;
  353. align-items: center;
  354. }
  355. #recipeList{
  356. display: flex;
  357. flex-direction: column;
  358. align-items: center;
  359. width: 50%;
  360. overflow-y: auto;
  361. }
  362. /*
  363. Analytics Strand
  364. */
  365. .switch{
  366. position: relative;
  367. display: inline-block;
  368. width: 239px;
  369. height: 34px;
  370. border: 3px solid rgb(0, 27, 45);
  371. color: white;
  372. }
  373. .switch input{
  374. opacity: 0;
  375. width: 0;
  376. height: 0;
  377. }
  378. .switch input:focus + .slider{
  379. box-shadow: 0 0 1px #2196F3;
  380. }
  381. .switch input:checked + .slider:before {
  382. -webkit-transform: translateX(105px);
  383. -ms-transform: translateX(92px);
  384. transform: translateX(125px);
  385. }
  386. .slider{
  387. display: flex;
  388. justify-content: space-between;
  389. align-items: center;
  390. position: absolute;
  391. cursor: pointer;
  392. top: 0;
  393. left: 0;
  394. right: 0;
  395. bottom: 0;
  396. padding: 0 24px 0 5px;
  397. background: rgb(255, 99, 107);
  398. transition: 0.2s;
  399. }
  400. .slider:before{
  401. position: absolute;
  402. content: "";
  403. height: 30px;
  404. width: 110px;
  405. left: 1px;
  406. bottom: 1px;
  407. background: rgba(255, 255, 255, 0.6);
  408. border: 1px solid rgb(0, 27, 45);
  409. transition: 0.2s;
  410. }
  411. .analContent{
  412. display: flex;
  413. justify-content: space-around;
  414. align-items:center;
  415. padding: 15px;
  416. box-sizing: border-box;
  417. height: 90%;
  418. }
  419. .itemsList{
  420. list-style-type: none;
  421. width: 15%;
  422. max-height: 95%;
  423. overflow-y: auto;
  424. }
  425. .analData{
  426. display: flex;
  427. flex-direction: column;
  428. justify-content: space-around;
  429. width: 100%;
  430. height: 100%;
  431. }
  432. #itemUseGraph{
  433. padding: 10px;
  434. height: 60%;
  435. flex-basis: 100px;
  436. flex-grow: 5;
  437. }
  438. .dataRow{
  439. display: flex;
  440. justify-content: space-between;
  441. flex-basis: 150px;
  442. flex-grow: 0;
  443. }
  444. .analCard{
  445. display: flex;
  446. flex-direction: column;
  447. justify-content: space-around;
  448. margin: 5px;
  449. height: inherit;
  450. }
  451. .analCard > *{
  452. margin: 0;
  453. }
  454. #analRecipeContent{
  455. display: flex;
  456. justify-content: space-around;
  457. align-items: center;
  458. padding: 15px;
  459. box-sizing: border-box;
  460. height: 90%;
  461. }
  462. /*
  463. Orders Strand
  464. */
  465. #ordersStrand{
  466. display: none;
  467. align-items: center;
  468. }
  469. #orderList{
  470. width: 50%;
  471. margin-top: 50px;
  472. overflow-y: auto;
  473. }
  474. /*
  475. Transactions Strand
  476. */
  477. .transactions{
  478. display: none;
  479. align-items: center;
  480. }
  481. .transactionsList{
  482. width: 50%;
  483. overflow-y: auto;
  484. margin-top: 50px;
  485. }
  486. /*
  487. ACCOUNT STRAND
  488. */
  489. #accountStrand{
  490. padding: 15px;
  491. box-sizing: border-box;
  492. align-items: center;
  493. }
  494. .settings{
  495. display: flex;
  496. flex-direction: column;
  497. width: 75%;
  498. max-height: 100%;
  499. overflow-y: auto;
  500. }
  501. .settingsSection{
  502. display: flex;
  503. flex-direction: column;
  504. justify-content: center;
  505. align-items: center;
  506. margin: 15px 0;
  507. background: rgb(201, 201, 201);
  508. padding: 35px;
  509. }
  510. .settingsSectionHeader{
  511. width: 100%;
  512. display: flex;
  513. justify-content: space-between;
  514. align-items: center;
  515. margin-bottom: 25px;
  516. border-bottom: 1px solid black;
  517. }
  518. #accountUpdate{
  519. max-width: 500px;
  520. }
  521. #settingsMerchants{
  522. width: 85%;
  523. }
  524. .locationDiv{
  525. width: 100%;
  526. display: flex;
  527. justify-content: space-between;
  528. align-items: center;
  529. padding: 0 25px;
  530. background: rgb(240, 252, 255);
  531. box-shadow: 0 0 10px black;
  532. margin: 10px 0;
  533. }
  534. .locationDiv p{
  535. font-size: 25px;
  536. font-weight: bold;
  537. }
  538. #accountShowPassword{
  539. max-width: 300px;
  540. }
  541. #changePasswordBox{
  542. flex-direction: column;
  543. padding: 25px;
  544. background: rgb(201, 201, 201);
  545. /* border: 2px solid black; */
  546. border-radius: 10px;
  547. }
  548. #changePasswordBox label{
  549. display: flex;
  550. justify-content: space-between;
  551. align-items: center;
  552. margin: 5px;
  553. }
  554. #changePasswordBox p{
  555. color: red;
  556. }
  557. #accountButtonBox{
  558. margin: 0;
  559. }
  560. /*
  561. Modal
  562. */
  563. .modal{
  564. flex-direction: column;
  565. justify-content: center;
  566. align-items: center;
  567. position: fixed;
  568. height: 100vh;
  569. width: 100vw;
  570. background: rgba(0, 27, 45, 0.75);
  571. }
  572. .modalBox{
  573. display: flex;
  574. flex-direction: column;
  575. align-items: flex-end;
  576. }
  577. .modalBox > svg{
  578. color: rgb(255, 99, 107);
  579. cursor: pointer;
  580. }
  581. .modalSpreadsheetUpload{
  582. flex-direction: column;
  583. align-items: center;
  584. justify-content: space-between;
  585. margin-top: 0;
  586. padding: 25px 100px;
  587. background: rgb(240, 252, 255);
  588. border: 2px solid black;
  589. border-radius: 10px;
  590. }
  591. .modalSpreadsheetUpload > *{
  592. margin-top: 15px;
  593. }
  594. #modalFeedback{
  595. display: flex;
  596. flex-direction: column;
  597. background: white;
  598. padding: 50px;
  599. }
  600. #modalFeedback > *{
  601. margin: 15px;
  602. }
  603. #modalFeedback label{
  604. display: flex;
  605. flex-direction: column;
  606. }
  607. #modalNewMerchant{
  608. display: flex;
  609. flex-direction: column;
  610. background: white;
  611. padding: 50px;
  612. min-width: 350px;
  613. }
  614. #modalNewMerchant h2{
  615. text-align: center;
  616. }
  617. #modalNewMerchant > *{
  618. margin: 15px;
  619. }
  620. #modalNewMerchant label{
  621. display: flex;
  622. flex-direction: column;
  623. }
  624. #modalConfirm{
  625. display: flex;
  626. flex-direction:column;
  627. align-items: center;
  628. background: white;
  629. padding: 50px;
  630. }
  631. #modalConfirm svg{
  632. font-size: 50px;
  633. margin: 15px;
  634. font-weight: bold;
  635. }
  636. #modalConfirm p{
  637. font-size: 25px;
  638. font-weight: bold;
  639. }
  640. @media screen and (orientation: portrait){
  641. @media screen and (max-width: 1400px){
  642. body{
  643. background:rgb(0, 27, 45);
  644. }
  645. .button{
  646. padding: 3px 0;
  647. }
  648. .mobileMenuSelector{
  649. color:rgb(240, 252, 255);
  650. z-index: 10;
  651. }
  652. .strandTitle{
  653. color: white;
  654. position: fixed;
  655. top: 15px;
  656. left: 0;
  657. right: 0;
  658. margin: 0;
  659. text-align: center;
  660. font-size: 20px;
  661. }
  662. .searchInput{
  663. border-radius: 10px;
  664. }
  665. .choosable{
  666. background:rgb(201, 201, 201);
  667. color: black;
  668. }
  669. /* HOME */
  670. #inventoryCheckCard{
  671. display: none;
  672. }
  673. #graphCard{
  674. display: none;
  675. }
  676. .card{
  677. background: white;
  678. }
  679. /* INGREDIENT INVENTORY */
  680. #categoryList{
  681. width: 95%;
  682. }
  683. .categoryDiv{
  684. margin: 5px;
  685. }
  686. .categoryDiv > div:first-of-type p{
  687. padding: 10px;
  688. margin-right: 15px;
  689. }
  690. .categoryDiv > div:first-of-type button{
  691. padding: 10px;
  692. height: initial;
  693. width: initial;
  694. display: flex;
  695. }
  696. .ingredientsDiv{
  697. width: 90%;
  698. }
  699. /* RECIPE BOOK */
  700. #recipeList{
  701. width: 90%;
  702. }
  703. /* ANALYTICS */
  704. #analyticsStrand .strandHead{
  705. height: 23vh;
  706. flex-direction: column;
  707. }
  708. #analyticsStrand .strandTitle{
  709. position: static;
  710. }
  711. .switch{
  712. margin-top: 0;
  713. }
  714. .analDateRange{
  715. display: none;
  716. }
  717. .analContent{
  718. flex-direction: column;
  719. justify-content: space-between;
  720. padding: 0;
  721. height: 70vh;
  722. }
  723. .itemsList{
  724. width: 90%;
  725. height: 47%;
  726. margin-bottom: 10px;
  727. }
  728. .analData{
  729. height: 47%;
  730. }
  731. .dataRow{
  732. flex-direction: column;
  733. }
  734. #itemUseGraph{
  735. display: none;
  736. }
  737. #analDailyAverages{
  738. display: none;
  739. }
  740. #recipeSalesGraph{
  741. display: none;
  742. }
  743. /* ORDERS */
  744. #ordersStrand .strandHead{
  745. justify-content: center;
  746. }
  747. #newOrderBtn{
  748. display: none;
  749. }
  750. #orderList{
  751. width: 90%;
  752. }
  753. #orderList > div p:nth-child(2){
  754. display: none;
  755. }
  756. /* TRANSACTIONS */
  757. #transactionsStrand .strandHead{
  758. justify-content: center;
  759. }
  760. .transactionsList{
  761. width: 90%;
  762. }
  763. @media screen and (min-width: 601px){
  764. .strandTitle{
  765. font-size: 40px;
  766. }
  767. .mobileMenuSelector{
  768. left: 40px;
  769. top: 20px;
  770. }
  771. /* HOME */
  772. #graphCard{
  773. display: flex;
  774. }
  775. /* RECIPE BOOK */
  776. #recipeList{
  777. width: 75%;
  778. }
  779. /* ORDERS */
  780. #ordersStrand .strandHead{
  781. margin-top: 25px;
  782. }
  783. /* TRANSACTIONS */
  784. #transactionsStrand .strandHead{
  785. margin-top: 25px;
  786. }
  787. }
  788. }
  789. }
  790. @media screen and (orientation: landscape){
  791. @media screen and (max-width: 1200px){
  792. body{
  793. background: rgb(0, 27, 45);
  794. }
  795. .contentBlock{
  796. padding: 0;
  797. }
  798. .button{
  799. padding: 3px 0;
  800. }
  801. .mobileMenuSelector{
  802. display: flex;
  803. color: rgb(240, 252, 255);
  804. z-index: 10;
  805. }
  806. .strandHead{
  807. color: white;
  808. position: fixed;
  809. top: 5px;
  810. left: 25px;
  811. right: 0;
  812. margin: 0;
  813. text-align: center;
  814. font-size: 20px;
  815. }
  816. .strandTitle{
  817. margin: 0;
  818. }
  819. .searchInput{
  820. border-radius: 10px;
  821. }
  822. .choosable{
  823. background: rgb(201, 201, 201);
  824. color: black;
  825. }
  826. /* HOME */
  827. #homeStrand{
  828. flex-direction: row;
  829. padding: 0;
  830. align-items: flex-end;
  831. }
  832. #graphCard{
  833. display: none;
  834. }
  835. #inventoryCheckCard{
  836. display: none;
  837. }
  838. .flexRow{
  839. height: 80%;
  840. }
  841. .flexRow:nth-child(3){
  842. flex-grow: 2;
  843. }
  844. .card{
  845. background: white;
  846. }
  847. #popularIngredientsCard{
  848. max-height: 100%;
  849. padding-bottom: 5px;
  850. }
  851. /* INGREDIENTS */
  852. #ingredientsStrand{
  853. padding-bottom: 10px;
  854. justify-content: flex-end;
  855. }
  856. #categoryList{
  857. height: 70%;
  858. }
  859. .categoryDiv{
  860. margin: 3px;
  861. }
  862. .categoryDiv > div:first-of-type p{
  863. padding: 5px 10px;
  864. }
  865. .categoryDiv > div:first-of-type button{
  866. padding: 0;
  867. height: initial;
  868. width: initial;
  869. display: flex;
  870. align-items: center;
  871. }
  872. .ingredientsDiv{
  873. width: 90%;
  874. }
  875. /* RECIPE BOOK */
  876. #recipeBookStrand{
  877. padding-bottom: 10px;
  878. justify-content: flex-end;
  879. }
  880. #recipeList{
  881. height: 70%;
  882. }
  883. /* ANALYTICS */
  884. #analyticsStrand{
  885. padding-bottom: 10px;
  886. justify-content: space-between;
  887. }
  888. #analyticsStrand .strandHead{
  889. position: static;
  890. height: unset;
  891. flex-wrap: wrap;
  892. }
  893. #analyticsStrand .strandTitle{
  894. width: 100%;
  895. margin-top: -13px;
  896. margin-left: 10px;
  897. }
  898. .switch{
  899. margin-top: -15px;
  900. font-size: 15px;
  901. }
  902. #analyticsStrand .dateRange{
  903. margin-top: -55px;
  904. }
  905. .analDateRange{
  906. display: none;
  907. }
  908. .analContent{
  909. padding: 0;
  910. height: 70%;
  911. }
  912. .itemsList{
  913. width: 23%;
  914. }
  915. .analData{
  916. width: 73%
  917. }
  918. .dataRow{
  919. display: none;
  920. }
  921. .modebar-container{
  922. display: none;
  923. }
  924. #analRecipeContent{
  925. height: 70%;
  926. }
  927. #newOrderBtn{
  928. display: none;
  929. }
  930. /* ORDERS */
  931. #ordersStrand{
  932. justify-content: flex-end;
  933. }
  934. #ordersStrand .buttonBox{
  935. margin: 0;
  936. }
  937. #orderList{
  938. height: 70%;
  939. }
  940. /* TRANSACTIONS */
  941. #transactionsStrand{
  942. justify-content: flex-end;
  943. }
  944. #transactionsStrand .buttonBox{
  945. margin: 0;
  946. }
  947. #transactionsList{
  948. height: 70%;
  949. }
  950. @media screen and (min-width: 1000px){
  951. .mobileMenuSelector{
  952. top: 20px;
  953. left: 40px;
  954. }
  955. .strandTitle{
  956. margin: 15px;
  957. }
  958. /* HOME */
  959. #homeStrand{
  960. flex-direction: column;
  961. justify-content: flex-end;
  962. }
  963. #graphCard{
  964. display: flex;
  965. }
  966. .flexRow{
  967. max-height: 40vh;
  968. }
  969. .flexRow:nth-child(2){
  970. flex-grow: 2;
  971. }
  972. .flexRow:nth-child(3){
  973. flex-grow: 1;
  974. }
  975. /* INGREDIENTS */
  976. #categoryList{
  977. height: 80%;
  978. }
  979. /* RECIPE BOOK */
  980. #recipeList{
  981. height: 80%;
  982. }
  983. /* ANALYTICS */
  984. #analyticsStrand .strandTitle{
  985. margin-top: 8px;
  986. margin-left: 30px;
  987. }
  988. .analDateRange{
  989. display: block;
  990. }
  991. #analRecipeContent, .analContent{
  992. height: 80%;
  993. }
  994. /* ORDERS */
  995. #orderList{
  996. height: 80%;
  997. }
  998. /* TRANSACTIONS */
  999. #transactionsList{
  1000. height: 80%;
  1001. }
  1002. }
  1003. }
  1004. }