dashboard.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225
  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. .newLocationButtons{
  517. display: flex;
  518. align-items: center;
  519. }
  520. .newLocationButtons h1{
  521. padding: 0;
  522. margin-right: 15px;
  523. }
  524. #accountUpdate{
  525. max-width: 500px;
  526. }
  527. #settingsMerchants{
  528. display: flex;
  529. flex-direction: column;
  530. width: 50%;
  531. }
  532. #accountShowPassword{
  533. max-width: 300px;
  534. }
  535. #changePasswordBox{
  536. flex-direction: column;
  537. padding: 25px;
  538. background: rgb(179, 191, 209);
  539. }
  540. #changePasswordBox label{
  541. display: flex;
  542. justify-content: space-between;
  543. align-items: center;
  544. margin: 5px;
  545. }
  546. #changePasswordBox p{
  547. color: red;
  548. }
  549. #accountButtonBox{
  550. margin: 0;
  551. }
  552. /*
  553. Modal
  554. */
  555. .modal{
  556. flex-direction: column;
  557. justify-content: center;
  558. align-items: center;
  559. position: fixed;
  560. height: 100vh;
  561. width: 100vw;
  562. background: rgba(0, 27, 45, 0.75);
  563. }
  564. .modalBox{
  565. display: flex;
  566. flex-direction: column;
  567. align-items: flex-end;
  568. }
  569. .modalBox > svg{
  570. color: rgb(255, 99, 107);
  571. cursor: pointer;
  572. }
  573. .modalSpreadsheetUpload{
  574. flex-direction: column;
  575. align-items: center;
  576. justify-content: space-between;
  577. margin-top: 0;
  578. padding: 25px 100px;
  579. background: rgb(240, 252, 255);
  580. border: 2px solid black;
  581. }
  582. .modalSpreadsheetUpload > *{
  583. margin-top: 15px;
  584. }
  585. #modalFeedback{
  586. display: flex;
  587. flex-direction: column;
  588. background: white;
  589. padding: 50px;
  590. }
  591. #modalFeedback > *{
  592. margin: 15px;
  593. }
  594. #modalFeedback label{
  595. display: flex;
  596. flex-direction: column;
  597. }
  598. #modalNewMerchant{
  599. display: flex;
  600. flex-direction: column;
  601. background: white;
  602. padding: 50px;
  603. min-width: 350px;
  604. }
  605. #modalNewMerchant h2{
  606. text-align: center;
  607. }
  608. #modalNewMerchant > *{
  609. margin: 15px;
  610. }
  611. #modalNewMerchant label{
  612. display: flex;
  613. flex-direction: column;
  614. }
  615. #modalConfirm{
  616. display: flex;
  617. flex-direction:column;
  618. align-items: center;
  619. background: white;
  620. padding: 50px;
  621. }
  622. #modalConfirm svg{
  623. font-size: 50px;
  624. margin: 15px;
  625. font-weight: bold;
  626. }
  627. #modalConfirm p{
  628. font-size: 25px;
  629. font-weight: bold;
  630. }
  631. #newMerchantSquareButton{
  632. background: white;
  633. border: none;
  634. display: flex;
  635. justify-content: center;
  636. align-items: center;
  637. border: 1px solid black;
  638. padding: 5px;
  639. cursor: pointer;
  640. margin-top: 0;
  641. margin-bottom: 0;
  642. }
  643. #newMerchantSquareButton:hover{
  644. background: black;
  645. color: white;
  646. }
  647. #modalSquareLocations{
  648. display: flex;
  649. flex-direction: column;
  650. align-items: center;
  651. background: white;
  652. padding: 50px;
  653. min-width: 350px;
  654. }
  655. #squareLocationsButtons{
  656. display: flex;
  657. flex-direction: column;
  658. margin-bottom: 25px;
  659. width: 100%;
  660. }
  661. @media screen and (orientation: portrait){
  662. @media screen and (max-width: 1400px){
  663. body{
  664. background:rgb(0, 27, 45);
  665. }
  666. .button{
  667. padding: 3px 0;
  668. }
  669. .mobileMenuSelector{
  670. color:rgb(240, 252, 255);
  671. z-index: 10;
  672. }
  673. .strandTitle{
  674. color: white;
  675. position: fixed;
  676. top: 15px;
  677. left: 0;
  678. right: 0;
  679. margin: 0;
  680. text-align: center;
  681. font-size: 20px;
  682. }
  683. .choosable{
  684. background:rgb(201, 201, 201);
  685. color: black;
  686. }
  687. /* HOME */
  688. #inventoryCheckCard{
  689. display: none;
  690. }
  691. #graphCard{
  692. display: none;
  693. }
  694. .card{
  695. background: white;
  696. }
  697. /* INGREDIENT INVENTORY */
  698. #categoryList{
  699. width: 95%;
  700. }
  701. .categoryDiv{
  702. margin: 5px;
  703. }
  704. .categoryDiv > div:first-of-type p{
  705. padding: 10px;
  706. margin-right: 15px;
  707. }
  708. .categoryDiv > div:first-of-type button{
  709. padding: 10px;
  710. height: initial;
  711. width: initial;
  712. display: flex;
  713. }
  714. .ingredientsDiv{
  715. width: 90%;
  716. }
  717. /* RECIPE BOOK */
  718. #recipeList{
  719. width: 90%;
  720. }
  721. /* ANALYTICS */
  722. #analyticsStrand .strandHead{
  723. height: 23vh;
  724. flex-direction: column;
  725. }
  726. #analyticsStrand .strandTitle{
  727. position: static;
  728. }
  729. .switch{
  730. margin-top: 0;
  731. }
  732. .analDateRange{
  733. display: none;
  734. }
  735. .analContent{
  736. flex-direction: column;
  737. justify-content: space-between;
  738. padding: 0;
  739. height: 70vh;
  740. }
  741. .itemsList{
  742. width: 90%;
  743. height: 47%;
  744. margin-bottom: 10px;
  745. }
  746. .analData{
  747. height: 47%;
  748. }
  749. .dataRow{
  750. flex-direction: column;
  751. }
  752. #itemUseGraph{
  753. display: none;
  754. }
  755. #analDailyAverages{
  756. display: none;
  757. }
  758. #recipeSalesGraph{
  759. display: none;
  760. }
  761. /* ORDERS */
  762. #ordersStrand .strandHead{
  763. justify-content: center;
  764. }
  765. #newOrderBtn{
  766. display: none;
  767. }
  768. #orderList{
  769. width: 90%;
  770. }
  771. #orderList > div p:nth-child(2){
  772. display: none;
  773. }
  774. /* TRANSACTIONS */
  775. #transactionsStrand .strandHead{
  776. justify-content: center;
  777. }
  778. .transactionsList{
  779. width: 90%;
  780. }
  781. @media screen and (min-width: 601px){
  782. .strandTitle{
  783. font-size: 40px;
  784. }
  785. .mobileMenuSelector{
  786. left: 40px;
  787. top: 20px;
  788. }
  789. /* HOME */
  790. #graphCard{
  791. display: flex;
  792. }
  793. /* RECIPE BOOK */
  794. #recipeList{
  795. width: 75%;
  796. }
  797. /* ORDERS */
  798. #ordersStrand .strandHead{
  799. margin-top: 25px;
  800. }
  801. /* TRANSACTIONS */
  802. #transactionsStrand .strandHead{
  803. margin-top: 25px;
  804. }
  805. }
  806. }
  807. }
  808. @media screen and (orientation: landscape){
  809. @media screen and (max-width: 1200px){
  810. body{
  811. background: rgb(0, 27, 45);
  812. }
  813. .contentBlock{
  814. padding: 0;
  815. }
  816. .button{
  817. padding: 3px 0;
  818. }
  819. .mobileMenuSelector{
  820. display: flex;
  821. color: rgb(240, 252, 255);
  822. z-index: 10;
  823. }
  824. .strandHead{
  825. color: white;
  826. position: fixed;
  827. top: 5px;
  828. left: 25px;
  829. right: 0;
  830. margin: 0;
  831. text-align: center;
  832. font-size: 20px;
  833. }
  834. .strandTitle{
  835. margin: 0;
  836. }
  837. .choosable{
  838. background: rgb(201, 201, 201);
  839. color: black;
  840. }
  841. /* HOME */
  842. #homeStrand{
  843. flex-direction: row;
  844. padding: 0;
  845. align-items: flex-end;
  846. }
  847. #graphCard{
  848. display: none;
  849. }
  850. #inventoryCheckCard{
  851. display: none;
  852. }
  853. .flexRow{
  854. height: 80%;
  855. }
  856. .flexRow:nth-child(3){
  857. flex-grow: 2;
  858. }
  859. .card{
  860. background: white;
  861. }
  862. #popularIngredientsCard{
  863. max-height: 100%;
  864. padding-bottom: 5px;
  865. }
  866. /* INGREDIENTS */
  867. #ingredientsStrand{
  868. padding-bottom: 10px;
  869. justify-content: flex-end;
  870. }
  871. #categoryList{
  872. height: 70%;
  873. }
  874. .categoryDiv{
  875. margin: 3px;
  876. }
  877. .categoryDiv > div:first-of-type p{
  878. padding: 5px 10px;
  879. }
  880. .categoryDiv > div:first-of-type button{
  881. padding: 0;
  882. height: initial;
  883. width: initial;
  884. display: flex;
  885. align-items: center;
  886. }
  887. .ingredientsDiv{
  888. width: 90%;
  889. }
  890. /* RECIPE BOOK */
  891. #recipeBookStrand{
  892. padding-bottom: 10px;
  893. justify-content: flex-end;
  894. }
  895. #recipeList{
  896. height: 70%;
  897. }
  898. /* ANALYTICS */
  899. #analyticsStrand{
  900. padding-bottom: 10px;
  901. justify-content: space-between;
  902. }
  903. #analyticsStrand .strandHead{
  904. position: static;
  905. height: unset;
  906. flex-wrap: wrap;
  907. }
  908. #analyticsStrand .strandTitle{
  909. width: 100%;
  910. margin-top: -13px;
  911. margin-left: 10px;
  912. }
  913. .switch{
  914. margin-top: -15px;
  915. font-size: 15px;
  916. }
  917. #analyticsStrand .dateRange{
  918. margin-top: -55px;
  919. }
  920. .analDateRange{
  921. display: none;
  922. }
  923. .analContent{
  924. padding: 0;
  925. height: 70%;
  926. }
  927. .itemsList{
  928. width: 23%;
  929. }
  930. .analData{
  931. width: 73%
  932. }
  933. .dataRow{
  934. display: none;
  935. }
  936. .modebar-container{
  937. display: none;
  938. }
  939. #analRecipeContent{
  940. height: 70%;
  941. }
  942. #newOrderBtn{
  943. display: none;
  944. }
  945. /* ORDERS */
  946. #ordersStrand{
  947. justify-content: flex-end;
  948. }
  949. #ordersStrand .buttonBox{
  950. margin: 0;
  951. }
  952. #orderList{
  953. height: 70%;
  954. }
  955. /* TRANSACTIONS */
  956. #transactionsStrand{
  957. justify-content: flex-end;
  958. }
  959. #transactionsStrand .buttonBox{
  960. margin: 0;
  961. }
  962. #transactionsList{
  963. height: 70%;
  964. }
  965. @media screen and (min-width: 1000px){
  966. .mobileMenuSelector{
  967. top: 20px;
  968. left: 40px;
  969. }
  970. .strandTitle{
  971. margin: 15px;
  972. }
  973. /* HOME */
  974. #homeStrand{
  975. flex-direction: column;
  976. justify-content: flex-end;
  977. }
  978. #graphCard{
  979. display: flex;
  980. }
  981. .flexRow{
  982. max-height: 40vh;
  983. }
  984. .flexRow:nth-child(2){
  985. flex-grow: 2;
  986. }
  987. .flexRow:nth-child(3){
  988. flex-grow: 1;
  989. }
  990. /* INGREDIENTS */
  991. #categoryList{
  992. height: 80%;
  993. }
  994. /* RECIPE BOOK */
  995. #recipeList{
  996. height: 80%;
  997. }
  998. /* ANALYTICS */
  999. #analyticsStrand .strandTitle{
  1000. margin-top: 8px;
  1001. margin-left: 30px;
  1002. }
  1003. .analDateRange{
  1004. display: block;
  1005. }
  1006. #analRecipeContent, .analContent{
  1007. height: 80%;
  1008. }
  1009. /* ORDERS */
  1010. #orderList{
  1011. height: 80%;
  1012. }
  1013. /* TRANSACTIONS */
  1014. #transactionsList{
  1015. height: 80%;
  1016. }
  1017. }
  1018. }
  1019. }