123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523 |
- /*
- Oxygen WebHelp Plugin
- Copyright (c) 1998-2020 Syncro Soft SRL, Romania. All rights reserved.
- */
- /*
- * ==========================================
- *
- * Side notes. These are the oXygen review processing instructions
- * converted to elements. They are floating to one
- * side of the page.
- *
- * For the WebHelp HTML output, the review elements are converted
- * to 'div' and 'span's having with a class name matching the name
- * of the element.
- *
- * ==========================================
- */
- @namespace oxy "http://www.oxygenxml.com/extensions/author";
-
- @media screen {
- oxy-attributes,
- oxy-comment,
- oxy-delete,
- oxy-insert,
- .oxy-attributes,
- .oxy-comment,
- .oxy-delete,
- .oxy-insert {
- margin: 0.5em;
- width: 20%;
- min-width:7em;
- }
-
- table oxy-attributes,
- table oxy-comment,
- table oxy-delete,
- table oxy-insert,
- table .oxy-attributes,
- table .oxy-comment,
- table .oxy-delete,
- table .oxy-insert {
- margin: 0.5em;
- width: 50%;
- }
-
- }
-
- @media print, screen {
-
- /*
- * Main callouts properties.
- */
- oxy-attributes,
- oxy-comment,
- oxy-delete,
- oxy-insert,
- .oxy-attributes,
- .oxy-comment,
- .oxy-delete,
- .oxy-insert {
- font-size:small;
-
- font-weight:normal !important; /* Do not take text styles from the context. */
- text-decoration:none !important;
-
- font-family:arial, helvetica, sans-serif;
-
- position:relative;
- float: right;
- clear:right;
-
- padding: 0.5em 1em 0.5em 1em;
-
- min-height:1em;
- page-break-inside: avoid;
-
- border-radius: 10px;
- link:attr(href);
- -ah-link: attr(href);
- -oxy-link: attr(href);
-
- }
-
- /*
- * Style the comment replies.
- */
- oxy-attributes oxy-comment,
- oxy-comment oxy-comment,
- oxy-delete oxy-comment,
- oxy-insert oxy-comment,
- .oxy-attributes .oxy-comment,
- .oxy-comment .oxy-comment,
- .oxy-delete .oxy-comment,
- .oxy-insert .oxy-comment {
- border-left: 2pt solid;
- padding-left: 0.5em;
- padding-right: 0;
-
- margin: 2pt 0 2pt 10%;
- width:90%;
- border-radius: 0;
- }
-
-
- /*
- * Hide the links from the replies.
- */
- oxy-attributes oxy-comment:before,
- oxy-comment oxy-comment:before,
- oxy-delete oxy-comment:before,
- oxy-insert oxy-comment:before,
- .oxy-attributes .oxy-comment:before,
- .oxy-comment .oxy-comment:before,
- .oxy-delete .oxy-comment:before,
- .oxy-insert .oxy-comment:before {
- display:none;
- }
-
-
- /*
- * Hide some meta information.
- */
- oxy-comment-id,
- oxy-comment-parent-id,
- oxy-mid,
- oxy-hour,
- oxy-tz,
- .oxy-comment-id,
- .oxy-comment-parent-id,
- .oxy-mid,
- .oxy-hour,
- .oxy-tz {
- display:none;
- }
-
-
- /* The ID of the change, like the number of a footnote. */
- oxy-attributes[hr_id]:before,
- oxy-comment[hr_id]:before,
- oxy-delete[hr_id]:before,
- oxy-insert[hr_id]:before{
- content:'[' attr(hr_id) '] ';
- }
-
- .oxy-attributes[hr_id]:before,
- .oxy-comment[hr_id]:before,
- .oxy-delete[hr_id]:before,
- .oxy-insert[hr_id]:before{
- /* For HTML, the hr_id is missing, the link is created as an "A" element. */
- content:none;
- }
- /* Author */
- oxy-author,
- .oxy-author {
- font-weight:bold;
- }
-
- /* Comment */
- oxy-comment-text,
- .oxy-comment-text{
- display:block;
- margin-top:0.5em;
- margin-bottom:0.5em;
- }
-
- /* Content of the change */
- oxy-content,
- .oxy-content{
- display:block;
- margin-top:0.5em;
- margin-bottom:0.5em;
- }
- oxy-delete > oxy-content,
- .oxy-delete > .oxy-content {
- text-decoration:line-through;
- }
- oxy-insert > oxy-content,
- .oxy-insert > .oxy-content {
- font-style:italic;
- }
- oxy-insert > oxy-content:before,
- .oxy-insert > .oxy-content:before {
- content:"<<";
- }
- oxy-insert > oxy-content:after,
- .oxy-insert > .oxy-content:after {
- content:">>";
- }
-
- /* Date */
- oxy-date,
- .oxy-date {
- display:block;
- margin-top:0.5em;
- margin-bottom:0.5em;
- text-align:right;
- font-size:0.8em;
- }
- /* Old and cuattribute value */
- oxy-old-value,
- .oxy-old-value {
- display:block;
- text-decoration: line-through;
- }
-
- oxy-old-value:before,
- .oxy-old-value:before,
- oxy-current-value:before,
- .oxy-current-value:before {
- display:block;
- font-weight:bold;
- text-decoration:none;
- }
-
-
-
-
- oxy-current-value[unknown='true']:before,
- .oxy-current-value[unknown='true']:before{
- content:"<< Cannot determine the current value >>";
- color:red;
- }
- oxy-current-value,
- .oxy-current-value
- {
- display:block;
- }
- oxy-attribute-change:before,
- .oxy-attribute-change:before{
- display:block;
- content: " @" attr(name) "\A" attr(type)" by \A";
- font-weight:bold;
- }
-
- oxy-range-start,
- .oxy-range-start,
- oxy-range-end,
- .oxy-range-end {
- display:inline;
- text-decoration: none;
- font-weight: normal;
- font-style: normal;
- }
- /*
- * This is the link to the floated comment.
- * This remains in the main content flow.
- */
- oxy-range-start:before,
- .oxy-range-start:before {
- display:inline;
- content:'[' attr(hr_id) ']';
- }
-
-
- /*
- * This marks the end of the range.
- */
- oxy-range-end:before,
- .oxy-range-end:before {
- display:inline ;
- content:'[/' attr(hr_id) ']';
- }
-
- }
- @media print {
-
- oxy-attributes,
- oxy-comment,
- oxy-delete,
- oxy-insert,
- .oxy-attributes,
- .oxy-comment,
- .oxy-delete,
- .oxy-insert {
- font-size:0.8rem;
- margin: 0.5em -0.7in 0.5em 0.5em;
- /* This should be correlated with the page margin from the p-page-size.css */
- width: 1.5in;
-
- }
- }
- /*
- *
- * Colors
- *
- */
- oxy-attributes,
- oxy-comment,
- oxy-delete,
- oxy-insert,
- .oxy-attributes,
- .oxy-comment,
- .oxy-delete,
- .oxy-insert {
- background-color: #FFFFAA;
- color:black;
- }
- /*
- * The highlight part.
- * This is also built-in Chemistry processor, but if one uses other processors is good to have it here also.
- */
- oxy-insert-hl,
- .oxy-insert-hl{
- display:inline;
- color:blue;
- text-decoration:underline;
- }
- oxy-delete-hl,
- .oxy-delete-hl {
- display:inline;
- color:red;
- text-decoration:line-through;
- }
- oxy-comment-hl,
- .oxy-comment-hl{
- display:inline;
- background-color:yellow;
- }
- oxy-color-hl[color],
- .oxy-color-hl[color]{
- display:inline;
- background-color:attr(color, color);
- }
-
- /*
- * The marked as done changes should be grayed out.
- */
- oxy-attributes[flag~="done"],
- oxy-comment[flag~="done"],
- oxy-delete[flag~="done"],
- oxy-insert[flag~="done"],
- .oxy-attributes[flag~="done"],
- .oxy-comment[flag~="done"],
- .oxy-delete[flag~="done"],
- .oxy-insert[flag~="done"] {
- color:gray;
- }
- oxy-attributes,
- .oxy-attributes{
- border-color:black;
- }
- oxy-comment,
- .oxy-comment{
- border-color:transparent;
- }
- oxy-delete,
- .oxy-delete{
- border-color:red;
- }
- oxy-insert,
- .oxy-insert{
- border-color:blue;
- }
- oxy-range-start,
- .oxy-range-start,
- oxy-range-end,
- .oxy-range-end {
- background-color: yellow;
- }
- oxy-attributes oxy-comment,
- oxy-comment oxy-comment,
- oxy-delete oxy-comment,
- oxy-insert oxy-comment,
- .oxy-attributes .oxy-comment,
- .oxy-comment .oxy-comment,
- .oxy-delete .oxy-comment,
- .oxy-insert .oxy-comment {
- border-left-color: orange;
- }
- /*
- Because Chemistry does not support the float:right, we use footnotes instead.
- Starting with Chemistry 21 the oxy-attributes, oxy-comment, oxy-delete and oxy-insert are
- moved from footnotes to PDF annotations. To keep them as footnotes, use
- the -no-pdf-annotaotions-for-change-tracking-and-comments Chemistry command line parameter.
- */
- @media oxygen-chemistry{
- oxy-attributes,
- oxy-comment,
- oxy-delete,
- oxy-insert,
- .oxy-attributes,
- .oxy-comment,
- .oxy-delete,
- .oxy-insert {
- margin: 0.5em;
- position:static;
- float: footnote;
- }
- /* Footnotes in footnotes are not allowed in the FO and they are not OK to represent the replies.
- So leave the replies as normal blocks, inside the parent change.*/
- oxy-attributes oxy-comment,
- oxy-comment oxy-comment,
- oxy-delete oxy-comment,
- oxy-insert oxy-comment,
- .oxy-attributes .oxy-comment,
- .oxy-comment .oxy-comment,
- .oxy-delete .oxy-comment,
- .oxy-insert .oxy-comment{
- float:none;
- }
-
-
- oxy-attributes[hr_id]:before,
- oxy-comment[hr_id]:before,
- oxy-delete[hr_id]:before,
- oxy-insert[hr_id]:before{
- content:none;
- }
-
- .oxy-attributes[hr_id]:before,
- .oxy-comment[hr_id]:before,
- .oxy-delete[hr_id]:before,
- .oxy-insert[hr_id]:before{
- content:none;
- }
- /* Do not leave the range id in the content, it creates confusion with the footnotes numbers. */
- oxy-range-start,
- .oxy-range-start,
- oxy-range-end,
- .oxy-range-end {
- background-color:inherit;
- color:maroon;
- }
- oxy-range-start:before,
- .oxy-range-start:before {
- content:'{';
- font-weight:bold;
- }
- oxy-range-end:before,
- .oxy-range-end:before {
- content:'}';
- font-weight:bold;
- }
-
- oxy-range-start[is-changebar]:before(100),
- .oxy-range-start[is-changebar]:before(100) {
- content: "";
- display:-oxy-changebar-start;
- -oxy-changebar-color: gray;
- -oxy-changebar-width: 1.5pt;
- }
- oxy-range-end[is-changebar]:before(100),
- .oxy-range-end[is-changebar]:before(100) {
- content: "";
- display:-oxy-changebar-end;
- }
- /* Remove the link from the HTML output, we already have a link from the footnote marker to the call. */
- .oxy-attributes > a,
- .oxy-comment > a,
- .oxy-delete > a,
- .oxy-insert > a{
- display:none;
- }
- oxy-attributes,
- oxy-attributes:footnote-call,
- oxy-attributes:footnote-marker,
- .oxy-attributes,
- .oxy-attributes:footnote-call,
- .oxy-attributes:footnote-marker {
- background-color:cyan;
- }
- oxy-comment,
- oxy-comment:footnote-call,
- oxy-comment:footnote-marker,
- .oxy-comment,
- .oxy-comment:footnote-call,
- .oxy-comment:footnote-marker{
- background-color:#FFFFAA;
- }
- oxy-delete,
- oxy-delete:footnote-call,
- oxy-delete:footnote-marker,
- .oxy-delete,
- .oxy-delete:footnote-call,
- .oxy-delete:footnote-marker{
- background-color:#FFAAAA;
- }
- oxy-insert,
- oxy-insert:footnote-call,
- oxy-insert:footnote-marker,
- .oxy-insert,
- .oxy-insert:footnote-call,
- .oxy-insert:footnote-marker {
- background-color:#DDDDFF;
- }
-
- }
|