From b89d89ff6c29e6edab9b68c7ce4757b627148802 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 28 Jan 2014 16:05:19 +0100 Subject: [PATCH] =?utf8?q?Faux-Column-Hack=20f=C3=BCr=20Marginal-Inhalte?= =?utf8?q?=20auf=20Seiten=20ohne=20Men=C3=BC=20korrigiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/webapp/less/screen/layout.less | 18 ++++++++++++++++-- src/main/webapp/less/tablet/layout.less | 7 ++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/less/screen/layout.less b/src/main/webapp/less/screen/layout.less index bd4f0821..4afea4ae 100644 --- a/src/main/webapp/less/screen/layout.less +++ b/src/main/webapp/less/screen/layout.less @@ -2,7 +2,7 @@ body { - padding: 0 3em 0 5em; + padding: 0; overflow-y: scroll; /** Die vertikale Scroll-Leiste stets anzeigen */ } #page @@ -13,6 +13,10 @@ body /** Seitenaufteilung mit Menü (Zweispaltig) */ +body.menu +{ + padding: 0 3em 0 5em; +} .menu .content { position: relative; @@ -37,6 +41,12 @@ body /** Anpassungen für Seiten ohne Menü (Einspaltig) */ +.nomenu #page +{ + max-width: 62.375em; + padding: 0 3em 0 5em; + overflow: hidden; +} .nomenu .content { position: relative; @@ -149,6 +159,10 @@ body left: 6.9em; z-index: 3; } +.nomenu #breadcrumb +{ + left: 11.9em; +} #breadcrumb > a.hide { position: absolute; @@ -167,7 +181,7 @@ body } .nomenu #footer { - padding-top: 0; + padding: 0 3em 2em 5em; } #footer > hr.f { diff --git a/src/main/webapp/less/tablet/layout.less b/src/main/webapp/less/tablet/layout.less index 04c51d73..b4257b24 100644 --- a/src/main/webapp/less/tablet/layout.less +++ b/src/main/webapp/less/tablet/layout.less @@ -1,6 +1,7 @@ /** Seite gesamt (Abmessungen, Aussenabstände etc.) */ -body +body.menu, +body.nomenu { padding: 0; } @@ -8,6 +9,10 @@ body { overflow: hidden; } +.nomenu #page +{ + padding: 0; +} /** Seitenaufteilung mit/ohne Menü für Tablets optimieren */ -- 2.20.1