sidebars.css 19 KB

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