sidebars.css 15 KB

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