dashboard.css 26 KB

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