Mercurial > hg
comparison mercurial/templates/static/style-paper.css @ 19458:5e518418738e
hgweb: change highlighted line color to be different from 'inserted' color
This changes line highlight color from a fain yellow (#ffff99) to
a faint blue (#bfdfff), because yellow color is used in comparison view for
inserted lines.
This new color is okay for people with different forms of color blindness
(tested with a simulator):
a) this color looks quite different from other used backgrounds
b) text doesn't lose distinction on this color
author | Alexander Plavin <me@aplavin.ru> |
---|---|
date | Sat, 13 Jul 2013 17:31:53 +0400 |
parents | e92d4b8530cb |
children | fbfe5748ef3e |
comparison
equal
deleted
inserted
replaced
19457:948df0f10ec1 | 19458:5e518418738e |
---|---|
251 text-align: right; | 251 text-align: right; |
252 content: counters(lineno, "."); | 252 content: counters(lineno, "."); |
253 } | 253 } |
254 | 254 |
255 .sourcelines > span:target { | 255 .sourcelines > span:target { |
256 background-color: #ffff99; | 256 background-color: #bfdfff; |
257 } | 257 } |
258 | 258 |
259 .sourcelines > a { | 259 .sourcelines > a { |
260 display: inline-block; | 260 display: inline-block; |
261 position: absolute; | 261 position: absolute; |