]>
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; | |
efa236c6 | 31 | min-width: 300px; |
f40712ab | 32 | } |
384ba8b7 C |
33 | } |
34 | ||
f40712ab | 35 | .stats-card { |
384ba8b7 C |
36 | display: flex; |
37 | justify-content: center; | |
38 | align-items: center; | |
39 | height: fit-content; | |
40 | min-height: 100px; | |
41 | min-width: 200px; | |
42 | margin-right: 15px; | |
43 | background-color: pvar(--submenuBackgroundColor); | |
3eda9b77 | 44 | margin-bottom: 15px; |
384ba8b7 C |
45 | |
46 | .label, | |
47 | .more-info { | |
48 | font-size: 14px; | |
49 | } | |
50 | ||
384ba8b7 C |
51 | .value { |
52 | font-size: 24px; | |
53 | font-weight: $font-semibold; | |
54 | } | |
3eda9b77 C |
55 | |
56 | @media screen and (max-width: $mobile-view) { | |
57 | min-height: fit-content; | |
58 | min-width: fit-content; | |
59 | padding: 15px; | |
60 | } | |
384ba8b7 C |
61 | } |
62 | ||
63 | my-embed { | |
64 | display: block; | |
65 | max-width: 500px; | |
66 | width: 100%; | |
67 | } | |
68 | ||
f40712ab C |
69 | .stats-with-date { |
70 | margin-top: 30px; | |
71 | padding-top: 30px; | |
72 | border-top: 1px solid $separator-border-color; | |
73 | } | |
74 | ||
3eda9b77 C |
75 | @include on-small-main-col { |
76 | my-embed { | |
77 | display: none; | |
78 | } | |
79 | } | |
80 | ||
384ba8b7 | 81 | .tab-content { |
f40712ab | 82 | margin-top: 5px; |
384ba8b7 C |
83 | } |
84 | ||
85 | .nav-tabs { | |
86 | @include peertube-nav-tabs($border-width: 2px); | |
87 | } | |
3eda9b77 C |
88 | |
89 | .chart-container { | |
90 | margin-bottom: 10px; | |
91 | } | |
92 | ||
93 | .zoom-container { | |
94 | display: flex; | |
95 | justify-content: center; | |
96 | ||
97 | .description { | |
98 | font-style: italic; | |
99 | } | |
100 | } |