From 1cd75f24a34dad1ea61a60401613d814be55c016 Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Wed, 13 Jun 2007 18:27:40 +0000 Subject: [PATCH] Fixed some IE issues and updated style to take into account extra level of div in widget generation git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14814 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_web_admin_toolbox.css.xml | 8 ++++++-- .../tabber_style.css.xml | 1 + .../template_erp5_web.css.xml | 18 +++++++++--------- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_admin_toolbox.css.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_admin_toolbox.css.xml index 0d1ec7f6c3..e5a8e6cb82 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_admin_toolbox.css.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/erp5_web_admin_toolbox.css.xml @@ -79,7 +79,8 @@ div.adminToolbox label {display: none}\n /* Sub section title */\n div.adminToolbox h3 {\n margin-left: 0em;\n - font-size: inherit;\n + /* font-size: inherit; */ /* Does not seem compatible with IE */\n + font-size: 8pt;\n }\n \n /* Title */\n @@ -112,7 +113,9 @@ div.adminToolbox li > a {\n padding: .2em;\n }\n \n -div.adminToolbox button[type="submit"] {display: none}\n +div.adminToolbox button[type="submit"] {\n + display: none;\n +}\n \n \n \n @@ -125,6 +128,7 @@ div.adminToolbox fieldset { /* Should be the same as "fieldset" ru background: none;\n border: inherit;\n margin: 0;\n + border: 0;\n }\n div.adminToolbox fieldset > div.field { /* Should be similar to "fieldset > div" rule */\n padding: 0;\n diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/tabber_style.css.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/tabber_style.css.xml index be4086b788..d7d0e7ccd8 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/tabber_style.css.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/tabber_style.css.xml @@ -120,6 +120,7 @@ ul.tabbernav li.tabberactive a:hover\n padding:5px;\n border: 1px solid #778;\n border-top: 0;\n + background-color: white;\n }\n \n /* If desired, hide the heading since a heading is provided by the tab */\n diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/template_erp5_web.css.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/template_erp5_web.css.xml index a7a5528b74..e6b0bffd8b 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/template_erp5_web.css.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_default_theme/template_erp5_web.css.xml @@ -159,7 +159,7 @@ form#main_form div#wrapper_footer {\n \n /* Standard wrapper */\n \n -form#main_form div.wrapper fieldset.column {\n +form#main_form div.wrapper div.column fieldset.widget {\n background: #fff url(erp5-website-field.png) top repeat-x;\n border: 1px solid #ccc;\n color: #666;\n @@ -167,7 +167,7 @@ form#main_form div.wrapper fieldset.column {\n margin: 0.5em 0;\n }\n \n -form#main_form div.wrapper fieldset.column legend {\n +form#main_form div.wrapper div.column fieldset.widget legend {\n padding: 0.2em .5em;\n font-weight: bold;\n color: #666;\n @@ -175,21 +175,21 @@ form#main_form div.wrapper fieldset.column legend {\n background: #EEE;\n }\n \n -form#main_form div.wrapper fieldset.column div.field label:after {content: ":"}\n +form#main_form div.wrapper div.column fieldset.widget div.field label:after {content: ":"}\n \n /* Transparent wrapper - useful to display a logo */\n -form#main_form div.wrapper fieldset.transparent {\n +form#main_form div.wrapper div.transparent fieldset.widget {\n border: 0;\n background: transparent;\n margin: 0 0;\n padding: 0 0;\n }\n \n -form#main_form div.wrapper fieldset.transparent legend {\n +form#main_form div.wrapper div.transparent fieldset.widget legend {\n display: None;\n }\n \n -form#main_form div.wrapper fieldset.transparent label {\n +form#main_form div.wrapper div.transparent fieldset.widget label {\n display: None;\n }\n \n @@ -197,7 +197,7 @@ form#main_form div.wrapper fieldset.transparent label {\n -----------------------------------------------*/\n \n /* Special layout for logo widget */\n -form#main_form fieldset.column div.field.logo {\n +form#main_form div.column fieldset.widget div.field.logo {\n padding: 2em 0 0;\n border: 0;\n background: transparent;\n @@ -217,14 +217,14 @@ form#main_form div#wrapper_footer div.field {\n border-style: solid;\n }\n \n -form#main_form div#wrapper_footer fieldset {\n +form#main_form div#wrapper_footer fieldset.widget {\n border-width: 0;\n padding: 0;\n margin: 0;\n width: 100%;\n }\n \n -form#main_form div#wrapper_footer fieldset legend {\n +form#main_form div#wrapper_footer fieldset.widget legend {\n display: none;\n }\n \n -- 2.30.9