sidebars.css 13 KB

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