summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-10-18 22:52:34 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-10-18 22:52:34 +0800
commit9e3a1bc11af8ab95a4d6b47607a89207941a3119 (patch)
treea1d1991be67d62e752ffe96cd63b0ac75b544ecd /public
parentcb2da7bf2c8db2e5fde93c254f9c4272160a4da3 (diff)
downloadgitea-9e3a1bc11af8ab95a4d6b47607a89207941a3119.tar.gz
gitea-9e3a1bc11af8ab95a4d6b47607a89207941a3119.zip
add nav bar in issue list
Diffstat (limited to 'public')
-rw-r--r--public/ng/css/gogs.css20
-rw-r--r--public/ng/less/gogs/issue.less30
2 files changed, 50 insertions, 0 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css
index 4f68199c08..88d2c887dc 100644
--- a/public/ng/css/gogs.css
+++ b/public/ng/css/gogs.css
@@ -1964,6 +1964,26 @@ textarea#issue-add-content {
height: 120px;
resize: vertical;
}
+#issue-list-nav li > a {
+ font-size: 13px;
+ font-weight: bold;
+ padding: .4em .9em;
+ border-radius: .3em;
+}
+#issue-list-nav li.current > a {
+ background-color: #0079bc;
+ color: #FAFAFA;
+ border-radius: .3em;
+}
+#issue-list-nav li.right {
+ margin-left: 4px;
+}
+#issue-new > a {
+ padding: 0 !important;
+}
+#issue-new > a button {
+ height: 34px;
+}
.org-header-alert .alert {
margin-top: 10px;
}
diff --git a/public/ng/less/gogs/issue.less b/public/ng/less/gogs/issue.less
index aaeb1af325..12cc59fc69 100644
--- a/public/ng/less/gogs/issue.less
+++ b/public/ng/less/gogs/issue.less
@@ -220,4 +220,34 @@ textarea#issue-add-content {
box-sizing: border-box;
height: 120px;
resize: vertical;
+}
+// #issue list navigator
+#issue-list-nav {
+ li {
+ > a {
+ font-size: 13px;
+ font-weight: bold;
+ padding: .4em .9em;
+ border-radius: .3em;
+ }
+ }
+ li.current {
+ > a {
+ background-color: #0079bc;
+ color: #FAFAFA;
+ border-radius: .3em;
+ }
+ }
+ li.right {
+ margin-left: 4px;
+ }
+}
+// new issue button
+#issue-new {
+ > a {
+ padding: 0 !important;
+ button {
+ height: 34px;
+ }
+ }
} \ No newline at end of file