dashboard.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. html{
  2. height: 100%;
  3. }
  4. body{
  5. display: flex;
  6. flex-direction: row;
  7. font-family: 'Saira', sans-serif;
  8. height: 100%;
  9. }
  10. .contentBlock{
  11. width: 100%;
  12. height: 100vh;
  13. box-sizing: border-box;
  14. padding: 25px;
  15. }
  16. /* Cards */
  17. .card{
  18. margin: 15px;
  19. border: 1px solid rgba(183, 183, 183, 0.9);
  20. border-radius: 7px;
  21. box-sizing: border-box;
  22. box-shadow: 1px 2px gray;
  23. padding: 25px;
  24. flex-grow: 1;
  25. }
  26. .card > *{
  27. margin: 10px;
  28. }
  29. .card p:first-of-type{
  30. font-size: 14px;
  31. font-weight: bold;
  32. text-align: center;
  33. }
  34. /* Home Strand */
  35. #homeStrand{
  36. display: flex;
  37. flex-direction: column;
  38. max-height: 100%;
  39. width: 100%;
  40. }
  41. #homeStrand h1{
  42. text-align: left;
  43. margin: 15px;
  44. }
  45. .flexRow{
  46. display: flex;
  47. justify-content: space-around;
  48. width: 100%;
  49. }
  50. .flexColumn{
  51. display: flex;
  52. flex-direction: column;
  53. justify-content: space-between;
  54. }
  55. #revenueCard{
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: center;
  59. }
  60. #revenue{
  61. text-align: center;
  62. font-size: 30px;
  63. font-weight: bold;
  64. }
  65. #revenueChange{
  66. display: flex;
  67. }
  68. #revenueChange > p{
  69. font-weight: 100;
  70. }
  71. #revenueChange img{
  72. height: 15px;
  73. width: 15px;
  74. margin-right: 10px;
  75. }
  76. #graphCard{
  77. flex-grow: 1;
  78. max-height: 40vh;
  79. height: 100%;
  80. }
  81. #graphCard canvas{
  82. height: 95%;
  83. width: 100%;
  84. }
  85. #inventoryCheckCard{
  86. flex-grow: 0.1;
  87. }
  88. #inventoryCheckCard ul{
  89. list-style: none;
  90. }
  91. #inventoryCheckCard li{
  92. margin: 15px 0;
  93. }
  94. #inventoryCheckCard li > p{
  95. font-weight: 300;
  96. font-size: 15px;
  97. margin-right: 25px;
  98. }
  99. #inventoryCheckCard li > p:nth-of-type(1){
  100. width: 50%;
  101. }
  102. #inventoryCheckCard li input{
  103. width: 75px;
  104. margin-right: 25px;
  105. font-size: 20px;
  106. text-align: center;
  107. }
  108. #inventoryCheckCard li p:nth-of-type(2){
  109. width: 25%;
  110. min-width: 75px;
  111. }
  112. #inventoryCheckCard button{
  113. margin: 0;
  114. margin-top: 10px;
  115. float: right;
  116. height: 25px;
  117. padding: 0 29px;
  118. font-size: 15px;
  119. }
  120. #popularIngredientsCard{
  121. display: flex;
  122. flex-direction: column;
  123. align-items: center;
  124. height: 100%;
  125. }
  126. /* Ingredients Strand */
  127. #ingredientsStrand{
  128. display: none;
  129. }
  130. /* Recipe Book Strand */
  131. #recipeBookStrand{
  132. display: none;
  133. }
  134. /* Orders Strand */
  135. #ordersStrand{
  136. display: none;
  137. }