Page 1 of 1

Author mode - css style for included content

Posted: Wed Aug 19, 2009 9:29 am
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

Re: Author mode - css style for included content

Posted: Thu Sep 10, 2009 11:17 am
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

Re: Author mode - css style for included content

Posted: Mon Oct 11, 2010 9:44 am
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