Commit 50cb5f6a authored by Ivan Tyagov's avatar Ivan Tyagov

Add separate CSS file for gadgets in KM context rather than use erp5_knowledge_pad copy.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35171 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 847ff150
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Folder" module="OFS.Folder"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>backup</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts73585160.19</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>gadget.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/****************************************************************/\n
/* TODO: XXX-JPS */\n
/* - missing docstring */\n
/* - add dynamic properties */\n
/****************************************************************/\n
\n
.draggable_wrapper {\n
background-color: inherit;\n
}\n
\n
#tabs{\n
border-bottom: none;\n
height: 35px;\n
}\n
\n
.border_bottom1px{\n
border-bottom: none!important;\n
}\n
.border_bottom0px{\n
border-bottom: none!important;\n
}\n
#tabs_switcher {\n
height:35px;\n
}\n
.tab {\n
border: none;\n
}\n
\n
/* Gadget window buttons */\n
a.block-refresh,\n
a.block-minimize,\n
a.block-remove,\n
a.block-edit-form{\n
background: url(../km_img/window.png) no-repeat transparent;\n
}\n
\n
/* Style for showing mvement between gadget columns */\n
.block-hover {\n
border: 2px dashed #f00;\n
}\n
\n
/* In edit form disable border */\n
div.edit-form fieldset{\n
border: 0px solid black;\n
}\n
\n
div.edit-form button{\n
margin-top: 0.5em;\n
}\n
\n
.edit-form {\n
padding-top: 0.5em; \n
padding-left: 1em;\n
padding-bottom: 0.5em;\n
border: solid black;\n
border-width: 0 1px 1px 1px;\n
background-color: #BDD0F0;\n
overflow: auto;\n
}\n
\n
\n
#add_new_tab_dialog_link{\n
line-height: 22px;\n
padding-left: 10px;\n
}\n
\n
#add_new_gadget_link{\n
padding-top:15px;\n
border-bottom: none;\n
float:right;\n
width:auto;\n
}\n
\n
\n
div#add-stick-gadget-tool-section{\n
margin-bottom: 1.4em;\n
}\n
\n
div.block div.list_style .left{\n
float:left;\n
margin-right: 2%;\n
}\n
\n
div.block div.list_style .right{\n
float:right;\n
margin-left:5px;\n
}\n
\n
div.block div.list_style ul li div#title_img{\n
margin-left:90px;\n
cursor:pointer;\n
width: auto;\n
}\n
\n
div.block div.box_inner_content div.worklist_list ul {\n
padding-left: 0.5em;\n
}\n
\n
/* Gadget Browser */\n
div.gadget-website-browser {\n
margin-top: 0.5em;\n
}\n
div.gadget-website-browser ul {\n
margin: 0em;\n
padding: 0em;\n
}\n
\n
div.gadget-website-browser li {\n
padding-left: 0em;\n
}\n
\n
div.gadget-website-browser ul.first_level, ul.second_level{\n
list-style-type: none!important;\n
}\n
\n
div.gadget-website-browser ul.first_level {\n
padding-bottom: 0.5em;\n
}\n
div.gadget-website-browser .section-link{\n
font-size: 115%;\n
}\n
\n
div.gadget-website-browser ul.second_level{\n
padding-left: 0.7em;\n
}\n
\n
div.gadget-website-browser ul.third_level{\n
padding-left: 1.4em;\n
}\n
\n
div.gadget-website-browser a, a:link, a:active, a:visited {\n
font-weight: normal;\n
color: inherit;\n
}\n
div.gadget-website-browser .empty-list-node{\n
list-style-type: square;\n
margin-left: 1.4em;\n
}\n
\n
/* Gadget SubSection */\n
div.gadget-subsection {\n
margin-top: 0.5em;\n
}\n
div.gadget-subsection ul{\n
list-style-position: outside!important;\n
list-style-type:square!important;\n
margin: 0.5em;\n
margin-top: 0em;\n
padding: 0.5em;\n
}\n
\n
/* Hide title in gadget list mode as it usually duplicates gadget title */\n
fieldset.gadget div.list_style a.title{\n
display: none;\n
}\n
\n
/* Decrease padding for gadgets\' text */\n
fieldset.gadget div.text{\n
padding: 3px!important;\n
}\n
\n
/* Gadget My Documents */\n
div.gadget-my-documents{\n
}\n
\n
/* Gadget Latest Documents */\n
div.gadget-latest-documents{\n
}\n
\n
\n
/*WEB*/\n
\n
.portal-column {\n
margin-right: 1%;\n
}\n
\n
.block {\n
margin-bottom: 10px;\n
}\n
\n
.box_inner_content {\n
border:1px solid #c0bfb3;\n
border-top: none;\n
overflow: auto;\n
}\n
\n
.edit-form {\n
border: none;\n
background-color: #ECECEC;\n
border-left: 1px solid #C0BFB3;\n
border-right: 1px solid #C0BFB3;\n
width: auto;\n
}\n
\n
\n
h3.handle {\n
margin: 0;\n
padding: 0 0 0 10px;\n
color: #776D61;\n
font-size: 10pt;\n
background: none;\n
background-color: #ECECEC;\n
}\n
\n
h3.handle span.handle {\n
display: block;\n
min-height:20px;\n
padding: 5px 5px 0 0;\n
background: none;\n
}\n
\n
\n
#add_new_gadget_link {\n
border-bottom: none;\n
}\n
\n
#page_wrapper .content{\n
border: none;\n
}\n
\n
.toggable_dialog {\n
left:200px;\n
top: 100px;\n
width: 200px;\n
}\n
\n
.toggable_dialog button{\n
padding: 0em;\n
float:left;\n
}\n
\n
.toggable_dialog h3{\n
margin-bottom: 1em;\n
}\n
\n
.wait_block p{\n
text-align: center!important;\n
}\n
\n
#add_new_tab_diloag_link{\n
margin-left: 0.5em !important;\n
}\n
\n
/* disable cursor for anonymous users */\n
.portal-column-undraggable .handle{\n
cursor: default!important;\n
}\n
\n
/* admin toolbox gadget fix */\n
div.block div.adminToolbox li{\n
list-style-type:none;\n
}\n
\n
/* h3 tags containing spans get affected by gadget box title */\n
div.block div.adminToolbox h3 span{\n
display:inline !important;\n
float:none !important;\n
}\n
\n
/* add space between fieldsets for gadgtes */\n
div.block fieldset label{\n
text-align: left!important;\n
display: block!important;\n
}\n
\n
.gadget .adminToolbox > label{\n
display:none !important;\n
}\n
\n
.gadget .adminToolbox .inner label{\n
color: #9D968D !important;\n
}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>4648</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -112,14 +112,15 @@
global header_title python:\'%s | %s\' % (here.getTranslatedTitleOrId(), website.getTranslatedTitleOrId());\n
global css_list_template python:[\n
\'%s/erp5_web_toolbar.css\' % portal_path,\n
\'%s/erp5_knowledge_box.css\' % portal_path,\n
\'%s/erp5_knowledge_box_web.css\' % portal_path,\n
\'%s/km_css/layout.css\' % portal_path,\n
\'%s/km_css/splash.css\' % portal_path,\n
\'%s/km_css/color.css\' % portal_path,\n
\'%s/km_css/pulldown.css\' % portal_path,\n
\'%s/km_css/type.css\' % portal_path,\n
\'%s/km_css/erp5_km_common.css\' % portal_path,\n
\'%s/km_css/erp5_knowledge_box.css\' % portal_path,\n
\'%s/km_css/erp5_knowledge_box_web.css\' % portal_path,\n
\'%s/km_css/gadget.css\' % portal_path,\n
\n
];\n
global js_list python:[\n
......
1374
\ No newline at end of file
1375
\ 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