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

View file

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

View file

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