Author mode - css style for included content

Oxygen general issues.
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Author mode - css style for included content

Post by honyk »

Hello,

is there any way how to change default decoration of included/referred content? If in Docbook source some content is linked via xi:includes, it is displayed in grey backround with thin border in Author mode. I'd like to change this background color.

Jan
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Author mode - css style for included content

Post by sorin_ristache »

Hello,

No, the Author decoration of the content included with XInclude cannot be configured. We will consider allowing changing the color/border.


Regards,
Sorin
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author mode - css style for included content

Post by Radu »

Hi Jan,

You can modify the OXYGEN_INSTALL_DIR/frameworks/docbook/css/docbook.css and after the imports list declare this namespace:

Code: Select all

@namespace xi "http://www.w3.org/2001/XInclude";
Then at the end of the CSS you can add selectors like:

Code: Select all


xi|include * {
background-color:maroon !important;
}

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply