analytics.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #bottomAnalTabs{
  2. display:flex;
  3. justify-content: center;
  4. margin-top: 5px;
  5. width: 100%;
  6. }
  7. #bottomAnalTabs .analTabButton{
  8. width: 100px;
  9. }
  10. .analTabButton{
  11. background: rgb(0, 27, 45);
  12. border: none;
  13. color: white;
  14. cursor: pointer;
  15. padding: 5px;
  16. width: 125px;
  17. }
  18. .analTabButton.active{
  19. background: rgb(179, 191, 209);
  20. color: black;
  21. }
  22. #analIngredientsTab, #analIndividualTab{
  23. border-right: 2px solid rgb(255, 99, 107);
  24. }
  25. .analContent{
  26. display: flex;
  27. justify-content: space-around;
  28. align-items:center;
  29. padding: 15px;
  30. box-sizing: border-box;
  31. height: 90%;
  32. }
  33. .itemsList{
  34. display: flex;
  35. flex-direction: column;
  36. list-style-type: none;
  37. width: 15%;
  38. max-height: 95%;
  39. overflow-y: auto;
  40. margin-bottom: auto;
  41. }
  42. .itemsList > *{
  43. width: 100%;
  44. box-sizing: border-box;
  45. margin: 2px 0;
  46. }
  47. .analData{
  48. display: flex;
  49. flex-direction: column;
  50. justify-content: space-around;
  51. width: 100%;
  52. height: 100%;
  53. }
  54. #itemUseGraph{
  55. padding: 10px;
  56. height: 60%;
  57. flex-basis: 100px;
  58. flex-grow: 5;
  59. }
  60. .dataRow{
  61. display: flex;
  62. justify-content: space-between;
  63. flex-basis: 150px;
  64. flex-grow: 0;
  65. }
  66. .dataRow .analCard{
  67. display: flex;
  68. flex-direction: column;
  69. justify-content: space-around;
  70. margin: 5px;
  71. height: inherit;
  72. }
  73. .dataRow .analCard > *{
  74. margin: 0;
  75. }
  76. .analCard h1{
  77. text-align: center;
  78. }
  79. #analCategoriesGraph, #analCatRecipeGraph{
  80. margin-left: 25px;
  81. flex-grow: 2;
  82. height: 90%;
  83. width: 90%;
  84. }
  85. #analIndividualRecipe{
  86. display: flex;
  87. justify-content: space-around;
  88. align-items: center;
  89. padding: 15px;
  90. box-sizing: border-box;
  91. height: 90%;
  92. }