Browse Source

Rename .buddy1 to .display-name and .buddy2 to .browser.

pull/29/head^2
Evan Theurer 12 years ago
parent
commit
cfed658532
  1. 12
      src/styles/components/_buddylist.scss
  2. 4
      static/partials/buddy.html

12
src/styles/components/_buddylist.scss

@ -126,13 +126,13 @@
} }
.buddy { .buddy {
&.withSubline > .buddy1 { &.withSubline > .display-name {
top: 15px; top: 15px;
} }
&.hovered .buddyactions { &.hovered .buddyactions {
right: 0; right: 0;
} }
> .buddyimage { .buddyimage {
background: $actioncolor1; background: $actioncolor1;
border-radius: 2px; border-radius: 2px;
float: left; float: left;
@ -142,11 +142,11 @@
position: relative; position: relative;
text-align: center; text-align: center;
width: 46px; width: 46px;
> i { i {
color: $actioncolor2; color: $actioncolor2;
line-height: 46px; line-height: 46px;
} }
> img { img {
bottom: 0; bottom: 0;
display: block; display: block;
left: 0; left: 0;
@ -155,7 +155,7 @@
top: 0; top: 0;
} }
} }
> .buddy1 { .display-name {
color: $componentfg1; color: $componentfg1;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 14px;
@ -168,7 +168,7 @@
top: 24px; top: 24px;
white-space: nowrap; white-space: nowrap;
} }
> .buddy2 { .browser {
color: $componentfg2; color: $componentfg2;
left: 65px; left: 65px;
overflow: hidden; overflow: hidden;

4
static/partials/buddy.html

@ -1,5 +1,5 @@
<div class="buddy withSubline" ng-click="doDefault(user.Id)"> <div class="buddy withSubline" ng-click="doDefault(user.Id)">
<div class="buddyimage"><i class="fa fa-user fa-3x"/><img ng-show="status.buddyPicture" alt ng-src="{{status.buddyPicture}}" width="46" height="46"/></div> <div class="buddyimage"><i class="fa fa-user fa-3x"/><img ng-show="status.buddyPicture" alt ng-src="{{status.buddyPicture}}" width="46" height="46"/></div>
<div class="buddy1">{{user.Id|displayName}}</div> <div class="display-name">{{user.Id|displayName}}</div>
<div class="buddy2">{{user.Ua}}</div> <div class="browser">{{user.Ua}}</div>
</div> </div>

Loading…
Cancel
Save