From 58ded8051f41ec04f35c8ff372229bc22ce01680 Mon Sep 17 00:00:00 2001 From: jensp Date: Sun, 12 Oct 2014 19:11:55 +0000 Subject: [PATCH] Syncing/Backup of Foundy files git-svn-id: https://svn.libreccm.org/ccm/trunk@2910 8810af33-2d31-482b-a856-94f89814c4df --- .../themes/foundry/doc/styles/foundry-doc.css | 78 ++++++++- .../foundry/foundry/lib/template-parser.xsl | 19 ++- .../lib/template-tags/content-items.xsl | 10 ++ .../foundry/lib/template-tags/data-tags.xsl | 9 ++ .../lib/template-tags/foundry-doc-tags.xsl | 36 ++++- .../foundry/lib/template-tags/html-tags.xsl | 149 ++++++++++++++++-- .../foundry/lib/template-tags/loaders.xsl | 10 ++ .../foundry/lib/template-tags/navigation.xsl | 11 ++ .../foundry/lib/template-tags/subsite.xsl | 10 ++ .../templates/doc/foundry-documentation.xml | 20 +-- 10 files changed, 315 insertions(+), 37 deletions(-) diff --git a/ccm-sci-bundle/web/themes/foundry/doc/styles/foundry-doc.css b/ccm-sci-bundle/web/themes/foundry/doc/styles/foundry-doc.css index 03a3bd9e9..91c84a6e4 100644 --- a/ccm-sci-bundle/web/themes/foundry/doc/styles/foundry-doc.css +++ b/ccm-sci-bundle/web/themes/foundry/doc/styles/foundry-doc.css @@ -145,12 +145,50 @@ body { position: relative; width: 40em; + margin-top: 3em; + margin-bottom: 3em; margin-left: auto; margin-right: auto; + + font-size: 1em; } main { - + /*margin-top: 3em; + margin-bottom: 3em;*/ +} + +header, footer { + position: fixed; + width: 40em; + height: 2em; + left: 50%; + margin-top: 0; + margin-bottom: 0; + margin-left: -20em; + margin-right: auto; + padding: 0.5em 0; + background-color: #fff; +} + +header { + top: 0; +} + +footer { + bottom: 0; +} + +header .border-wrapper { + padding-left: 2em; + padding-right: 2em; + border-bottom: 1px solid #000; +} + +footer .border-wrapper { + padding-left: 2em; + padding-right: 2em; + border-top: 1px solid #000; } nav { @@ -166,3 +204,41 @@ pre, code { font-family: liberation_mono; } +div#title-page h1 { + text-align: center; + font-size: 2.5em; + font-weight: bold; +} + +main article h1 { + font-size: 2.2em; + font-weight: bold; +} + +main article section h1 { + font-size: 2em; + font-weight: bold; +} + +main article section section h1 { + font-size: 1.8em; + font-weight: bold; +} + +main article section section section h1 { + font-size: 1.6em; + font-weight: bold; + margin-top: 0.7em; + margin-bottom: 0.7em; +} + +main article section section section section h1 { + font-size: 1.4em; + font-weight: bold; + margin-bottom: 0.4em; + margin-top: 0.4em; +} + +main article section section section section.template-tag h1 { + font-family: liberation_mono; +} \ No newline at end of file diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl index efd5f10d8..e14e8ede0 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl @@ -31,6 +31,13 @@ exclude-result-prefixes="xsl xs bebop cms foundry nav ui" version="2.0"> + + Root template tags + + These tags are the root elements of a layout template. + + +

@@ -87,7 +94,7 @@ Common helper templates/functions for all templates tags --> - + Helper functions for generating the name of the colorset class. @@ -101,7 +108,7 @@ - + Helper functions for retrieving the name of the content type of the current content item from the result tree XML. @@ -111,7 +118,7 @@ - + Helper template for processing arrows/links for sorting items. @@ -161,7 +168,7 @@ - + Helper template for processing additional attributes in the data tree XML. They copied literally from the XML the HTML. @@ -184,7 +191,7 @@ - + The name of the template file to process. @@ -211,7 +218,7 @@ - + Helper template for setting the id and class attributes on a HTML element. diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/content-items.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/content-items.xsl index 32ec8427d..9de5dc6be 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/content-items.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/content-items.xsl @@ -33,6 +33,16 @@ + + Tags for displaying Content Items + +

+ These tags are common tags for displaying Content Items. For most Content Types + there are special tags provided by other files. +

+ + +

diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl index 85c10d992..cc836baa8 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl @@ -24,6 +24,15 @@ exclude-result-prefixes="xsl foundry" version="2.0"> + + Data tags + +

+ These tags can be used to display several informations from the XML provided by CCM. +

+ + + diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/foundry-doc-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/foundry-doc-tags.xsl index a34e2fb6a..6c3a97b9c 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/foundry-doc-tags.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/foundry-doc-tags.xsl @@ -21,12 +21,21 @@ --> + + @@ -182,7 +191,7 @@

- + @@ -194,6 +203,20 @@ + + + + + + + + + + + + + + + + @@ -225,7 +253,7 @@ - + @@ -339,7 +367,7 @@ - + diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl index 9e89f73ab..f077e15bd 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl @@ -477,24 +477,139 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + @@ -505,14 +620,14 @@ - + - + - + - + diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl index 88c3194e8..3fe2ee43b 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl @@ -28,6 +28,16 @@ exclude-result-prefixes="xsl bebop foundry ui" version="2.0"> + + Loaders + +

+ This tags are used to load resources required by the generated HTML documents, + for example CSS files and JavaScript files. +

+
+
+ diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/navigation.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/navigation.xsl index 30a8c59a9..17e45f9e7 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/navigation.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/navigation.xsl @@ -7,6 +7,17 @@ xmlns:nav="http://ccm.redhat.com/navigation" exclude-result-prefixes="xsl bebop foundry nav" version="1.0"> + + + Tags for ccm-navigation + +

+ These tags are used to output data provided by the ccm-navigation module. + More excalty the navigation menu(s) and the breadcrumbs on a site are generated + using these tags. +

+
+
diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/subsite.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/subsite.xsl index 0d1e7ea42..1fca9d6a6 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/subsite.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/subsite.xsl @@ -9,6 +9,16 @@ exclude-result-prefixes="xsl bebop cms foundry ui" version="2.0"> + + Subsite tags + +

+ These tags can be used to show informations about the current subsite in + the generated HTML document. +

+
+
+ diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/templates/doc/foundry-documentation.xml b/ccm-sci-bundle/web/themes/foundry/foundry/templates/doc/foundry-documentation.xml index 1730b760c..2f1f3b001 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/templates/doc/foundry-documentation.xml +++ b/ccm-sci-bundle/web/themes/foundry/foundry/templates/doc/foundry-documentation.xml @@ -11,11 +11,13 @@
- The Foundry Theming Engine for LibreCCM +
+ The Foundry Theming Engine for LibreCCM +
-
-

The Foundry Theming Enine for LibreCCM

-

Jens Pelzetter

+
+

The Foundry Theming Engine for LibreCCM

+
-

+

\ No newline at end of file