Commit 0e208bd2 authored by Ivan Tyagov's avatar Ivan Tyagov

Move to gadget CSS.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35535 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0fd2bb1d
......@@ -100,23 +100,6 @@ body {\n
\n
}\n
\n
.gadget .block > h3{\n
\n
\tbackground: url(../km_img/widgethead2.png) repeat-x #c1c0b4;\n
}\n
\n
\n
.gadget .post small {\n
\n
\tcolor:#827d5c;\n
\n
}\n
\n
.gadget h3 {\n
\n
color:#767676;\n
\n
}\n
\n
fieldset.left h4,\n
fieldset.center h4,\n
......@@ -222,128 +205,6 @@ p.pub {\n
\n
}\n
\n
#navigation_table td {\n
\n
\tbackground: url(../km_img/tabsbg.png) repeat-x transparent;\n
\tbackground-position: 0 100%;\n
\n
}\n
\n
#tabs ul li{\n
\n
list-style-image: none;\n
\n
}\n
\n
.border_bottom0px {\n
\n
height: 35px;\n
\n
}\n
\n
#tabs ul li a, #tabs ul li.last a { background: none; }\n
\n
#tabs ul li a.tabs-hide:link, #tabs ul li a.tabs-hide:active, #tabs ul li a.tabs-hide:visited {\n
\n
\tbackground: url(../km_img/tabs-hide.png) no-repeat transparent;\n
\tbackground-position: 0 -4px;\n
\n
}\n
\n
#tabs ul li.last a.tabs-add {\n
\n
\tbackground: url(../km_img/tabs-add.png) no-repeat transparent;\n
\tbackground-position: 0 2px;\n
\n
}\n
\n
#tabs ul li.first a.tabs-hide:hover, #tabs ul li.last a.tabs-add:hover {\n
\n
\tbackground-position: 0 -20px;\n
\n
}\n
\n
\n
#tabs ul li {\n
\n
\tbackground: url(../km_img/tabs.png) no-repeat transparent;\n
\tbackground-position: 0 -44px;\n
\tcolor: #e9e9e9;\n
\n
}\n
\n
#tabs ul li span {\n
\n
\tbackground: url(../km_img/tabs.png) no-repeat transparent;\n
\tbackground-position: 100% -44px;\n
\n
}\n
\n
#tabs ul li.tab_selected, #tabs ul li:hover {\n
\n
\tbackground-position: 0 0;\n
\n
}\n
\n
#tabs ul li.tab_selected span, #tabs ul li:hover span {\n
\n
\tbackground-position: 100% 0;\n
\n
}\n
\n
#tabs ul li.tab_selected:hover {\n
\n
\tbackground-position: 0 -22px;\n
\tcolor:#fff;\n
\n
}\n
\n
#tabs ul li.tab_selected:hover span {\n
\n
\tbackground-position: 100% -22px;\n
\n
}\n
\n
#tabs ul li.tab_selected:hover span a { color:#fafafa; }\n
\n
#tabs ul li span a { color: #e2e0d2; }\n
\n
#tabs ul li.first, #tabs ul li.last {\n
\n
\tbackground: none;\n
\n
}\n
\n
/* Rename & Remove pad buttons */\n
#tabs li span.rename_tab_dialog_image{\n
background: none;\n
margin-left: -40px;\n
}\n
\n
#tabs li span.remove_tab_dialog_image{\n
background: none;\n
margin-left: -25px;\n
}\n
\n
/* Add new tab link */\n
#add_new_tab_dialog_link{\n
background: url("km_img/bullet.png") no-repeat 0 7px!important;\n
color: #9D968D!important;\n
padding-top: 4px!important;\n
margin-left: 10px!important;\n
padding-left:13px !important;\n
font-size: 8pt;\n
font-weight: normal;\n
}\n
\n
#navigation_table a, #navigation_table #tabs_switcher{\n
\n
color:#9D968D;\n
font-weight:normal;\n
\n
}\n
\n
#navigation_table a:hover, #navigation_table #tabs_switcher:hover{color: #000; }\n
\n
\n
#wrapper_footer {\n
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts74431602.59</string> </value>
<value> <string>ts74448969.19</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -47,16 +47,166 @@
.border_bottom1px{\n
border-bottom: none!important;\n
}\n
\n
.border_bottom0px{\n
border-bottom: none!important;\n
}\n
\n
#tabs_switcher {\n
height:35px;\n
}\n
\n
.tab {\n
border: none;\n
}\n
\n
/* Gadget Navigation table */\n
#navigation_table td {\n
\n
\tbackground: url(../km_img/tabsbg.png) repeat-x transparent;\n
\tbackground-position: 0 100%;\n
\n
}\n
\n
#tabs ul li{\n
\n
list-style-image: none;\n
\n
}\n
\n
.border_bottom0px {\n
\n
height: 35px;\n
\n
}\n
\n
#tabs ul li a, #tabs ul li.last a { background: none; }\n
\n
#tabs ul li a.tabs-hide:link, #tabs ul li a.tabs-hide:active, #tabs ul li a.tabs-hide:visited {\n
\n
\tbackground: url(../km_img/tabs-hide.png) no-repeat transparent;\n
\tbackground-position: 0 -4px;\n
\n
}\n
\n
#tabs ul li.last a.tabs-add {\n
\n
\tbackground: url(../km_img/tabs-add.png) no-repeat transparent;\n
\tbackground-position: 0 2px;\n
\n
}\n
\n
#tabs ul li.first a.tabs-hide:hover, #tabs ul li.last a.tabs-add:hover {\n
\n
\tbackground-position: 0 -20px;\n
\n
}\n
\n
\n
#tabs ul li {\n
\n
\tbackground: url(../km_img/tabs.png) no-repeat transparent;\n
\tbackground-position: 0 -44px;\n
\tcolor: #e9e9e9;\n
\n
}\n
\n
#tabs ul li span {\n
\n
\tbackground: url(../km_img/tabs.png) no-repeat transparent;\n
\tbackground-position: 100% -44px;\n
\n
}\n
\n
#tabs ul li.tab_selected, #tabs ul li:hover {\n
\n
\tbackground-position: 0 0;\n
\n
}\n
\n
#tabs ul li.tab_selected span, #tabs ul li:hover span {\n
\n
\tbackground-position: 100% 0;\n
\n
}\n
\n
#tabs ul li.tab_selected:hover {\n
\n
\tbackground-position: 0 -22px;\n
\tcolor:#fff;\n
\n
}\n
\n
#tabs ul li.tab_selected:hover span {\n
\n
\tbackground-position: 100% -22px;\n
\n
}\n
\n
#tabs ul li.tab_selected:hover span a { color:#fafafa; }\n
\n
#tabs ul li span a { color: #e2e0d2; }\n
\n
#tabs ul li.first, #tabs ul li.last {\n
\n
\tbackground: none;\n
\n
}\n
\n
/* Rename & Remove pad buttons */\n
#tabs li span.rename_tab_dialog_image{\n
background: none;\n
margin-left: -40px;\n
}\n
\n
#tabs li span.remove_tab_dialog_image{\n
background: none;\n
margin-left: -25px;\n
}\n
\n
/* Add new tab link */\n
#add_new_tab_dialog_link{\n
background: url("km_img/bullet.png") no-repeat 0 7px!important;\n
color: #9D968D!important;\n
padding-top: 4px!important;\n
margin-left: 10px!important;\n
padding-left:13px !important;\n
font-size: 8pt;\n
font-weight: normal;\n
}\n
\n
#navigation_table a, #navigation_table #tabs_switcher{\n
\n
color:#9D968D;\n
font-weight:normal;\n
\n
}\n
\n
#navigation_table a:hover, #navigation_table #tabs_switcher:hover{color: #000; }\n
\n
\n
/* EOF Gadget Navigation Table */\n
\n
\n
\n
.gadget .block > h3{\n
\n
\tbackground: url(../km_img/widgethead2.png) repeat-x #c1c0b4;\n
}\n
\n
\n
.gadget .post small {\n
\n
\tcolor:#827d5c;\n
\n
}\n
\n
.gadget h3 {\n
\n
color:#767676;\n
\n
}\n
\n
/* Gadget window buttons */\n
a.block-refresh,\n
a.block-minimize,\n
......@@ -350,7 +500,7 @@ div.block fieldset label{\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>5335</int> </value>
<value> <int>7665</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -118,9 +118,9 @@
\'%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/gadget.css\' % portal_path,\n
\'%s/km_css/listbox.css\' % portal_path,\n
\'%s/km_custom.css\' % portal_path,\n
\'%s/km_css/gadget.css\' % portal_path,\n
\'%s/km_css/listbox.css\' % portal_path,\n
\'%s/km_custom.css\' % portal_path,\n
];\n
global js_list python:[\n
\'%s/erp5_km_utils.js\' % portal_path,\n
......
testKM
testKMGadget
\ 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