X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=src%2Fmain%2Fwebapp%2Fless%2Fphone%2Flayout.less;h=6d6521ae07e0a8678274cba44966be3e8505d079;hp=026583e7d79973514713e35f546e66fd16c4100e;hb=f2fb1bb1fee920af64adb03763e23f6039da2fa4;hpb=fd86a57c93eea4668d9c748aed9ab301a1d99082 diff --git a/src/main/webapp/less/phone/layout.less b/src/main/webapp/less/phone/layout.less index 026583e7..6d6521ae 100644 --- a/src/main/webapp/less/phone/layout.less +++ b/src/main/webapp/less/phone/layout.less @@ -1,19 +1,198 @@ +/** Seite gesamt (Abmessungen, Aussenabstände etc.) */ + +body +{ + font-size: 87.5%; /** 14px */ + padding: 0; +} #page { + position: relative; overflow: hidden; } -#header -{ - margin: 0 1em 0 1.25em; -} + +/** Seitenaufteilung mit/ohne Menü */ .content > .main { margin: 0 1em 0 2.5em; } -.cols_2 > .content > .main +.menu .content > .main { border-top-style: none; margin-top: -.4375em; /** -8px + 1px (für den entfernten Rahmen) -- nur damit es exakt so positioniert ist, wie im Tablet-Layout */ } + + + +/** Seitenkopf positionieren */ + +#header +{ + margin: .5em 1em 0 1.25em; +} +#header > hr.h +{ + display: none; +} + + +/** Bereichsauswahl positionieren und stylen */ + +#nav > hr.n +{ + display: none; +} +#menu +{ + border-style: none; + font-size: 125%; + line-height: 1.5em; +} +#menu +{ + font-size: 150%; + border-bottom: .125em solid @hintergrund; + margin-top: 0; + padding: .25em .25em 1em 1.5em; +} +#menu > li.m +{ + float: left; + list-style-type: none; + padding: .25em 1em 0 0; +} +#menu > li.m > a.m +{ + color: @dunkel; +} +#menu > li.m > strong.m +{ + color: @hintergrund; + border-bottom: .0625em solid @hintergrund; +} +#menu > li.m > a.m:hover, +#menu > li.m > a.m:focus, +#menu > li.m > a.m:active +{ + color: @dunkler; + border-bottom: .0625em solid @dunkler; +} +#menu > li.m > a.m.selected +{ + color: @hintergrund; + border-bottom: .0625em dashed @hintergrund; +} +#menu > li.m > a.m.selected:hover, +#menu > li.m > a.m.selected:focus, +#menu > li.m > a.m.selected:active +{ + border-style: solid; +} + + +/** Navigations-Sprunglink reaktivieren und stylen */ + +#breadcrumb +{ + position: absolute; + top: .8em; + right: 1.5em; +} +#breadcrumb > strong.b, +#breadcrumb > ol.b, +#breadcrumb > hr.b +{ + display: none; +} +#breadcrumb > a.hide +{ + display: block; + overflow: hidden; + width: 3.5em; + height: 3em; + line-height: 3em; + color: @normal; + border-style: none; +} +#breadcrumb > a.hide:before +{ + content: ""; + font-family: 'symbols'; + font-size: 378%; /** Vielfaches von 14px */ + padding: 0 0 1em 0; +} +#breadcrumb > a.hide:hover, +#breadcrumb > a.hide:focus, +#breadcrumb > a.hide:active +{ + color: @dunkler; +} + + +/** Inhalts-Sprunglink reaktivieren und stylen */ + +#nav > a.hide +{ + position: relative; + float: right; + left: auto; + top: .5em; + display: block; + overflow: hidden; + width: 2.142857143em; /** 30px */ + height: 2.5em; + line-height: 2.5em; + color: @dunkel; + border-style: none; +} +#nav > a.hide:before +{ + content: ""; + font-family: 'symbols'; + font-size: 210%; /** Vielfaches von 14px */ + padding: 0 0 1em 0; + margin: 0 1em 0 0; +} +#nav > a.hide:hover, +#nav > a.hide:focus, +#nav > a.hide:active +{ + color: @dunkler; +} + + +/** Footer positionieren */ + +#footer +{ + padding: 0 1em .5em 2.5em; + background-color: @heller; +} +#footer > hr.f +{ + border-color: @hintergrund; +} + + +/** Marginal-Inhalte anpassen... */ + +.marginal h1, +.marginal h2, +.marginal h3, +.marginal h4 +{ + color: @hintergrund; +} + + +/** Faux-Column-Hack für Marginalinhalte */ + +.marginal +{ + margin-top: 4em; + margin-bottom: -993em; + padding: 1em 1em 999em 2.5em; + background-color: @heller; +}