From 9a26cc6c36a7b63c3fca64244e1eee36bf8c6487 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 28 Oct 2015 18:03:30 -0400 Subject: [PATCH] better organization of groups less --- less/groups.less | 84 ++++++++++++++++++------------------ templates/account/groups.tpl | 21 +++++---- templates/groups/details.tpl | 2 +- templates/groups/list.tpl | 64 ++++++++++++++------------- 4 files changed, 89 insertions(+), 82 deletions(-) diff --git a/less/groups.less b/less/groups.less index 882fc07..1b41e34 100644 --- a/less/groups.less +++ b/less/groups.less @@ -1,46 +1,6 @@ -[component="groups/container"] { +.groups.details { margin-top: 200px; - [component="groups/summary"] { - .panel-body { - min-height: 72px; - } - - .list-cover { - background-size: cover; - min-height: 125px; - background-position: 50% 50%; - .pointer; - - h3 { - background-color: rgba(0,0,0,0.5); - display: inline-block; - padding: 0.25em 0.5em; - color: white; - font-weight: bold; - text-transform: capitalize; - } - } - - .members { - padding-left: 0; - - > li { - list-style-type: none; - display: inline-block; - - img { - width: 32px; - height: 32px; - } - } - - .truncated { - vertical-align: bottom; - } - } - } - [component="groups/cover"] { background-size: cover; background-repeat: no-repeat; @@ -166,4 +126,46 @@ } } } +} + +.groups.list { + [component="groups/summary"] { + .panel-body { + min-height: 72px; + } + + .list-cover { + background-size: cover; + min-height: 125px; + background-position: 50% 50%; + .pointer; + + h3 { + background-color: rgba(0,0,0,0.5); + display: inline-block; + padding: 0.25em 0.5em; + color: white; + font-weight: bold; + text-transform: capitalize; + } + } + + .members { + padding-left: 0; + + > li { + list-style-type: none; + display: inline-block; + + img { + width: 32px; + height: 32px; + } + } + + .truncated { + vertical-align: bottom; + } + } + } } \ No newline at end of file diff --git a/templates/account/groups.tpl b/templates/account/groups.tpl index b6eca0e..26f0b92 100644 --- a/templates/account/groups.tpl +++ b/templates/account/groups.tpl @@ -1,10 +1,13 @@ +
+ - - -
- -
[[groups:no_groups_found]]
- - - -
+
+
+ +
[[groups:no_groups_found]]
+ + + +
+
+
\ No newline at end of file diff --git a/templates/groups/details.tpl b/templates/groups/details.tpl index 92b79dd..d747018 100644 --- a/templates/groups/details.tpl +++ b/templates/groups/details.tpl @@ -1,4 +1,4 @@ -
+
diff --git a/templates/groups/list.tpl b/templates/groups/list.tpl index 443a18f..82914fc 100644 --- a/templates/groups/list.tpl +++ b/templates/groups/list.tpl @@ -1,40 +1,42 @@ - +
+ -
-
- - - -
-
-
-
- -
-
-
- - +
+
+ + + +
+
+
+
+ +
+
+
+ + +
-
-
+
-
- - - -
-
- [[groups:no_groups_found]] +
+ + + +
+
+ [[groups:no_groups_found]] +
+
- -
+
\ No newline at end of file