Understanding the CSS used buy the map with resolved topics
Posted: Thu Sep 08, 2016 7:35 pm
Hi,
In fact the way this "map resolved topics" author view works is a little bit cryptic for me.
In my application, I have a standard map with standard topicrefs going to specialized topics.
Everything for my specialized topics is in a dedicated oXygen framework but the map is a standard DITA one, using the DITA oXygen framework.
Now I want to parameterize the standard "resolved view", for my dedicated topics and print. If I use this feature, it is for being able to get oXygen customizations for author revisions and comments.
So, I have different questions, all related to the same use case :
- for now the only solution I found for css customization was to modify the Oxygen XML Editor 18\frameworks\dita\css\edit\alternate-full-width-layout.css. How can I only have my own customizations and where do I put them ? In my own framework with a dedicated specialized map ? Elsewhere ?
- what is the structure of this css ? I assume it needs to import my topic css plus the dita oxygen stuff for managing references and conref ? Have anyone got a sample ?
- how to modify the css for comments (too large, too big font that goes over the text) and revision stuff ?
- how to remove topic nested indentation ? I put every borrders to 0 (topicref, topic, body) but it continue to indent?
- last, working with alternate-full-width-layout.css, as soon as I print, the font size is not respected. Seems that the font grows up to fullfill margin. So Iis it the same css that is used when viewing the resolved map in the editor and when printing this view ? How to work on css-print margins and font size ?
Ok, this is a long set of question but I really spent yet a lot of time tryoing to understand so I will be happy to get directions and ideas.
Regards, Pierre
In fact the way this "map resolved topics" author view works is a little bit cryptic for me.
In my application, I have a standard map with standard topicrefs going to specialized topics.
Everything for my specialized topics is in a dedicated oXygen framework but the map is a standard DITA one, using the DITA oXygen framework.
Now I want to parameterize the standard "resolved view", for my dedicated topics and print. If I use this feature, it is for being able to get oXygen customizations for author revisions and comments.
So, I have different questions, all related to the same use case :
- for now the only solution I found for css customization was to modify the Oxygen XML Editor 18\frameworks\dita\css\edit\alternate-full-width-layout.css. How can I only have my own customizations and where do I put them ? In my own framework with a dedicated specialized map ? Elsewhere ?
- what is the structure of this css ? I assume it needs to import my topic css plus the dita oxygen stuff for managing references and conref ? Have anyone got a sample ?
- how to modify the css for comments (too large, too big font that goes over the text) and revision stuff ?
- how to remove topic nested indentation ? I put every borrders to 0 (topicref, topic, body) but it continue to indent?
- last, working with alternate-full-width-layout.css, as soon as I print, the font size is not respected. Seems that the font grows up to fullfill margin. So Iis it the same css that is used when viewing the resolved map in the editor and when printing this view ? How to work on css-print margins and font size ?
Ok, this is a long set of question but I really spent yet a lot of time tryoing to understand so I will be happy to get directions and ideas.
Regards, Pierre