From 603fa54fc7582034e83378687cac24bfa2680950 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 27 Aug 2015 18:08:38 -0400 Subject: [PATCH] chats refactor - styling init --- less/chats.less | 11 ++++++ templates/chats.tpl | 87 ++++++++++++++++++++++----------------------- 2 files changed, 53 insertions(+), 45 deletions(-) diff --git a/less/chats.less b/less/chats.less index 1a1d550..27e7bf3 100644 --- a/less/chats.less +++ b/less/chats.less @@ -163,4 +163,15 @@ textarea { resize: none; } +} + +.expanded-chat { + h1 { + margin: 0px; + padding-bottom: 20px; + } + + .chat-content { + padding-top: 10px; + } } \ No newline at end of file diff --git a/templates/chats.tpl b/templates/chats.tpl index 0d95b58..9e9071b 100644 --- a/templates/chats.tpl +++ b/templates/chats.tpl @@ -1,36 +1,6 @@
-
- -
- [[error:chat-restricted]] -
- - -
-
- -

[[modules:chat.message-history]]

-
- -
- -
- [[modules:chat.no-messages]] -
- -
+ -
  • - - - {chats.username} -
  • - - + --> + +
      + +
    • + + + {chats.username} +
    • + +
    + +
    + +
    + +
    + [[error:chat-restricted]] +
    + + +
    + + +

    {meta.username}

    + + + [[recent:title]][[modules:chat.seven_days]][[modules:chat.thirty_days]][[modules:chat.three_months]] +
      + +
    +
    + + + +
    + +
    + [[modules:chat.no-messages]] +
    +