home.css 3.3 KB

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