diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2012-10-07 19:31:10 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-10-08 11:11:01 +0200 |
commit | 1f9d768687c91fb89be8ed73a2300038cfb38ede (patch) | |
tree | e8674e29db7700301ec72c3dd3c2772bfb19dc77 /data | |
parent | 7cd89efd0e2a7257298d8305d397469a53e63461 (diff) |
Fix planet gnome theme when using a non-default font
https://bugzilla.gnome.org/show_bug.cgi?id=685663
Diffstat (limited to 'data')
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html | 18 | ||||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css | 20 |
2 files changed, 23 insertions, 15 deletions
diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html index 827c6279..e3a5c63f 100644 --- a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html @@ -4,14 +4,16 @@ %sender% </div> <div class="post"> - <div class="post-contents"> - <p> - %message% - </p> - <div id="insert"></div> - </div> - <div class="post-footer"> - <p>%time%</p> + <div class="post-body"> + <div class="post-contents"> + <p> + %message% + </p> + <div id="insert"></div> + </div> + <div class="post-footer"> + <p>%time%</p> + </div> </div> <b class="vt lt"></b><b class="vt rt"></b><b class="hz to"></b><b class="hz bo"></b> <b class="cr tl"></b><b class="cr tr"></b><b class="cr bl"></b><b class="cr br"></b> diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css index 8fe78488..a4b8183e 100644 --- a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css @@ -23,10 +23,10 @@ div.person-info { z-index: 1; float: left; margin-top: 25px !important; - margin-left: -1em; - padding: 0 2em 0 0.5em; + margin-left: -12px; + padding: 0 24px 0 6px; left: 3px; - width: 6em; + width: 72px; background: url(Images/nipple.png) top right no-repeat; text-align: center; color: #777; @@ -42,8 +42,8 @@ div.person-info img { div.post { position: relative; - margin-left: 6em; - padding: 1em; + margin-left: 89px; + padding: 12px; } b.cr { @@ -80,7 +80,11 @@ b.bo { bottom: 0px; left: 0px; background-position: bottom left; } z-index: 1; line-height: 120%; padding: 0; - margin: 0; + margin: 0 0 2em 0; +} + +.post-body { + min-height: 40px; } .post-contents p { @@ -95,7 +99,9 @@ b.bo { bottom: 0px; left: 0px; background-position: bottom left; } } .post-footer { - margin-top: 0.5em; + position: absolute; + bottom: 1em; + right: 1em; } .post-footer p { |