From 3d05209c9a9f1e229f8c704ee5fe06a5c97c9840 Mon Sep 17 00:00:00 2001 From: Julien Maulny Date: Wed, 2 Oct 2019 22:37:01 +0200 Subject: Add statistics section in about page --- .../instance/instance-statistics.component.scss | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 client/src/app/shared/instance/instance-statistics.component.scss (limited to 'client/src/app/shared/instance/instance-statistics.component.scss') 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 @@ +.stat { + text-align: center; + margin-bottom: 1em; + overflow: hidden; + + .stat-value { + font-size: 2.25em; + line-height: 1em; + margin: 0; + } + + .stat-label { + font-size: 1.15em; + margin: 0; + } + + .glyphicon { + opacity: 0.12; + position: absolute; + left: 16px; + top: -24px; + + &.icon-bottom { + top: 4px; + } + + &::before { + font-size: 8em; + } + } + + .card-body { + z-index: 2; + } +} -- cgit v1.2.3