summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-10 22:00:32 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-10 22:00:32 +0800
commita354f33ac2458d788cfeeeea6b92b9a3c1fc9b92 (patch)
tree480c2c5779e665d9e0bfcee0ce1f5d4599e9c639 /public
parentb3f1ae1ba6144b25c937d7b6db085e6b902e74ab (diff)
downloadgitea-a354f33ac2458d788cfeeeea6b92b9a3c1fc9b92.tar.gz
gitea-a354f33ac2458d788cfeeeea6b92b9a3c1fc9b92.zip
new-repo dropdown in top navbar
Diffstat (limited to 'public')
-rwxr-xr-xpublic/css/gogs.css23
1 files changed, 17 insertions, 6 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index dcfb2758a0..2850d15e2e 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -309,13 +309,13 @@ html, body {
height: 8em;
}
-#repo-import-auth{
+#repo-import-auth {
width: 100%;
margin-top: 48px;
box-sizing: border-box;
}
-#repo-import-auth .form-group{
+#repo-import-auth .form-group {
box-sizing: border-box;
margin-left: 0;
margin-right: 0;
@@ -460,28 +460,39 @@ html, body {
padding: 3px 8px;
}
-#user-dashboard-repo-new .dropdown-menu {
+#user-dashboard-repo-new .dropdown-menu, #nav-repo-new .dropdown-menu {
padding: 0;
margin: 0;
}
-#user-dashboard-repo-new ul {
+#user-dashboard-repo-new ul, #nav-repo-new ul {
margin: 0;
width: 200px;
}
-#user-dashboard-repo-new li a {
+#user-dashboard-repo-new li a, #nav-repo-new li a {
line-height: 36px;
display: block;
padding: 0 18px;
color: #444;
}
-#user-dashboard-repo-new li a:hover {
+#user-dashboard-repo-new li a:hover, #nav-repo-new li a:hover {
background: #0093c4;
color: #FFF;
}
+#nav-repo-new button {
+ border: none;
+ background: transparent;
+ padding: 0;
+ width: 15px;
+}
+
+#nav-repo-new li .fa {
+ margin: 0 .5em;
+}
+
/* gogits repo single page */
#body-nav.repo-nav {