sidebars.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938
  1. /* Menu */
  2. .menu{
  3. display: flex;
  4. flex-direction: column;
  5. align-items: center;
  6. justify-content: space-between;
  7. background: rgb(0, 27, 45);
  8. width: 18vw;
  9. height: 100vh;
  10. transition: width 0.3s;
  11. flex-grow: 0;
  12. flex-shrink: 0;
  13. padding-bottom: 25px;
  14. box-sizing: border-box;
  15. }
  16. .menuHead{
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. width: 100%;
  21. padding: 0 20px;
  22. margin-top: 10px;
  23. font-size: 22px;
  24. font-weight: bold;
  25. text-decoration: none;
  26. }
  27. .menuLogo{
  28. width: 25%;
  29. height: 25%;
  30. }
  31. .menuHead a{
  32. display: flex;
  33. align-items: center;
  34. color: rgb(255, 99, 107);
  35. text-decoration: none;
  36. width: 80%;
  37. }
  38. .menuHead p{
  39. margin-left: 25px;
  40. }
  41. .menuHead button{
  42. background: none;
  43. border-style: none;
  44. color: rgb(255, 99, 107);
  45. font-size: 35px;
  46. cursor: pointer;
  47. outline: none;
  48. }
  49. .menuHead button:hover{
  50. color: rgb(201, 201, 201);
  51. }
  52. .menuHead > button::-moz-focus-inner{
  53. border: 0;
  54. }
  55. #menuLocationName{
  56. color: white;
  57. font-size: 22px;
  58. font-weight: bold;
  59. }
  60. .menuButton{
  61. display: flex;
  62. align-items: center;
  63. background: none;
  64. border-style: none;
  65. color: rgb(255, 99, 107);
  66. font-size: 18px;
  67. margin: 15px 0;
  68. padding-left: 15px;
  69. width: 100%;
  70. height: 75px;
  71. cursor: pointer;
  72. text-align: left;
  73. border: 0;
  74. outline: 0;
  75. box-sizing: border-box;
  76. text-decoration: none;
  77. }
  78. .menuButton svg{
  79. margin-right: 25px;
  80. }
  81. .menuButton::-moz-focus-inner{
  82. border: 0;
  83. }
  84. .menuButton:hover{
  85. background: rgb(179, 191, 209);
  86. }
  87. .menu > .active{
  88. background: rgb(240, 252, 255);
  89. cursor: default;
  90. }
  91. .menu > .active:hover{
  92. background: rgb(240, 252, 255);
  93. }
  94. /* Minimized menu */
  95. .menuMinimized{
  96. width: 5vw;
  97. }
  98. .menuLogoMin{
  99. width: 4vw;
  100. }
  101. .menuHeadMin{
  102. display: none;
  103. flex-direction: column;
  104. }
  105. .menuMinimized .menuButton{
  106. justify-content: center;
  107. padding: 0;
  108. }
  109. .menuMinimized .menuButton svg{
  110. margin: 0;
  111. }
  112. .sidebarButton{
  113. display: initial;
  114. background: rgb(179, 191, 209);
  115. border: none;
  116. text-decoration: none;
  117. padding: 2px 10px;
  118. color: rgb(255, 99, 107);
  119. cursor: pointer;
  120. text-align: center;
  121. font-size: 20px;
  122. font-weight: bold;
  123. min-width: 100px;
  124. margin: 5px;
  125. max-height: 52px;
  126. }
  127. .sidebarButton:hover{
  128. background: rgb(240, 252, 255);
  129. }
  130. .sidebarButton:active{
  131. background: rgb(0, 27, 45);
  132. }
  133. .sidebar{
  134. display: flex;
  135. width: 25vw;
  136. height: 100vh;
  137. box-sizing: border-box;
  138. padding: 25px;
  139. transition: width 0.2s;
  140. overflow: hidden;
  141. background: rgb(0, 27, 45);
  142. color: rgb(255, 99, 107);
  143. }
  144. .sidebarWide{
  145. width: 40vw;
  146. }
  147. .sidebarHide{
  148. width: 0;
  149. transition: width 0.2s;
  150. margin: 0;
  151. padding: 0;
  152. overflow: hidden;
  153. box-shadow: -1px 0px 10px gray;
  154. }
  155. .sidebarHide > *{
  156. width: 0;
  157. transition: width 0.2s;
  158. visibility: hidden;
  159. }
  160. .sidebarIconButtons{
  161. display: flex;
  162. justify-content: space-between;
  163. width: 100%;
  164. margin-bottom: 10px;
  165. }
  166. .iconButton{
  167. display: flex;
  168. align-items: center;
  169. background: none;
  170. border: none;
  171. cursor: pointer;
  172. padding: 3px;
  173. color: rgb(255, 99, 107);
  174. }
  175. .iconButton:hover{
  176. background: rgb(0, 27, 45);
  177. color: white;
  178. }
  179. .lineBorder{
  180. width: 100%;
  181. border-bottom: 1px solid gray;
  182. margin: 25px;
  183. }
  184. .menuLinks{
  185. display: flex;
  186. justify-content: space-between;
  187. width: 75%;
  188. }
  189. .menuLinks > *{
  190. background: none;
  191. border: none;
  192. color: white;
  193. text-decoration: underline;
  194. font-size: 16px;
  195. cursor: pointer;
  196. }
  197. /*
  198. Ingredient Details
  199. */
  200. #ingredientDetails{
  201. flex-direction: column;
  202. align-items: center;
  203. width: 100%;
  204. }
  205. #ingredientDetails label{
  206. font-size: 20px;
  207. text-align: center;
  208. margin: 0;
  209. }
  210. #ingredientDetails label p{
  211. font-size: 30px;
  212. font-weight: bold;
  213. padding: 10px;
  214. }
  215. #ingredientRecipeList{
  216. display: flex;
  217. flex-direction: column;
  218. align-items: center;
  219. text-align: center;
  220. list-style: none;
  221. overflow: auto;
  222. max-height: 150px;
  223. width: 75%;
  224. }
  225. /*
  226. EDIT INGREDIENT
  227. */
  228. #editIngredient{
  229. flex-direction: column;
  230. align-items: center;
  231. width: 100%;
  232. }
  233. #editIngredient label{
  234. display: flex;
  235. flex-direction: column;
  236. align-items: center;
  237. }
  238. .unitbuttons{
  239. width: 100%;
  240. display: flex;
  241. justify-content: space-around;
  242. }
  243. .unitButton{
  244. margin: 5px;
  245. padding: 5px;
  246. background: rgb(179, 191, 209);
  247. border: none;
  248. font-size: 15px;
  249. font-weight: bold;
  250. cursor: pointer;
  251. color: rgb(255, 99, 107);
  252. }
  253. .unitButton:hover{
  254. background: rgb(240, 252, 255);
  255. }
  256. .unitActive{
  257. /* background: rgb(255, 99, 107); */
  258. background: rgb(0, 27, 45);
  259. }
  260. .unitActive:hover{
  261. background: rgb(0, 27, 45);
  262. cursor: default;
  263. }
  264. /*
  265. Recipe Details
  266. */
  267. #recipeDetails{
  268. flex-direction: column;
  269. align-items: center;
  270. width: 100%;
  271. }
  272. #recipeIngredientList{
  273. width: 100%;
  274. }
  275. #recipePrice{
  276. display: flex;
  277. flex-direction: column;
  278. align-items: center;
  279. }
  280. #recipePrice p{
  281. font-size: 25px;
  282. font-weight: bold;
  283. }
  284. /*
  285. Add Recipe
  286. */
  287. #addRecipe{
  288. display: flex;
  289. flex-direction: column;
  290. align-items: center;
  291. width: 100%;
  292. padding-bottom: 50px;
  293. }
  294. .recipeBasicInfo{
  295. width: 75%;
  296. background: rgb(240, 252, 255);
  297. padding: 15px;
  298. border-radius: 5px;
  299. border: 1px solid black;
  300. }
  301. .recipeBasicInfo label{
  302. display: flex;
  303. justify-content: space-between;
  304. margin: 15px 0;
  305. }
  306. .recipeBasicInfo input{
  307. width: 50%;
  308. }
  309. #addRecipe h2{
  310. margin-top: 10px;
  311. }
  312. #recipeInputIngredients{
  313. display: flex;
  314. flex-direction: column;
  315. align-items: center;
  316. box-sizing: border-box;
  317. margin: 0 0 25px 0;
  318. width:100%;
  319. overflow-y: auto;
  320. overflow-x: hidden;
  321. box-shadow: 0 0 2px gray;
  322. border-radius: 5px;
  323. }
  324. #recipeInputIngredients div{
  325. width: 75%;
  326. background: rgb(240, 252, 255);
  327. border: 1px solid black;
  328. padding: 10px;
  329. border-radius: 5px;
  330. margin: 10px 0;
  331. padding: 10px 15px;
  332. text-align: center;
  333. }
  334. #recipeInputIngredients div > label{
  335. display: flex;
  336. justify-content: space-between;
  337. margin-bottom: 2px;
  338. }
  339. #recipeInputIngredients input{
  340. width: 100px;
  341. }
  342. #recipeInputIngredients div h4{
  343. color: rgb(255, 99, 107);
  344. }
  345. /*
  346. EDIT RECIPE
  347. */
  348. #editRecipe{
  349. display: flex;
  350. flex-direction: column;
  351. align-items: center;
  352. width: 100%;
  353. }
  354. #editRecipeIngList{
  355. width: 100%;
  356. max-height: 75%;
  357. overflow-y: auto;
  358. }
  359. .editRecipeIng{
  360. background: rgb(0, 27, 45);
  361. color: white;
  362. width: 90%;
  363. border-radius: 5px;
  364. text-align: center;
  365. padding: 5px;
  366. margin: 5px auto;
  367. position: relative;
  368. }
  369. .editRecipeIng button{
  370. position: absolute;
  371. right: 5px;
  372. }
  373. /* New Order */
  374. #newOrderIngredientList{
  375. display: flex;
  376. flex-direction: column;
  377. align-items: center;
  378. width: 40%;
  379. }
  380. .newOrderLabels{
  381. display: flex;
  382. flex-direction: column;
  383. width: 100%;
  384. margin-bottom: 25px;
  385. }
  386. .newOrderLabels label{
  387. display: flex;
  388. justify-content: space-between;
  389. align-items: center;
  390. font-size: 15px;
  391. margin: 10px 0;
  392. }
  393. .newOrderLabels input{
  394. width: 50%;
  395. }
  396. #newOrderIngredients{
  397. display: flex;
  398. flex-direction: column;
  399. width: 90%;
  400. overflow-y: auto;
  401. }
  402. #newOrderIngredients .choosable{
  403. background: rgb(240, 252, 255);
  404. justify-content: left;
  405. }
  406. #newOrderIngredients .choosable:hover{
  407. background: rgb(179, 191, 209);
  408. }
  409. #newOrder{
  410. display: flex;
  411. flex-direction: column;
  412. align-items: center;
  413. width: 60%;
  414. border-left: 1px solid black;
  415. padding-left: 25px;
  416. }
  417. #newOrder > label{
  418. margin: 5px;
  419. }
  420. #selectedIngredientList{
  421. display: flex;
  422. flex-direction: column;
  423. align-items: center;
  424. height: 75%;
  425. overflow-y: auto;
  426. margin-bottom: 10px;
  427. }
  428. .selectedIngredient{
  429. display: flex;
  430. flex-direction: column;
  431. background: rgb(0, 27, 45);
  432. color: white;
  433. margin: 5px 0;
  434. width: 95%;
  435. }
  436. .selectedIngredient > div{
  437. margin: 3px;
  438. display: flex;
  439. justify-content: space-between;
  440. align-items: center
  441. }
  442. .selectedIngredient p{
  443. font-weight: bold;
  444. font-size: 17px;
  445. }
  446. .newOrderRemove{
  447. background: rgb(0, 27, 45);
  448. border: 1px solid white;
  449. color: white;
  450. font-size: 13px;
  451. font-weight: bold;
  452. padding: 5px;
  453. cursor: pointer;
  454. }
  455. .newOrderRemove:hover{
  456. background: rgb(201, 201, 201);
  457. color: black;
  458. }
  459. .selectedIngredient input{
  460. width: 45%;
  461. }
  462. /* New Ingredient */
  463. #newIngredient{
  464. display: flex;
  465. flex-direction: column;
  466. align-items: center;
  467. width: 100%;
  468. }
  469. #newIngredient label{
  470. display: flex;
  471. justify-content: space-between;
  472. align-items: center;
  473. width: 100%;
  474. background: white;
  475. padding: 10px;
  476. margin: 2px
  477. }
  478. #newIngredient .button{
  479. margin: 15px auto;
  480. }
  481. #newIngredient h2{
  482. text-align: center;
  483. margin-bottom: 25px;
  484. }
  485. /* Order Details */
  486. #orderDetails{
  487. display: flex;
  488. flex-direction: column;
  489. align-items: center;
  490. width: 100%;
  491. }
  492. .orderDiv{
  493. width: 50%;
  494. }
  495. .subOrderDiv{
  496. display: flex;
  497. justify-content: space-between;
  498. }
  499. #orderIngredients{
  500. width: 90%;
  501. overflow: auto;
  502. }
  503. #orderTotalPrice{
  504. display: flex;
  505. flex-direction: column;
  506. align-items: center;
  507. font-size: 25px;
  508. font-weight: bold;
  509. }
  510. /*
  511. ORDER FILTER
  512. */
  513. #orderFilter{
  514. display: flex;
  515. flex-direction: column;
  516. align-items: center;
  517. width: 100%;
  518. }
  519. .orderFilterDates{
  520. display: flex;
  521. flex-direction: column;
  522. width: 100%;
  523. }
  524. #orderFilterIngredients{
  525. width: 100%;
  526. max-height: 50%;
  527. overflow-y: auto;
  528. }
  529. #orderFilterIngredients .choosable{
  530. background: rgb(240, 252, 255);
  531. justify-content: left;
  532. }
  533. #orderFilterIngredients .choosable:hover{
  534. background: rgb(179, 191, 209);
  535. }
  536. #orderFilterIngredients .active{
  537. background: rgb(179, 191, 209);
  538. }
  539. /*
  540. ORDER CALCULATOR
  541. */
  542. #orderCalculator{
  543. display: flex;
  544. flex-direction: column;
  545. align-items: center;
  546. width: 100%;
  547. }
  548. #orderCalculator > *{
  549. margin: 15px 0;
  550. }
  551. /*
  552. TRANSACTION DETAILS
  553. */
  554. .transactionDetails{
  555. display: flex;
  556. flex-direction: column;
  557. align-items: center;
  558. width: 100%;
  559. }
  560. .transactionRecipes{
  561. width: 100%;
  562. }
  563. .totals{
  564. font-size: 25px;
  565. font-weight: bold;
  566. }
  567. /*
  568. TRANSACTION FILTER
  569. */
  570. .transactionFilter{
  571. display: flex;
  572. flex-direction: column;
  573. align-items: center;
  574. width: 100%;
  575. }
  576. #transFilterRecipeList{
  577. width: 100%;
  578. max-height: 50%;
  579. overflow-y: auto;
  580. }
  581. #transFilterRecipeList .choosable{
  582. background:rgb(240, 252, 255);
  583. justify-content: left;
  584. }
  585. #transFilterRecipeList .choosable:hover{
  586. background: rgb(179, 191, 209);
  587. }
  588. #transFilterRecipeList .active{
  589. background:rgb(179, 191, 209);
  590. }
  591. /*
  592. NEW TRANSACTION
  593. */
  594. .newTransaction{
  595. display: flex;
  596. flex-direction: column;
  597. align-items: center;
  598. width: 100%;
  599. }
  600. .newTransaction > h2{
  601. text-align: center;
  602. }
  603. .newTransactionRecipes{
  604. width: 100%;
  605. height: 90%;
  606. overflow-y: auto;
  607. }
  608. .newTransactionRecipe{
  609. display: flex;
  610. flex-direction: column;
  611. align-items: center;
  612. background: white;
  613. margin: 10px 0;
  614. padding: 5px 0;
  615. font-weight: bold;
  616. font-size: 17px;
  617. }
  618. @media screen and (orientation: portrait){
  619. @media screen and (max-width: 1400px){
  620. .sidebar{
  621. width: 100vw;
  622. color: white;
  623. }
  624. .sidebarIconButtons{
  625. display: none;
  626. }
  627. /* MENU */
  628. #menu{
  629. display: none;
  630. width: 100vw;
  631. padding: 0;
  632. }
  633. .menuShifter{
  634. display: none;
  635. }
  636. .menuHead{
  637. justify-content: right;
  638. padding: 0;
  639. margin-bottom: 25px;
  640. }
  641. .menuHead a{
  642. justify-content: center;
  643. margin: auto;
  644. }
  645. .menuButton{
  646. padding-left: 0;
  647. justify-content: center;
  648. background: rgb(201, 201, 201);
  649. color: black;
  650. width: 90%;
  651. margin: 15px auto;
  652. box-shadow: 0 0 5px white;
  653. }
  654. /* ORDER CALCULATOR */
  655. #orderCalcBtn{
  656. display: none;
  657. }
  658. }
  659. @media screen and (min-width: 601px){
  660. .menuHead a p{
  661. font-size: 40px;
  662. }
  663. }
  664. }
  665. @media screen and (orientation: landscape){
  666. @media screen and (max-width: 1200px){
  667. .sidebar{
  668. width: 100vw;
  669. color: white;
  670. padding: 3px 15px;
  671. }
  672. .sidebarIconButtons{
  673. display: none;
  674. }
  675. /* MENU */
  676. #menu{
  677. display: none;
  678. width: 100vw;
  679. height: 100vh;
  680. padding: 0;
  681. flex-wrap: wrap;
  682. flex-direction: row;
  683. justify-content: space-around;
  684. }
  685. .menuShifter{
  686. display: none;
  687. }
  688. .menuHead{
  689. justify-content: center;
  690. padding: 0;
  691. margin-bottom: 0;
  692. height: 50px;
  693. }
  694. .menuHead a{
  695. width: initial;
  696. justify-content: center;
  697. }
  698. .menuLogo{
  699. max-height: 50px;
  700. max-width: 50px;
  701. }
  702. .menuButton{
  703. width: 40%;
  704. justify-content: center;
  705. background: rgb(201, 201, 201);
  706. color: black;
  707. margin: 15px;
  708. padding-left: 0;
  709. box-shadow: 0 0 5px white;
  710. height: 10vh;
  711. }
  712. /* ORDER CALCULATOR */
  713. #orderCalcBtn{
  714. display: none;
  715. }
  716. /* INGREDIENT DETAILS */
  717. #ingredientDetails > *{
  718. margin: 0;
  719. }
  720. #recipeListLabel, #ingredientRecipeList{
  721. display: none;
  722. }
  723. /* FILTER ORDERS */
  724. #orderFilter > *{
  725. margin: 0;
  726. }
  727. #orderFilter h1{
  728. padding: 0;
  729. }
  730. #filterOrderDateRange, #orderFilter .lineBorder{
  731. display: none;
  732. }
  733. .dateRange{
  734. padding-bottom: 3px;
  735. }
  736. #orderFilterSubmit{
  737. margin-top: 3px;
  738. }
  739. /* ORDER DETAILS */
  740. #orderIngredients{
  741. display: none;
  742. }
  743. /* TRANSACTION DETAILS */
  744. #transactionRecipesLabel, .transactionRecipes, #transactionDetails .lineBorder{
  745. display: none;
  746. }
  747. /* FILTER TRANSACTIONS */
  748. #transactionFilter > *{
  749. margin: 0;
  750. }
  751. #transactionFilterDateLabel{
  752. display: none;
  753. }
  754. #transactionFilter .dateRange{
  755. margin-bottom: 5px;
  756. }
  757. #transFilterSubmit{
  758. margin-top: 5px;
  759. }
  760. @media screen and (min-width: 1000px){
  761. .menuLogo{
  762. max-height: initial;
  763. max-width: 300px;
  764. }
  765. .menuHead a p{
  766. font-size: 35px;
  767. }
  768. #recipeListLabel, #ingredientRecipeList{
  769. display: flex;
  770. }
  771. /* ORDER FILTER */
  772. #orderFilterIngredients{
  773. max-height: 70%;
  774. }
  775. #orderFilterSubmit{
  776. margin-top: 15px;
  777. }
  778. /* ORDER DETAILS */
  779. #orderIngredients{
  780. display: flex;
  781. flex-direction: column;
  782. }
  783. /* TRANSACTION DETAILS */
  784. #transactionRecipesLabel, .transactionRecipes, #transactionDetails .lineBorder{
  785. display: flex;
  786. flex-direction: column;
  787. }
  788. /* TRANSACTION FILTER */
  789. #transFilterRecipeList{
  790. max-height: 70%;
  791. }
  792. }
  793. }
  794. }