diff options
Diffstat (limited to 'skins')
-rw-r--r-- | skins/larry/images/contactpic_32px.png | bin | 0 -> 4883 bytes | |||
-rw-r--r-- | skins/larry/mail.css | 41 | ||||
-rw-r--r-- | skins/larry/templates/message.html | 1 | ||||
-rw-r--r-- | skins/larry/templates/messagepreview.html | 1 |
4 files changed, 40 insertions, 3 deletions
diff --git a/skins/larry/images/contactpic_32px.png b/skins/larry/images/contactpic_32px.png Binary files differnew file mode 100644 index 000000000..276f1974f --- /dev/null +++ b/skins/larry/images/contactpic_32px.png diff --git a/skins/larry/mail.css b/skins/larry/mail.css index 3fe451c0d..695697f6b 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -811,7 +811,7 @@ div.hide-headers { } #all-headers { - position: relative; + position: relative; margin: 0 10px; padding: 0; height: 180px; @@ -837,7 +837,7 @@ div.hide-headers { position: relative; height: auto; margin: 0 8px 0 0; - padding: 0 0 6px 26px; + padding: 0 0 6px 72px; border-bottom: 2px solid #f0f0f0; } @@ -845,12 +845,47 @@ div.hide-headers { padding: 8px 8px 2px 0; } +#messagepreviewheader #contactphoto { + display: block; + position: absolute; + top: 11px; + left: 30px; + width: 32px; + height: 32px; + overflow: hidden; + background: url(images/contactpic_32px.png) center center no-repeat #fff; + border-radius: 3px; +} + +#messagepreviewheader #contactphoto img { + width: 32px; + height: auto; + border-radius: 3px; +} + +#messageheader #contactphoto { + display: block; + position: absolute; + top: 40px; + right: 10px; + width: 48px; + height: 48px; + overflow: hidden; + border-radius: 4px; +} + +#messageheader #contactphoto img { + width: 48px; + height: auto; + border-radius: 4px; +} + #messagepreviewheader #countcontrols, #messageheader #countcontrols { position: absolute; top: 8px; right: 8px; - width: 18em; + width: 20em; text-align: right; white-space: nowrap; } diff --git a/skins/larry/templates/message.html b/skins/larry/templates/message.html index b66d82140..1becd711a 100644 --- a/skins/larry/templates/message.html +++ b/skins/larry/templates/message.html @@ -46,6 +46,7 @@ <roundcube:button command="nextmessage" type="link" class="button nextpage disabled" classAct="button nextpage" classSel="button nextpage pressed" innerClass="inner" title="nextmessage" content="&gt;" /> </div> +<div id="contactphoto"><roundcube:object name="contactphoto" /></div> </div> <div id="messagecontent" class="uibox"> diff --git a/skins/larry/templates/messagepreview.html b/skins/larry/templates/messagepreview.html index fbca9715d..b53683ec1 100644 --- a/skins/larry/templates/messagepreview.html +++ b/skins/larry/templates/messagepreview.html @@ -10,6 +10,7 @@ <h3 class="subject"><roundcube:object name="messageHeaders" valueOf="subject" /></h3> <a href="#details" id="previewheaderstoggle"><span class="iconlink"></span></a> +<div id="contactphoto"><roundcube:object name="contactphoto" /></div> <table class="headers-table" id="preview-shortheaders"><tbody><tr> <roundcube:if condition="env:mailbox == config:drafts_mbox || env:mailbox == config:sent_mbox"> |