Commit d9243173 authored by Jérome Perrin's avatar Jérome Perrin

tabs from the front page are styled differently than tabs from form_view, this...

tabs from the front page are styled differently than tabs from form_view, this was done by putting some css declaration in tabber_style.css to override declarations from erp5.css, as the DOM is different, we can style front page tabs using a selector that only applies on front page (with id for now)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39706 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e05e4f9b
...@@ -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="File" module="OFS.Image"/> <global name="File" module="OFS.Image"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -15,7 +12,7 @@ ...@@ -15,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>_EtagSupport__etag</string> </key> <key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts48186920.11</string> </value> <value> <string>ts88398269.73</string> </value>
</item> </item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
...@@ -27,21 +24,23 @@ ...@@ -27,21 +24,23 @@
</item> </item>
<item> <item>
<key> <string>data</string> </key> <key> <string>data</string> </key>
<value> <string>/*========================================================================================\n <value> <string encoding="cdata"><![CDATA[
/*========================================================================================\n
** tabber.js default style\n ** tabber.js default style\n
**========================================================================================*/\n **========================================================================================*/\n
\n \n
/* Replace code at erp5.css*/\n /* Replace code at erp5.css*/\n
\n \n
.document .actions li.non_selected a span {\n #tab_box > li.non_selected a span {\n
padding: 5px 8px 3px 0px !important;\n padding: 5px 8px 3px 0px !important;\n
}\n }\n
\n \n
.document .actions li.selected a span {\n #tab_box > li.selected a span {\n
padding: 5px 8px 4px 0px !important;\n padding: 5px 8px 4px 0px !important;\n
}\n }\n
\n \n
.document .actions li a span img {\n #tab_box > li a span img {\n
margin: -2px;\n margin: -2px;\n
padding-right: 3px;\n padding-right: 3px;\n
}\n }\n
...@@ -155,7 +154,9 @@ table tr td {\n ...@@ -155,7 +154,9 @@ table tr td {\n
vertical-align:top;\n vertical-align:top;\n
}\n }\n
\n \n
</string> </value>
]]></string> </value>
</item> </item>
<item> <item>
<key> <string>precondition</string> </key> <key> <string>precondition</string> </key>
...@@ -163,7 +164,7 @@ table tr td {\n ...@@ -163,7 +164,7 @@ table tr td {\n
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <long>2697</long> </value> <value> <int>2673</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
1036 1037
\ 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