diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-08 10:22:56 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-04-15 09:49:35 +0200 |
commit | 3eda9b775ae700ac544e8c5588514627796b83cd (patch) | |
tree | 97ec1fdfce274e83d976352f5b4154c315ee33d7 /client/src/app/+stats/video/video-stats.component.scss | |
parent | 901bcf5c188ea79350fecd499ad76460b866617b (diff) | |
download | PeerTube-3eda9b775ae700ac544e8c5588514627796b83cd.tar.gz PeerTube-3eda9b775ae700ac544e8c5588514627796b83cd.tar.zst PeerTube-3eda9b775ae700ac544e8c5588514627796b83cd.zip |
Support interactive video stats graph
Diffstat (limited to 'client/src/app/+stats/video/video-stats.component.scss')
-rw-r--r-- | client/src/app/+stats/video/video-stats.component.scss | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/client/src/app/+stats/video/video-stats.component.scss b/client/src/app/+stats/video/video-stats.component.scss index 190499b5c..e2a74152f 100644 --- a/client/src/app/+stats/video/video-stats.component.scss +++ b/client/src/app/+stats/video/video-stats.component.scss | |||
@@ -21,6 +21,7 @@ | |||
21 | min-width: 200px; | 21 | min-width: 200px; |
22 | margin-right: 15px; | 22 | margin-right: 15px; |
23 | background-color: pvar(--submenuBackgroundColor); | 23 | background-color: pvar(--submenuBackgroundColor); |
24 | margin-bottom: 15px; | ||
24 | 25 | ||
25 | .label, | 26 | .label, |
26 | .more-info { | 27 | .more-info { |
@@ -37,6 +38,12 @@ | |||
37 | font-size: 24px; | 38 | font-size: 24px; |
38 | font-weight: $font-semibold; | 39 | font-weight: $font-semibold; |
39 | } | 40 | } |
41 | |||
42 | @media screen and (max-width: $mobile-view) { | ||
43 | min-height: fit-content; | ||
44 | min-width: fit-content; | ||
45 | padding: 15px; | ||
46 | } | ||
40 | } | 47 | } |
41 | 48 | ||
42 | my-embed { | 49 | my-embed { |
@@ -45,6 +52,12 @@ my-embed { | |||
45 | width: 100%; | 52 | width: 100%; |
46 | } | 53 | } |
47 | 54 | ||
55 | @include on-small-main-col { | ||
56 | my-embed { | ||
57 | display: none; | ||
58 | } | ||
59 | } | ||
60 | |||
48 | .tab-content { | 61 | .tab-content { |
49 | margin-top: 15px; | 62 | margin-top: 15px; |
50 | } | 63 | } |
@@ -52,3 +65,16 @@ my-embed { | |||
52 | .nav-tabs { | 65 | .nav-tabs { |
53 | @include peertube-nav-tabs($border-width: 2px); | 66 | @include peertube-nav-tabs($border-width: 2px); |
54 | } | 67 | } |
68 | |||
69 | .chart-container { | ||
70 | margin-bottom: 10px; | ||
71 | } | ||
72 | |||
73 | .zoom-container { | ||
74 | display: flex; | ||
75 | justify-content: center; | ||
76 | |||
77 | .description { | ||
78 | font-style: italic; | ||
79 | } | ||
80 | } | ||