Browse Source

Lighter icon colors for repo files (#3351)

* Lighter icon colors for repo files

* also color submodule icon
pull/3287/merge
silverwind 9 years ago committed by 无闻
parent
commit
b1133c9934
  1. 5
      public/css/gogs.css
  2. 4
      public/less/_repository.less

5
public/css/gogs.css

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

4
public/less/_repository.less

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