﻿/*
CUSTOM-STYLES.CSS
------------------

The following styles will be applied to the custom tags pagebreak and headline.
Here it's possible to define custom styles such as readonlycontent/readonlyelement/alwaysshowtags etc.

You can also define if custom actions defined as <action /> within the uiconfig.xml file should apply to any of the custom tags.
*/

/*
pagebreak is a custom blocktag. Therefore, it can contain inline elements but no other block level elements such as <p>.
ro-starttagicon:'../samples/customdtd/icons/pb.gif'; defines an icon for the tag (pagebreak is defined as empty element -> only 
starttagicon needs to be defined)
*/

pagebreak {
		ro-readonlycontent:false;
		ro-readonlyelement:false;
		ro-alwaysshowtags:true;
		ro-starttagicon:'../samples/customdtd/icons/pb.gif';
}


/*
signature has a custom ro-action:SETSIGNATURE;. This means by rightclicking on that tag in WYSIWYG view, the action SETSIGNATURE can be executed.
This action was previously defined in the uiconfig.xml as action. Here it can be called within the contextmenu, but wiill only be available when rightclicking the signature tag.
*/

signature {
		ro-readonlycontent:false;
		ro-readonlyelement:true;
		ro-alwaysshowtags:true;
		ro-action:SETSIGNATURE;
}


/*
The headline tag is readonly and is always shown in WYSIWYG.
*/

headline {
		ro-readonlycontent:true;
		ro-readonlyelement:true;
		ro-alwaysshowtags:true;
		color:#dedede;
		font-size:22pt;
		font-family:Arial;
		font-weight:bold;
     	background-color:red;
}


/*
The readonlyine tag is an readonly inline element and is always shown in WYSIWYG.
*/

readonlyinline {
		ro-readonlycontent:true;
		ro-readonlyelement:true;
		ro-alwaysshowtags:true;
}


/*
This ro-action will insert a pagebreak as it is defined within the index.htm (as JavaScript function) and as action within the uiconfig.xml.
The tag can be inserted only if the cursor position is within a <p> or <body> tag of the document whtin the editor.
*/

body, p {
		font-family: Arial;
		font-size: 12px;
		color:#000000;
		background-color:#ffffff;
		ro-action:INSERTPAGEBREAK;
}

body { margin-top: 12px; margin-bottom: 12px; margin-right:22px; margin-left: 12px; }


