dashboard.css 24 KB

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