Commit 7476a97a authored by Ivan Tyagov's avatar Ivan Tyagov

Set proper CSS class on gadgets.

Clean up old CSS.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38609 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 36cfc089
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>_EtagSupport__etag</string> </key> <key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts85309775.94</string> </value> <value> <string>ts85312668.47</string> </value>
</item> </item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
...@@ -42,6 +42,7 @@ div.portal-column {\n ...@@ -42,6 +42,7 @@ div.portal-column {\n
div.bottom-gadget div.portal-column {\n div.bottom-gadget div.portal-column {\n
width:100%; \n width:100%; \n
}\n }\n
\n
/* column gadget in right */\n /* column gadget in right */\n
div.right-gadget div.portal-column {\n div.right-gadget div.portal-column {\n
width:100%; \n width:100%; \n
...@@ -62,9 +63,11 @@ div.border_bottom1px,\n ...@@ -62,9 +63,11 @@ div.border_bottom1px,\n
div.border_bottom0px{\n div.border_bottom0px{\n
border-bottom: none;\n border-bottom: none;\n
}\n }\n
\n
#tabs_switcher{\n #tabs_switcher{\n
font-weight: normal;\n font-weight: normal;\n
}\n }\n
\n
#tabs_switcher,\n #tabs_switcher,\n
#tabs ul li.tab {\n #tabs ul li.tab {\n
border: none;\n border: none;\n
...@@ -167,20 +170,6 @@ div.border_bottom0px{\n ...@@ -167,20 +170,6 @@ div.border_bottom0px{\n
#navigation_table #tabs_switcher:hover,\n #navigation_table #tabs_switcher:hover,\n
#navigation_table #tabs ul #add_new_tab_dialog_link:hover{color: #FFF; }\n #navigation_table #tabs ul #add_new_tab_dialog_link:hover{color: #FFF; }\n
\n \n
/* EOF Gadget Navigation Table */\n
\n
\n
div.box .post small {\n
\n
\tcolor:#827d5c;\n
\n
}\n
\n
div.box h3 {\n
\n
color:#767676;\n
\n
}\n
\n \n
/* Gadget window buttons */\n /* Gadget window buttons */\n
a.block-refresh,\n a.block-refresh,\n
...@@ -193,32 +182,39 @@ a.block-edit-form{\n ...@@ -193,32 +182,39 @@ a.block-edit-form{\n
}\n }\n
\n \n
/* Style for showing movement between gadget columns */\n /* Style for showing movement between gadget columns */\n
.block-hover {\n div.block-hover {\n
border: 2px dashed #f00;\n border: 2px dashed #f00;\n
}\n }\n
\n \n
/* Gadget content */\n
div.block {\n
margin-bottom: 5px;\n
}\n
\n
/* Gadget edit form */\n
div.edit-form {\n
border: 1px solid #000;\n
overflow: auto;\n
background-color: #ECECEC;\n
margin:0;\n
padding:0;\n
padding-bottom:0.2em;\n
}\n
\n \n
/* In edit form disable border */\n
div.edit-form fieldset{\n div.edit-form fieldset{\n
border: none;\n border: none;\n
}\n }\n
\n \n
div.edit-form label{\n div.edit-form label{\n
display: block;\n display:block !important;\n
font-weight:normal;\n
}\n }\n
\n \n
div.edit-form button{\n div.edit-form button{\n
margin-top: 0.5em;\n margin-top: 0.5em;\n
}\n }\n
\n div.edit-form input{\n
div.edit-form {\n width:100%;\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: transparent;\n
overflow: auto;\n
}\n }\n
\n \n
/* listbox buttons in gadget mode */\n /* listbox buttons in gadget mode */\n
...@@ -231,11 +227,6 @@ div.block table.listbox button.sort_button:hover{\n ...@@ -231,11 +227,6 @@ div.block table.listbox button.sort_button:hover{\n
color: #FFFFFF;\n color: #FFFFFF;\n
}\n }\n
\n \n
div.block div.listbox_footer_box{\n
width: auto;\n
float:right;\n
}\n
\n
/* Add gadgets link */\n /* Add gadgets link */\n
#add_new_gadget_link{\n #add_new_gadget_link{\n
margin-top:13px;\n margin-top:13px;\n
...@@ -279,24 +270,49 @@ div#add-stick-gadget-tool-section{\n ...@@ -279,24 +270,49 @@ div#add-stick-gadget-tool-section{\n
margin-bottom: 1.4em;\n margin-bottom: 1.4em;\n
}\n }\n
\n \n
div.block div.list_style .left{\n .box_inner_content {\n
border:1px solid #c0bfb3;\n
border-top: none;\n
overflow: auto;\n
}\n
\n
/* Gadget toggable dialog */\n
div.toggable_dialog {\n
left:200px;\n
top: 100px;\n
width: 200px;\n
background-color: #C2C1C1;\n
border: 5px solid #C0BFB3;\n
}\n
\n
div.toggable_dialog h3{\n
color: #000000;\n
margin-bottom: 1em;\n
}\n
\n
div.toggable_dialog button{\n
padding: 0.1em;\n
margin-right: 0.2em;\n
float:left;\n float:left;\n
margin-right: 2%;\n
}\n }\n
\n \n
div.block div.list_style .right{\n /* Message shown when knowledge pad is being created */\n
float:right;\n div.wait_block p{\n
margin-left:5px;\n text-align: center;\n
}\n }\n
\n \n
div.block div.list_style ul li div#title_img{\n #add_new_tab_diloag_link{\n
margin-left:90px;\n margin-left: 0.5em;\n
cursor:pointer;\n
width: auto;\n
}\n }\n
\n \n
div.block div.box_inner_content div.worklist_list ul {\n /* disable cursor for anonymous users */\n
padding-left: 0.5em;\n div.portal-column-undraggable .handle{\n
cursor: default;\n
}\n
\n
/* Decrease padding for gadgets\' text */\n
fieldset.gadget div.text{\n
padding: 3px;\n
}\n }\n
\n \n
/* Gadget Browser */\n /* Gadget Browser */\n
...@@ -342,6 +358,7 @@ div.gadget-website-browser .empty-list-node{\n ...@@ -342,6 +358,7 @@ div.gadget-website-browser .empty-list-node{\n
div.gadget-subsection {\n div.gadget-subsection {\n
margin-top: 0.5em;\n margin-top: 0.5em;\n
}\n }\n
\n
div.gadget-subsection div.input ul{\n div.gadget-subsection div.input ul{\n
list-style-position: outside;\n list-style-position: outside;\n
list-style-type:square;\n list-style-type:square;\n
...@@ -350,16 +367,6 @@ div.gadget-subsection div.input ul{\n ...@@ -350,16 +367,6 @@ div.gadget-subsection div.input ul{\n
padding: 0.5em;\n padding: 0.5em;\n
}\n }\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;\n
}\n
\n
/* Gadget My Documents */\n /* Gadget My Documents */\n
div.gadget-my-documents{\n div.gadget-my-documents{\n
}\n }\n
...@@ -427,71 +434,18 @@ div.gadget-rss-reader table.listbox td.listbox-table-no-result-row{\n ...@@ -427,71 +434,18 @@ div.gadget-rss-reader table.listbox td.listbox-table-no-result-row{\n
display: none;\n display: none;\n
}\n }\n
\n \n
/* "Other versions" gadget needs no listbox headers */\n /* "Other versions", "History", "My Tasks", "My contacts", "Persons" gadgets needs no listbox headers */\n
div.gadget-other-versions div.listbox-head-content\n div.gadget-other-versions div.listbox-head-content,\n
{\n div.gadget-history div.listbox-head-content,\n
display: none;\n div.gadget-my-tasks div.listbox-head-content,\n
}\n div.gadget-my-contacts div.listbox-head-content,\n
\n div.gadget-persons div.listbox-head-content{\n
/* "history" gadget needs no listbox headers */\n
div.gadget-history div.listbox-head-content\n
{\n
display: none;\n display: none;\n
}\n }\n
\n \n
div.block {\n /* Worklist gadget */\n
margin-bottom: 5px;\n div.block div.box_inner_content div.worklist_list ul {\n
}\n padding-left: 0.5em;\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
#page_wrapper .content{\n
border: none;\n
}\n
\n
/* Gadget toggable dialog */\n
div.toggable_dialog {\n
left:200px;\n
top: 100px;\n
width: 200px;\n
background-color: #C2C1C1;\n
border: 5px solid #C0BFB3;\n
}\n
\n
div.toggable_dialog h3{\n
color: #000000;\n
margin-bottom: 1em;\n
}\n
\n
div.toggable_dialog button{\n
padding: 0.1em;\n
margin-right: 0.2em;\n
float:left;\n
}\n
\n
div.wait_block p{\n
text-align: center;\n
}\n
\n
#add_new_tab_diloag_link{\n
margin-left: 0.5em;\n
}\n
\n
/* disable cursor for anonymous users */\n
div.portal-column-undraggable .handle{\n
cursor: default;\n
}\n }\n
...@@ -503,7 +457,7 @@ div.portal-column-undraggable .handle{\n ...@@ -503,7 +457,7 @@ div.portal-column-undraggable .handle{\n
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <int>8868</int> </value> <value> <int>8355</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="ListBox" module="Products.ERP5Form.ListBox"/>
<global name="ListBox" module="Products.ERP5Form.ListBox"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -353,7 +350,11 @@ ...@@ -353,7 +350,11 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string>hidden_label</string> </value> <value> <string>hidden_label gadget-my-contacts</string> </value>
</item>
<item>
<key> <string>default_display_style</string> </key>
<value> <string>table</string> </value>
</item> </item>
<item> <item>
<key> <string>default_params</string> </key> <key> <string>default_params</string> </key>
...@@ -365,6 +366,12 @@ ...@@ -365,6 +366,12 @@
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>display_style_list</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -399,10 +406,18 @@ ...@@ -399,10 +406,18 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>global_search_column</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>hide_rows_on_no_search_criterion</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <int>10</int> </value> <value> <int>10</int> </value>
...@@ -423,6 +438,10 @@ ...@@ -423,6 +438,10 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>page_navigation_mode</string> </key>
<value> <string>slider</string> </value>
</item>
<item> <item>
<key> <string>page_template</string> </key> <key> <string>page_template</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -448,6 +467,10 @@ ...@@ -448,6 +467,10 @@
<key> <string>report_tree</string> </key> <key> <string>report_tree</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>row_css_method</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>search</string> </key> <key> <string>search</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
...@@ -511,10 +534,22 @@ ...@@ -511,10 +534,22 @@
<key> <string>stat_method</string> </key> <key> <string>stat_method</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>style_columns</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>My Contacts</string> </value> <value> <string>My Contacts</string> </value>
</item> </item>
<item>
<key> <string>untranslatable_columns</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
<value> <value>
...@@ -534,10 +569,7 @@ ...@@ -534,10 +569,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="ListBox" module="Products.ERP5Form.ListBox"/>
<global name="ListBox" module="Products.ERP5Form.ListBox"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -355,7 +352,11 @@ ...@@ -355,7 +352,11 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string>hidden_label</string> </value> <value> <string>hidden_label gadget-my-tasks</string> </value>
</item>
<item>
<key> <string>default_display_style</string> </key>
<value> <string>table</string> </value>
</item> </item>
<item> <item>
<key> <string>default_params</string> </key> <key> <string>default_params</string> </key>
...@@ -367,6 +368,12 @@ ...@@ -367,6 +368,12 @@
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>display_style_list</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -406,10 +413,18 @@ ...@@ -406,10 +413,18 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>global_search_column</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>hide_rows_on_no_search_criterion</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <int>10</int> </value> <value> <int>10</int> </value>
...@@ -430,6 +445,10 @@ ...@@ -430,6 +445,10 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>page_navigation_mode</string> </key>
<value> <string>slider</string> </value>
</item>
<item> <item>
<key> <string>page_template</string> </key> <key> <string>page_template</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -450,6 +469,10 @@ ...@@ -450,6 +469,10 @@
<key> <string>report_tree</string> </key> <key> <string>report_tree</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>row_css_method</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>search</string> </key> <key> <string>search</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
...@@ -517,6 +540,12 @@ ...@@ -517,6 +540,12 @@
<key> <string>stat_method</string> </key> <key> <string>stat_method</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>style_columns</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>My Tasks</string> </value> <value> <string>My Tasks</string> </value>
...@@ -541,10 +570,7 @@ ...@@ -541,10 +570,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -557,10 +583,7 @@ ...@@ -557,10 +583,7 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
1558 1559
\ 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