sidebars.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945
  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. margin: 5px 0;
  440. width: 95%;
  441. }
  442. .selectedIngredient > div{
  443. margin: 3px;
  444. display: flex;
  445. justify-content: space-between;
  446. align-items: center
  447. }
  448. .selectedIngredient p{
  449. font-weight: bold;
  450. font-size: 17px;
  451. }
  452. .newOrderRemove{
  453. background: rgb(0, 27, 45);
  454. border: 1px solid white;
  455. color: white;
  456. font-size: 13px;
  457. font-weight: bold;
  458. padding: 5px;
  459. cursor: pointer;
  460. }
  461. .newOrderRemove:hover{
  462. background: rgb(201, 201, 201);
  463. color: black;
  464. }
  465. .selectedIngredient input{
  466. width: 45%;
  467. }
  468. /* New Ingredient */
  469. #newIngredient{
  470. display: flex;
  471. flex-direction: column;
  472. align-items: center;
  473. width: 100%;
  474. }
  475. #newIngredient label{
  476. display: flex;
  477. justify-content: space-between;
  478. align-items: center;
  479. width: 100%;
  480. background: white;
  481. padding: 10px;
  482. margin: 2px
  483. }
  484. #newIngredient .button{
  485. margin: 15px auto;
  486. }
  487. #newIngredient h2{
  488. text-align: center;
  489. margin-bottom: 25px;
  490. }
  491. /* Order Details */
  492. #orderDetails{
  493. display: flex;
  494. flex-direction: column;
  495. align-items: center;
  496. width: 100%;
  497. }
  498. .orderDiv{
  499. width: 50%;
  500. }
  501. .subOrderDiv{
  502. display: flex;
  503. justify-content: space-between;
  504. }
  505. #orderIngredients{
  506. width: 90%;
  507. overflow: auto;
  508. }
  509. #orderTotalPrice{
  510. display: flex;
  511. flex-direction: column;
  512. align-items: center;
  513. font-size: 25px;
  514. font-weight: bold;
  515. }
  516. /*
  517. ORDER FILTER
  518. */
  519. #orderFilter{
  520. display: flex;
  521. flex-direction: column;
  522. align-items: center;
  523. width: 100%;
  524. }
  525. .orderFilterDates{
  526. display: flex;
  527. flex-direction: column;
  528. width: 100%;
  529. }
  530. #orderFilterIngredients{
  531. width: 100%;
  532. max-height: 50%;
  533. overflow-y: auto;
  534. }
  535. #orderFilterIngredients .choosable{
  536. background: rgb(240, 252, 255);
  537. justify-content: left;
  538. }
  539. #orderFilterIngredients .choosable:hover{
  540. background: rgb(179, 191, 209);
  541. }
  542. #orderFilterIngredients .active{
  543. background: rgb(179, 191, 209);
  544. }
  545. /*
  546. ORDER CALCULATOR
  547. */
  548. #orderCalculator{
  549. display: flex;
  550. flex-direction: column;
  551. align-items: center;
  552. width: 100%;
  553. }
  554. #orderCalculator > *{
  555. margin: 15px 0;
  556. }
  557. /*
  558. TRANSACTION DETAILS
  559. */
  560. .transactionDetails{
  561. display: flex;
  562. flex-direction: column;
  563. align-items: center;
  564. width: 100%;
  565. }
  566. .transactionRecipes{
  567. width: 100%;
  568. }
  569. .totals{
  570. font-size: 25px;
  571. font-weight: bold;
  572. }
  573. /*
  574. TRANSACTION FILTER
  575. */
  576. .transactionFilter{
  577. display: flex;
  578. flex-direction: column;
  579. align-items: center;
  580. width: 100%;
  581. }
  582. #transFilterRecipeList{
  583. width: 100%;
  584. max-height: 50%;
  585. overflow-y: auto;
  586. }
  587. #transFilterRecipeList .choosable{
  588. background:rgb(240, 252, 255);
  589. justify-content: left;
  590. }
  591. #transFilterRecipeList .choosable:hover{
  592. background: rgb(179, 191, 209);
  593. }
  594. #transFilterRecipeList .active{
  595. background:rgb(179, 191, 209);
  596. }
  597. /*
  598. NEW TRANSACTION
  599. */
  600. .newTransaction{
  601. display: flex;
  602. flex-direction: column;
  603. align-items: center;
  604. width: 100%;
  605. }
  606. .newTransaction > h2{
  607. text-align: center;
  608. }
  609. .newTransactionRecipes{
  610. width: 100%;
  611. height: 90%;
  612. overflow-y: auto;
  613. }
  614. .newTransactionRecipe{
  615. display: flex;
  616. flex-direction: column;
  617. align-items: center;
  618. background: white;
  619. margin: 10px 0;
  620. padding: 5px 0;
  621. font-weight: bold;
  622. font-size: 17px;
  623. }
  624. @media screen and (orientation: portrait){
  625. @media screen and (max-width: 1400px){
  626. .sidebar{
  627. width: 100vw;
  628. color: white;
  629. }
  630. .sidebarIconButtons{
  631. display: none;
  632. }
  633. /* MENU */
  634. #menu{
  635. display: none;
  636. width: 100vw;
  637. padding: 0;
  638. }
  639. .menuShifter{
  640. display: none;
  641. }
  642. .menuHead{
  643. justify-content: right;
  644. padding: 0;
  645. margin-bottom: 25px;
  646. }
  647. .menuHead a{
  648. justify-content: center;
  649. margin: auto;
  650. }
  651. .menuButton{
  652. padding-left: 0;
  653. justify-content: center;
  654. background: rgb(201, 201, 201);
  655. color: black;
  656. width: 90%;
  657. margin: 15px auto;
  658. box-shadow: 0 0 5px white;
  659. }
  660. /* ORDER CALCULATOR */
  661. #orderCalcBtn{
  662. display: none;
  663. }
  664. }
  665. @media screen and (min-width: 601px){
  666. .menuHead a p{
  667. font-size: 40px;
  668. }
  669. }
  670. }
  671. @media screen and (orientation: landscape){
  672. @media screen and (max-width: 1200px){
  673. .sidebar{
  674. width: 100vw;
  675. color: white;
  676. padding: 3px 15px;
  677. }
  678. .sidebarIconButtons{
  679. display: none;
  680. }
  681. /* MENU */
  682. #menu{
  683. display: none;
  684. width: 100vw;
  685. height: 100vh;
  686. padding: 0;
  687. flex-wrap: wrap;
  688. flex-direction: row;
  689. justify-content: space-around;
  690. }
  691. .menuShifter{
  692. display: none;
  693. }
  694. .menuHead{
  695. justify-content: center;
  696. padding: 0;
  697. margin-bottom: 0;
  698. height: 50px;
  699. }
  700. .menuHead a{
  701. width: initial;
  702. justify-content: center;
  703. }
  704. .menuLogo{
  705. max-height: 50px;
  706. max-width: 50px;
  707. }
  708. .menuButton{
  709. width: 40%;
  710. justify-content: center;
  711. background: rgb(201, 201, 201);
  712. color: black;
  713. margin: 15px;
  714. padding-left: 0;
  715. box-shadow: 0 0 5px white;
  716. height: 10vh;
  717. }
  718. /* ORDER CALCULATOR */
  719. #orderCalcBtn{
  720. display: none;
  721. }
  722. /* INGREDIENT DETAILS */
  723. #ingredientDetails > *{
  724. margin: 0;
  725. }
  726. #recipeListLabel, #ingredientRecipeList{
  727. display: none;
  728. }
  729. /* FILTER ORDERS */
  730. #orderFilter > *{
  731. margin: 0;
  732. }
  733. #orderFilter h1{
  734. padding: 0;
  735. }
  736. #filterOrderDateRange, #orderFilter .lineBorder{
  737. display: none;
  738. }
  739. .dateRange{
  740. padding-bottom: 3px;
  741. }
  742. #orderFilterSubmit{
  743. margin-top: 3px;
  744. }
  745. /* ORDER DETAILS */
  746. #orderIngredients{
  747. display: none;
  748. }
  749. /* TRANSACTION DETAILS */
  750. #transactionRecipesLabel, .transactionRecipes, #transactionDetails .lineBorder{
  751. display: none;
  752. }
  753. /* FILTER TRANSACTIONS */
  754. #transactionFilter > *{
  755. margin: 0;
  756. }
  757. #transactionFilterDateLabel{
  758. display: none;
  759. }
  760. #transactionFilter .dateRange{
  761. margin-bottom: 5px;
  762. }
  763. #transFilterSubmit{
  764. margin-top: 5px;
  765. }
  766. @media screen and (min-width: 1000px){
  767. .menuLogo{
  768. max-height: initial;
  769. max-width: 300px;
  770. }
  771. .menuHead a p{
  772. font-size: 35px;
  773. }
  774. #recipeListLabel, #ingredientRecipeList{
  775. display: flex;
  776. }
  777. /* ORDER FILTER */
  778. #orderFilterIngredients{
  779. max-height: 70%;
  780. }
  781. #orderFilterSubmit{
  782. margin-top: 15px;
  783. }
  784. /* ORDER DETAILS */
  785. #orderIngredients{
  786. display: flex;
  787. flex-direction: column;
  788. }
  789. /* TRANSACTION DETAILS */
  790. #transactionRecipesLabel, .transactionRecipes, #transactionDetails .lineBorder{
  791. display: flex;
  792. flex-direction: column;
  793. }
  794. /* TRANSACTION FILTER */
  795. #transFilterRecipeList{
  796. max-height: 70%;
  797. }
  798. }
  799. }
  800. }