home.css 3.3 KB

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