summaryrefslogtreecommitdiff
path: root/p/themes/base-theme
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-18 17:39:07 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-18 17:39:07 +0200
commit097703f23e6799f9c20d282459c461b0462dc737 (patch)
treeb851a5c3948bd9b8b744e640a76f2c2a07ca5d85 /p/themes/base-theme
parent45d2524a821b1bb99ccb5a96608faa90df03db4a (diff)
Improve stat design
Diffstat (limited to 'p/themes/base-theme')
-rw-r--r--p/themes/base-theme/base.css12
-rw-r--r--p/themes/base-theme/template.css8
2 files changed, 20 insertions, 0 deletions
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%;
}