dashboard.css 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307
  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. #modalCircularReference{
  718. flex-direction: column;
  719. background: white;
  720. align-items: center;
  721. padding: 25px;
  722. max-height: 90%;
  723. overflow-y: auto;
  724. }
  725. #modalCircularReference div > *{
  726. margin: 10px;
  727. }
  728. @media screen and (orientation: portrait){
  729. @media screen and (max-width: 1400px){
  730. body{
  731. background:rgb(0, 27, 45);
  732. }
  733. .button{
  734. padding: 3px 0;
  735. }
  736. .mobileMenuSelector{
  737. color:rgb(240, 252, 255);
  738. z-index: 10;
  739. }
  740. .strandTitle{
  741. color: white;
  742. position: fixed;
  743. top: 15px;
  744. left: 0;
  745. right: 0;
  746. margin: 0;
  747. text-align: center;
  748. font-size: 20px;
  749. }
  750. .choosable{
  751. background:rgb(201, 201, 201);
  752. color: black;
  753. }
  754. /* HOME */
  755. #inventoryCheckCard{
  756. display: none;
  757. }
  758. #graphCard{
  759. display: none;
  760. }
  761. .card{
  762. background: white;
  763. }
  764. /* INGREDIENT INVENTORY */
  765. #categoryList{
  766. width: 95%;
  767. }
  768. .categoryDiv{
  769. margin: 5px;
  770. }
  771. .categoryDiv > div:first-of-type p{
  772. padding: 10px;
  773. margin-right: 15px;
  774. }
  775. .categoryDiv > div:first-of-type button{
  776. padding: 10px;
  777. height: initial;
  778. width: initial;
  779. display: flex;
  780. }
  781. .ingredientsDiv{
  782. width: 90%;
  783. }
  784. /* RECIPE BOOK */
  785. #recipeList{
  786. width: 90%;
  787. }
  788. /* ANALYTICS */
  789. #analyticsStrand .strandHead{
  790. height: 23vh;
  791. flex-direction: column;
  792. }
  793. #analyticsStrand .strandTitle{
  794. position: static;
  795. }
  796. .switch{
  797. margin-top: 0;
  798. }
  799. .analDateRange{
  800. display: none;
  801. }
  802. .analContent{
  803. flex-direction: column;
  804. justify-content: space-between;
  805. padding: 0;
  806. height: 70vh;
  807. }
  808. .itemsList{
  809. width: 90%;
  810. height: 47%;
  811. margin-bottom: 10px;
  812. }
  813. .analData{
  814. height: 47%;
  815. }
  816. .dataRow{
  817. flex-direction: column;
  818. }
  819. #itemUseGraph{
  820. display: none;
  821. }
  822. #analDailyAverages{
  823. display: none;
  824. }
  825. #recipeSalesGraph{
  826. display: none;
  827. }
  828. /* ORDERS */
  829. #ordersStrand .strandHead{
  830. justify-content: center;
  831. }
  832. #newOrderBtn{
  833. display: none;
  834. }
  835. #orderList{
  836. width: 90%;
  837. }
  838. #orderList > div p:nth-child(2){
  839. display: none;
  840. }
  841. /* TRANSACTIONS */
  842. #transactionsStrand .strandHead{
  843. justify-content: center;
  844. }
  845. .transactionsList{
  846. width: 90%;
  847. }
  848. @media screen and (min-width: 601px){
  849. .strandTitle{
  850. font-size: 40px;
  851. }
  852. .mobileMenuSelector{
  853. left: 40px;
  854. top: 20px;
  855. }
  856. /* HOME */
  857. #graphCard{
  858. display: flex;
  859. }
  860. /* RECIPE BOOK */
  861. #recipeList{
  862. width: 75%;
  863. }
  864. /* ORDERS */
  865. #ordersStrand .strandHead{
  866. margin-top: 25px;
  867. }
  868. /* TRANSACTIONS */
  869. #transactionsStrand .strandHead{
  870. margin-top: 25px;
  871. }
  872. }
  873. }
  874. }
  875. @media screen and (orientation: landscape){
  876. @media screen and (max-width: 1200px){
  877. body{
  878. background: rgb(0, 27, 45);
  879. }
  880. .contentBlock{
  881. padding: 0;
  882. }
  883. .button{
  884. padding: 3px 0;
  885. }
  886. .mobileMenuSelector{
  887. display: flex;
  888. color: rgb(240, 252, 255);
  889. z-index: 10;
  890. }
  891. .strandHead{
  892. color: white;
  893. position: fixed;
  894. top: 5px;
  895. left: 25px;
  896. right: 0;
  897. margin: 0;
  898. text-align: center;
  899. font-size: 20px;
  900. }
  901. .strandTitle{
  902. margin: 0;
  903. }
  904. .choosable{
  905. background: rgb(201, 201, 201);
  906. color: black;
  907. }
  908. /* HOME */
  909. #homeStrand{
  910. flex-direction: row;
  911. padding: 0;
  912. align-items: flex-end;
  913. }
  914. #graphCard{
  915. display: none;
  916. }
  917. #inventoryCheckCard{
  918. display: none;
  919. }
  920. .flexRow{
  921. height: 80%;
  922. }
  923. .flexRow:nth-child(3){
  924. flex-grow: 2;
  925. }
  926. .card{
  927. background: white;
  928. }
  929. #popularIngredientsCard{
  930. max-height: 100%;
  931. padding-bottom: 5px;
  932. }
  933. /* INGREDIENTS */
  934. #ingredientsStrand{
  935. padding-bottom: 10px;
  936. justify-content: flex-end;
  937. }
  938. #categoryList{
  939. height: 70%;
  940. }
  941. .categoryDiv{
  942. margin: 3px;
  943. }
  944. .categoryDiv > div:first-of-type p{
  945. padding: 5px 10px;
  946. }
  947. .categoryDiv > div:first-of-type button{
  948. padding: 0;
  949. height: initial;
  950. width: initial;
  951. display: flex;
  952. align-items: center;
  953. }
  954. .ingredientsDiv{
  955. width: 90%;
  956. }
  957. /* RECIPE BOOK */
  958. #recipeBookStrand{
  959. padding-bottom: 10px;
  960. justify-content: flex-end;
  961. }
  962. #recipeList{
  963. height: 70%;
  964. }
  965. /* ANALYTICS */
  966. #analyticsStrand{
  967. padding-bottom: 10px;
  968. justify-content: space-between;
  969. }
  970. #analyticsStrand .strandHead{
  971. position: static;
  972. height: unset;
  973. flex-wrap: wrap;
  974. }
  975. #analyticsStrand .strandTitle{
  976. width: 100%;
  977. margin-top: -13px;
  978. margin-left: 10px;
  979. }
  980. .switch{
  981. margin-top: -15px;
  982. font-size: 15px;
  983. }
  984. #analyticsStrand .dateRange{
  985. margin-top: -55px;
  986. }
  987. .analDateRange{
  988. display: none;
  989. }
  990. .analContent{
  991. padding: 0;
  992. height: 70%;
  993. }
  994. .itemsList{
  995. width: 23%;
  996. }
  997. .analData{
  998. width: 73%
  999. }
  1000. .dataRow{
  1001. display: none;
  1002. }
  1003. .modebar-container{
  1004. display: none;
  1005. }
  1006. #analRecipeContent{
  1007. height: 70%;
  1008. }
  1009. #newOrderBtn{
  1010. display: none;
  1011. }
  1012. /* ORDERS */
  1013. #ordersStrand{
  1014. justify-content: flex-end;
  1015. }
  1016. #ordersStrand .buttonBox{
  1017. margin: 0;
  1018. }
  1019. #orderList{
  1020. height: 70%;
  1021. }
  1022. /* TRANSACTIONS */
  1023. #transactionsStrand{
  1024. justify-content: flex-end;
  1025. }
  1026. #transactionsStrand .buttonBox{
  1027. margin: 0;
  1028. }
  1029. #transactionsList{
  1030. height: 70%;
  1031. }
  1032. @media screen and (min-width: 1000px){
  1033. .mobileMenuSelector{
  1034. top: 20px;
  1035. left: 40px;
  1036. }
  1037. .strandTitle{
  1038. margin: 15px;
  1039. }
  1040. /* HOME */
  1041. #homeStrand{
  1042. flex-direction: column;
  1043. justify-content: flex-end;
  1044. }
  1045. #graphCard{
  1046. display: flex;
  1047. }
  1048. .flexRow{
  1049. max-height: 40vh;
  1050. }
  1051. .flexRow:nth-child(2){
  1052. flex-grow: 2;
  1053. }
  1054. .flexRow:nth-child(3){
  1055. flex-grow: 1;
  1056. }
  1057. /* INGREDIENTS */
  1058. #categoryList{
  1059. height: 80%;
  1060. }
  1061. /* RECIPE BOOK */
  1062. #recipeList{
  1063. height: 80%;
  1064. }
  1065. /* ANALYTICS */
  1066. #analyticsStrand .strandTitle{
  1067. margin-top: 8px;
  1068. margin-left: 30px;
  1069. }
  1070. .analDateRange{
  1071. display: block;
  1072. }
  1073. #analRecipeContent, .analContent{
  1074. height: 80%;
  1075. }
  1076. /* ORDERS */
  1077. #orderList{
  1078. height: 80%;
  1079. }
  1080. /* TRANSACTIONS */
  1081. #transactionsList{
  1082. height: 80%;
  1083. }
  1084. }
  1085. }
  1086. }