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. }
  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. }
  229. .ingredientCheck p:first-of-type{
  230. width: 40%;
  231. font-weight: 300;
  232. font-size: 15px;
  233. margin-right: 25px;
  234. }
  235. .ingredientCheck p:last-of-type{
  236. width: 20%
  237. }
  238. .numberInput{
  239. display: flex;
  240. justify-content: center;
  241. width: 40%;
  242. margin-right: 25px;
  243. }
  244. .numberInput button{
  245. width: 30%;
  246. font-size: 23px;
  247. background: rgb(0, 27, 45);
  248. border: none;
  249. color: white;
  250. font-weight: bold;
  251. cursor: pointer;
  252. }
  253. .numberInput button:first-of-type{
  254. border-bottom-left-radius: 5px;
  255. border-top-left-radius: 5px;
  256. }
  257. .numberInput button:last-of-type{
  258. border-bottom-right-radius: 5px;
  259. border-top-right-radius: 5px;
  260. }
  261. .numberInput input{
  262. width: 55%;
  263. font-size: 15px;
  264. text-align: center;
  265. }
  266. .numberInput input::-webkit-outer-spin-button,
  267. .numberInput input::-webkit-inner-spin-button {
  268. -webkit-appearance: none;
  269. margin: 0;
  270. }
  271. .numberInput input[type=number] {
  272. -moz-appearance: textfield;
  273. }
  274. #popularIngredientsCard{
  275. display: flex;
  276. flex-direction: column;
  277. align-items: center;
  278. flex-basis: 100px;
  279. flex-grow: 2.5;
  280. padding: 5px;
  281. box-sizing: border-box;
  282. }
  283. #popularCanvas{
  284. margin: 0 35px;
  285. }
  286. .notice{
  287. color: red;
  288. font-size: 35px;
  289. font-weight: bold;
  290. }
  291. /*
  292. Ingredients Strand
  293. */
  294. #ingredientsStrand{
  295. display: none;
  296. align-items: center;
  297. height: 100%;
  298. box-sizing: border-box;
  299. }
  300. #categoryList{
  301. align-items:center;
  302. overflow-y: auto;
  303. width: 80%;
  304. }
  305. .categoryDiv{
  306. display: flex;
  307. flex-direction: column;
  308. align-items: center;
  309. }
  310. .categoryDiv > div:first-of-type{
  311. display: flex;
  312. cursor: pointer;
  313. width: 100%;
  314. margin: 5px 0;
  315. }
  316. .categoryDiv > div:first-of-type p{
  317. display: flex;
  318. align-items: center;
  319. padding: 20px 0 20px 100px;
  320. background: rgb(0, 27, 45);
  321. flex-grow: 1;
  322. color: rgb(255, 99, 107);
  323. margin-right: 25px
  324. }
  325. .categoryDiv > div:first-of-type button{
  326. padding: 10px;
  327. background: rgb(0, 27, 45);
  328. border: none;
  329. width: 75px;
  330. height: 75px;
  331. cursor: pointer;
  332. }
  333. .ingredientsDiv{
  334. flex-direction: column;
  335. width: 50%;
  336. }
  337. .ingredientSpacer{
  338. border: none;
  339. border-top: 1px dashed black;
  340. margin: auto;
  341. }
  342. /*
  343. Recipe Book Strand
  344. */
  345. #recipeBookStrand{
  346. display: none;
  347. align-items: center;
  348. }
  349. #recipeList{
  350. display: flex;
  351. flex-direction: column;
  352. align-items: center;
  353. width: 50%;
  354. overflow-y: auto;
  355. }
  356. /*
  357. Analytics Strand
  358. */
  359. .switch{
  360. position: relative;
  361. display: inline-block;
  362. width: 239px;
  363. height: 34px;
  364. color: rgb(255, 99, 107);
  365. }
  366. .switch input{
  367. opacity: 0;
  368. width: 0;
  369. height: 0;
  370. }
  371. .switch input:focus + .slider{
  372. box-shadow: 0 0 1px #2196F3;
  373. }
  374. .switch input:checked + .slider:before {
  375. -webkit-transform: translateX(105px);
  376. -ms-transform: translateX(92px);
  377. transform: translateX(125px);
  378. }
  379. .slider{
  380. display: flex;
  381. justify-content: space-between;
  382. align-items: center;
  383. position: absolute;
  384. cursor: pointer;
  385. top: 0;
  386. left: 0;
  387. right: 0;
  388. bottom: 0;
  389. padding: 0 24px 0 5px;
  390. background: rgb(0, 27, 45);
  391. transition: 0.2s;
  392. }
  393. .slider:before{
  394. position: absolute;
  395. content: "";
  396. height: 30px;
  397. width: 110px;
  398. left: 1px;
  399. bottom: 1px;
  400. background: rgba(255, 255, 255, 0.2);
  401. border: 1px solid rgb(255, 99, 107);
  402. transition: 0.5s;
  403. }
  404. .analContent{
  405. display: flex;
  406. justify-content: space-around;
  407. align-items:center;
  408. padding: 15px;
  409. box-sizing: border-box;
  410. height: 90%;
  411. }
  412. .itemsList{
  413. list-style-type: none;
  414. width: 15%;
  415. max-height: 95%;
  416. overflow-y: auto;
  417. }
  418. .analData{
  419. display: flex;
  420. flex-direction: column;
  421. justify-content: space-around;
  422. width: 100%;
  423. height: 100%;
  424. }
  425. #itemUseGraph{
  426. padding: 10px;
  427. height: 60%;
  428. flex-basis: 100px;
  429. flex-grow: 5;
  430. }
  431. .dataRow{
  432. display: flex;
  433. justify-content: space-between;
  434. flex-basis: 150px;
  435. flex-grow: 0;
  436. }
  437. .analCard{
  438. display: flex;
  439. flex-direction: column;
  440. justify-content: space-around;
  441. margin: 5px;
  442. height: inherit;
  443. }
  444. .analCard > *{
  445. margin: 0;
  446. }
  447. #analRecipeContent{
  448. display: flex;
  449. justify-content: space-around;
  450. align-items: center;
  451. padding: 15px;
  452. box-sizing: border-box;
  453. height: 90%;
  454. }
  455. /*
  456. Orders Strand
  457. */
  458. #ordersStrand{
  459. display: none;
  460. align-items: center;
  461. }
  462. #orderList{
  463. width: 50%;
  464. margin-top: 50px;
  465. overflow-y: auto;
  466. }
  467. /*
  468. Transactions Strand
  469. */
  470. .transactions{
  471. display: none;
  472. align-items: center;
  473. }
  474. .transactionsList{
  475. width: 50%;
  476. overflow-y: auto;
  477. margin-top: 50px;
  478. }
  479. /*
  480. ACCOUNT STRAND
  481. */
  482. #accountStrand{
  483. padding: 15px;
  484. box-sizing: border-box;
  485. align-items: center;
  486. }
  487. .settings{
  488. display: flex;
  489. flex-direction: column;
  490. width: 75%;
  491. max-height: 100%;
  492. overflow-y: auto;
  493. }
  494. .settingsSection{
  495. display: flex;
  496. flex-direction: column;
  497. justify-content: center;
  498. align-items: center;
  499. margin: 15px 0;
  500. background: white;
  501. padding: 35px;
  502. }
  503. .settingsSectionHeader{
  504. width: 100%;
  505. display: flex;
  506. justify-content: space-between;
  507. align-items: center;
  508. margin-bottom: 25px;
  509. border-bottom: 1px solid black;
  510. }
  511. #accountUpdate{
  512. max-width: 500px;
  513. }
  514. #settingsMerchants{
  515. width: 85%;
  516. }
  517. .locationDiv{
  518. width: 100%;
  519. display: flex;
  520. justify-content: space-between;
  521. align-items: center;
  522. padding: 0 25px;
  523. background: rgb(179, 191, 209);
  524. box-shadow: 1px 1px 1px black;
  525. margin: 10px 0;
  526. }
  527. .locationDiv p{
  528. font-size: 25px;
  529. font-weight: bold;
  530. }
  531. #accountShowPassword{
  532. max-width: 300px;
  533. }
  534. #changePasswordBox{
  535. flex-direction: column;
  536. padding: 25px;
  537. background: rgb(179, 191, 209);
  538. }
  539. #changePasswordBox label{
  540. display: flex;
  541. justify-content: space-between;
  542. align-items: center;
  543. margin: 5px;
  544. }
  545. #changePasswordBox p{
  546. color: red;
  547. }
  548. #accountButtonBox{
  549. margin: 0;
  550. }
  551. /*
  552. Modal
  553. */
  554. .modal{
  555. flex-direction: column;
  556. justify-content: center;
  557. align-items: center;
  558. position: fixed;
  559. height: 100vh;
  560. width: 100vw;
  561. background: rgba(0, 27, 45, 0.75);
  562. }
  563. .modalBox{
  564. display: flex;
  565. flex-direction: column;
  566. align-items: flex-end;
  567. }
  568. .modalBox > svg{
  569. color: rgb(255, 99, 107);
  570. cursor: pointer;
  571. }
  572. .modalSpreadsheetUpload{
  573. flex-direction: column;
  574. align-items: center;
  575. justify-content: space-between;
  576. margin-top: 0;
  577. padding: 25px 100px;
  578. background: rgb(240, 252, 255);
  579. border: 2px solid black;
  580. }
  581. .modalSpreadsheetUpload > *{
  582. margin-top: 15px;
  583. }
  584. #modalFeedback{
  585. display: flex;
  586. flex-direction: column;
  587. background: white;
  588. padding: 50px;
  589. }
  590. #modalFeedback > *{
  591. margin: 15px;
  592. }
  593. #modalFeedback label{
  594. display: flex;
  595. flex-direction: column;
  596. }
  597. #modalNewMerchant{
  598. display: flex;
  599. flex-direction: column;
  600. background: white;
  601. padding: 50px;
  602. min-width: 350px;
  603. }
  604. #modalNewMerchant h2{
  605. text-align: center;
  606. }
  607. #modalNewMerchant > *{
  608. margin: 15px;
  609. }
  610. #modalNewMerchant label{
  611. display: flex;
  612. flex-direction: column;
  613. }
  614. #modalConfirm{
  615. display: flex;
  616. flex-direction:column;
  617. align-items: center;
  618. background: white;
  619. padding: 50px;
  620. }
  621. #modalConfirm svg{
  622. font-size: 50px;
  623. margin: 15px;
  624. font-weight: bold;
  625. }
  626. #modalConfirm p{
  627. font-size: 25px;
  628. font-weight: bold;
  629. }
  630. #newMerchantSquareButton{
  631. background: white;
  632. border: none;
  633. display: flex;
  634. justify-content: center;
  635. align-items: center;
  636. border: 1px solid black;
  637. padding: 5px;
  638. cursor: pointer;
  639. margin-top: 0;
  640. margin-bottom: 0;
  641. }
  642. #newMerchantSquareButton:hover{
  643. background: black;
  644. color: white;
  645. }
  646. @media screen and (orientation: portrait){
  647. @media screen and (max-width: 1400px){
  648. body{
  649. background:rgb(0, 27, 45);
  650. }
  651. .button{
  652. padding: 3px 0;
  653. }
  654. .mobileMenuSelector{
  655. color:rgb(240, 252, 255);
  656. z-index: 10;
  657. }
  658. .strandTitle{
  659. color: white;
  660. position: fixed;
  661. top: 15px;
  662. left: 0;
  663. right: 0;
  664. margin: 0;
  665. text-align: center;
  666. font-size: 20px;
  667. }
  668. .choosable{
  669. background:rgb(201, 201, 201);
  670. color: black;
  671. }
  672. /* HOME */
  673. #inventoryCheckCard{
  674. display: none;
  675. }
  676. #graphCard{
  677. display: none;
  678. }
  679. .card{
  680. background: white;
  681. }
  682. /* INGREDIENT INVENTORY */
  683. #categoryList{
  684. width: 95%;
  685. }
  686. .categoryDiv{
  687. margin: 5px;
  688. }
  689. .categoryDiv > div:first-of-type p{
  690. padding: 10px;
  691. margin-right: 15px;
  692. }
  693. .categoryDiv > div:first-of-type button{
  694. padding: 10px;
  695. height: initial;
  696. width: initial;
  697. display: flex;
  698. }
  699. .ingredientsDiv{
  700. width: 90%;
  701. }
  702. /* RECIPE BOOK */
  703. #recipeList{
  704. width: 90%;
  705. }
  706. /* ANALYTICS */
  707. #analyticsStrand .strandHead{
  708. height: 23vh;
  709. flex-direction: column;
  710. }
  711. #analyticsStrand .strandTitle{
  712. position: static;
  713. }
  714. .switch{
  715. margin-top: 0;
  716. }
  717. .analDateRange{
  718. display: none;
  719. }
  720. .analContent{
  721. flex-direction: column;
  722. justify-content: space-between;
  723. padding: 0;
  724. height: 70vh;
  725. }
  726. .itemsList{
  727. width: 90%;
  728. height: 47%;
  729. margin-bottom: 10px;
  730. }
  731. .analData{
  732. height: 47%;
  733. }
  734. .dataRow{
  735. flex-direction: column;
  736. }
  737. #itemUseGraph{
  738. display: none;
  739. }
  740. #analDailyAverages{
  741. display: none;
  742. }
  743. #recipeSalesGraph{
  744. display: none;
  745. }
  746. /* ORDERS */
  747. #ordersStrand .strandHead{
  748. justify-content: center;
  749. }
  750. #newOrderBtn{
  751. display: none;
  752. }
  753. #orderList{
  754. width: 90%;
  755. }
  756. #orderList > div p:nth-child(2){
  757. display: none;
  758. }
  759. /* TRANSACTIONS */
  760. #transactionsStrand .strandHead{
  761. justify-content: center;
  762. }
  763. .transactionsList{
  764. width: 90%;
  765. }
  766. @media screen and (min-width: 601px){
  767. .strandTitle{
  768. font-size: 40px;
  769. }
  770. .mobileMenuSelector{
  771. left: 40px;
  772. top: 20px;
  773. }
  774. /* HOME */
  775. #graphCard{
  776. display: flex;
  777. }
  778. /* RECIPE BOOK */
  779. #recipeList{
  780. width: 75%;
  781. }
  782. /* ORDERS */
  783. #ordersStrand .strandHead{
  784. margin-top: 25px;
  785. }
  786. /* TRANSACTIONS */
  787. #transactionsStrand .strandHead{
  788. margin-top: 25px;
  789. }
  790. }
  791. }
  792. }
  793. @media screen and (orientation: landscape){
  794. @media screen and (max-width: 1200px){
  795. body{
  796. background: rgb(0, 27, 45);
  797. }
  798. .contentBlock{
  799. padding: 0;
  800. }
  801. .button{
  802. padding: 3px 0;
  803. }
  804. .mobileMenuSelector{
  805. display: flex;
  806. color: rgb(240, 252, 255);
  807. z-index: 10;
  808. }
  809. .strandHead{
  810. color: white;
  811. position: fixed;
  812. top: 5px;
  813. left: 25px;
  814. right: 0;
  815. margin: 0;
  816. text-align: center;
  817. font-size: 20px;
  818. }
  819. .strandTitle{
  820. margin: 0;
  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. }