dashboard.css 24 KB

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