2021-07-02 21:03:52 +03:00
|
|
|
<GhApp>
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhSkipLink @anchor=".gh-main">Skip to main content</GhSkipLink>
|
2015-05-20 18:37:06 +03:00
|
|
|
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhAlerts />
|
2015-05-20 18:37:06 +03:00
|
|
|
|
2021-07-02 21:03:52 +03:00
|
|
|
<div class="gh-viewport {{if this.ui.showMobileMenu 'mobile-menu-expanded'}}">
|
2019-12-13 17:20:29 +03:00
|
|
|
{{#if this.showNavMenu}}
|
2021-01-28 18:25:21 +03:00
|
|
|
<GhNavMenu />
|
2016-05-14 04:02:55 +03:00
|
|
|
{{/if}}
|
2015-05-18 17:20:43 +03:00
|
|
|
|
2021-07-22 16:47:01 +03:00
|
|
|
<main class="gh-main {{this.ui.mainClass}} {{if (and (feature "membersFiltering") (or (eq this.router.currentURL "/members") (eq this.router.currentURL "/members/import"))) "gh-main-fullwidth"}}" role="main">
|
2015-06-13 17:34:09 +03:00
|
|
|
{{outlet}}
|
2021-02-12 13:13:23 +03:00
|
|
|
|
|
|
|
{{#if this.showBilling}}
|
2021-03-10 19:15:19 +03:00
|
|
|
<GhBillingModal @billingWindowOpen={{this.billing.billingWindowOpen}} />
|
2021-02-12 13:13:23 +03:00
|
|
|
{{/if}}
|
|
|
|
|
2019-01-02 12:58:55 +03:00
|
|
|
</main>
|
2015-05-20 18:37:06 +03:00
|
|
|
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhNotifications />
|
2015-05-27 17:39:56 +03:00
|
|
|
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhContentCover />
|
2015-05-21 20:03:24 +03:00
|
|
|
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhMobileNavBar />
|
2019-08-23 12:01:27 +03:00
|
|
|
|
|
|
|
<GhWhatsNew />
|
2015-06-13 17:34:09 +03:00
|
|
|
</div>{{!gh-viewport}}
|
2020-01-30 18:35:36 +03:00
|
|
|
|
|
|
|
{{#if this.customViews.showFormModal}}
|
|
|
|
<GhFullscreenModal
|
|
|
|
@modal="custom-view-form"
|
|
|
|
@close={{this.customViews.toggleFormModal}}
|
|
|
|
@modifier="action narrow"
|
|
|
|
/>
|
|
|
|
{{/if}}
|
2021-03-04 12:12:25 +03:00
|
|
|
|
|
|
|
{{#if this.settings.accentColor}}
|
|
|
|
<style>
|
2021-07-26 19:00:11 +03:00
|
|
|
:root {
|
|
|
|
--accent-color: {{this.settings.accentColor}};
|
|
|
|
--adjusted-accent-color: {{this.ui.adjustedAccentColor}};
|
|
|
|
--text-color-for-adjusted-accent-background: {{this.ui.textColorForAdjustedAccentBackground}};
|
|
|
|
}
|
2021-03-04 12:22:09 +03:00
|
|
|
.koenig-editor__editor a:not([class]) {
|
2021-07-26 19:00:11 +03:00
|
|
|
color: var(--adjusted-accent-color);
|
2021-03-04 12:22:09 +03:00
|
|
|
}
|
|
|
|
.koenig-editor__editor blockquote {
|
2021-07-26 19:00:11 +03:00
|
|
|
border-left: 0.25rem solid var(--adjusted-accent-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-cta-button-text-input {
|
|
|
|
color: var(--text-color-for-adjusted-accent-background);
|
|
|
|
background-color: var(--adjusted-accent-color)
|
|
|
|
}
|
|
|
|
.email-cta-button-text-input:hover {
|
|
|
|
color: {{hex-adjust this.ui.textColorForAdjustedAccentBackground l=-15}};
|
|
|
|
background-color: {{hex-adjust this.settings.accentColor l=-15}}
|
|
|
|
}
|
|
|
|
.email-cta-button-text-input::placeholder {
|
|
|
|
{{!-- TODO: saturation adjustment for white/black doesn't work --}}
|
|
|
|
color: {{hex-adjust this.ui.textColorForAdjustedAccentBackground s=-15}}
|
2021-03-04 12:22:09 +03:00
|
|
|
}
|
2021-03-04 12:12:25 +03:00
|
|
|
</style>
|
|
|
|
{{/if}}
|
2020-01-16 18:14:03 +03:00
|
|
|
</GhApp>
|
2015-11-18 13:50:48 +03:00
|
|
|
|
2020-01-30 18:35:36 +03:00
|
|
|
<EmberLoadRemover />
|