Commit 16cf48c0 authored by Fabien Morin's avatar Fabien Morin

2008-09-24 fabien

* Add file fckstyles.xml to have one more style : "Python code" wich improve python code blocks displaying.
* Modify erp5_editor.css file to display this new div class in a nice way.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23780 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b1d52d07
...@@ -9,12 +9,6 @@ ...@@ -9,12 +9,6 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
<value> <string>erp5_editor.css</string> </value> <value> <string>erp5_editor.css</string> </value>
...@@ -266,12 +260,6 @@ ...@@ -266,12 +260,6 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_vars</string> </key> <key> <string>_vars</string> </key>
<value> <value>
...@@ -1110,7 +1098,27 @@ span.page {\n ...@@ -1110,7 +1098,27 @@ span.page {\n
\n \n
div.page div {\n div.page div {\n
color: black;\n color: black;\n
} }\n
\n
/* Css style used to display python code block in web pages */\n
.python_code{\n
background-color:#F3F5F7;\n
border:1pt solid #AEBDCC;\n
color:black;\n
margin:0.5em 0;\n
padding:0;\n
font-family:sans-serif,Arial,Helvetica;\n
font-size:11px;\n
font-weight:normal;\n
line-height:16px;\n
font-family:courier,monospace;\n
white-space:-moz-pre-wrap;\n
font-size:11px;\n
font-weight:normal;\n
line-height:16px;\n
text-align:left;\n
}\n
]]></string> </value> ]]></string> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="File" module="OFS.Image"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts22245888.58</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>fckstyles.xml</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/xml</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<?xml version="1.0" encoding="utf-8" ?>\n
<!--\n
* FCKeditor - The text editor for internet\n
* Copyright (C) 2003-2005 Frederico Caldeira Knabben\n
* \n
* Licensed under the terms of the GNU Lesser General Public License:\n
* http://www.opensource.org/licenses/lgpl-license.php\n
* \n
* For further information visit:\n
* http://www.fckeditor.net/\n
* \n
* File Name: fckstyles.xml\n
* This is the sample style definitions file. It makes the styles combo\n
* completely customizable.\n
* See FCKConfig.StylesXmlPath in the configuration file.\n
* \n
* File Authors:\n
* Frederico Caldeira Knabben (fredck@fckeditor.net)\n
*\n
\n
-->\n
<Styles xmlns:tal="http://xml.zope.org/namespaces/tal">\n
<Style name="Image on Left" element="img">\n
<Attribute name="class" value="img_left" />\n
</Style>\n
<Style name="Image on Right" element="img">\n
<Attribute name="class" value="img_right" />\n
</Style>\n
<Style name="Image on Top" element="img">\n
<Attribute name="class" value="img_top" />\n
</Style>\n
<Style name="Custom Ruler" element="hr">\n
<Attribute name="size" value="1" />\n
<Attribute name="color" value="#ff0000" />\n
</Style>\n
<Style name="Python code" element="div">\n
<Attribute name="class" value="python_code" />\n
</Style> \n
</Styles>\n
\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <long>1331</long> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2008-09-24 fabien
* Add file fckstyles.xml to have one more style : "Python code" wich improve python code blocks displaying.
* Modify erp5_editor.css file to display this new div class in a nice way.
2008-09-15 yusei 2008-09-15 yusei
* Add i18n mark to access tab templates. * Add i18n mark to access tab templates.
......
607 611
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment