Lighter icon colors for repo files (#3351)

* Lighter icon colors for repo files

* also color submodule icon
pull/197/head
silverwind 8 years ago committed by 无闻
parent 991ce42c48
commit b1133c9934
  1. 5
      public/css/gogs.css
  2. 4
      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;

@ -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