From: Benoît Pin Date: Wed, 5 Feb 2014 16:01:07 +0000 (+0100) Subject: Un peu plus de structuration : X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/commitdiff_plain/678f95921b62703063dc23047fce534cc255a190?ds=sidebyside;hp=--cc Un peu plus de structuration : — ajout du wrapper principal « main_wrapper » ; — ajout des ids « top_bar » et « user_menu_bar » ; — #Footer remonté d'un niveau ; — Footer ancré en bas (par css) ; — masquage du champ de recherche aux anonymes. --- 678f95921b62703063dc23047fce534cc255a190 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" /> -
+
-