]>
Commit | Line | Data |
---|---|---|
384ba8b7 C |
1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | |
3 | @use '_nav' as *; | |
4 | ||
f40712ab | 5 | .stats-embed { |
384ba8b7 C |
6 | display: flex; |
7 | justify-content: space-between; | |
8 | } | |
9 | ||
f40712ab C |
10 | .overall-stats, |
11 | .global-stats { | |
384ba8b7 C |
12 | display: flex; |
13 | flex-wrap: wrap; | |
f40712ab C |
14 | |
15 | h2 { | |
16 | font-size: 16px; | |
17 | width: 100%; | |
18 | } | |
19 | } | |
20 | ||
21 | .overall-stats { | |
22 | justify-content: space-between; | |
23 | ||
24 | .cards { | |
25 | display: flex; | |
305ec384 C |
26 | flex-wrap: wrap; |
27 | } | |
28 | ||
29 | .date-filter-wrapper { | |
30 | margin-bottom: 10px; | |
f40712ab | 31 | } |
384ba8b7 C |
32 | } |
33 | ||
f40712ab | 34 | .stats-card { |
384ba8b7 C |
35 | display: flex; |
36 | justify-content: center; | |
37 | align-items: center; | |
38 | height: fit-content; | |
39 | min-height: 100px; | |
40 | min-width: 200px; | |
41 | margin-right: 15px; | |
42 | background-color: pvar(--submenuBackgroundColor); | |
3eda9b77 | 43 | margin-bottom: 15px; |
384ba8b7 C |
44 | |
45 | .label, | |
46 | .more-info { | |
47 | font-size: 14px; | |
48 | } | |
49 | ||
384ba8b7 C |
50 | .value { |
51 | font-size: 24px; | |
52 | font-weight: $font-semibold; | |
53 | } | |
3eda9b77 C |
54 | |
55 | @media screen and (max-width: $mobile-view) { | |
56 | min-height: fit-content; | |
57 | min-width: fit-content; | |
58 | padding: 15px; | |
59 | } | |
384ba8b7 C |
60 | } |
61 | ||
62 | my-embed { | |
63 | display: block; | |
64 | max-width: 500px; | |
65 | width: 100%; | |
66 | } | |
67 | ||
f40712ab C |
68 | .stats-with-date { |
69 | margin-top: 30px; | |
70 | padding-top: 30px; | |
71 | border-top: 1px solid $separator-border-color; | |
72 | } | |
73 | ||
3eda9b77 C |
74 | @include on-small-main-col { |
75 | my-embed { | |
76 | display: none; | |
77 | } | |
78 | } | |
79 | ||
384ba8b7 | 80 | .tab-content { |
f40712ab | 81 | margin-top: 5px; |
384ba8b7 C |
82 | } |
83 | ||
84 | .nav-tabs { | |
85 | @include peertube-nav-tabs($border-width: 2px); | |
86 | } | |
3eda9b77 C |
87 | |
88 | .chart-container { | |
89 | margin-bottom: 10px; | |
90 | } | |
91 | ||
92 | .zoom-container { | |
93 | display: flex; | |
94 | justify-content: center; | |
95 | ||
96 | .description { | |
97 | font-style: italic; | |
98 | } | |
99 | } |