diff options
author | Julien Maulny <julien.maulny@protonmail.com> | 2019-10-02 22:37:01 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-10-18 15:13:30 +0200 |
commit | 3d05209c9a9f1e229f8c704ee5fe06a5c97c9840 (patch) | |
tree | 3c78276817d8c14f05bcfcdba6d65db0a3c52f22 /client/src/app/shared/instance/instance-statistics.component.scss | |
parent | 235b055dc566f35aa07480ad055a7fbb40e028ac (diff) | |
download | PeerTube-3d05209c9a9f1e229f8c704ee5fe06a5c97c9840.tar.gz PeerTube-3d05209c9a9f1e229f8c704ee5fe06a5c97c9840.tar.zst PeerTube-3d05209c9a9f1e229f8c704ee5fe06a5c97c9840.zip |
Add statistics section in about page
Diffstat (limited to 'client/src/app/shared/instance/instance-statistics.component.scss')
-rw-r--r-- | client/src/app/shared/instance/instance-statistics.component.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/client/src/app/shared/instance/instance-statistics.component.scss b/client/src/app/shared/instance/instance-statistics.component.scss new file mode 100644 index 000000000..63f8911f6 --- /dev/null +++ b/client/src/app/shared/instance/instance-statistics.component.scss | |||
@@ -0,0 +1,35 @@ | |||
1 | .stat { | ||
2 | text-align: center; | ||
3 | margin-bottom: 1em; | ||
4 | overflow: hidden; | ||
5 | |||
6 | .stat-value { | ||
7 | font-size: 2.25em; | ||
8 | line-height: 1em; | ||
9 | margin: 0; | ||
10 | } | ||
11 | |||
12 | .stat-label { | ||
13 | font-size: 1.15em; | ||
14 | margin: 0; | ||
15 | } | ||
16 | |||
17 | .glyphicon { | ||
18 | opacity: 0.12; | ||
19 | position: absolute; | ||
20 | left: 16px; | ||
21 | top: -24px; | ||
22 | |||
23 | &.icon-bottom { | ||
24 | top: 4px; | ||
25 | } | ||
26 | |||
27 | &::before { | ||
28 | font-size: 8em; | ||
29 | } | ||
30 | } | ||
31 | |||
32 | .card-body { | ||
33 | z-index: 2; | ||
34 | } | ||
35 | } | ||