mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Limited css scope for compare view styling to avoid clashes with jstree
This commit is contained in:
parent
b2e4fdd6da
commit
6a2fe5671b
@ -1174,6 +1174,7 @@ JS;
|
||||
"ID" => $id,
|
||||
"Version" => $fromVersion,
|
||||
));
|
||||
$form->addExtraClass('compare');
|
||||
|
||||
// comparison views shouldn't be editable
|
||||
$readonlyFields = $form->Fields()->makeReadonly();
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user