dashboard.css 24 KB

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