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/Dark/dark.css | 12 ++++++++++++ p/themes/Flat/flat.css | 12 ++++++++++++ p/themes/Origine/origine.css | 12 ++++++++++++ p/themes/Screwdriver/screwdriver.css | 12 ++++++++++++ p/themes/base-theme/base.css | 12 ++++++++++++ p/themes/base-theme/template.css | 8 ++++++++ 6 files changed, 68 insertions(+) (limited to 'p') diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index a5c499643..f8051c84a 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -874,6 +874,18 @@ a.btn { border-bottom: 1px solid #333; } +.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/Flat/flat.css b/p/themes/Flat/flat.css index e1cf35954..6f9249ecb 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -861,6 +861,18 @@ a.btn { border-bottom: 1px solid #ddd; } +.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/Origine/origine.css b/p/themes/Origine/origine.css index 4195bc260..208f46265 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -915,6 +915,18 @@ a.btn { border-bottom: 1px solid #ddd; } +.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/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 5475d2fd9..c96d4bfe3 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -1027,6 +1027,18 @@ opacity: 1; box-shadow: 0 1px #fff; } +.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/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