mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
63 lines
1.7 KiB
Handlebars
63 lines
1.7 KiB
Handlebars
<GhApp>
|
|
<GhSkipLink @anchor=".gh-main">Skip to main content</GhSkipLink>
|
|
|
|
<GhAlerts />
|
|
|
|
<div class="gh-viewport {{if this.ui.showMobileMenu 'mobile-menu-expanded'}}">
|
|
{{#if this.showNavMenu}}
|
|
<GhNavMenu />
|
|
{{/if}}
|
|
|
|
<main class="gh-main {{this.ui.mainClass}}" role="main">
|
|
{{outlet}}
|
|
|
|
{{#if this.showBilling}}
|
|
<GhBillingModal @billingWindowOpen={{this.billing.billingWindowOpen}} />
|
|
{{/if}}
|
|
|
|
</main>
|
|
|
|
<GhNotifications />
|
|
|
|
<GhContentCover />
|
|
|
|
<GhMobileNavBar />
|
|
</div>
|
|
|
|
{{#if this.customViews.showFormModal}}
|
|
<GhFullscreenModal
|
|
@modal="custom-view-form"
|
|
@close={{this.customViews.toggleFormModal}}
|
|
@modifier="action narrow"
|
|
/>
|
|
{{/if}}
|
|
|
|
{{#if this.settings.accentColor}}
|
|
<style>
|
|
:root {
|
|
--accent-color: {{this.settings.accentColor}};
|
|
--adjusted-accent-color: {{this.ui.adjustedAccentColor}};
|
|
}
|
|
.koenig-editor__editor a:not([class]) {
|
|
color: var(--adjusted-accent-color);
|
|
}
|
|
.koenig-editor__editor blockquote {
|
|
border-left: 0.25rem solid var(--adjusted-accent-color);
|
|
}
|
|
|
|
.gh-btn-accent {
|
|
background-color: var(--adjusted-accent-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.gh-btn-accent:hover {
|
|
background-color: {{hex-adjust this.ui.adjustedAccentColor l=-15}};
|
|
color: #fff;
|
|
}
|
|
|
|
</style>
|
|
{{/if}}
|
|
</GhApp>
|
|
|
|
<EpmModalContainer />
|
|
<EmberLoadRemover /> |