From ffb2374f015c09cb13c91fe3189f9869b4a2b03c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 16 Jun 2009 20:55:41 +0000 Subject: [PATCH] Stylesheet Formulartabelle in extra Datei ausgelagert --- root/src/autor/form.css | 63 +-------------------------------- root/src/autor/view.css | 63 +-------------------------------- root/src/books/form.css | 64 +-------------------------------- root/src/books/styles.css | 62 +------------------------------- root/src/ftable.css | 74 +++++++++++++++++++++++++++++++++++++++ root/src/verlag/view.css | 63 +-------------------------------- 6 files changed, 79 insertions(+), 310 deletions(-) create mode 100644 root/src/ftable.css diff --git a/root/src/autor/form.css b/root/src/autor/form.css index c423210..675db12 100644 --- a/root/src/autor/form.css +++ b/root/src/autor/form.css @@ -7,66 +7,5 @@ -%] /* Stylesheets Autoren-Formulare */ -TABLE.ftable { - border-width: 2px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_hell %]; - border-left-color: [% site.col.tab_rahmen_hell %]; - border-right-color: [% site.col.tab_rahmen_dkl %]; - border-bottom-color: [% site.col.tab_rahmen_dkl %]; - border-collapse: separate; - border-spacing: 0; - margin: auto; -} - -TABLE.ftable UL { - margin: 0; -} - -TABLE.ftable TH { - vertical-align: top; - text-align: left; - padding: 2px; - border-width: 1px; - border-style: solid; - font-size: 1em; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_head %]; -} - -TABLE.ftable TD { - vertical-align: top; - padding: 2px; - border-width: 1px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_row_bold %]; -} - -TABLE.ftable TD.empty { - height: 0.5em; -} - -TABLE.ftable TH.button { - font-weight: bolder; - text-align: center; - font-size: 1.2em; - padding-left: 1em; - padding-right: 1em; -} - -TABLE.ftable TH.button INPUT { - font-weight: bolder; - text-align: center; - font-size: 1em; - padding-left: 1em; - padding-right: 1em; -} - +[% PROCESS ftable.css %] diff --git a/root/src/autor/view.css b/root/src/autor/view.css index 2c102be..7ba7f81 100644 --- a/root/src/autor/view.css +++ b/root/src/autor/view.css @@ -9,66 +9,5 @@ -%] Stylesheets Autorenazeige */ -TABLE.ftable { - border-width: 2px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_hell %]; - border-left-color: [% site.col.tab_rahmen_hell %]; - border-right-color: [% site.col.tab_rahmen_dkl %]; - border-bottom-color: [% site.col.tab_rahmen_dkl %]; - border-collapse: separate; - border-spacing: 0; - margin: auto; -} - -TABLE.ftable UL { - margin: 0; -} - -TABLE.ftable TH { - vertical-align: top; - text-align: left; - padding: 2px; - border-width: 1px; - border-style: solid; - font-size: 1em; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_head %]; -} - -TABLE.ftable TD { - vertical-align: top; - padding: 2px; - border-width: 1px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_row_bold %]; -} - -TABLE.ftable TD.empty { - height: 0.5em; -} - -TABLE.ftable TH.button { - font-weight: bolder; - text-align: center; - font-size: 1.2em; - padding-left: 1em; - padding-right: 1em; -} - -TABLE.ftable TH.button INPUT { - font-weight: bolder; - text-align: center; - font-size: 1em; - padding-left: 1em; - padding-right: 1em; -} - +[% PROCESS ftable.css %] diff --git a/root/src/books/form.css b/root/src/books/form.css index dca8e04..7d08eda 100644 --- a/root/src/books/form.css +++ b/root/src/books/form.css @@ -6,67 +6,5 @@ # -%] /* Stylesheets Formulare */ - -TABLE.ftable { - border-width: 2px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_hell %]; - border-left-color: [% site.col.tab_rahmen_hell %]; - border-right-color: [% site.col.tab_rahmen_dkl %]; - border-bottom-color: [% site.col.tab_rahmen_dkl %]; - border-collapse: separate; - border-spacing: 0; - margin: auto; -} - -TABLE.ftable UL { - margin: 0; -} - -TABLE.ftable TH { - vertical-align: top; - text-align: left; - padding: 2px; - border-width: 1px; - border-style: solid; - font-size: 1em; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_head %]; -} - -TABLE.ftable TD { - vertical-align: top; - padding: 2px; - border-width: 1px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_row_bold %]; -} - -TABLE.ftable TD.empty { - height: 0.5em; -} - -TABLE.ftable TH.button { - font-weight: bolder; - text-align: center; - font-size: 1.2em; - padding-left: 1em; - padding-right: 1em; -} - -TABLE.ftable TH.button INPUT { - font-weight: bolder; - text-align: center; - font-size: 1em; - padding-left: 1em; - padding-right: 1em; -} - +[% PROCESS ftable.css %] diff --git a/root/src/books/styles.css b/root/src/books/styles.css index 43f1d16..892405c 100644 --- a/root/src/books/styles.css +++ b/root/src/books/styles.css @@ -33,67 +33,7 @@ TABLE.wrapper TD.action { padding-bottom: 1em; } -TABLE.ftable { - border-width: 2px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_hell %]; - border-left-color: [% site.col.tab_rahmen_hell %]; - border-right-color: [% site.col.tab_rahmen_dkl %]; - border-bottom-color: [% site.col.tab_rahmen_dkl %]; - border-collapse: separate; - border-spacing: 0; - margin: auto; -} - -TABLE.ftable UL { - margin: 0; -} - -TABLE.ftable TH { - vertical-align: top; - text-align: left; - padding: 2px; - border-width: 1px; - border-style: solid; - font-size: 1em; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_head %]; -} - -TABLE.ftable TD { - vertical-align: top; - padding: 2px; - border-width: 1px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_row_bold %]; -} - -TABLE.ftable TD.empty { - height: 0.5em; -} - -TABLE.ftable TH.button { - font-weight: bolder; - text-align: center; - font-size: 1.2em; - padding-left: 1em; - padding-right: 1em; -} - -TABLE.ftable TH.button INPUT { - font-weight: bolder; - text-align: center; - font-size: 1em; - padding-left: 1em; - padding-right: 1em; -} +[% PROCESS ftable.css %] TABLE.buchliste { text-align: left; diff --git a/root/src/ftable.css b/root/src/ftable.css new file mode 100644 index 0000000..0d8394e --- /dev/null +++ b/root/src/ftable.css @@ -0,0 +1,74 @@ +/* [%# + # Template fuer Stylesheets Formulartabelle + # + # vim: noai : ts=4 fenc=utf-8 filetype=css + # + # $Id$ + # $URL$ + # +-%] + Stylesheets Formulartabelle */ + +TABLE.ftable { + border-width: 2px; + border-style: solid; + border-top-color: [% site.col.tab_rahmen_hell %]; + border-left-color: [% site.col.tab_rahmen_hell %]; + border-right-color: [% site.col.tab_rahmen_dkl %]; + border-bottom-color: [% site.col.tab_rahmen_dkl %]; + border-collapse: separate; + border-spacing: 0; + margin: auto; +} + +TABLE.ftable UL { + margin: 0; +} + +TABLE.ftable TH { + vertical-align: top; + text-align: left; + padding: 2px; + border-width: 1px; + border-style: solid; + font-size: 1em; + border-top-color: [% site.col.tab_rahmen_dkl %]; + border-left-color: [% site.col.tab_rahmen_dkl %]; + border-right-color: [% site.col.tab_rahmen_hell %]; + border-bottom-color: [% site.col.tab_rahmen_hell %]; + background-color: [% site.col.list_head %]; +} + +TABLE.ftable TD { + vertical-align: top; + padding: 2px; + border-width: 1px; + border-style: solid; + border-top-color: [% site.col.tab_rahmen_dkl %]; + border-left-color: [% site.col.tab_rahmen_dkl %]; + border-right-color: [% site.col.tab_rahmen_hell %]; + border-bottom-color: [% site.col.tab_rahmen_hell %]; + background-color: [% site.col.list_row_bold %]; +} + +TABLE.ftable TD.empty { + height: 0.5em; +} + +TABLE.ftable TH.button { + font-weight: bolder; + text-align: center; + font-size: 1.2em; + padding-left: 1em; + padding-right: 1em; +} + +TABLE.ftable TH.button INPUT { + font-weight: bolder; + text-align: center; + font-size: 1em; + padding-left: 1em; + padding-right: 1em; +} + + diff --git a/root/src/verlag/view.css b/root/src/verlag/view.css index 8cb7532..167392b 100644 --- a/root/src/verlag/view.css +++ b/root/src/verlag/view.css @@ -9,66 +9,5 @@ -%] Stylesheets Verlagsanzeige */ -TABLE.ftable { - border-width: 2px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_hell %]; - border-left-color: [% site.col.tab_rahmen_hell %]; - border-right-color: [% site.col.tab_rahmen_dkl %]; - border-bottom-color: [% site.col.tab_rahmen_dkl %]; - border-collapse: separate; - border-spacing: 0; - margin: auto; -} - -TABLE.ftable UL { - margin: 0; -} - -TABLE.ftable TH { - vertical-align: top; - text-align: left; - padding: 2px; - border-width: 1px; - border-style: solid; - font-size: 1em; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_head %]; -} - -TABLE.ftable TD { - vertical-align: top; - padding: 2px; - border-width: 1px; - border-style: solid; - border-top-color: [% site.col.tab_rahmen_dkl %]; - border-left-color: [% site.col.tab_rahmen_dkl %]; - border-right-color: [% site.col.tab_rahmen_hell %]; - border-bottom-color: [% site.col.tab_rahmen_hell %]; - background-color: [% site.col.list_row_bold %]; -} - -TABLE.ftable TD.empty { - height: 0.5em; -} - -TABLE.ftable TH.button { - font-weight: bolder; - text-align: center; - font-size: 1.2em; - padding-left: 1em; - padding-right: 1em; -} - -TABLE.ftable TH.button INPUT { - font-weight: bolder; - text-align: center; - font-size: 1em; - padding-left: 1em; - padding-right: 1em; -} - +[% PROCESS ftable.css %] -- 2.39.5