Permalink
Browse files

MINOR Limited css scope for compare view styling to avoid clashes wit…

…h jstree
  • Loading branch information...
1 parent b2e4fdd commit 6a2fe5671b39348a6f277f78d7fdf1edd1eb8d5a @chillu chillu committed Mar 15, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −0 code/CMSMain.php
  2. +2 −2 css/cms_left.css
View
@@ -1174,6 +1174,7 @@ function compareversions() {
"ID" => $id,
"Version" => $fromVersion,
));
+ $form->addExtraClass('compare');
// comparison views shouldn't be editable
$readonlyFields = $form->Fields()->makeReadonly();
View
@@ -294,12 +294,12 @@ ul.tree span.untranslated a:visited {
}
/* Change detection CSS */
-#right ins, #right ins * {
+#right .compare ins, #right .compare ins * {
background-color: #99EE66;
text-decoration: none;
}
-#right del, #right del *{
+#right .compare del, #right .compare del *{
background-color: #FF9999;
text-decoration: line-through;
}

0 comments on commit 6a2fe56

Please sign in to comment.