From 2cef8616fa65a574322bdb0563602ecdee3574d5 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Mon, 20 Sep 2010 12:53:07 +0000 Subject: [PATCH] Clean up gadgets CSS which should not override listbox CSS. Remove admin gadget CSS (admin gadget is long deprecated and web toolbar should be used instead). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38486 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_knowledge_box.css.xml | 65 +++---------------- .../erp5_knowledge_box_web.css.xml | 15 +---- bt5/erp5_knowledge_pad/bt/revision | 2 +- 3 files changed, 12 insertions(+), 70 deletions(-) diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml index 93a419df5d..e7a0f6d33c 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml @@ -12,7 +12,7 @@ </item> <item> <key> <string>_EtagSupport__etag</string> </key> - <value> <string>ts84986036.79</string> </value> + <value> <string>ts84987054.12</string> </value> </item> <item> <key> <string>__name__</string> </key> @@ -340,56 +340,14 @@ div.block table.listbox .left{\n float:left;\n }\n \n -div.block table.listbox tr, \n -div.block table.listbox td{\n - border:medium none;\n -}\n -\n -div.block table.listbox span.left{\n - /* display: none; */ /* do not hide listbox elements in gadgets */\n -}\n -\n -div.block table.listbox caption{\n - width:100%;\n - text-align:left;\n - font-weight: bold;\n -}\n -\n -div.block table.listbox button.sort_button{\n - background-color: inherit;\n - color: blue;\n - border-width: 0;\n - border:0px;\n - cursor: pointer;\n - vertical-align:middle;\n - float:left;\n - text-decoration: underline;\n -}\n -\n div.block div.input{\n margin-left:0em;\n }\n \n -div.rss-link div.input{\n - text-align:right;\n -}\n -\n #add-stick-gadget-tool-section{\n margin-bottom: 1.5em;\n }\n \n -div.block table.listbox span.left button{\n - background-color:inherit;\n - border:None;\n - float:left;\n -}\n -\n -div.block div.searchResultHeader span.left button{\n - background-color:inherit;\n - border:None;\n - float:left;\n -}\n -\n /* labels in forms inserted into a gadget should be visible\n indedepndantly from fact that master form may use hiddenLabel */\n div.block div.hidden_label label, \n @@ -397,7 +355,12 @@ div.block div.hiddenLabel label{\n display: none;\n }\n \n -/* some css for the list style listbox */\n +/* \n + Gadgets CSS - use to define gadget specific CSS.\n +\n +*/\n +\n +/* Worklist gadget */\n div.block div.list_style a{\n cursor:pointer;\n }\n @@ -409,7 +372,6 @@ div.block div.list_style .title{\n vertical-align:bottom;\n }\n \n -\n div.block div.list_style div.content{\n background-color:white;\n border:none;\n @@ -469,7 +431,6 @@ div.block div.list_style ul li div#title_img{\n cursor:pointer;\n }\n \n -\n div.block div.list_style ul li div#title{\n cursor:pointer;\n }\n @@ -479,14 +440,6 @@ div.block div.list_style input {\n margin-top:5px;\n }\n \n -\n -/* \n - Gadgets CSS \n -\n -*/\n -\n -\n -/* Worklist Gadget */\n div.block .right{\n float:right;\n margin-left:5px;\n @@ -525,7 +478,7 @@ div.block div.worklist_list ul li a:hover{\n text-decoration:none;\n }\n \n -\n +/* RSS Feed gadget */\n div.document-gadget-quick-preview div.teaser{\n cursor: pointer;\n }\n @@ -544,7 +497,7 @@ div.gadget-rss-reader table.listbox td.listbox-table-no-result-row{\n </item> <item> <key> <string>size</string> </key> - <value> <int>8826</int> </value> + <value> <int>8086</int> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/erp5_knowledge_box_web.css.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/erp5_knowledge_box_web.css.xml index 986986dc54..4ec6224bb6 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/erp5_knowledge_box_web.css.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/erp5_knowledge_box_web.css.xml @@ -12,7 +12,7 @@ </item> <item> <key> <string>_EtagSupport__etag</string> </key> - <value> <string>ts84964100.38</string> </value> + <value> <string>ts84987105.64</string> </value> </item> <item> <key> <string>__name__</string> </key> @@ -144,17 +144,6 @@ h3.handle span.handle {\n cursor: default;\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;\n - float:none;\n -}\n -\n /* add space between fieldsets for gadgtes */\n div.block fieldset > div {\n margin-bottom: 0.3em;\n @@ -172,7 +161,7 @@ div.block fieldset label{\n </item> <item> <key> <string>size</string> </key> - <value> <int>1965</int> </value> + <value> <int>1741</int> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision index e953fd4efb..64ae959863 100644 --- a/bt5/erp5_knowledge_pad/bt/revision +++ b/bt5/erp5_knowledge_pad/bt/revision @@ -1 +1 @@ -545 \ No newline at end of file +546 \ No newline at end of file -- 2.30.9