home.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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: start;
  31. }
  32. .scrollTable{
  33. max-height: 75%;
  34. overflow: auto;
  35. }
  36. .mostUsed table{
  37. border-spacing: 0 5px;
  38. width: 100%;
  39. }
  40. .mostUsed th {
  41. position: sticky;
  42. top: 0;
  43. background: white;
  44. }
  45. .mostUsed .choosable{
  46. display: table-row;
  47. }
  48. .mostUsed .choosable td{
  49. padding: 5px 0;
  50. max-width: 150px;
  51. white-space: nowrap;
  52. overflow: hidden;
  53. text-overflow: ellipsis;
  54. }
  55. #mostUsedBody, #mostUsedRecipeBody{
  56. max-height: 75%;
  57. overflow-y: auto;
  58. }
  59. #mostUsedRecipesList{
  60. height: 75%;
  61. overflow-y: auto;
  62. }
  63. #mostUsedRecipesList .choosable{
  64. padding: 10px;
  65. }
  66. #inventoryCheckCard{
  67. display: flex;
  68. flex-direction: column;;
  69. justify-content: space-between;
  70. flex-basis: 100px;
  71. flex-grow: 1;
  72. }
  73. #inventoryCheckCard ul{
  74. list-style: none;
  75. }
  76. #inventoryCheckCard button{
  77. margin-left: auto;
  78. }
  79. .ingredientCheck{
  80. display: flex;
  81. align-items: center;
  82. margin: 5px 0;
  83. max-height: 50px;
  84. }
  85. .inventoryCheckIngredient{
  86. width: 40%;
  87. font-weight: 300;
  88. font-size: 15px;
  89. margin-right: 25px;
  90. text-overflow: ellipsis;
  91. white-space: wrap;
  92. overflow: hidden;
  93. text-align: left;
  94. }
  95. .inventoryCheckUnit{
  96. width: 20%
  97. }
  98. .numberInput{
  99. display: flex;
  100. justify-content: center;
  101. width: 40%;
  102. margin-right: 25px;
  103. }
  104. .numberInput button{
  105. display: flex;
  106. justify-content: center;
  107. align-items: center;
  108. width: 30%;
  109. font-size: 23px;
  110. background: rgb(0, 27, 45);
  111. border: none;
  112. color: white;
  113. font-weight: bold;
  114. cursor: pointer;
  115. }
  116. .numberInput input{
  117. width: 55%;
  118. font-size: 15px;
  119. text-align: center;
  120. border: 1px solid black;
  121. }
  122. .numberInput input::-webkit-outer-spin-button,
  123. .numberInput input::-webkit-inner-spin-button {
  124. -webkit-appearance: none;
  125. margin: 0;
  126. }
  127. .numberInput input[type=number] {
  128. -moz-appearance: textfield;
  129. }
  130. #popularIngredientsCard{
  131. display: flex;
  132. flex-direction: column;
  133. align-items: center;
  134. flex-basis: 100px;
  135. flex-grow: 2.5;
  136. padding: 5px;
  137. box-sizing: border-box;
  138. }
  139. #popularCanvas{
  140. margin: 0 35px;
  141. }
  142. .notice{
  143. color: red;
  144. font-size: 35px;
  145. font-weight: bold;
  146. }