From 678f95921b62703063dc23047fce534cc255a190 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Wed, 5 Feb 2014 17:01:07 +0100 Subject: [PATCH] =?utf8?q?Un=20peu=20plus=20de=20structuration=C2=A0:=20?= =?utf8?q?=E2=80=94=20ajout=20du=20wrapper=20principal=20=C2=AB=C2=A0main?= =?utf8?q?=5Fwrapper=C2=A0=C2=BB=C2=A0;=20=E2=80=94=20ajout=20des=20ids=20?= =?utf8?q?=C2=AB=C2=A0top=5Fbar=C2=A0=C2=BB=20et=20=C2=AB=C2=A0user=5Fmenu?= =?utf8?q?=5Fbar=C2=A0=C2=BB=C2=A0;=20=E2=80=94=20#Footer=20remont=C3=A9?= =?utf8?q?=20d'un=20niveau=C2=A0;=20=E2=80=94=20Footer=20ancr=C3=A9=20en?= =?utf8?q?=20bas=20(par=20css)=C2=A0;=20=E2=80=94=20masquage=20du=20champ?= =?utf8?q?=20de=20recherche=20aux=20anonymes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../custom_generic/main_template_standard.pt | 139 +++++++++--------- skins/custom_generic/zpt_stylesheet.css.dtml | 11 +- skins/generic/main_template_macros.pt | 8 +- 3 files changed, 84 insertions(+), 74 deletions(-) diff --git a/skins/custom_generic/main_template_standard.pt b/skins/custom_generic/main_template_standard.pt index 101a502..9d22950 100755 --- a/skins/custom_generic/main_template_standard.pt +++ b/skins/custom_generic/main_template_standard.pt @@ -83,85 +83,86 @@ - - - - - - -
Top bar
-
User menu bar
- - -
- - - - - + +
- Left cell - - -
- Information - Status message. -
- - -
-
-
special context header
-
-
Content tabs
-
Additional tabs
+
+ + + + + +
Top bar
+
User menu bar
+ + +
+ + + + + - + + + - - -
+ Left cell + + +
+ Information + Status message.
-
-
-
-

- Page Title -

-
- Description of the resource goes here, perhaps even wrapping lines; this is to make it long enough to test. + + +
+
+
special context header
+
+
Content tabs
+
Additional tabs
+
+
+
+
+

+ Page Title +

+
+ Description of the resource goes here, perhaps even wrapping lines; this is to make it long enough to test. +
-
-
-
-

Section Header

-

The content of the object is rendered - hre. Lorem ipsum dolorem. Nihil obstat imprimatur. Semper ubi sub ubi. - Non illegitimi carborundum. In vino veritas. E pluribus unam. -

+
+
+

Section Header

+

The content of the object is rendered + hre. Lorem ipsum dolorem. Nihil obstat imprimatur. Semper ubi sub ubi. + Non illegitimi carborundum. In vino veritas. E pluribus unam. +

+
-
-
-
- Content by me +
+
+ Content by me +
+
footer slot
-
footer slot
-
-
-
-
Right cell
-
+
+
Right cell
+
+
- -
- DEBUG Information +
+ DEBUG Information +
diff --git a/skins/custom_generic/zpt_stylesheet.css.dtml b/skins/custom_generic/zpt_stylesheet.css.dtml index 77011e0..ce9d377 100644 --- a/skins/custom_generic/zpt_stylesheet.css.dtml +++ b/skins/custom_generic/zpt_stylesheet.css.dtml @@ -1,11 +1,14 @@ /* */ +html, body { background-color: &dtml-backgroundColor;; color: &dtml-fontColor;; font-family: &dtml-fontFamily;; font-size : &dtml-fontBaseSize;; - margin: 0 } + margin: 0; + padding: 0; +} h1, h2, h3, h4, h5, h6 { font-family: &dtml-headingFontFamily;; @@ -354,7 +357,11 @@ textarea { color: &dtml-fontColor;; font-size: 80%; text-align: center; - padding : 3px; + padding : 3px 0; + position:absolute; + bottom:0; + width:100%; + height:1em; } /* Folder contents */ diff --git a/skins/generic/main_template_macros.pt b/skins/generic/main_template_macros.pt index ed5f205..ba60bc6 100644 --- a/skins/generic/main_template_macros.pt +++ b/skins/generic/main_template_macros.pt @@ -37,12 +37,13 @@ global specialCtxHeader options/specialCtxHeader|nothing" /> -
+
-