newRecipe.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #addRecipe{
  2. display: flex;
  3. flex-direction: column;
  4. justify-content: space-between;
  5. align-items: center;
  6. width: 100%;
  7. height: 100%;
  8. }
  9. #newRecipeContent{
  10. display: flex;
  11. flex-grow: 10;
  12. width: 100%;
  13. max-height: 85%;
  14. padding: 10px;
  15. }
  16. #newRecipeLeft{
  17. display: flex;
  18. flex-direction: column;
  19. align-items: center;
  20. width: 40%;
  21. height: 100%;
  22. border-right: 1px solid rgb(255, 99, 107);
  23. padding-right: 10px;
  24. }
  25. #newRecipeLeft input{
  26. width: 100%;
  27. margin-bottom: 15px;
  28. box-sizing: border-box;
  29. }
  30. #recipeChoices{
  31. width: 100%;
  32. overflow-y: auto;
  33. flex-grow: 2;
  34. }
  35. #newRecipeData{
  36. display: flex;
  37. flex-direction: column;
  38. justify-content: space-between;
  39. align-items: center;
  40. height: 100%;
  41. width: 60%;
  42. padding: 10px;
  43. box-sizing: border-box;
  44. }
  45. #newRecipeDataInputs{
  46. display: flex;
  47. flex-direction: column;
  48. align-items: center;
  49. }
  50. #newRecipeDataInputs > *{
  51. margin: 5px 0;
  52. }
  53. #newRecipeChosenList{
  54. height: 75%;
  55. box-sizing: border-box;
  56. overflow-y: auto;
  57. }
  58. .newRecipeChosenIngredient{
  59. width: 95%;
  60. margin: 15px auto;
  61. }
  62. .newRecipeChosenIngredient div{
  63. display: flex;
  64. justify-content: space-between;
  65. align-items: center;
  66. height: 32px;
  67. }
  68. .newRecipeChosenIngredient input, .newRecipeChosenIngredient select{
  69. height: 30px;
  70. border: none;
  71. width: 47%;
  72. }
  73. .newRecipeChosenIngredient button{
  74. padding: 0;
  75. margin: 0 5px;
  76. max-height: none;
  77. min-width: none;
  78. }