]> source.dussan.org Git - gitea.git/commitdiff
pull request ui review, change sidebar
authorfuxiaohei <fuxiaohei@vip.qq.com>
Tue, 23 Sep 2014 15:48:28 +0000 (23:48 +0800)
committerfuxiaohei <fuxiaohei@vip.qq.com>
Tue, 23 Sep 2014 15:48:28 +0000 (23:48 +0800)
public/ng/css/gogs.css
public/ng/less/gogs/repository.less
templates/repo/sidebar_mini.tmpl

index b6d7a4dd1464095aa702b9cb65de739a50dbb9ec..42ad37adf85ace10ca3c514d467b04f374548685 100644 (file)
@@ -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 {
index 973d7bfd06c0bd097100829412feb8bfb5b74574..840db2ab4f7d2023c573a78281c70e4d5f513c5a 100644 (file)
   }
   li > a {
     position: relative;
+    padding-left: 12px;
+    width: 24px;
+    text-align: center;
     > i.octicon{
       font-size: 21px;
     }
     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;
   }
 }
index 0da012a1d938752840cabdf85dde67400fd1d728..dfd48c842e14a9898eb1ce257ce113ad69014d61 100644 (file)
@@ -2,7 +2,7 @@
     <li><a href="#" class="btn-right-radius"><i class="octicon octicon-code"></i></a></li>
     <li class="border-bottom"></li>
     <li><a href="#" class="btn-right-radius"><i class="octicon octicon-issue-opened"></i>
-        <span class="num label label-blue">6</span>
+        <span class="num label label-blue">999</span>
     </a></li>
     <li class="current"><a href="#" class="btn-right-radius"><i class="octicon octicon-git-pull-request"></i>
         <span class="num label label-black">12</span>