From: Kai Moritz Date: Tue, 11 Feb 2014 15:39:40 +0000 (+0100) Subject: Layout für den Ausdruck X-Git-Tag: thymeroot-2.0.0~123 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=4dbd8467ae74420d42ccabfd3feeda7694c7749b;p=website Layout für den Ausdruck --- diff --git a/src/main/webapp/WEB-INF/templates/html-head.jsp b/src/main/webapp/WEB-INF/templates/html-head.jsp index 1b74015e..098c3727 100644 --- a/src/main/webapp/WEB-INF/templates/html-head.jsp +++ b/src/main/webapp/WEB-INF/templates/html-head.jsp @@ -7,6 +7,7 @@ diff --git a/src/main/webapp/less/print.less b/src/main/webapp/less/print.less new file mode 100644 index 00000000..ffcb9c61 --- /dev/null +++ b/src/main/webapp/less/print.less @@ -0,0 +1,29 @@ +@import 'variables.less'; + +#breadcrumb +{ + .droid; + color: @schrift; + font-weight: normal; +} +#breadcrumb strong.b +{ + font-weight: normal; +} +#breadcrumb ol.b li.b a.b, +#breadcrumb ol.b li.b strong.b +{ + color: @schrift; + border-style: none; +} +#breadcrumb a.hide +{ + display: none; +} +#breadcrumb hr.b +{ + display: none; +} +@import 'print/typo.less'; +@import 'print/layout.less'; +@import 'print/header.less'; diff --git a/src/main/webapp/less/print/head.less b/src/main/webapp/less/print/head.less new file mode 100644 index 00000000..db11a6e2 --- /dev/null +++ b/src/main/webapp/less/print/head.less @@ -0,0 +1,8 @@ +#logo +{ + padding-left: .0625em; +} +#slogan +{ + display: inline-block; +} diff --git a/src/main/webapp/less/print/layout.less b/src/main/webapp/less/print/layout.less new file mode 100644 index 00000000..392760e8 --- /dev/null +++ b/src/main/webapp/less/print/layout.less @@ -0,0 +1,54 @@ +body +{ + font-size: 75%; /** 12px */ +} +#header hr.h +{ + margin: .5em 0; +} +.content +{ + clear: both; +} +.marginal +{ + display: none; +} +#breadcrumb +{ + .droid; + color: @schrift; + font-weight: normal; +} +#breadcrumb strong.b +{ + font-weight: normal; +} +#breadcrumb ol.b li.b a.b, +#breadcrumb ol.b li.b strong.b +{ + color: @schrift; + border-style: none; +} +#breadcrumb a.hide +{ + display: none; +} +#breadcrumb hr.b +{ + display: none; +} +#nav +{ + display: none; +} +#footerlinks li.f +{ + display: none; +} +#footerlinks li#copyright +{ + .droid; + font-size: 100%; + display: block; +} diff --git a/src/main/webapp/less/print/typo.less b/src/main/webapp/less/print/typo.less new file mode 100644 index 00000000..58e2ca63 --- /dev/null +++ b/src/main/webapp/less/print/typo.less @@ -0,0 +1,5 @@ +a +{ + color: @schrift; + border-style: none; +}