summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2016-08-03 17:53:28 +0200
committer无闻 <u@gogs.io>2016-08-03 08:53:28 -0700
commitb1133c99348c332df4cede25af9093aa0cfd302b (patch)
tree4be386db23eaa3e5253ff2f1344b306d9cedc521 /public
parent991ce42c48d2dc5e8be42245a432e782df0f3d23 (diff)
downloadgitea-b1133c99348c332df4cede25af9093aa0cfd302b.tar.gz
gitea-b1133c99348c332df4cede25af9093aa0cfd302b.zip
Lighter icon colors for repo files (#3351)
* Lighter icon colors for repo files * also color submodule icon
Diffstat (limited to 'public')
-rw-r--r--public/css/gogs.css5
-rw-r--r--public/less/_repository.less6
2 files changed, 10 insertions, 1 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index f512a563a2..ae58c7c54e 100644
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1248,10 +1248,15 @@ footer .ui.language .menu {
.repository.file.list #repo-files-table tbody .octicon {
margin-left: 3px;
margin-right: 5px;
+ color: #777;
}
.repository.file.list #repo-files-table tbody .octicon.octicon-mail-reply {
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 {
padding-top: 8px;
padding-bottom: 8px;
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 52d8399b57..474b8ade6d 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -59,7 +59,7 @@
}
.item {
padding: 0px;
- }
+ }
.label.color {
padding: 0 8px;
margin-right: 5px;
@@ -180,9 +180,13 @@
.octicon {
margin-left: 3px;
margin-right: 5px;
+ color: #777;
&.octicon-mail-reply {
margin-right: 10px;
}
+ &.octicon-file-directory, &.octicon-file-submodule {
+ color: #1e70bf;
+ }
}
}
td {