dashboard.css 25 KB

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