diff --git a/less/account.less b/less/account.less index 92460d7..45b119c 100644 --- a/less/account.less +++ b/less/account.less @@ -398,10 +398,6 @@ margin-bottom: 1rem; } - .timestamp { - font-weight: bold; - } - .expiry { font-size: 1.25rem; font-style: italic; diff --git a/less/category.less b/less/category.less index cf6767b..6b86ab0 100644 --- a/less/category.less +++ b/less/category.less @@ -39,13 +39,14 @@ } .fa-check { - padding: 14px; + padding: 14.5px; /* 14.5*2 + 15 + 2px border = 46px */ border-radius: 50%; position: absolute; font-size: 15px; opacity: 0; top: 0px; left: 0px; + border: 1px solid transparent; &:before { .pointer; @@ -56,11 +57,11 @@ } } - .user-img, .user-icon { + .avatar { opacity: 1; } - .fa-check, .user-img, .user-icon { + .fa-check, .avatar { .transition(.2s ease-in-out all); } @@ -68,7 +69,7 @@ } .avatar .select:hover { - .user-img, .user-icon { + .avatar { opacity: 0; } @@ -80,7 +81,7 @@ } &.selected { - .select .user-img, .select .user-icon { + .select .avatar { opacity: 0; } diff --git a/less/topic.less b/less/topic.less index 862cbc0..5a170ca 100644 --- a/less/topic.less +++ b/less/topic.less @@ -86,9 +86,8 @@ } } - img, .user-icon { + .avatar { margin-right: 15px; - .user-icon-style(46px, 2.4rem, 50%); } } @@ -349,9 +348,8 @@ } } - img, .user-icon { + .avatar { margin-right: 15px; - .user-icon-style(46px, 2.4rem, 50%); } } diff --git a/less/users.less b/less/users.less index 37a59ed..e105e56 100644 --- a/less/users.less +++ b/less/users.less @@ -43,10 +43,6 @@ vertical-align: top; width: 104px; - img, .user-icon { - .user-icon-style(80px, 4rem, 50%); - } - a { max-width: 94px; text-overflow: ellipsis; @@ -70,10 +66,8 @@ vertical-align: middle; } - .anon-user { - .user-icon { - background: @gray-lighter; - color: white; - } + .anon-user .avatar { + background: @gray-lighter; + color: white; } } \ No newline at end of file diff --git a/package.json b/package.json index 4a473cd..6a0c3ce 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nodebb-theme-persona", "version": "9.1.38", "nbbpm": { - "compatibility": "^1.12.0" + "compatibility": "^1.13.0" }, "description": "Persona theme for NodeBB", "main": "theme.less", diff --git a/templates/account/info.tpl b/templates/account/info.tpl index 3094b20..0b1a9de 100644 --- a/templates/account/info.tpl +++ b/templates/account/info.tpl @@ -122,13 +122,10 @@
-
-
-
-
-
-
-
+ {buildAvatar(history.bans.user, "sm", true)}
+
+ {history.bans.user.username}
+
— {../timestampReadable}
[[user:info.banned-until, {../untilReadable}]]
@@ -160,17 +157,8 @@
-
-
-
-
-
-
-
+ {buildAvatar(posts.user, "sm", true)}
diff --git a/templates/partials/chats/message.tpl b/templates/partials/chats/message.tpl
index 369f6ba..cd4832d 100644
--- a/templates/partials/chats/message.tpl
+++ b/templates/partials/chats/message.tpl
@@ -1,12 +1,6 @@