mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Added "sticky" footer.
--HG-- branch : dev
This commit is contained in:
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
@@ -101,8 +101,10 @@ Pixels EMs Percent Points
|
|||||||
24px 1.846em 184.6% 18pt
|
24px 1.846em 184.6% 18pt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
html, body { height:100%; }
|
||||||
|
|
||||||
html {
|
html {
|
||||||
background:#f3f4f5 url(images/adminNavBackground.gif) repeat-y top left;
|
background:#f3f4f5 url(images/adminNavBackground.gif) repeat-y top left;
|
||||||
color:#333;
|
color:#333;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,7 +114,7 @@ body {
|
|||||||
background:#f3f4f5 url(images/adminNavBackground.gif) repeat-y top left;
|
background:#f3f4f5 url(images/adminNavBackground.gif) repeat-y top left;
|
||||||
font-family: Segoe UI,Trebuchet,Arial,Sans-Serif;
|
font-family: Segoe UI,Trebuchet,Arial,Sans-Serif;
|
||||||
line-height:1.6em;
|
line-height:1.6em;
|
||||||
margin:0 auto 1em;
|
margin:0 auto;
|
||||||
min-width:74em; /* 946px */
|
min-width:74em; /* 946px */
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
@@ -181,14 +183,17 @@ number of columns: 24; actual width: 946; column width: 26; gutter width:14
|
|||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
#layout-content {
|
#layout-content {
|
||||||
overflow:auto;
|
/*overflow:auto;*/
|
||||||
background:#f3f4f5;
|
background:#f3f4f5 url(images/adminNavBackground.gif) repeat-y top left;
|
||||||
|
min-height:100%;
|
||||||
}
|
}
|
||||||
#layout-main {
|
#layout-main {
|
||||||
display:inline;
|
display:inline;
|
||||||
|
overflow:auto;
|
||||||
float:right;
|
float:right;
|
||||||
margin-left:-240px;
|
margin-left:-240px;
|
||||||
width:100%;
|
width:100%;
|
||||||
|
padding:0 0 74px 0; /*Bottom padding set to footer height*/
|
||||||
}
|
}
|
||||||
#main {
|
#main {
|
||||||
margin-left:260px;
|
margin-left:260px;
|
||||||
@@ -205,6 +210,10 @@ number of columns: 24; actual width: 946; column width: 26; gutter width:14
|
|||||||
}
|
}
|
||||||
#footer {
|
#footer {
|
||||||
clear:both;
|
clear:both;
|
||||||
|
height:74px;
|
||||||
|
position:relative;
|
||||||
|
margin-top:-74px; /*Top margin set negative px of footer height*/
|
||||||
|
background:url(images/vinesBackgroundBottom.gif) no-repeat bottom left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links
|
/* Links
|
||||||
@@ -953,7 +962,10 @@ fieldset.delete-button {
|
|||||||
color:#ccc;
|
color:#ccc;
|
||||||
font-style:italic;
|
font-style:italic;
|
||||||
}
|
}
|
||||||
#orchard-version {
|
#orchard-version
|
||||||
|
{
|
||||||
|
position:relative;
|
||||||
float:right;
|
float:right;
|
||||||
padding:.7em 1.4em;
|
top:36px;
|
||||||
|
right:16px;
|
||||||
}
|
}
|
@@ -30,13 +30,15 @@
|
|||||||
Model.Footer.Add(Display.OrchardVersion());
|
Model.Footer.Add(Display.OrchardVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="layout-content">
|
||||||
|
|
||||||
@if (Model.Header != null) {
|
@if (Model.Header != null) {
|
||||||
<div id="header" role="banner">
|
<div id="header" role="banner">
|
||||||
@Zone(Model.Header)
|
@Zone(Model.Header)
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
<div id="layout-content">
|
|
||||||
<div id="navshortcut">
|
<div id="navshortcut">
|
||||||
<a href="#Menu-admin">
|
<a href="#Menu-admin">
|
||||||
@T("Skip to navigation")
|
@T("Skip to navigation")
|
||||||
|
@@ -57,6 +57,7 @@
|
|||||||
<Content Include="TheAdmin\Styles\images\menuClosedHover.gif" />
|
<Content Include="TheAdmin\Styles\images\menuClosedHover.gif" />
|
||||||
<Content Include="TheAdmin\Styles\images\menuOpen.gif" />
|
<Content Include="TheAdmin\Styles\images\menuOpen.gif" />
|
||||||
<Content Include="TheAdmin\Styles\images\menuOpenHover.gif" />
|
<Content Include="TheAdmin\Styles\images\menuOpenHover.gif" />
|
||||||
|
<Content Include="TheAdmin\Styles\images\vinesBackgroundBottom.gif" />
|
||||||
<Content Include="TheThemeMachine\Styles\Site.css" />
|
<Content Include="TheThemeMachine\Styles\Site.css" />
|
||||||
<Content Include="TheThemeMachine\Theme.png" />
|
<Content Include="TheThemeMachine\Theme.png" />
|
||||||
<Content Include="TheThemeMachine\Theme.txt" />
|
<Content Include="TheThemeMachine\Theme.txt" />
|
||||||
|
Reference in New Issue
Block a user