diff mercurial/templates/static/style-paper.css @ 35089:69ea10d5b00c

hgweb: show obsolescence status of a commit As with phases, spartan theme shows a simple "obsolete: yes" on its own line (this allows replacing "yes" with something more useful in future, like output of obsfate* template functions). Everywhere else a new "tag" is added to the same line that has phase, branch, etc of a changeset; in gitweb and monoblue the element has gray background, in paper and coal the element is gray with a dashed underline.
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 18 Nov 2017 12:04:08 +0800
parents a1de4ffaa7a8
children 38fe3fe4bbb6
line wrap: on
line diff
--- a/mercurial/templates/static/style-paper.css	Sat Nov 18 11:58:57 2017 +0800
+++ b/mercurial/templates/static/style-paper.css	Sat Nov 18 12:04:08 2017 +0800
@@ -146,6 +146,15 @@
   vertical-align: baseline;
 }
 
+.obsolete {
+  color: #999;
+  font-size: 70%;
+  border-bottom: 1px dashed #999;
+  font-weight: normal;
+  margin-left: .5em;
+  vertical-align: baseline;
+}
+
 .tag {
   color: #999;
   font-size: 70%;