Commit c4e459165a8d67f6b8d636c5e520fb8975634fcd

Authored by Rodrigo Souto
1 parent 63bbd646

Buddies list refactoring checkpoint

Showing 1 changed file with 3 additions and 17 deletions   Show diff stats
public/stylesheets/chat.css
@@ -25,24 +25,20 @@ @@ -25,24 +25,20 @@
25 padding: 0; 25 padding: 0;
26 margin: 0; 26 margin: 0;
27 } 27 }
28 -#buddy-list .buddies li {  
29 - border-bottom: 1px solid #383838;  
30 -}  
31 #buddy-list .buddies a:hover, .occupant-list li a:hover { 28 #buddy-list .buddies a:hover, .occupant-list li a:hover {
32 background: #257CAD; 29 background: #257CAD;
33 } 30 }
34 #buddy-list .buddies li a, .occupant-list li a { 31 #buddy-list .buddies li a, .occupant-list li a {
35 - background: none; 32 + background-position: 0% 50%;
36 display: block; 33 display: block;
37 padding-left: 20px; 34 padding-left: 20px;
38 padding-top: 10px; 35 padding-top: 10px;
39 text-decoration: none; 36 text-decoration: none;
40 - color: rgb(238, 238, 238);  
41 - height: 44px; 37 + height: 35px;
42 overflow: hidden; 38 overflow: hidden;
43 } 39 }
44 #buddy-list .buddies li a .name, .occupant-list li a .name { 40 #buddy-list .buddies li a .name, .occupant-list li a .name {
45 - vertical-align: top; 41 + vertical-align: middle;
46 margin-left: 5px; 42 margin-left: 5px;
47 padding: 0 0 5px 20px; 43 padding: 0 0 5px 20px;
48 position: relative; 44 position: relative;
@@ -57,9 +53,6 @@ @@ -57,9 +53,6 @@
57 width: 32px; 53 width: 32px;
58 max-height: 40px; 54 max-height: 40px;
59 } 55 }
60 -#buddy-list .buddies.offline, .occupant-list.offline {  
61 - display: none;  
62 -}  
63 #chat #buddy-list .toolbar { 56 #chat #buddy-list .toolbar {
64 border: 0; 57 border: 0;
65 height: 45px; 58 height: 45px;
@@ -327,13 +320,6 @@ div.occupants > a.up { @@ -327,13 +320,6 @@ div.occupants > a.up {
327 top: -3px; 320 top: -3px;
328 } 321 }
329 322
330 -.buddies .dnd span.name {  
331 - background: url(/designs/icons/pidgin/pidgin/status/16/busy.png) 0px 20px no-repeat;  
332 -}  
333 -.buddies .chat span.name {  
334 - background: url(/designs/icons/pidgin/pidgin/status/16/available.png) 0px 20px no-repeat;  
335 -}  
336 -  
337 .conversation .author { 323 .conversation .author {
338 width: 20%; 324 width: 20%;
339 display: inline-block; 325 display: inline-block;