From b00abf7e329de95791f1e50e39a2eba37ba73f10 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 8 Mar 2011 16:51:14 +0100 Subject: reworked items template --- view/theme/duepuntozero/style.css | 48 ++++++++++++++++++++++++++++++++++----- 1 file changed, 42 insertions(+), 6 deletions(-) (limited to 'view/theme') diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index bfe524b01..2c271218a 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -833,10 +833,14 @@ input#dfrn-url { .wall-item-info { display: block; float: left; - width:150px; + width:110px; + margin-right:10px; +} +.comment .wall-item-info { + width: 70px; } .wallwall .wall-item-info { - width: 300px; + width: 170px; } @@ -846,8 +850,13 @@ input#dfrn-url { margin-bottom: 10px; width: 100px; } -.wallwall .wall-item-photo-wrapper { +/*.wallwall .wall-item-photo-wrapper { float: left; +}*/ +.wallwall .wwfrom { + left: 75px; + position: absolute; + top: 0; } .wallwall .wall-item-photo-end { @@ -855,9 +864,13 @@ input#dfrn-url { } .wall-item-arrowphoto-wrapper { - margin-top: 40px; + /*margin-top: 40px; margin-right: 20px; - float: left; + float: left;*/ + position: absolute; + left: 70px; + top: 70px; + z-index: 100; } .wall-item-wrapper { /*float: left; @@ -868,16 +881,39 @@ input#dfrn-url { .wall-item-lock { /*height: 20px;*/ /*margin-top: 10px;*/ - left: 135px; + left: 105px; position: absolute; top: 1px; } +.comment .wall-item-lock { + left: 65px; +} .wall-item-ago { color: #888888; font-size: 0.8em; } +.wall-item-location { + overflow: hidden; + /* add ellipsis on text overflow */ + /* this work on safari, opera, ie, chrome. */ + /* firefox users have to wait support or we */ + /* can use a jquery plugin http://bit.ly/zJskg */ + text-overflow: ellipsis; + -o-text-overflow: ellipsis; + white-space: nowrap; + width: 100%; +} + +.wall-item-like-buttons { + float: left; + margin-right: 10px; + padding-right: 10px; + border-right: 2px solid #fff; +} + + .wall-item-like-buttons img { cursor: pointer; } -- cgit v1.2.3