From a5a3889e2bdeff61b9cb955444e0f9a9f43361d7 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 7 Oct 2015 05:35:57 -0400 Subject: [PATCH] user-icon styles for new teaser partials --- less/categories.less | 9 ++++ less/category.less | 9 ++++ templates/partials/categories/lastpost.tpl | 8 +++- templates/partials/topics_list.tpl | 48 ++++++++++++---------- 4 files changed, 52 insertions(+), 22 deletions(-) diff --git a/less/categories.less b/less/categories.less index 30f7d15..e0ce40e 100644 --- a/less/categories.less +++ b/less/categories.less @@ -107,6 +107,15 @@ display: none; } } + + .user-icon { + display: inline-block; + border-radius: 50%; + height: 24px; + width: 24px; + line-height: 24px; + font-size: 1.5rem; + } } } } diff --git a/less/category.less b/less/category.less index 61b5668..d11a021 100644 --- a/less/category.less +++ b/less/category.less @@ -81,6 +81,15 @@ .fa-stack { font-size: 90%; } + + .card .user-icon { + display: inline-block; + border-radius: 50%; + height: 24px; + width: 24px; + line-height: 24px; + font-size: 1.5rem; + } } &:last-child li { diff --git a/templates/partials/categories/lastpost.tpl b/templates/partials/categories/lastpost.tpl index ee318ac..5ad50aa 100644 --- a/templates/partials/categories/lastpost.tpl +++ b/templates/partials/categories/lastpost.tpl @@ -3,7 +3,13 @@

- + + + + + {../user.icon:text} + + diff --git a/templates/partials/topics_list.tpl b/templates/partials/topics_list.tpl index 4383bd1..e90e4c3 100644 --- a/templates/partials/topics_list.tpl +++ b/templates/partials/topics_list.tpl @@ -7,22 +7,22 @@

-
- - {function.renderTopicImage} - -
{topics.user.icon:text}
- - -
+
+ + {function.renderTopicImage} + +
{topics.user.icon:text}
+ + +
- - - {function.renderTopicImage} - -
{topics.user.icon:text}
- -
+ + + {function.renderTopicImage} + +
{topics.user.icon:text}
+ +
@@ -50,11 +50,11 @@ - - - - - + + + + +
@@ -81,7 +81,13 @@

- + + + + + {topics.teaser.user.icon:text} + +