mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Updating ThemeMachine to work with our new 20 zones.
--HG-- branch : dev
This commit is contained in:
@@ -159,7 +159,7 @@ pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height:
|
||||
|
||||
}
|
||||
|
||||
#layout-header, #layout-main, #layout-footer {
|
||||
#layout-header, #layout-before-main, #layout-main, #layout-footer, #layout-after-main, #layout-tripel {
|
||||
width:960px;
|
||||
margin:0 auto;
|
||||
}
|
||||
@@ -183,11 +183,22 @@ pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height:
|
||||
color: #434343;
|
||||
}
|
||||
|
||||
#layout-footer
|
||||
#layout-tripel
|
||||
{
|
||||
border-top: 1px solid #dbdbdb;
|
||||
border-top: 1px solid #dbdbdb;
|
||||
}
|
||||
|
||||
#layout-main
|
||||
{
|
||||
border-top: 1px solid #dbdbdb;
|
||||
}
|
||||
|
||||
#layout-after-main
|
||||
{
|
||||
border-top: 1px solid #dbdbdb;
|
||||
}
|
||||
|
||||
|
||||
/* Navigation */
|
||||
#layout-navigation
|
||||
{
|
||||
@@ -226,6 +237,11 @@ nav ul
|
||||
line-height:24px;
|
||||
}
|
||||
|
||||
#layout-footer
|
||||
{
|
||||
border-top: 1px solid #dbdbdb;
|
||||
}
|
||||
|
||||
/* Zones */
|
||||
/*.zone {
|
||||
background-color: yellow;
|
||||
@@ -425,10 +441,16 @@ ul.comments li div.text {
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.aside.third div > div {
|
||||
#layout-tripel div > div {
|
||||
float:left;
|
||||
width:304px;
|
||||
padding:12px 6px 0 6px;
|
||||
width:316px;
|
||||
/*padding:12px 6px 0 6px;*/
|
||||
}
|
||||
|
||||
#footer-quad div.zone {
|
||||
float:left;
|
||||
width:240px;
|
||||
/*padding:12px 6px 0 6px;*/
|
||||
}
|
||||
|
||||
/* Featured Zone - switch to an image */
|
||||
@@ -449,7 +471,6 @@ ul.comments li div.text {
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
|
||||
.clearfix {
|
||||
clear:both;
|
||||
}
|
@@ -4,4 +4,4 @@ Description: It's a *really* good theme, yo.
|
||||
Version: 0.1
|
||||
Tags: Awesome
|
||||
Website: http://orchardproject.net
|
||||
Zones: Header, Navigation, Messages, AsideFirst, AsideSecond, AsideThird, Content, Footer
|
||||
Zones: Header, Navigation, Featured, BeforeMain, Messages, BeforeContent, Content, AfterContent, AfterMain, TripelFirst, TripelSecond, TripelThird, FooterQuadFirst, FooterQuadSecond, FooterQuadThird, FooterQuadFourth, Footer, AsideFirst, AsideSecond, AsideThird
|
@@ -31,7 +31,7 @@
|
||||
<h1 id="branding"><a href="@homeUrl">@WorkContext.CurrentSite.SiteName</a></h1>
|
||||
}
|
||||
using(Capture(pbo => WorkContext.Layout.Footer.Add(pbo) )) {
|
||||
<div class="credits"><span class="poweredby">Powered by Orchard</span> <span class="copyright">© The Theme Machine 2010.</span></div>
|
||||
<div class="credits"><span class="poweredby">Powered by <a href="http://www.orchardproject.net" title="Welcome to the New World Order" target="_blank">Orchard</a></span> <span class="copyright">© The Theme Machine 2010.</span></div>
|
||||
}
|
||||
|
||||
WorkContext.Layout.Footer.Add(New.User());
|
||||
@@ -121,7 +121,7 @@
|
||||
}
|
||||
<div id="layout-footer" class="group">
|
||||
<footer id="footer">
|
||||
<div id="footer-quad">
|
||||
<div id="footer-quad" class="group">
|
||||
@if (Model.FooterQuadFirst != null) {
|
||||
<div id="footer-quad-first">
|
||||
@Zone(Model.FooterQuadFirst)
|
||||
|
Reference in New Issue
Block a user