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