Changeset 7938312 in github


Ignore:
Timestamp:
Jul 13, 2012 2:31:15 PM (11 months ago)
Author:
Thomas Bruederli <thomas@…>
Children:
114cf12
Parents:
3849488
Message:

Show contact photos in mail view and preview

Location:
skins/larry
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • skins/larry/mail.css

    r1c079c1 r7938312  
    812812 
    813813#all-headers { 
    814     position: relative; 
     814        position: relative; 
    815815        margin: 0 10px; 
    816816        padding: 0; 
     
    838838        height: auto; 
    839839        margin: 0 8px 0 0; 
    840         padding: 0 0 6px 26px; 
     840        padding: 0 0 6px 72px; 
    841841        border-bottom: 2px solid #f0f0f0; 
    842842} 
     
    846846} 
    847847 
     848#messagepreviewheader #contactphoto { 
     849        display: block; 
     850        position: absolute; 
     851        top: 11px; 
     852        left: 30px; 
     853        width: 32px; 
     854        height: 32px; 
     855        overflow: hidden; 
     856        background: url(images/contactpic_32px.png) center center no-repeat #fff; 
     857        border-radius: 3px; 
     858} 
     859 
     860#messagepreviewheader #contactphoto img { 
     861        width: 32px; 
     862        height: auto; 
     863        border-radius: 3px; 
     864} 
     865 
     866#messageheader #contactphoto { 
     867        display: block; 
     868        position: absolute; 
     869        top: 40px; 
     870        right: 10px; 
     871        width: 48px; 
     872        height: 48px; 
     873        overflow: hidden; 
     874        border-radius: 4px; 
     875} 
     876 
     877#messageheader #contactphoto img { 
     878        width: 48px; 
     879        height: auto; 
     880        border-radius: 4px; 
     881} 
     882 
    848883#messagepreviewheader #countcontrols, 
    849884#messageheader #countcontrols { 
     
    851886        top: 8px; 
    852887        right: 8px; 
    853         width: 18em; 
     888        width: 20em; 
    854889        text-align: right; 
    855890        white-space: nowrap; 
  • skins/larry/templates/message.html

    r1c079c1 r7938312  
    4747</div> 
    4848 
     49<div id="contactphoto"><roundcube:object name="contactphoto" /></div> 
    4950</div> 
    5051 
  • skins/larry/templates/messagepreview.html

    rbe72a0f9 r7938312  
    1111 
    1212<a href="#details" id="previewheaderstoggle"><span class="iconlink"></span></a> 
     13<div id="contactphoto"><roundcube:object name="contactphoto" /></div> 
    1314 
    1415<table class="headers-table" id="preview-shortheaders"><tbody><tr> 
Note: See TracChangeset for help on using the changeset viewer.