dashboard.css 25 KB

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