home.css 3.5 KB

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