dashboard.css 24 KB

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