mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Updated invite-only styles
This commit is contained in:
parent
a1506b824f
commit
4a0f3c2403
3 changed files with 11 additions and 2 deletions
|
@ -16,7 +16,7 @@ const DEV_MODE_DATA = {
|
||||||
showPopup: true,
|
showPopup: true,
|
||||||
site: Fixtures.site,
|
site: Fixtures.site,
|
||||||
member: Fixtures.member.paid,
|
member: Fixtures.member.paid,
|
||||||
page: 'accountHome'
|
page: 'signup'
|
||||||
};
|
};
|
||||||
export default class App extends React.Component {
|
export default class App extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
|
|
@ -76,6 +76,10 @@ export const SignupPageStyles = `
|
||||||
background-attachment: local,local,scroll,scroll;
|
background-attachment: local,local,scroll,scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-portal-content.signup.invite-only {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
footer.gh-portal-signup-footer,
|
footer.gh-portal-signup-footer,
|
||||||
footer.gh-portal-signin-footer {
|
footer.gh-portal-signin-footer {
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
|
@ -123,6 +127,10 @@ export const SignupPageStyles = `
|
||||||
height: unset;
|
height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.gh-portal-invite-only-notification {
|
.gh-portal-invite-only-notification {
|
||||||
margin: 8px 32px;
|
margin: 8px 32px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -474,6 +482,7 @@ class SignupPage extends React.Component {
|
||||||
}
|
}
|
||||||
if (plansData.length === 0) {
|
if (plansData.length === 0) {
|
||||||
footerClass = 'invite-only';
|
footerClass = 'invite-only';
|
||||||
|
sectionClass = 'invite-only';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
sectionClass = 'singleplan';
|
sectionClass = 'singleplan';
|
||||||
|
|
|
@ -15,7 +15,7 @@ export const site = {
|
||||||
is_stripe_configured: true,
|
is_stripe_configured: true,
|
||||||
portal_button: true,
|
portal_button: true,
|
||||||
portal_name: true,
|
portal_name: true,
|
||||||
portal_plans: ['monthly', 'yearly'],
|
portal_plans: [''],
|
||||||
portal_button_icon: 'icon-1',
|
portal_button_icon: 'icon-1',
|
||||||
portal_button_signup_text: 'Subscribe now',
|
portal_button_signup_text: 'Subscribe now',
|
||||||
portal_button_style: 'icon-and-text',
|
portal_button_style: 'icon-and-text',
|
||||||
|
|
Loading…
Add table
Reference in a new issue