summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-11-06 17:57:36 -0200
committerAndrey Nering <andrey.nering@gmail.com>2016-11-06 17:57:45 -0200
commitef5fc3c9599b5247448f3c2106599aa5c6fd665c (patch)
treedb22772cbe6876995968c6c3c2b09d3c150716b0 /public/less
parent92c48dabe39dee85dbec02adfe1b6b429c004102 (diff)
downloadgitea-ef5fc3c9599b5247448f3c2106599aa5c6fd665c.tar.gz
gitea-ef5fc3c9599b5247448f3c2106599aa5c6fd665c.zip
CSS: Stronger colors for diffs
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_repository.less20
1 files changed, 2 insertions, 18 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 9f51ebc4fb..07274880fd 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -920,39 +920,23 @@
// }
// }
&.del-code {
- // Duplicate here to enforce add code color.
- td.add-code {
- background-color: #eaffea !important;
- border-color: #c1e9c1 !important;
- pre {
- background-color: #eaffea !important;
- border-color: #c1e9c1 !important;
-
- }
- }
td, pre {
- background-color: #ffecec !important;
+ background-color: #ffe0e0 !important;
border-color: #f1c0c0 !important;
}
td.halfwidth {
width: 50%;
}
- // td.selected-line, td.selected-line pre {
- // background-color: #ffffdd !important;
- // }
}
&.add-code {
td, pre {
- background-color: #eaffea !important;
+ background-color: #d6fcd6 !important;
border-color: #c1e9c1 !important;
}
td.halfwidth {
width: 50%;
}
- // td.selected-line, td.selected-line pre {
- // background-color: #ffffdd !important;
- // }
}
.removed-code {