Mercurial > hg
diff tests/test-hgweb-descend-empties.t @ 25664:ebdfca23c1ab
hgweb: use css for stripey background in coal
Since "b8ecc3830c89 or 25dae11bb044::c229a5e7511e" paper style used css for
stripes in background for browsing files, for listing branches/tags/bookmarks,
and so on.
Since coal borrows many paper templates (e.g. shortlogentry.tmpl), it actually
tried to do the same, but it didn't have the needed css classes. You can
compare https://selenic.com/hg?style=coal with
https://selenic.com/hg?style=paper and see how log view in coal style has plain
white background, unlike the one in paper style. This wasn't intended.
Let's copy css classes directly from style-paper.css and remove parity classes
from elements that don't need them anymore. This makes plain white background
have stripes again and makes coal/map even more similar to paper/map (which can
ease porting changes or %including paper/map in future).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 25 Jun 2015 20:27:36 +0800 |
parents | 63be46407a50 |
children | 902148444889 |
line wrap: on
line diff
--- a/tests/test-hgweb-descend-empties.t Wed Jun 24 11:15:00 2015 -0400 +++ b/tests/test-hgweb-descend-empties.t Thu Jun 25 20:27:36 2015 +0800 @@ -217,7 +217,7 @@ <td class="permissions">drwxr-xr-x</td> </tr> - <tr class="fileline parity1"> + <tr class="fileline"> <td class="name"> <a href="/file/tip/a1?style=coal"> <img src="/static/coal-folder.png" alt="dir."/> a1/ @@ -229,7 +229,7 @@ <td class="size"></td> <td class="permissions">drwxr-xr-x</td> </tr> - <tr class="fileline parity0"> + <tr class="fileline"> <td class="name"> <a href="/file/tip/b1?style=coal"> <img src="/static/coal-folder.png" alt="dir."/> b1/ @@ -241,7 +241,7 @@ <td class="size"></td> <td class="permissions">drwxr-xr-x</td> </tr> - <tr class="fileline parity1"> + <tr class="fileline"> <td class="name"> <a href="/file/tip/d1?style=coal"> <img src="/static/coal-folder.png" alt="dir."/> d1/