analytics.css 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. list-style-type: none;
  35. width: 15%;
  36. max-height: 95%;
  37. overflow-y: auto;
  38. }
  39. .analData{
  40. display: flex;
  41. flex-direction: column;
  42. justify-content: space-around;
  43. width: 100%;
  44. height: 100%;
  45. }
  46. #itemUseGraph{
  47. padding: 10px;
  48. height: 60%;
  49. flex-basis: 100px;
  50. flex-grow: 5;
  51. }
  52. .dataRow{
  53. display: flex;
  54. justify-content: space-between;
  55. flex-basis: 150px;
  56. flex-grow: 0;
  57. }
  58. .dataRow .analCard{
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: space-around;
  62. margin: 5px;
  63. height: inherit;
  64. }
  65. .dataRow .analCard > *{
  66. margin: 0;
  67. }
  68. .analCard h1{
  69. text-align: center;
  70. }
  71. #analCategoriesGraph{
  72. margin-left: 25px;
  73. flex-grow: 2;
  74. height: 90%;
  75. width: 90%;
  76. }
  77. #analIndividualRecipe{
  78. display: flex;
  79. justify-content: space-around;
  80. align-items: center;
  81. padding: 15px;
  82. box-sizing: border-box;
  83. height: 90%;
  84. }