From 8401fb4f99d93d1f6b8f720254f03b745eaefccc Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 31 Oct 2010 09:05:56 +0000 Subject: [PATCH] Fix: problem with scrollbar --- htdocs/main.inc.php | 4 ++-- htdocs/theme/auguria/style.css.php | 32 ++++++++++++++++++++++++++++++ htdocs/theme/eldy/style.css.php | 31 +++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 6a8061948ab..9adf541b6bb 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -958,7 +958,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a useStateCookie: true, size: "auto", resizable: false, - paneClass: "none", + //paneClass: "none", //resizerClass: "resizer", //togglerClass: "toggler", //buttonClass: "button", @@ -969,6 +969,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a resizerTip: "Resize This Pane" }, west: { + paneClass: "leftContent", spacing_closed: 14, togglerLength_closed: 14, togglerAlign_closed: "top", @@ -991,7 +992,6 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a fxName: "none" }, center: { - paneClass: ".ui-layout-content", paneSelector: "#mainContent" } } diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index dad9ab1967e..a0a700895b9 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -616,6 +616,37 @@ td.photo { } +/* ============================================================================== */ +/* Panes for Main */ +/* ============================================================================== */ + +/* + * PANES and CONTENT-DIVs + */ +#mainContent .ui-layout-pane { + padding: 0px; + overflow: auto; +} + +#mainContent .ui-layout-center { + background: #ffffff url() 0 0 no-repeat; + padding: 0px; + position: relative; /* contain floated or positioned elements */ + overflow: auto; /* add scrolling to content-div */ +} + +#leftContent .ui-layout-pane { + padding: 0px; + overflow: auto; +} + +#leftContent .ui-layout-center { + background: #ffffff url() 0 0 no-repeat; + padding: 0px; + position: relative; /* contain floated or positioned elements */ + overflow: auto; /* add scrolling to content-div */ +} + /* ============================================================================== */ /* Toolbar for ECM or Filemanager */ @@ -635,6 +666,7 @@ td.photo { /* background: #FFFFFF;*/ } + /* ============================================================================== */ /* Panes for ECM or Filemanager */ /* ============================================================================== */ diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 1b76a9ad65a..1de58689b17 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -600,6 +600,37 @@ td.photo { border: 1px solid #b3c5cc; } +/* ============================================================================== */ +/* Panes for Main */ +/* ============================================================================== */ + +/* + * PANES and CONTENT-DIVs + */ +#mainContent .ui-layout-pane { + padding: 0px; + overflow: auto; +} + +#mainContent .ui-layout-center { + background: #ffffff url() 0 0 no-repeat; + padding: 0px; + position: relative; /* contain floated or positioned elements */ + overflow: auto; /* add scrolling to content-div */ +} + +#leftContent .ui-layout-pane { + padding: 0px; + overflow: auto; +} + +#leftContent .ui-layout-center { + background: #ffffff url() 0 0 no-repeat; + padding: 0px; + position: relative; /* contain floated or positioned elements */ + overflow: auto; /* add scrolling to content-div */ +} + /* ============================================================================== */ /* Toolbar for ECM or Filemanager */