Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2

# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
This commit is contained in:
Unknwon
2015-08-10 23:01:41 +08:00
12 changed files with 143 additions and 78 deletions

File diff suppressed because one or more lines are too long

View File

@ -222,7 +222,10 @@ $(document).ready(function () {
// Semantic UI modules.
$('.dropdown').dropdown();
$('.jump.dropdown').dropdown({
action: 'hide'
action: 'hide',
onShow: function() {
$('.poping.up').popup('hide');
}
});
$('.slide.up.dropdown').dropdown({
transition: 'slide up'
@ -233,6 +236,13 @@ $(document).ready(function () {
showActivity: false
});
$('.poping.up').popup();
$('.top.menu .poping.up').popup({
onShow: function() {
if ( $('.top.menu .menu.transition').hasClass('visible') ) {
return false;
}
}
});
// Helpers.

View File

@ -16,7 +16,6 @@ img {
z-index: 900;
left: 0;
width: 100%;
padding: 5px 0;
&.light {
background-color: white;
border-bottom: 1px solid #DDDDDD;
@ -25,10 +24,19 @@ img {
.column .menu {
margin-top: 0;
}
.brand {
float: left;
margin-top: 5px;
margin-right: 5px;
.top.menu a.item.brand {
padding-left: 0;
}
.brand .ui.mini.image {
width: 30px;
}
.top.menu a.item:hover,
.top.menu .dropdown.item:hover,
.top.menu .dropdown.item.active {
background-color: transparent;
}
.top.menu a.item:hover {
color: rgba(0,0,0,.45);
}
.head.link.item {
padding-right: 0!important;
@ -37,8 +45,8 @@ img {
margin-right: 5px;
}
}
.user.avatar {
padding: 0;
.avatar > .ui.image {
margin-right: 0;
}
.searchbox {
background-color: rgb(244, 244, 244)!important;
@ -117,6 +125,10 @@ footer {
.generate-img(@n, (@i + 1));
}
.octicon.icon {
font-family: octicons;
}
// Accessibility
.sr-only {
position: absolute;