MINOR Limited css scope for compare view styling to avoid clashes with jstree

This commit is contained in:
Ingo Schommer 2011-03-16 10:14:23 +13:00
parent b2e4fdd6da
commit 6a2fe5671b
2 changed files with 3 additions and 2 deletions

View File

@ -1174,6 +1174,7 @@ JS;
"ID" => $id,
"Version" => $fromVersion,
));
$form->addExtraClass('compare');
// comparison views shouldn't be editable
$readonlyFields = $form->Fields()->makeReadonly();

View File

@ -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;
}