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