dashboard.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. height: 100%;
  26. }
  27. .card > *{
  28. margin: 10px;
  29. }
  30. .card p:first-of-type{
  31. font-size: 14px;
  32. font-weight: bold;
  33. text-align: center;
  34. }
  35. /* Home Strand */
  36. #homeStrand{
  37. display: flex;
  38. flex-direction: column;
  39. max-height: 100%;
  40. width: 100%;
  41. }
  42. #homeStrand h1{
  43. text-align: left;
  44. margin: 15px;
  45. }
  46. .flexRow{
  47. display: flex;
  48. justify-content: space-around;
  49. width: 100%;
  50. }
  51. .flexColumn{
  52. display: flex;
  53. flex-direction: column;
  54. justify-content: space-between;
  55. }
  56. #revenue{
  57. text-align: center;
  58. font-size: 30px;
  59. font-weight: bold;
  60. }
  61. #revenueChange{
  62. display: flex;
  63. }
  64. #revenueChange > p{
  65. font-weight: 100;
  66. }
  67. #revenueChange img{
  68. height: 15px;
  69. width: 15px;
  70. margin-right: 10px;
  71. }
  72. #graphCard{
  73. flex-grow: 1;
  74. max-height: 40vh;
  75. }
  76. #graphCard canvas{
  77. height: 95%;
  78. width: 100%;
  79. }
  80. #inventoryCheckCard{
  81. flex-grow: 0.1;
  82. height: 100%;
  83. }
  84. #inventoryCheckCard ul{
  85. list-style: none;
  86. }
  87. #inventoryCheckCard li{
  88. margin: 15px 0;
  89. }
  90. #inventoryCheckCard li > p{
  91. font-weight: 300;
  92. font-size: 15px;
  93. margin-right: 25px;
  94. }
  95. #inventoryCheckCard li > p:nth-of-type(1){
  96. width: 50%;
  97. }
  98. #inventoryCheckCard li input{
  99. width: 50px;
  100. margin-right: 25px;
  101. }
  102. #inventoryCheckCard li p:nth-of-type(2){
  103. width: 25%;
  104. min-width: 75px;
  105. }
  106. #inventoryCheckCard button{
  107. margin: 0;
  108. margin-top: 10px;
  109. float: right;
  110. height: 25px;
  111. padding: 0 29px;
  112. font-size: 15px;
  113. }
  114. #popularIngredientsCard{
  115. display: flex;
  116. flex-direction: column;
  117. align-items: center;
  118. height: 100%;
  119. }
  120. /* Ingredients Strand */
  121. #ingredientsStrand{
  122. display: none;
  123. }
  124. /* Recipe Book Strand */
  125. #recipeBookStrand{
  126. display: none;
  127. }
  128. /* Orders Strand */
  129. #ordersStrand{
  130. display: none;
  131. }