Vulcan/client/views/common/layout.html

42 lines
1.3 KiB
HTML
Raw Normal View History

<template name="layout">
2013-02-14 10:17:26 +09:00
<style>
2014-07-11 10:54:07 +09:00
{{#if backgroundCSS}}
body{
2014-07-11 10:54:07 +09:00
background: {{backgroundCSS}};
}
{{/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;
}
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{
color: {{buttonColor}};
}
{{/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>
<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-07-10 11:45:34 +09:00
{{> yield}}
2014-07-09 09:46:24 +09:00
{{> UI.dynamic template=footer}}
</div>
<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>