summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-09-23 23:48:28 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-09-23 23:48:28 +0800
commitb3f0d25ce5966972ac1b9703672a8512400423a6 (patch)
tree16f0934f49f245a0fe9016316ab61682b54e68a6 /public
parentd750d53422df8d11783b672ac6cc558b136b5632 (diff)
downloadgitea-b3f0d25ce5966972ac1b9703672a8512400423a6.tar.gz
gitea-b3f0d25ce5966972ac1b9703672a8512400423a6.zip
pull request ui review, change sidebar
Diffstat (limited to 'public')
-rw-r--r--public/ng/css/gogs.css16
-rw-r--r--public/ng/less/gogs/repository.less16
2 files changed, 18 insertions, 14 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css
index b6d7a4dd14..42ad37adf8 100644
--- a/public/ng/css/gogs.css
+++ b/public/ng/css/gogs.css
@@ -1088,6 +1088,9 @@ The register and sign-in page style
}
#repo-sidebar-mini li > a {
position: relative;
+ padding-left: 12px;
+ width: 24px;
+ text-align: center;
}
#repo-sidebar-mini li > a > i.octicon {
font-size: 21px;
@@ -1096,16 +1099,15 @@ The register and sign-in page style
position: absolute;
font-size: 12px;
top: 0;
- left: 40px;
- width: 20px;
- height: 20px;
- padding-left: 0;
- padding-right: 0;
+ left: 36px;
+ padding: 0 2px;
+ min-width: 16px;
+ height: 16px;
text-align: center;
- line-height: 20px;
+ line-height: 16px;
border-radius: 4px;
opacity: 0.7;
- -webkit-transform: scale(0.85);
+ -webkit-transform: scale(0.9);
font-weight: bold;
}
#repo-file-nav {
diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less
index 973d7bfd06..840db2ab4f 100644
--- a/public/ng/less/gogs/repository.less
+++ b/public/ng/less/gogs/repository.less
@@ -134,6 +134,9 @@
}
li > a {
position: relative;
+ padding-left: 12px;
+ width: 24px;
+ text-align: center;
> i.octicon{
font-size: 21px;
}
@@ -142,16 +145,15 @@
position: absolute;
font-size: 12px;
top:0;
- left: 40px;
- width: 20px;
- height: 20px;
- padding-left: 0;
- padding-right: 0;
+ left: 36px;
+ padding: 0 2px;
+ min-width: 16px;
+ height: 16px;
text-align: center;
- line-height: 20px;
+ line-height: 16px;
border-radius: 4px;
opacity: 0.7;
- -webkit-transform: scale(0.85);
+ -webkit-transform: scale(0.9);
font-weight: bold;
}
}