| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616 |
- /* Menu */
- .menu{
- display: flex;
- flex-direction: column;
- align-items: center;
- background: rgb(0, 27, 45);
- width: 18vw;
- height: 100vh;
- transition: width 0.3s;
- flex-grow: 0;
- flex-shrink: 0;
- }
- .menuHead{
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- padding: 0 20px;
- margin-top: 10px;
- font-size: 22px;
- font-weight: bold;
- margin-bottom: 100px;
- text-decoration: none;
- }
- .menuLogo{
- width: 25%;
- height: 25%;
- }
- .menuHead a{
- display: flex;
- align-items: center;
- color: white;
- text-decoration: none;
- width: 80%;
- }
- .menuHead p{
- margin-left: 25px;
- }
- .menuHead button{
- background: none;
- border-style: none;
- color: white;
- font-size: 35px;
- cursor: pointer;
- outline: none;
- }
- .menuHead button:hover{
- color: rgb(201, 201, 201);
- }
- .menuHead > button::-moz-focus-inner{
- border: 0;
- }
- .menu > button svg{
- stroke: white;
- margin-right: 25px;
- }
- .menu > button{
- display: flex;
- align-items: center;
- background: none;
- border-style: none;
- color: white;
- font-size: 20px;
- margin: 15px 0;
- padding-left: 50px;
- width: 100%;
- height: 75px;
- cursor: pointer;
- text-align: left;
- border: 0;
- }
- .menu > button::-moz-focus-inner{
- border: 0;
- }
- .menu > button:hover{
- background: rgb(201, 201, 201);
- color: black;
- fill: black;
- }
- .menu > button:hover svg{
- stroke: black;
- }
- .menu > .active{
- background: rgb(179, 191, 209);
- cursor: default;
- }
- .menu > .active:hover{
- background: rgb(179, 191, 209);
- color: white;
- }
- .menu > .active:hover svg{
- stroke: white;
- }
- .logout{
- display: flex;
- justify-content: center;
- align-items: center;
- position: absolute;
- bottom: 25px;
- color: white;
- text-decoration: none;
- font-size: 20px;
- border-radius: 5px;
- padding: 10px;
- }
- .logout img{
- height: 25px;
- width: 25px;
- }
- .logout > *{
- margin: 10px;
- }
- .logout:hover{
- background: rgb(179, 191, 209);
- color: black;
- }
- /* Minimized menu */
- .menuMinimized{
- width: 5vw;
- }
- .menuLogoMin{
- width: 4vw;
- }
- .menuHeadMin{
- display: none;
- flex-direction: column;
- }
- .menuMinimized button{
- justify-content: center;
- padding: 0;
- }
- .menuMinimized button svg{
- margin: 0;
- }
- .sidebar{
- display: flex;
- width: 25vw;
- height: 100vh;
- box-sizing: border-box;
- padding: 25px;
- transition: width 0.2s;
- overflow: hidden;
- box-shadow: -1px 0px 10px gray;
- }
- .sidebarHide{
- width: 0;
- transition: width 0.2s;
- margin: 0;
- padding: 0;
- overflow: hidden;
- box-shadow: -1px 0px 10px gray;
- }
- .sidebarHide > *{
- width: 0;
- transition: width 0.2s;
- visibility: hidden;
- }
- .sidebarIconButtons{
- display: flex;
- justify-content: space-between;
- width: 100%;
- margin-bottom: 10px;
- }
- .iconButton{
- display: flex;
- align-items: center;
- background: none;
- border: none;
- cursor: pointer;
- padding: 3px;
- border-radius: 5px;
- }
- .iconButton:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- .lineBorder{
- width: 100%;
- border-bottom: 1px solid gray;
- margin: 25px;
- }
- /*
- Add Ingredients
- */
- #addIngredients{
- flex-direction: column;
- align-items: center;
- width: 100%;
- text-align: center;
- }
- #addIngredients > *{
- width: 100%;
- }
- #addIngredientList{
- display: flex;
- flex-direction: column;
- align-items: center;
- overflow-y: auto;
- margin-bottom: 15px;
- max-height: 35%;
- }
-
- #myIngredientsDiv{
- display: none;
- flex-direction: column;
- align-items: center;
- max-height: 40%;
- }
- #myIngredients{
- display: flex;
- flex-direction: column;
- width: 100%;
- overflow-y: auto;
- }
- #addIngredientsBtn{
- width: 25%;
- margin-left: auto;
- }
- .addIngredientsCategory{
- width: 90%;
- }
- .categoryHeader{
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- border: 1px solid black;
- background: rgb(240, 252, 255);
- border-radius: 5px;
- padding: 5px;
- }
- .categoryHeader > button{
- display: flex;
- align-items: center;
- background: none;
- border: none;
- padding: 5px;
- border-radius: 5px;
- cursor: pointer;
- }
- .categoryHeader > button:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- .addIngredientsIngredients{
- flex-direction: column;
- padding: 0 20px;
- }
- .addIngredientsIngredient{
- display: flex;
- justify-content: left;
- align-items: center;
- margin: 5px;
- }
- .addIngredientsIngredient > *:nth-child(2){
- margin-left: auto;
- }
- .addIngredientsIngredient input[type=number]{
- width: 100px;
- }
- .addButton{
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 25px;
- font-weight: bold;
- background: none;
- border: 1px solid black;
- border-radius: 5px;
- width: 30px;
- cursor: pointer;
- }
- .addButton:hover{
- background:rgb(0, 27, 45);
- color: white;
- }
- /*
- Ingredient Details
- */
- #ingredientDetails{
- flex-direction: column;
- align-items: center;
- width: 100%;
- }
- #ingredientDetails > p{
- border-radius: 10px;
- background: gray;
- color: white;
- padding: 0 3px;
- font-size: 14px;
- }
- #ingredientDetails label{
- font-size: 20px;
- text-align: center;
- }
- #ingredientDetails label p{
- font-size: 30px;
- font-weight: bold;
- padding: 10px;
- }
- /*
- Recipe Details
- */
- #recipeDetails{
- flex-direction: column;
- align-items: center;
- width: 100%;
- }
- #recipeNameIn{
- font-size: 32px;
- width: 75%;
- text-align: center;
- }
- #recipeIngredientList{
- width: 100%;
- }
- #recipePrice{
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- #recipePrice p{
- font-size: 25px;
- font-weight: bold;
- }
- #recipeUpdate{
- margin: 25px 0 0 0;
- }
- .recipeIngredient{
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 25px;
- text-align: center;
- }
- .recipeIngredient > *:first-of-type{
- text-align: left;
- }
- .recipeIngredientElement{
- width: 30%;
- }
- .addRecIngredient{
- display: flex;
- justify-content: center;
- margin-right: 3px;
- }
- .addRecIngredient input{
- max-width: 25%;
- margin-left: 3px;
- }
- /*
- Add Recipe
- */
- #addRecipe{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- padding-bottom: 50px;
- }
- .recipeBasicInfo{
- width: 75%;
- background: rgb(240, 252, 255);
- padding: 15px;
- border-radius: 5px;
- border: 1px solid black;
- }
- .recipeBasicInfo label{
- display: flex;
- justify-content: space-between;
- margin: 15px 0;
- }
- .recipeBasicInfo input{
- width: 50%;
- }
- #addRecipe h2{
- margin-top: 10px;
- }
- #recipeInputIngredients{
- display: flex;
- flex-direction: column;
- align-items: center;
- box-sizing: border-box;
- margin: 0 0 25px 0;
- width:100%;
- overflow-y: auto;
- overflow-x: hidden;
- box-shadow: 0 0 2px gray;
- border-radius: 5px;
- }
- #recipeInputIngredients div{
- width: 75%;
- background: rgb(240, 252, 255);
- border: 1px solid black;
- padding: 10px;
- border-radius: 5px;
- margin: 10px 0;
- padding: 10px 15px;
- text-align: center;
- }
- #recipeInputIngredients div > label{
- display: flex;
- justify-content: space-between;
- margin-bottom: 2px;
- }
- #recipeInputIngredients div h4{
- color: rgb(255, 99, 107);
- }
- #addRecipe button:last-of-type{
- margin-top: auto;
- }
- /* New Order */
- #newOrder{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- }
- #newOrderCategories{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- margin-bottom: 25px;
- max-height: 25%;
- overflow: auto;
- }
- #newOrderAdded{
- max-height: 25%;
- overflow: auto;
- }
- /* New Ingredient */
- #newIngredient{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- }
- #newIngredient label{
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- background: rgb(240, 252, 255);
- border-radius: 5px;
- border: 1px solid black;
- padding: 10px;
- }
- #newIngredient .button{
- margin: 15px 0 0 auto;
- }
- /* Order Details */
- #orderDetails{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- }
- #orderIngredients{
- width: 90%;
- overflow: auto;
- }
- #orderTotalPrice{
- display: flex;
- flex-direction: column;
- align-items: center;
- font-size: 25px;
- font-weight: bold;
- }
- .orderIngredient{
- display: flex;
- justify-content: space-between;
- width: 100%;
- box-sizing: border-box;
- background: rgb(240, 252, 255);
- border: 1px solid black;
- border-radius: 5px;
- padding: 10px;
- margin: 5px 0;
- }
- /*
- Ingredient Details
- */
- #ingredientRecipeList{
- list-style: none;
- overflow: auto;
- }
- #ingredientRecipeList > li{
- font-size: 25px;
- font-weight: bold;
- padding: 10px;
- border-radius: 5px;
- cursor: pointer;
- }
- #ingredientRecipeList > li:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- /*
- Transaction Details
- */
- .transactionDetails{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- }
- .transactionRecipes{
- width: 100%;
- }
- .totals{
- font-size: 25px;
- font-weight: bold;
- }
- /*
- New Transaction
- */
- .newTransaction{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- }
- .newTransactionRecipes{
- width: 100%;
- height: 90%;
- overflow-y: auto;
- }
|