home.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. display: flex;
  94. justify-content: center;
  95. align-items: center;
  96. width: 30%;
  97. font-size: 23px;
  98. background: rgb(0, 27, 45);
  99. border: none;
  100. color: white;
  101. font-weight: bold;
  102. cursor: pointer;
  103. }
  104. .numberInput input{
  105. width: 55%;
  106. font-size: 15px;
  107. text-align: center;
  108. border: 1px solid black;
  109. }
  110. .numberInput input::-webkit-outer-spin-button,
  111. .numberInput input::-webkit-inner-spin-button {
  112. -webkit-appearance: none;
  113. margin: 0;
  114. }
  115. .numberInput input[type=number] {
  116. -moz-appearance: textfield;
  117. }
  118. #popularIngredientsCard{
  119. display: flex;
  120. flex-direction: column;
  121. align-items: center;
  122. flex-basis: 100px;
  123. flex-grow: 2.5;
  124. padding: 5px;
  125. box-sizing: border-box;
  126. }
  127. #popularCanvas{
  128. margin: 0 35px;
  129. }
  130. .notice{
  131. color: red;
  132. font-size: 35px;
  133. font-weight: bold;
  134. }