| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- .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;
- }
- .sidebar button:first-of-type{
- background: none;
- border: none;
- cursor: pointer;
- padding: 3px;
- border-radius: 5px;
- margin-right: auto;
- }
- .sidebar button:first-of-type:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- .lineBorder{
- width: 100%;
- border-bottom: 1px solid gray;
- margin: 25px;
- }
- #addIngredient{
- flex-direction: column;
- }
- #ingredientDetails{
- flex-direction: column;
- align-items: center;
- }
- #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;
- }
- #recipeDetails{
- flex-direction: column;
- align-items: center;
- box-sizing: border-box;
- }
- #recipeDetailsButtons{
- display: flex;
- justify-content: space-between;
- width: 100%;
- margin-bottom: 100px;
- }
- #recipeDetailsButtons button{
- background: none;
- border: none;
- cursor: pointer;
- margin: 0;
- padding: 3px;
- border-radius: 5px;
- }
- #recipeDetailsButtons button:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- #recipeIngredients{
- width: 100%;
- }
- .recipeIngredient{
- display: flex;
- justify-content: space-between;
- margin: 25px;
- }
- #recipePrice{
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- #recipePrice p{
- font-size: 25px;
- font-weight: bold;
- }
- #addRecipe{
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- #addRecipe label{
- display: flex;
- }
- #addRecipe input{
- width: 50%;
- }
- #recipeInputIngredients div{
- background: rgb(0, 27, 45);
- }
|