sidebars.css 19 KB

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