diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_default.css.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_default.css.xml new file mode 100644 index 0000000000000000000000000000000000000000..2b42a57e38e6ed6b7f8a4e6e988e79a9c4318aa6 --- /dev/null +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_default.css.xml @@ -0,0 +1,188 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.PageTemplates.ZopePageTemplate</string> + <string>ZopePageTemplate</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/*\n +\n + Default ERP5 Web module CSS.\n +\n +*/\n +\n +* {\n + padding: 0;\n + margin: 0;\n +}\n +\n +.left {float: left}\n +.right {float: right}\n +.clear {clear: both}\n +\n +img {\n + border: 0;\n +}\n +\n +a img, h3 img, button img {\n + vertical-align: middle;\n +}\n +\n +.doNotDisplay {\n + display: none;\n +}\n +\n +.centeredInner {\n + text-align: center;\n +}\n +\n +blockquote {\n + margin: .5em;\n + padding: .5em;\n + border-left: 2px #ddd solid;\n + background: #f9f9f9;\n +}\n +\n +\n +/* layout\n +----------------------------------------------- */\n +\n +\n +\n +\n +\n +/* typography & colors (fonts, color, background)\n +----------------------------------------------- */\n +\n +body, input, textarea, select, table {\n + color: #333;\n + font-family: Sans, Verdana, Tahoma, Georgia, Geneva, Arial, sans-serif;\n + font-size: 8pt;\n + line-height: 1.75em;\n +}\n +\n +.code, code {\n + font-family: "Courier New", Courier, monospace;\n +}\n +\n +.warning, .error {\n + color: #f00;\n + font-weight: bold;\n +}\n +\n +\n +/* forms styling\n +----------------------------------------------- */\n +\n +div.fieldgroup {\n + border: 1px solid #ccc;\n + padding: .5em;\n +}\n +\n +fieldset {\n + padding: 0 .5em 1em;\n + border-color: #ccc;\n + border-width: 1px 0 0;\n + border-style: dotted none none;\n +}\n +\n +fieldset > legend {\n + padding: .5em;\n + margin: 0 0 1em;\n + text-transform: capitalize;\n + font-weight: bold;\n +}\n +\n +input, textarea {\n + background-color: #fff;\n + background-repeat: repeat-x;\n + border: 1px solid #999;\n + margin: 1px;\n +}\n +\n +input.text, input[type="password"], input[type="text"], textarea {\n + background-image: url(field.png);\n + background-position: top;\n + padding: 1px;\n +}\n +\n +input.button, input[type="submit"] {\n + background-image: url(button.png);\n + background-position: bottom;\n +}\n +\n +input[type="image"] {\n + border: 0;\n + vertical-align: bottom;\n + background-color: transparent;\n +}\n +\n +button {\n + margin: .8em .5em;\n + border: 1px #ddd solid;\n + padding: 3px;\n + color: #999;\n + background: #eee;\n + cursor: pointer;\n +}\n +\n +button:hover {\n + color: #333;\n + background: #b0cfcb;\n + border-color: #9abdb7;\n +}\n + + +]]></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_web_default.css</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_default_template.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_default_template.xml index 32636e80179de53301b683cc488bc37b7ed6bd43..da31919109f7f000d434dee493bf1b7844ab1dfa 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_default_template.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_default_template.xml @@ -52,10 +52,11 @@ <html>\n <head>\n <title tal:content="here/title"/>\n + <link rel="stylesheet" type="text/css" media="screen" href="erp5_web_default.css"/>\n </head>\n \n <body>\n - <h1 tal:content="python: \'%s - %s\' % (here.getTitle(), repr(here))"/>\n + <h1 tal:content="here/getTitle"/>\n <tal:block metal:define-slot="main"/>\n </body>\n \n diff --git a/bt5/erp5_web/bt/change_log b/bt5/erp5_web/bt/change_log index a16399bcd015ffb57e8fb22e11a5744a9739387f..35eabcf7430b1f1c8d8dfd0ce35311ff64449c4a 100644 --- a/bt5/erp5_web/bt/change_log +++ b/bt5/erp5_web/bt/change_log @@ -1,3 +1,6 @@ +2006-08-24 Kevin +* Add default CSS to default theme. + 2006-08-24 Stefan * URLs work with and without virtual hosting. * No duplicate entries in WebSection_getDocumentValueList() if a page is associated by aggregate and also in a relevant publication section. diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index fb351815657b5e2d423f156c000b624c3a74b73d..73181427a2868edd79f087fb2c0ac0fce92314b6 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -197 \ No newline at end of file +199 \ No newline at end of file diff --git a/bt5/erp5_web/bt/version b/bt5/erp5_web/bt/version index 87a0871112f9244bbad0fc8331376317417760b9..448a0fa11cdb5dc89bd34011f071df2a56ee44d9 100644 --- a/bt5/erp5_web/bt/version +++ b/bt5/erp5_web/bt/version @@ -1 +1 @@ -0.3.3 \ No newline at end of file +0.3.4 \ No newline at end of file