newRecipe.css 2.5 KB

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