2013-10-06 08:42:10 +09:00
< template name = "layout" >
2013-02-14 10:17:26 +09:00
< style >
2014-07-11 10:54:07 +09:00
{{#if backgroundCSS}}
2013-02-16 13:05:32 +09:00
body{
2014-07-11 10:54:07 +09:00
background: {{backgroundCSS}};
2013-02-16 13:05:32 +09:00
}
{{/if}}
{{#if buttonColor}}
2014-07-10 11:45:34 +09:00
input[type="submit"], button, .button, .auth-buttons #login-buttons #login-buttons-password, .btn, .error, .mobile-menu-button, .login-link-text{
background-color: {{buttonColor}} !important;
2013-02-16 13:05:32 +09:00
}
2014-07-14 11:08:38 +09:00
a:hover, .post-content .post-heading .post-title:hover, .post-content .post-upvote .upvote-link i, .comment-actions a i, .comment-actions.upvoted .upvote i, .comment-actions.downvoted .downvote i, .toggle-actions-link{
2013-02-16 13:05:32 +09:00
color: {{buttonColor}};
}
2014-07-14 11:08:38 +09:00
.toggle-actions-link{
border-color: {{buttonColor}};
}
2013-02-16 13:05:32 +09:00
{{/if}}
{{#if secondaryColor}}
.post-content .post-upvote .upvote-link.voted i.icon-check{
color: {{secondaryColor}};
}
{{/if}}
{{#if headerColor}}
.header{
background-color: {{headerColor}};
}
{{/if}}
2013-02-14 10:17:26 +09:00
< / style >
2013-10-06 08:42:10 +09:00
< div class = "outer-wrapper {{currentPage}}" >
2014-07-05 11:42:28 +09:00
{{> UI.dynamic template=mobile_nav}}
2014-07-09 09:46:24 +09:00
< div class = "inner-wrapper template-{{pageName}}" >
2014-07-05 11:42:28 +09:00
{{> UI.dynamic template=nav}}
2014-07-09 09:46:24 +09:00
< div class = "content-wrapper" >
{{> UI.dynamic template=error}}
{{> UI.dynamic template=notifications}}
2014-08-05 10:16:05 +09:00
{{#each heroModules}}
{{> UI.dynamic template=getTemplate}}
{{/each}}
2014-07-10 11:45:34 +09:00
{{> yield}}
2014-07-09 09:46:24 +09:00
{{> UI.dynamic template=footer}}
< / div >
2013-10-06 08:42:10 +09:00
< div class = "overlay hidden" > < / div >
< / div >
{{{extraCode}}}
2012-10-17 17:25:10 +09:00
< / div >
2012-09-20 10:30:55 +10:00
< / template >