sidebars.css 19 KB

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