Преглед на файлове

UI: More subtle strips on commits list

With grey SHA1 labels, we should consider having also more subtle strips on
commits list. As current strips blend too much with grey SHA1 labels and top
bar, making hard to distinguish headers from content.
Adam Strzelecki преди 9 години
родител
ревизия
cab2911f23
променени са 2 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 3 0
      public/css/gogs.css
  2. 3 0
      public/less/_repository.less

+ 3 - 0
public/css/gogs.css

@@ -2243,6 +2243,9 @@ footer .container .links > *:first-child {
   font-size: 13px;
   padding: 6px 40px 4px 35px;
 }
+.repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n) {
+  background-color: rgba(0, 0, 0, 0.02) !important;
+}
 .repository .diff-detail-box {
   margin: 15px 0;
   line-height: 30px;

+ 3 - 0
public/less/_repository.less

@@ -602,6 +602,9 @@
 		    padding: 6px 40px 4px 35px;
 			}
 		}
+		&.ui.basic.striped.table tbody tr:nth-child(2n) {
+			background-color: rgba(0, 0, 0, .02)!important;
+		}
 	}
 
 	.diff-detail-box {