dashboard.css 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226
  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: center;
  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. #accountUpdate{
  526. max-width: 500px;
  527. }
  528. #settingsMerchants{
  529. display: flex;
  530. flex-direction: column;
  531. width: 50%;
  532. }
  533. #accountShowPassword{
  534. max-width: 300px;
  535. }
  536. #changePasswordBox{
  537. flex-direction: column;
  538. padding: 25px;
  539. background: rgb(179, 191, 209);
  540. }
  541. #changePasswordBox label{
  542. display: flex;
  543. justify-content: space-between;
  544. align-items: center;
  545. margin: 5px;
  546. }
  547. #changePasswordBox p{
  548. color: red;
  549. }
  550. #accountButtonBox{
  551. margin: 0;
  552. }
  553. /*
  554. Modal
  555. */
  556. .modal{
  557. flex-direction: column;
  558. justify-content: center;
  559. align-items: center;
  560. position: fixed;
  561. height: 100vh;
  562. width: 100vw;
  563. background: rgba(0, 27, 45, 0.75);
  564. }
  565. .modalBox{
  566. display: flex;
  567. flex-direction: column;
  568. align-items: flex-end;
  569. }
  570. .modalBox > svg{
  571. color: rgb(255, 99, 107);
  572. cursor: pointer;
  573. }
  574. .modalSpreadsheetUpload{
  575. flex-direction: column;
  576. align-items: center;
  577. justify-content: space-between;
  578. margin-top: 0;
  579. padding: 25px 100px;
  580. background: rgb(240, 252, 255);
  581. border: 2px solid black;
  582. }
  583. .modalSpreadsheetUpload > *{
  584. margin-top: 15px;
  585. }
  586. #modalFeedback{
  587. display: flex;
  588. flex-direction: column;
  589. background: white;
  590. padding: 50px;
  591. }
  592. #modalFeedback > *{
  593. margin: 15px;
  594. }
  595. #modalFeedback label{
  596. display: flex;
  597. flex-direction: column;
  598. }
  599. #modalNewMerchant{
  600. display: flex;
  601. flex-direction: column;
  602. background: white;
  603. padding: 50px;
  604. min-width: 350px;
  605. }
  606. #modalNewMerchant h2{
  607. text-align: center;
  608. }
  609. #modalNewMerchant > *{
  610. margin: 15px;
  611. }
  612. #modalNewMerchant label{
  613. display: flex;
  614. flex-direction: column;
  615. }
  616. #modalConfirm{
  617. display: flex;
  618. flex-direction:column;
  619. align-items: center;
  620. background: white;
  621. padding: 50px;
  622. }
  623. #modalConfirm svg{
  624. font-size: 50px;
  625. margin: 15px;
  626. font-weight: bold;
  627. }
  628. #modalConfirm p{
  629. font-size: 25px;
  630. font-weight: bold;
  631. }
  632. #newMerchantSquareButton{
  633. background: white;
  634. border: none;
  635. display: flex;
  636. justify-content: center;
  637. align-items: center;
  638. border: 1px solid black;
  639. padding: 5px;
  640. cursor: pointer;
  641. margin-top: 0;
  642. margin-bottom: 0;
  643. }
  644. #newMerchantSquareButton:hover{
  645. background: black;
  646. color: white;
  647. }
  648. #modalSquareLocations{
  649. display: flex;
  650. flex-direction: column;
  651. align-items: center;
  652. background: white;
  653. padding: 50px;
  654. min-width: 350px;
  655. }
  656. #squareLocationsButtons{
  657. display: flex;
  658. flex-direction: column;
  659. margin-bottom: 25px;
  660. width: 100%;
  661. }
  662. @media screen and (orientation: portrait){
  663. @media screen and (max-width: 1400px){
  664. body{
  665. background:rgb(0, 27, 45);
  666. }
  667. .button{
  668. padding: 3px 0;
  669. }
  670. .mobileMenuSelector{
  671. color:rgb(240, 252, 255);
  672. z-index: 10;
  673. }
  674. .strandTitle{
  675. color: white;
  676. position: fixed;
  677. top: 15px;
  678. left: 0;
  679. right: 0;
  680. margin: 0;
  681. text-align: center;
  682. font-size: 20px;
  683. }
  684. .choosable{
  685. background:rgb(201, 201, 201);
  686. color: black;
  687. }
  688. /* HOME */
  689. #inventoryCheckCard{
  690. display: none;
  691. }
  692. #graphCard{
  693. display: none;
  694. }
  695. .card{
  696. background: white;
  697. }
  698. /* INGREDIENT INVENTORY */
  699. #categoryList{
  700. width: 95%;
  701. }
  702. .categoryDiv{
  703. margin: 5px;
  704. }
  705. .categoryDiv > div:first-of-type p{
  706. padding: 10px;
  707. margin-right: 15px;
  708. }
  709. .categoryDiv > div:first-of-type button{
  710. padding: 10px;
  711. height: initial;
  712. width: initial;
  713. display: flex;
  714. }
  715. .ingredientsDiv{
  716. width: 90%;
  717. }
  718. /* RECIPE BOOK */
  719. #recipeList{
  720. width: 90%;
  721. }
  722. /* ANALYTICS */
  723. #analyticsStrand .strandHead{
  724. height: 23vh;
  725. flex-direction: column;
  726. }
  727. #analyticsStrand .strandTitle{
  728. position: static;
  729. }
  730. .switch{
  731. margin-top: 0;
  732. }
  733. .analDateRange{
  734. display: none;
  735. }
  736. .analContent{
  737. flex-direction: column;
  738. justify-content: space-between;
  739. padding: 0;
  740. height: 70vh;
  741. }
  742. .itemsList{
  743. width: 90%;
  744. height: 47%;
  745. margin-bottom: 10px;
  746. }
  747. .analData{
  748. height: 47%;
  749. }
  750. .dataRow{
  751. flex-direction: column;
  752. }
  753. #itemUseGraph{
  754. display: none;
  755. }
  756. #analDailyAverages{
  757. display: none;
  758. }
  759. #recipeSalesGraph{
  760. display: none;
  761. }
  762. /* ORDERS */
  763. #ordersStrand .strandHead{
  764. justify-content: center;
  765. }
  766. #newOrderBtn{
  767. display: none;
  768. }
  769. #orderList{
  770. width: 90%;
  771. }
  772. #orderList > div p:nth-child(2){
  773. display: none;
  774. }
  775. /* TRANSACTIONS */
  776. #transactionsStrand .strandHead{
  777. justify-content: center;
  778. }
  779. .transactionsList{
  780. width: 90%;
  781. }
  782. @media screen and (min-width: 601px){
  783. .strandTitle{
  784. font-size: 40px;
  785. }
  786. .mobileMenuSelector{
  787. left: 40px;
  788. top: 20px;
  789. }
  790. /* HOME */
  791. #graphCard{
  792. display: flex;
  793. }
  794. /* RECIPE BOOK */
  795. #recipeList{
  796. width: 75%;
  797. }
  798. /* ORDERS */
  799. #ordersStrand .strandHead{
  800. margin-top: 25px;
  801. }
  802. /* TRANSACTIONS */
  803. #transactionsStrand .strandHead{
  804. margin-top: 25px;
  805. }
  806. }
  807. }
  808. }
  809. @media screen and (orientation: landscape){
  810. @media screen and (max-width: 1200px){
  811. body{
  812. background: rgb(0, 27, 45);
  813. }
  814. .contentBlock{
  815. padding: 0;
  816. }
  817. .button{
  818. padding: 3px 0;
  819. }
  820. .mobileMenuSelector{
  821. display: flex;
  822. color: rgb(240, 252, 255);
  823. z-index: 10;
  824. }
  825. .strandHead{
  826. color: white;
  827. position: fixed;
  828. top: 5px;
  829. left: 25px;
  830. right: 0;
  831. margin: 0;
  832. text-align: center;
  833. font-size: 20px;
  834. }
  835. .strandTitle{
  836. margin: 0;
  837. }
  838. .choosable{
  839. background: rgb(201, 201, 201);
  840. color: black;
  841. }
  842. /* HOME */
  843. #homeStrand{
  844. flex-direction: row;
  845. padding: 0;
  846. align-items: flex-end;
  847. }
  848. #graphCard{
  849. display: none;
  850. }
  851. #inventoryCheckCard{
  852. display: none;
  853. }
  854. .flexRow{
  855. height: 80%;
  856. }
  857. .flexRow:nth-child(3){
  858. flex-grow: 2;
  859. }
  860. .card{
  861. background: white;
  862. }
  863. #popularIngredientsCard{
  864. max-height: 100%;
  865. padding-bottom: 5px;
  866. }
  867. /* INGREDIENTS */
  868. #ingredientsStrand{
  869. padding-bottom: 10px;
  870. justify-content: flex-end;
  871. }
  872. #categoryList{
  873. height: 70%;
  874. }
  875. .categoryDiv{
  876. margin: 3px;
  877. }
  878. .categoryDiv > div:first-of-type p{
  879. padding: 5px 10px;
  880. }
  881. .categoryDiv > div:first-of-type button{
  882. padding: 0;
  883. height: initial;
  884. width: initial;
  885. display: flex;
  886. align-items: center;
  887. }
  888. .ingredientsDiv{
  889. width: 90%;
  890. }
  891. /* RECIPE BOOK */
  892. #recipeBookStrand{
  893. padding-bottom: 10px;
  894. justify-content: flex-end;
  895. }
  896. #recipeList{
  897. height: 70%;
  898. }
  899. /* ANALYTICS */
  900. #analyticsStrand{
  901. padding-bottom: 10px;
  902. justify-content: space-between;
  903. }
  904. #analyticsStrand .strandHead{
  905. position: static;
  906. height: unset;
  907. flex-wrap: wrap;
  908. }
  909. #analyticsStrand .strandTitle{
  910. width: 100%;
  911. margin-top: -13px;
  912. margin-left: 10px;
  913. }
  914. .switch{
  915. margin-top: -15px;
  916. font-size: 15px;
  917. }
  918. #analyticsStrand .dateRange{
  919. margin-top: -55px;
  920. }
  921. .analDateRange{
  922. display: none;
  923. }
  924. .analContent{
  925. padding: 0;
  926. height: 70%;
  927. }
  928. .itemsList{
  929. width: 23%;
  930. }
  931. .analData{
  932. width: 73%
  933. }
  934. .dataRow{
  935. display: none;
  936. }
  937. .modebar-container{
  938. display: none;
  939. }
  940. #analRecipeContent{
  941. height: 70%;
  942. }
  943. #newOrderBtn{
  944. display: none;
  945. }
  946. /* ORDERS */
  947. #ordersStrand{
  948. justify-content: flex-end;
  949. }
  950. #ordersStrand .buttonBox{
  951. margin: 0;
  952. }
  953. #orderList{
  954. height: 70%;
  955. }
  956. /* TRANSACTIONS */
  957. #transactionsStrand{
  958. justify-content: flex-end;
  959. }
  960. #transactionsStrand .buttonBox{
  961. margin: 0;
  962. }
  963. #transactionsList{
  964. height: 70%;
  965. }
  966. @media screen and (min-width: 1000px){
  967. .mobileMenuSelector{
  968. top: 20px;
  969. left: 40px;
  970. }
  971. .strandTitle{
  972. margin: 15px;
  973. }
  974. /* HOME */
  975. #homeStrand{
  976. flex-direction: column;
  977. justify-content: flex-end;
  978. }
  979. #graphCard{
  980. display: flex;
  981. }
  982. .flexRow{
  983. max-height: 40vh;
  984. }
  985. .flexRow:nth-child(2){
  986. flex-grow: 2;
  987. }
  988. .flexRow:nth-child(3){
  989. flex-grow: 1;
  990. }
  991. /* INGREDIENTS */
  992. #categoryList{
  993. height: 80%;
  994. }
  995. /* RECIPE BOOK */
  996. #recipeList{
  997. height: 80%;
  998. }
  999. /* ANALYTICS */
  1000. #analyticsStrand .strandTitle{
  1001. margin-top: 8px;
  1002. margin-left: 30px;
  1003. }
  1004. .analDateRange{
  1005. display: block;
  1006. }
  1007. #analRecipeContent, .analContent{
  1008. height: 80%;
  1009. }
  1010. /* ORDERS */
  1011. #orderList{
  1012. height: 80%;
  1013. }
  1014. /* TRANSACTIONS */
  1015. #transactionsList{
  1016. height: 80%;
  1017. }
  1018. }
  1019. }
  1020. }