Lighter icon colors for repo files (#3351)

* Lighter icon colors for repo files

* also color submodule icon
tokarchuk/v1.17
silverwind 8 years ago committed by 无闻
parent 991ce42c48
commit b1133c9934
  1. 5
      public/css/gogs.css
  2. 6
      public/less/_repository.less

@ -1248,10 +1248,15 @@ footer .ui.language .menu {
.repository.file.list #repo-files-table tbody .octicon { .repository.file.list #repo-files-table tbody .octicon {
margin-left: 3px; margin-left: 3px;
margin-right: 5px; margin-right: 5px;
color: #777;
} }
.repository.file.list #repo-files-table tbody .octicon.octicon-mail-reply { .repository.file.list #repo-files-table tbody .octicon.octicon-mail-reply {
margin-right: 10px; margin-right: 10px;
} }
.repository.file.list #repo-files-table tbody .octicon.octicon-file-directory,
.repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule {
color: #1e70bf;
}
.repository.file.list #repo-files-table td { .repository.file.list #repo-files-table td {
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;

@ -59,7 +59,7 @@
} }
.item { .item {
padding: 0px; padding: 0px;
} }
.label.color { .label.color {
padding: 0 8px; padding: 0 8px;
margin-right: 5px; margin-right: 5px;
@ -180,9 +180,13 @@
.octicon { .octicon {
margin-left: 3px; margin-left: 3px;
margin-right: 5px; margin-right: 5px;
color: #777;
&.octicon-mail-reply { &.octicon-mail-reply {
margin-right: 10px; margin-right: 10px;
} }
&.octicon-file-directory, &.octicon-file-submodule {
color: #1e70bf;
}
} }
} }
td { td {

Loading…
Cancel
Save