diff --git a/less/chats.less b/less/chats.less index 65bbbcc..fe4bfb9 100644 --- a/less/chats.less +++ b/less/chats.less @@ -9,7 +9,7 @@ clear: both; list-style-type: none; padding: 0.5em; - height: 70px; + height: 90px; .pointer; border-left: 1px solid; @@ -69,14 +69,6 @@ height: 20px; } - .user-img { - .user-icon-style(50px, 2.4rem, 50%); - float: left; - margin-top: 4px; - margin-right: 13px; - margin-left: 0.5em; - } - .status { position: absolute; left: 50px; @@ -242,12 +234,12 @@ } [component="chat/search/list"] { - + padding: 0; overflow-x: hidden; overflow-y: auto; border-top: 1px solid @gray-lighter; - + li { position: relative; clear: both; diff --git a/less/header.less b/less/header.less index 55056df..eb86cb7 100644 --- a/less/header.less +++ b/less/header.less @@ -16,16 +16,9 @@ padding: 0.5em; clear: both; - img, .user-icon { - .user-icon-style(@border-radius: 50%); - float: left; - } - a { white-space: normal; - overflow: hidden; margin: 0; - // padding: 3px 5px 3px 20px; text-overflow: ellipsis; .text { @@ -76,17 +69,10 @@ li { .pointer; - width: 200px; + width: 300px; a { - display: block; - line-height: 30px; - position: relative; - - .avatar { - margin-right: 1rem; - } } &.no_active a { diff --git a/templates/partials/chat_dropdown.tpl b/templates/partials/chat_dropdown.tpl index 87b5836..646c7fe 100644 --- a/templates/partials/chat_dropdown.tpl +++ b/templates/partials/chat_dropdown.tpl @@ -1,21 +1,24 @@ -
  • - - - - - -
    {../lastUser.icon:text}
    - - - - - {../usernames} +
  • + +

    {rooms.roomName}

    +
    + + + + + - [[modules:chat.no-users-in-room]] - +
    {rooms.users.icon:text}
    +
    + + + [[modules:chat.no-users-in-room]] + + +
  • diff --git a/templates/partials/chat_recent_room.tpl b/templates/partials/chat_recent_room.tpl index ae15d50..8e619ce 100644 --- a/templates/partials/chat_recent_room.tpl +++ b/templates/partials/chat_recent_room.tpl @@ -1,18 +1,18 @@
  • - -
    - - - -
    {rooms.lastUser.icon:text}
    - - - {rooms.usernames} +
    +

    {rooms.roomName}

    + + + + +
    {rooms.users.icon:text}
    + + + + [[modules:chat.no-users-in-room]] +
    - - [[modules:chat.no-users-in-room]] - {rooms.teaser.content} diff --git a/templates/partials/notifications_list.tpl b/templates/partials/notifications_list.tpl index bbb3a9b..505dcb8 100644 --- a/templates/partials/notifications_list.tpl +++ b/templates/partials/notifications_list.tpl @@ -7,10 +7,10 @@
  • - + -
    {notifications.user.icon:text}
    +
    {notifications.user.icon:text}