|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@import "@automattic/calypso-color-schemes"; |
|
|
@import "@automattic/typography/styles/fonts"; |
|
|
@import "@automattic/onboarding/styles/mixins"; |
|
|
@import "@automattic/onboarding/styles/variables"; |
|
|
@import "@automattic/components/src/styles/typography"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@import "calypso/blocks/import/style/base"; |
|
|
|
|
|
body, |
|
|
button { |
|
|
font-family: $sans; |
|
|
text-rendering: optimizelegibility; |
|
|
-moz-osx-font-smoothing: grayscale; |
|
|
-webkit-font-smoothing: antialiased; |
|
|
|
|
|
|
|
|
margin: 0; |
|
|
line-height: 1.5; |
|
|
|
|
|
h1, |
|
|
h2, |
|
|
h3, |
|
|
p { |
|
|
font-family: $sans; |
|
|
font-weight: 400; |
|
|
margin: 0; |
|
|
} |
|
|
|
|
|
a, |
|
|
a:visited { |
|
|
text-decoration: none; |
|
|
color: var(--color-link); |
|
|
} |
|
|
|
|
|
button { |
|
|
background-color: transparent; |
|
|
border: none; |
|
|
} |
|
|
|
|
|
ul { |
|
|
padding: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
.accessible-focus { |
|
|
.site-setup { |
|
|
.button.is-primary:focus { |
|
|
box-shadow: 0 0 0 2px var(--color-primary-light); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.step-route:has(.step-container-v2) { |
|
|
.signup-header { |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.site-setup:not(:has(.step-container-v2)), |
|
|
.onboarding.goals:not(:has(.step-container-v2)), |
|
|
.onboarding.design-setup:not(:has(.step-container-v2)), |
|
|
.onboarding.design-choices:not(:has(.step-container-v2)), |
|
|
.onboarding.difm-starting-point:not(:has(.step-container-v2)), |
|
|
.site-migration:not(:has(.step-container-v2)), |
|
|
.migration, |
|
|
.plugin-bundle, |
|
|
.newsletter-setup, |
|
|
.newsletter-goals, |
|
|
.domains:not(:has(.step-container-v2)), |
|
|
.plans:not(:has(.step-container-v2)), |
|
|
.patterns, |
|
|
.anchor-fm, |
|
|
.subscribers, |
|
|
.copy-site, |
|
|
.intro, |
|
|
.free-setup, |
|
|
.free-post-setup, |
|
|
.free, |
|
|
.setup-blog, |
|
|
.celebration-step, |
|
|
.use-my-domain:not(:has(.step-container-v2)), |
|
|
.domain-transfer, |
|
|
.update-design, |
|
|
.update-options, |
|
|
.hundred-year-plan, |
|
|
.hundred-year-domain, |
|
|
.entrepreneur, |
|
|
.generate-content, |
|
|
.playground:not(:has(.step-container-v2)), |
|
|
.processing:not(:has(.step-container-v2)), |
|
|
.create-site:not(:has(.step-container-v2)) { |
|
|
box-sizing: border-box; |
|
|
|
|
|
.wpcom-loading__boot { |
|
|
margin-top: 32vh; |
|
|
} |
|
|
|
|
|
&.step-route { |
|
|
padding: 60px 0 0; |
|
|
|
|
|
|
|
|
&.launchpad, |
|
|
&.hundred-year-plan { |
|
|
margin-top: -60px; |
|
|
} |
|
|
|
|
|
@include break-small { |
|
|
&.courses, |
|
|
&.site-picker, |
|
|
&.new-or-existing-site, |
|
|
&.domains:not(.copy-site):not(.ai-site-builder):not(.domain-upsell):not(.onboarding):not(.newsletter):not(.readymade-template):not(.reblogging):not(.start-writing) { |
|
|
margin-top: -60px; |
|
|
} |
|
|
} |
|
|
|
|
|
@include break-xlarge { |
|
|
&.goals, |
|
|
&.domains { |
|
|
margin-top: -60px; |
|
|
|
|
|
.wpcom__loading { |
|
|
margin: calc(32vh + 60px) auto 0; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&.site-setup[class*=" import"] { |
|
|
padding: 3.75rem 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.signup-header { |
|
|
z-index: 1; |
|
|
|
|
|
.wordpress-logo { |
|
|
position: absolute; |
|
|
inset-block-start: 20px; |
|
|
inset-inline-start: 24px; |
|
|
fill: var(--color-text); |
|
|
transform-origin: 0 0; |
|
|
} |
|
|
|
|
|
.signup-header__right { |
|
|
inset-block-start: 22px; |
|
|
inset-inline-start: 20px; |
|
|
|
|
|
.flow-progress-indicator { |
|
|
font-weight: 500; |
|
|
font-size: 0.875rem; |
|
|
color: var(--studio-gray-30); |
|
|
} |
|
|
} |
|
|
|
|
|
@include break-small { |
|
|
.wordpress-logo { |
|
|
inset-inline-start: 24px; |
|
|
} |
|
|
|
|
|
.signup-header__right { |
|
|
inset-inline-end: 24px; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.step-container { |
|
|
.form-fieldset { |
|
|
label { |
|
|
text-transform: none; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
&:not(:has(.wpcom-domain-search-v2)) { |
|
|
|
|
|
.components-button.is-primary { |
|
|
border-radius: 4px; |
|
|
font-size: 0.875rem; |
|
|
font-weight: 500; |
|
|
justify-content: center; |
|
|
|
|
|
&[disabled], |
|
|
&:disabled, |
|
|
&.disabled { |
|
|
color: #fff; |
|
|
background-color: var(--studio-wordpress-blue-20); |
|
|
border-color: var(--studio-wordpress-blue-20); |
|
|
} |
|
|
} |
|
|
|
|
|
.components-button.is-link { |
|
|
color: var(--color-accent); |
|
|
|
|
|
&:hover:not(:disabled):not(.disabled), |
|
|
&:focus:not(:disabled):not(.disabled) { |
|
|
color: var(--color-neutral-70); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
--color-accent: var(--studio-wordpress-blue-50); |
|
|
--color-accent-60: var(--studio-wordpress-blue-60); |
|
|
--wp-components-color-accent-darker-10: var(--studio-wordpress-blue-60); |
|
|
--wp-components-color-accent-darker-20: var(--studio-wordpress-blue-70); |
|
|
--wp-components-color-accent: var(--studio-wordpress-blue-50); |
|
|
|
|
|
} |
|
|
|
|
|
.step-route.onboarding { |
|
|
margin: 0 auto; |
|
|
} |
|
|
|
|
|
.is-section-stepper { |
|
|
.search-filters__popover { |
|
|
--color-accent: var(--studio-blue-50) !important; |
|
|
--color-accent-60: var(--studio-blue-60) !important; |
|
|
} |
|
|
} |
|
|
|
|
|
.intro { |
|
|
&:not(.newsletter).signup-header { |
|
|
z-index: 0 !important; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.newsletter:not(.domains) { |
|
|
&:not(.launchpad):not(.subscribers) { |
|
|
@include onboarding-break-mobile-landscape { |
|
|
padding: 40px 0 0; |
|
|
} |
|
|
} |
|
|
|
|
|
.step-container { |
|
|
.step-container__content h1, |
|
|
.step-container__header h1.formatted-header__title { |
|
|
font-size: $font-title-medium; |
|
|
line-height: 1.2em; |
|
|
|
|
|
@include break-medium { |
|
|
font-size: $font-headline-medium; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.newsletter, |
|
|
.newsletter:not(.domains) { |
|
|
.step-container { |
|
|
.step-container__content h1, |
|
|
.step-container__header h1.formatted-header__title { |
|
|
font-size: rem(32px); |
|
|
line-height: rem(40px); |
|
|
|
|
|
@include break-medium { |
|
|
font-size: rem(44px); |
|
|
line-height: rem(52px); |
|
|
} |
|
|
} |
|
|
.step-container__header .formatted-header .formatted-header__subtitle { |
|
|
font-size: rem(16px); |
|
|
line-height: rem(24px); |
|
|
font-family: $font-sf-pro-display; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.newsletter, |
|
|
.setup-form__form { |
|
|
button { |
|
|
&.site-icon-with-picker__upload-button { |
|
|
border-radius: 4px; |
|
|
border: 1px solid rgba($color: #000, $alpha: 0.2); |
|
|
|
|
|
&.site-icon-with-picker__upload-button { |
|
|
border-radius: 50%; |
|
|
font-family: "SF Pro Text", $sans; |
|
|
transition: ease 300ms; |
|
|
|
|
|
svg { |
|
|
fill: var(--studio-gray-30); |
|
|
} |
|
|
|
|
|
span { |
|
|
font-size: $font-body-extra-small; |
|
|
} |
|
|
|
|
|
&:hover { |
|
|
box-shadow: none; |
|
|
outline: none; |
|
|
|
|
|
svg { |
|
|
fill: var(--studio-wordpress-blue-50); |
|
|
} |
|
|
|
|
|
span { |
|
|
font-size: $font-body-extra-small; |
|
|
|
|
|
&.add { |
|
|
color: var(--studio-wordpress-blue-50); |
|
|
} |
|
|
|
|
|
&.replace { |
|
|
color: var(--studio-wordpress-blue-50); |
|
|
} |
|
|
} |
|
|
} |
|
|
&:focus { |
|
|
background-color: var(--studio-wordpress-blue-50); |
|
|
box-shadow: none; |
|
|
svg { |
|
|
fill: #fff; |
|
|
} |
|
|
span { |
|
|
color: var(--studio-wordpress-blue-50); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
fieldset { |
|
|
label { |
|
|
font-size: $font-body; |
|
|
color: var(--studio-gray-60); |
|
|
font-weight: 500; |
|
|
} |
|
|
} |
|
|
|
|
|
&.intro { |
|
|
button.intro__button { |
|
|
border-radius: 4px; |
|
|
background-color: var(--studio-gray-100); |
|
|
transition: ease 300ms; |
|
|
|
|
|
&:hover, |
|
|
&:focus { |
|
|
background-color: var(--studio-gray-70); |
|
|
} |
|
|
|
|
|
&:focus { |
|
|
border: none; |
|
|
outline: solid 2px var(--studio-gray-70); |
|
|
outline-offset: 2px; |
|
|
box-shadow: none; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.free, |
|
|
.free-post-setup, |
|
|
.update-design { |
|
|
.signup-header h1 { |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#notices { |
|
|
top: 0; |
|
|
|
|
|
@media (min-width: 661px) { |
|
|
top: 16px; |
|
|
} |
|
|
|
|
|
.gridicon { |
|
|
fill: currentColor; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.site-migration { |
|
|
.step-container.site-picker { |
|
|
max-width: 1280px; |
|
|
} |
|
|
|
|
|
.step-container.site-picker .step-container__content { |
|
|
max-width: 100%; |
|
|
} |
|
|
} |
|
|
|