]> source.dussan.org Git - gitea.git/commitdiff
diff page ui
authorFuXiaoHei <fuxiaohei@hexiaz.com>
Mon, 24 Mar 2014 14:23:55 +0000 (22:23 +0800)
committerFuXiaoHei <fuxiaohei@hexiaz.com>
Mon, 24 Mar 2014 14:23:55 +0000 (22:23 +0800)
public/css/gogs.css
templates/repo/diff.tmpl

index ec37721fd69b48c61fe5e303ecf7d789906bd697..434af0359001043a78b77bcace6bd893552f7e27 100755 (executable)
@@ -711,6 +711,12 @@ html, body {
     width: 1%;
 }
 
+.file-content .file-body.file-code .lines-ellipsis {
+    background-color: #FAFAFA;
+    color: #999;
+    width: 1%;
+}
+
 .file-content .file-body.file-code .lines-num span {
     font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
     line-height: 1.6;
@@ -896,7 +902,7 @@ html, body {
     background-color: #e9aeae;
 }
 
-.diff-detail-box span.status.rename{
+.diff-detail-box span.status.rename {
     background-color: #dad8ff;
 }
 
@@ -962,6 +968,10 @@ html, body {
     border-color: #f0db88 !important;
 }
 
+.diff-file-box .ellipsis-code pre {
+    color: #AAA;
+}
+
 /* wrapper and footer */
 
 #wrapper {
index 0c6f4febcdf81cd6e664cec45164eac16f7baf77..b0836127ffd2be226fd3933086b4295135bd4fc2 100644 (file)
                             <pre>      "github.com/youtube/vitess/go/bson"</pre>
                         </td>
                     </tr>
+                    <tr class="ellipsis-code">
+                        <td class="text-center lines-ellipsis" colspan="2">
+                            <i class="fa fa-ellipsis-h"></i>
+                        </td>
+                        <td class="lines-code">
+                            <pre>      "github.com/youtube/vitess/go/bson"</pre>
+                        </td>
+                    </tr>
+                    <tr class="same-code nl-8 ol-10">
+                        <td class="lines-num lines-num-old">
+                            <span rel="L1">10</span>
+                        </td>
+                        <td class="lines-num lines-num-new">
+                            <span rel="L1">8</span>
+                        </td>
+                        <td class="lines-code">
+                            <pre>      "github.com/youtube/vitess/go/bson"</pre>
+                        </td>
+                    </tr>
+                    <tr class="same-code nl-8 ol-10">
+                        <td class="lines-num lines-num-old">
+                            <span rel="L1">10</span>
+                        </td>
+                        <td class="lines-num lines-num-new">
+                            <span rel="L1">8</span>
+                        </td>
+                        <td class="lines-code">
+                            <pre>      "github.com/youtube/vitess/go/bson"</pre>
+                        </td>
+                    </tr>
                     </tbody>
                 </table>
             </div>