From 1a2f8bfd1ce9ec4d695903335580cef2f998c51d Mon Sep 17 00:00:00 2001 From: Evan Theurer Date: Mon, 19 May 2014 17:19:35 +0200 Subject: [PATCH] Undo rename. --- src/styles/components/_buddylist.scss | 8 ++++---- src/styles/components/_chat.scss | 4 ++-- static/js/controllers/chatroomcontroller.js | 2 +- static/partials/buddy.html | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/styles/components/_buddylist.scss b/src/styles/components/_buddylist.scss index 4b40a7b8..1d6b7542 100644 --- a/src/styles/components/_buddylist.scss +++ b/src/styles/components/_buddylist.scss @@ -126,13 +126,13 @@ } .buddy { - &.withSubline .display-name { + &.withSubline .buddy1 { top: 15px; } &.hovered .buddyactions { right: 0; } - .avatar { + .buddyPicture { background: $actioncolor1; border-radius: 2px; float: left; @@ -155,7 +155,7 @@ top: 0; } } - .display-name { + .buddy1 { color: $componentfg1; font-weight: bold; font-size: 14px; @@ -168,7 +168,7 @@ top: 24px; white-space: nowrap; } - .browser { + .buddy2 { color: $componentfg2; left: 65px; overflow: hidden; diff --git a/src/styles/components/_chat.scss b/src/styles/components/_chat.scss index 3171c527..8246edc2 100644 --- a/src/styles/components/_chat.scss +++ b/src/styles/components/_chat.scss @@ -341,11 +341,11 @@ } .chat .message { - &.is_self .avatar { + &.is_self .buddyPicture { left: auto; right: 4px; } - .avatar { + .buddyPicture { background: $actioncolor1; border-radius: 2px; height: 46px; diff --git a/static/js/controllers/chatroomcontroller.js b/static/js/controllers/chatroomcontroller.js index b3341029..2cf1fcf5 100644 --- a/static/js/controllers/chatroomcontroller.js +++ b/static/js/controllers/chatroomcontroller.js @@ -299,7 +299,7 @@ define(['underscore', 'moment', 'text!partials/fileinfo.html'], function(_, mome title.html(displayName(from, true)); extra_css += "with_name "; var imgSrc = buddyImageSrc(from); - picture = $('
'); + picture = $('
'); if (imgSrc) { picture.find("img").attr("src", imgSrc); } diff --git a/static/partials/buddy.html b/static/partials/buddy.html index 34cfd853..0f94e185 100644 --- a/static/partials/buddy.html +++ b/static/partials/buddy.html @@ -1,5 +1,5 @@
-
-
{{session.Id|displayName}}
-
{{session.Ua}}
-
\ No newline at end of file +
+
{{session.Id|displayName}}
+
{{session.Ua}}
+