dashboard.css 2.0 KB

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