UX: make sure onebox avatar's dimensions arent overriden in order to prevent 'bumps' when the image loads

This commit is contained in:
Régis Hanol 2014-10-17 18:32:24 +02:00
parent 569874c2b6
commit ab9a0235b4
1 changed files with 9 additions and 12 deletions

View File

@ -136,19 +136,16 @@ aside.onebox {
} }
.onebox-avatar { .onebox-avatar {
height: 90px; height: 90px !important;
width: 90px; width: 90px !important;
} }
blockquote { blockquote {
aside.onebox { aside.onebox {
background: darken(scale-color-diff(), 5%);
background: darken(scale-color-diff(), 5%); border-left: 5px solid darken(scale-color-diff(), 12%);
border-left: 5px solid darken(scale-color-diff(), 12%); }
} }
}
// -- Onebox Github Code Blob -- // -- Onebox Github Code Blob --
pre.onebox code ol.lines li:before { pre.onebox code ol.lines li:before {
@ -186,7 +183,7 @@ pre.onebox code ol.lines li {
padding-left: 5px; padding-left: 5px;
margin-left: 0px; margin-left: 0px;
border-left: 1px solid #CFCFCF; border-left: 1px solid #CFCFCF;
min-height: 1.5em; //show empty li lines min-height: 1.5em; //show empty li lines
white-space: pre; white-space: pre;
} }
@ -195,7 +192,7 @@ pre.onebox code li.selected{
} }
pre.onebox code { pre.onebox code {
white-space: normal; white-space: normal;
} }
//Onebox - Github - Pull request //Onebox - Github - Pull request
@ -226,7 +223,7 @@ pre.onebox code {
background-color:#6cc644; background-color:#6cc644;
} }
.onebox-body .status_tag.merged{ .onebox-body .status_tag.merged{
background-color:#6e5494; background-color:#6e5494;
} }
.onebox-body .status_tag.closed { .onebox-body .status_tag.closed {
background-color:#bd2c00; background-color:#bd2c00;