home.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. #homeStrand{
  2. display: flex;
  3. }
  4. .card{
  5. margin: 0 15px;
  6. flex-grow: 1;
  7. height: 100%;
  8. background: white;
  9. }
  10. .card > *{
  11. margin: 10px;
  12. }
  13. .card > p:first-of-type{
  14. font-size: 14px;
  15. font-weight: bold;
  16. text-align: center;
  17. }
  18. .flexRow{
  19. display: flex;
  20. justify-content: space-around;
  21. width: 100%;
  22. flex-basis: 100px;
  23. flex-grow: 1;
  24. margin: 15px 0;
  25. max-height: 43%;
  26. }
  27. .mostUsed{
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: center;
  31. }
  32. #mostUsedRecipesList, #mostUsedList{
  33. height: 75%;
  34. overflow-y: auto;
  35. }
  36. #mostUsedRecipesList .choosable, #mostUsedList .choosable {
  37. padding: 10px;
  38. }
  39. #inventoryCheckCard{
  40. display: flex;
  41. flex-direction: column;;
  42. justify-content: space-between;
  43. flex-basis: 100px;
  44. flex-grow: 1;
  45. }
  46. #inventoryCheckCard ul{
  47. list-style: none;
  48. }
  49. #inventoryCheckCard button{
  50. margin-left: auto;
  51. }
  52. .ingredientCheck{
  53. display: flex;
  54. align-items: center;
  55. margin: 5px 0;
  56. max-height: 50px;
  57. }
  58. .inventoryCheckIngredient{
  59. width: 40%;
  60. font-weight: 300;
  61. font-size: 15px;
  62. margin-right: 25px;
  63. text-overflow: ellipsis;
  64. white-space: wrap;
  65. overflow: hidden;
  66. text-align: left;
  67. }
  68. .inventoryCheckUnit{
  69. width: 20%
  70. }
  71. .numberInput{
  72. display: flex;
  73. justify-content: center;
  74. width: 40%;
  75. margin-right: 25px;
  76. }
  77. .numberInput button{
  78. display: flex;
  79. justify-content: center;
  80. align-items: center;
  81. width: 30%;
  82. font-size: 23px;
  83. background: rgb(0, 27, 45);
  84. border: none;
  85. color: white;
  86. font-weight: bold;
  87. cursor: pointer;
  88. }
  89. .numberInput input{
  90. width: 55%;
  91. font-size: 15px;
  92. text-align: center;
  93. border: 1px solid black;
  94. }
  95. .numberInput input::-webkit-outer-spin-button,
  96. .numberInput input::-webkit-inner-spin-button {
  97. -webkit-appearance: none;
  98. margin: 0;
  99. }
  100. .numberInput input[type=number] {
  101. -moz-appearance: textfield;
  102. }
  103. #popularIngredientsCard{
  104. display: flex;
  105. flex-direction: column;
  106. align-items: center;
  107. flex-basis: 100px;
  108. flex-grow: 2.5;
  109. padding: 5px;
  110. box-sizing: border-box;
  111. }
  112. #popularCanvas{
  113. margin: 0 35px;
  114. }
  115. .notice{
  116. color: red;
  117. font-size: 35px;
  118. font-weight: bold;
  119. }