# HG changeset patch # User Anthony Truchet # Date 1364481803 -3600 # Node ID f7e140182df18ad9e72096666d4b09d5786c927c # Parent 0d81a474c0fe2077996e8aa675d5d6001d0870f8 [data] Add a CSS for undo UI rendering The nesting of ordered list and unordered list was badly handled. This has gone unoticed becaused it was not used. But the undo feature use this markup to render the changesets. That's why this minor change to ths CSS is introduced. diff -r 0d81a474c0fe -r f7e140182df1 web/data/cubicweb.css --- a/web/data/cubicweb.css Thu Mar 28 15:01:02 2013 +0100 +++ b/web/data/cubicweb.css Thu Mar 28 15:43:23 2013 +0100 @@ -1085,3 +1085,21 @@ margin-left: 0.5em; vertical-align: bottom; } + +/* cubicweb.views.undohistory uses : + * - span.undo around undo link + * - ul.undo-transactions to list transaction + * - ol.undo-actions to list actions in a transaction + */ + +span.undo { + border: 1pt; +} + +ol.undo-actions > li { + margin-left: 2em; + margin-top: 2px; + padding: 0px 0px 2px 0px; + background-image: none; +} + diff -r 0d81a474c0fe -r f7e140182df1 web/data/cubicweb.old.css --- a/web/data/cubicweb.old.css Thu Mar 28 15:01:02 2013 +0100 +++ b/web/data/cubicweb.old.css Thu Mar 28 15:43:23 2013 +0100 @@ -116,7 +116,7 @@ list-style-type: none; } -ul li { +ul > li { margin-top: 2px; padding: 0px 0px 2px 8px; background: url("bullet_orange.png") 0% 6px no-repeat; @@ -1077,3 +1077,21 @@ padding-left:0.5em; color:inherit; } + +/* cubicweb.views.undohistory uses : + * - span.undo around undo link + * - ul.undo-transactions to list transaction + * - ol.undo-actions to list actions in a transaction + */ + +span.undo { + border: 1pt; +} + +ol.undo-actions > li { + margin-left: 2em; + margin-top: 2px; + padding: 0px 0px 2px 0px; + background-image: none; +} +