aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-09 20:10:56 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-09 20:10:56 +0800
commit721834a2673fed7fc21988b8e91a88a26bcef051 (patch)
tree8b08a3407ab3611d6eef5f866d587043ff414830 /public
parenta991ebf5d0fe06c97be4b90b562e058ea2642de9 (diff)
downloadgitea-721834a2673fed7fc21988b8e91a88a26bcef051.tar.gz
gitea-721834a2673fed7fc21988b8e91a88a26bcef051.zip
change new-repo button to dropdown menu in dashboard page
Diffstat (limited to 'public')
-rwxr-xr-xpublic/css/gogs.css28
1 files changed, 27 insertions, 1 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index da2a7fd1a2..bf39ea39ce 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -444,6 +444,32 @@ html, body {
margin-right: 1em;
}
+#user-dashboard-repo-new .btn-sm.dropdown-toggle {
+ padding: 3px 8px;
+}
+
+#user-dashboard-repo-new .dropdown-menu {
+ padding: 0;
+ margin: 0;
+}
+
+#user-dashboard-repo-new ul {
+ margin: 0;
+ width: 200px;
+}
+
+#user-dashboard-repo-new li a {
+ line-height: 36px;
+ display: block;
+ padding: 0 18px;
+ color: #444;
+}
+
+#user-dashboard-repo-new li a:hover {
+ background: #0093c4;
+ color: #FFF;
+}
+
/* gogits repo single page */
#body-nav.repo-nav {
@@ -1372,6 +1398,6 @@ html, body {
margin: 16px 0;
}
-#release-preview{
+#release-preview {
margin: 6px 0;
} \ No newline at end of file