From 097703f23e6799f9c20d282459c461b0462dc737 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Thu, 18 Sep 2014 17:39:07 +0200 Subject: Improve stat design --- p/themes/base-theme/base.css | 12 ++++++++++++ p/themes/base-theme/template.css | 8 ++++++++ 2 files changed, 20 insertions(+) (limited to 'p/themes/base-theme') diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index b49cd79ea..1688a6f79 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -678,6 +678,18 @@ a.btn { text-align: center; } +.stat > .horizontal-list { + margin: 0 0 5px; +} +.stat > .horizontal-list .item { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.stat > .horizontal-list .item:first-child { + width: 250px; +} + /*=== LOGS */ /*=========*/ .logs { diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 733dd6e02..0f00632ee 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -541,6 +541,14 @@ br + br + br { } /*=== Statistiques */ +.stat { + margin: 15px 0; +} +.stat.half { + display: inline-block; + width: 46%; + padding: 0 2%; +} .stat > table { width: 100%; } -- cgit v1.2.3