projects
/
website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Marker-Klasse für Menü/Kein Menü in das Element <body> verschoben
[website]
/
src
/
main
/
webapp
/
less
/
screen
/
layout.less
diff --git
a/src/main/webapp/less/screen/layout.less
b/src/main/webapp/less/screen/layout.less
index
a8cf4ff
..
a4fd785
100644
(file)
--- a/
src/main/webapp/less/screen/layout.less
+++ b/
src/main/webapp/less/screen/layout.less
@@
-1,34
+1,44
@@
-@import '../variables.less';
-
body
{
padding: 0 3em 0 5em;
}
body
{
padding: 0 3em 0 5em;
}
+#header
+{
+ margin-left: -2.125em;
+}
+
.content
{
position: relative;
height: 100%;
padding-bottom: 7.1875em; /** 115px (gemessene Gesamthöhe des Footers - mit Abstand und Margin) */
}
.content
{
position: relative;
height: 100%;
padding-bottom: 7.1875em; /** 115px (gemessene Gesamthöhe des Footers - mit Abstand und Margin) */
}
-.
cols_2 >
.content
+.
menu
.content
{
padding-right: 27em;
margin-right: -24.375em;
}
{
padding-right: 27em;
margin-right: -24.375em;
}
-.
cols_2 >
.content > .main
+.
menu
.content > .main
{
float: left;
min-height: 1em;
position: relative;
width: 100%;
}
{
float: left;
min-height: 1em;
position: relative;
width: 100%;
}
-.cols_1 > .content > .marginal
+.nomenu .content > .main
+{
+ margin-bottom: 7em;
+}
+.nomenu .content > .marginal aside.m
{
{
- margin-top: 3em;
+ margin: 3.5em 0 -999em 0;
+ padding: 2em 2em 995em 2em;
background-color: @heller;
background-color: @heller;
+ position: relative;
+ top: -4.5em;
}
}
-.
cols_2 >
.content > .marginal
+.
menu
.content > .marginal
{
float: left;
margin: 0 -27em 0 2.625em;
{
float: left;
margin: 0 -27em 0 2.625em;
@@
-51,29
+61,25
@@
body
{
margin-top: 0;
}
{
margin-top: 0;
}
-.cols_1 > .content > .marginal aside.m
-{
- padding: 2em;
-}
-.content #nav
+#nav
{
position: absolute;
top: 0;
right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */
width: 100%;
}
{
position: absolute;
top: 0;
right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */
width: 100%;
}
-.
cols_2 > .content
#nav
+.
menu
#nav
{
position: relative;
top: auto;
right: auto;
width: 22.375em; /** 358px = 326px + 32px*/
}
{
position: relative;
top: auto;
right: auto;
width: 22.375em; /** 358px = 326px + 32px*/
}
-.
cols_2 > .content #nav >
#menu
+.
menu
#menu
{
margin: 0 0 -2.125em 0; /** 0 0 -34px 0 */
}
{
margin: 0 0 -2.125em 0; /** 0 0 -34px 0 */
}
-.
content.cols_1 #nav >
#menu
+.
nomenu
#menu
{
position: absolute;
top: -7em; /** 112px */
{
position: absolute;
top: -7em; /** 112px */
@@
-91,26
+97,8
@@
body { overflow-y: scroll; }
margin: 0 auto;
}
margin: 0 auto;
}
-/** Make the footer sticky */
-html, body
-{
- height: 100%;
-}
-#page
-{
- position: relative;
- min-height: 100%;
-}
-#footer
-{
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
-}
-
/** Faux-Column-Hack-Eigengewächs */
/** Faux-Column-Hack-Eigengewächs */
-#page.cols_2
+.menu #page
{
max-width: 38em; /** 608px + 390px (Marginalspalte) = ca. 1000px */
border-right: 24.375em solid @heller;
{
max-width: 38em; /** 608px + 390px (Marginalspalte) = ca. 1000px */
border-right: 24.375em solid @heller;
@@
-119,16
+107,21
@@
html, body
{
padding-top: 1em;
}
{
padding-top: 1em;
}
-.
cols_2 >
#header
+.
menu
#header
{
margin-right: -24.375em;
background-color: @hintergrund;
}
{
margin-right: -24.375em;
background-color: @hintergrund;
}
-.
cols_2 >
#breadcrumb
+.
menu
#breadcrumb
{
right: -24.375em; /** Weil der Breadcrumb sonst an der Faux-Column umbricht! */
}
{
right: -24.375em; /** Weil der Breadcrumb sonst an der Faux-Column umbricht! */
}
-.cols_2 > #footer
+.nomenu #footer
+{
+ border-top: 1.5em solid @hintergrund;
+ background-color: @hintergrund;
+}
+.menu #footer
{
margin-right: -24.375em;
background-color: @hintergrund;
{
margin-right: -24.375em;
background-color: @hintergrund;