Commit e1ecae83 authored by Holger Just's avatar Holger Just

[#774 #815 #807] Fix styles used for gravatars in issues

Gravatars now generally have a border and are displayed equally.
The Issue history formatting is cleaned up with much of the positioning
magic removed in favor or a simple float.
parent 323b5beb
...@@ -1006,13 +1006,8 @@ img.gravatar { ...@@ -1006,13 +1006,8 @@ img.gravatar {
background: #fff; background: #fff;
} }
div.issue img.gravatar { div.issue table img.gravatar,
float: right; p.author img.gravatar {
margin: 0 0 0 1em;
padding: 5px;
}
div.issue table img.gravatar {
height: 14px; height: 14px;
width: 14px; width: 14px;
padding: 2px; padding: 2px;
...@@ -1794,23 +1789,21 @@ table.files { ...@@ -1794,23 +1789,21 @@ table.files {
margin-bottom:20px; margin-bottom:20px;
} }
#history .journal { #history .journal {
position:relative; margin:0 0 45px;
padding-left:50px; }
margin:0 0 15px; .journal.has-avatar .journal-details {
clear:both; padding-left: 50px;
min-height:40px;
} }
.journal .profile-wrap { .journal .profile-wrap {
float:none; float: left;
position:absolute; margin: 5px 0 0;
left:0;
top:0;
} }
.journal h4 { .journal h4 {
font-size:12px; font-size:12px;
font-weight:normal; font-weight:normal;
margin-bottom:-1px; margin-bottom:10px;
position:relative; padding-right: 0;
z-index:5; z-index:5;
} }
.journal h4 .history-id { .journal h4 .history-id {
...@@ -1818,7 +1811,6 @@ table.files { ...@@ -1818,7 +1811,6 @@ table.files {
color:#999; color:#999;
} }
.journal .wiki { .journal .wiki {
padding:10px 10px 5px;
overflow:auto; overflow:auto;
} }
.journal .contextual { .journal .contextual {
...@@ -1949,12 +1941,6 @@ ul.projects li div.root { ...@@ -1949,12 +1941,6 @@ ul.projects li div.root {
* This section defines the styles for handling behaviors - popups, flyouts, etc. * This section defines the styles for handling behaviors - popups, flyouts, etc.
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
.profile-wrap {
float:right;
position:relative;
width:42px;
height:42px;
}
.profile-box { .profile-box {
position:absolute; position:absolute;
right:0; right:0;
...@@ -2289,15 +2275,11 @@ div.issue hr { ...@@ -2289,15 +2275,11 @@ div.issue hr {
#content h2 + h3 { #content h2 + h3 {
margin-top:12px; margin-top:12px;
} }
div.issue img.gravatar, #history img.gravatar {
float:none;
margin:0;
padding:0;
}
p.author { p.author {
margin-bottom:3px; margin-bottom:3px;
font-style:italic; font-style:italic;
} }
/* add filter select box on non-issue pages */ /* add filter select box on non-issue pages */
fieldset#filters div.add-filter { fieldset#filters div.add-filter {
text-align:left; text-align:left;
...@@ -2397,6 +2379,7 @@ div.issue p, div.issue div, #content td { ...@@ -2397,6 +2379,7 @@ div.issue p, div.issue div, #content td {
} }
#history .journal { #history .journal {
clear:left; clear:left;
min-height: 50px;
margin-bottom:45px; margin-bottom:45px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment