some ui details fix

This commit is contained in:
fuxiaohei 2014-10-18 22:15:05 +08:00
parent 1aa12c7452
commit cb2da7bf2c
3 changed files with 24 additions and 10 deletions

View File

@ -95,7 +95,7 @@ img.avatar-100 {
}
#header {
background-color: #428bca;
height: 44px;
height: 45px;
}
#header > .menu-line > li > a {
display: inline-block;
@ -120,14 +120,14 @@ img.avatar-100 {
height: 44px;
}
#header-nav-user img {
margin: -4px 10px 0 0;
margin: -2px 10px 0 0;
border-radius: 3px;
}
#header-nav-sign-out > a:hover {
color: #ff908b !important;
}
#header-nav-logo {
padding: 6px 1.2em;
padding: 6px 1.2em 6px 0;
}
#header-nav-explore,
#header-nav-help {
@ -716,6 +716,12 @@ ol.linenums {
#dashboard-header > .menu-line > li {
padding: 12px 6px;
}
#dashboard-header > .menu-line > li.drop {
margin-left: -22px;
}
#dashboard-header > .menu-line > li.drop:hover a {
background-color: transparent;
}
#dashboard-header > .menu-line > li.right > a {
font-size: 1.2em;
color: #444444;
@ -870,6 +876,7 @@ ol.linenums {
}
#dashboard-selection-menu > .drop-down {
top: 56px;
left: 22px;
}
#dashboard-selection-menu li {
white-space: nowrap;
@ -919,7 +926,7 @@ ol.linenums {
color: #CCC;
}
#dashboard-news .news .avatar {
margin: 0 1.2em;
margin-right: 1.2em;
}
#dashboard-news .news .news-content,
#dashboard-news .news .news-time {

View File

@ -110,7 +110,7 @@ clear: both;
}
#header {
background-color: @headerBgColor;
height: 44px;
height: 45px;
> .menu-line {
> li > a {
display: inline-block;
@ -136,7 +136,7 @@ clear: both;
#header-nav-user {
height: 44px;
img {
margin: -4px 10px 0 0;
margin: -2px 10px 0 0;
border-radius: 3px;
}
}
@ -144,7 +144,7 @@ clear: both;
color: @headerSignOutColor !important;
}
#header-nav-logo {
padding: 6px 1.2em;
padding: 6px 1.2em 6px 0;
}
#header-nav-explore,
#header-nav-help {

View File

@ -17,6 +17,12 @@
> li {
padding: 12px 6px;
}
> li.drop{
margin-left: -22px;
&:hover a {
background-color: transparent;
}
}
> li.right {
> a {
font-size: 1.2em;
@ -126,7 +132,7 @@
.repo-contrib-header {
border-top: 1px solid #d6d6d6;
}
.panel-header{
.panel-header {
font-size: 14px;
}
}
@ -173,6 +179,7 @@
max-width: 300px;
> .drop-down {
top: 56px;
left: 22px;
}
li {
white-space: nowrap;
@ -228,7 +235,7 @@
color: #CCC;
}
.avatar {
margin: 0 1.2em;
margin-right: 1.2em;
}
.news-content,
.news-time {