dashboard.css 24 KB

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