diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-06 14:23:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-06 14:23:02 +0200 |
commit | f40712abbbb74e51f06037ef02757c42736bccf8 (patch) | |
tree | 4b130c6387f9687d52d570907eb1bbac6bc04b61 /client/src/app/+stats/video/video-stats.component.scss | |
parent | 49f0468d44468528c2fb2c8b0efd19cdaeeec43d (diff) | |
download | PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.tar.gz PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.tar.zst PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.zip |
Add ability to filter overall video stats by date
Diffstat (limited to 'client/src/app/+stats/video/video-stats.component.scss')
-rw-r--r-- | client/src/app/+stats/video/video-stats.component.scss | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/client/src/app/+stats/video/video-stats.component.scss b/client/src/app/+stats/video/video-stats.component.scss index e2a74152f..e4c2d899f 100644 --- a/client/src/app/+stats/video/video-stats.component.scss +++ b/client/src/app/+stats/video/video-stats.component.scss | |||
@@ -2,17 +2,31 @@ | |||
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | @use '_nav' as *; | 3 | @use '_nav' as *; |
4 | 4 | ||
5 | .overall-stats-embed { | 5 | .stats-embed { |
6 | display: flex; | 6 | display: flex; |
7 | justify-content: space-between; | 7 | justify-content: space-between; |
8 | } | 8 | } |
9 | 9 | ||
10 | .overall-stats { | 10 | .overall-stats, |
11 | .global-stats { | ||
11 | display: flex; | 12 | display: flex; |
12 | flex-wrap: wrap; | 13 | flex-wrap: wrap; |
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 | } | ||
13 | } | 27 | } |
14 | 28 | ||
15 | .overall-stats-card { | 29 | .stats-card { |
16 | display: flex; | 30 | display: flex; |
17 | justify-content: center; | 31 | justify-content: center; |
18 | align-items: center; | 32 | align-items: center; |
@@ -28,12 +42,6 @@ | |||
28 | font-size: 14px; | 42 | font-size: 14px; |
29 | } | 43 | } |
30 | 44 | ||
31 | .label { | ||
32 | color: pvar(--greyForegroundColor); | ||
33 | font-weight: $font-semibold; | ||
34 | opacity: 0.8; | ||
35 | } | ||
36 | |||
37 | .value { | 45 | .value { |
38 | font-size: 24px; | 46 | font-size: 24px; |
39 | font-weight: $font-semibold; | 47 | font-weight: $font-semibold; |
@@ -52,6 +60,12 @@ my-embed { | |||
52 | width: 100%; | 60 | width: 100%; |
53 | } | 61 | } |
54 | 62 | ||
63 | .stats-with-date { | ||
64 | margin-top: 30px; | ||
65 | padding-top: 30px; | ||
66 | border-top: 1px solid $separator-border-color; | ||
67 | } | ||
68 | |||
55 | @include on-small-main-col { | 69 | @include on-small-main-col { |
56 | my-embed { | 70 | my-embed { |
57 | display: none; | 71 | display: none; |
@@ -59,7 +73,7 @@ my-embed { | |||
59 | } | 73 | } |
60 | 74 | ||
61 | .tab-content { | 75 | .tab-content { |
62 | margin-top: 15px; | 76 | margin-top: 5px; |
63 | } | 77 | } |
64 | 78 | ||
65 | .nav-tabs { | 79 | .nav-tabs { |