|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
body.is-focus-sites { |
|
|
overflow: hidden; |
|
|
} |
|
|
|
|
|
html.command-palette-modal-open { |
|
|
overflow: visible; |
|
|
} |
|
|
body.command-palette-modal-open { |
|
|
overflow: hidden; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.layout__primary .main, |
|
|
.layout__secondary, |
|
|
.layout__secondary .sidebar, |
|
|
.layout__secondary .site-selector { |
|
|
transition: transform 0.15s ease-in-out, opacity 0.15s ease-out; |
|
|
} |
|
|
|
|
|
.layout__header-section-content { |
|
|
box-sizing: border-box; |
|
|
padding: 79px 32px 32px 32px; |
|
|
|
|
|
@include breakpoint-deprecated( "<960px" ) { |
|
|
padding: 71px 24px 24px 24px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.layout__content { |
|
|
@include clear-fix; |
|
|
position: relative; |
|
|
margin: 0; |
|
|
padding: 79px 32px 32px calc(var(--sidebar-width-max) + 32px + 1px); |
|
|
box-sizing: border-box; |
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
.has-no-sidebar & { |
|
|
padding-left: 32px; |
|
|
} |
|
|
|
|
|
|
|
|
.is-section-checkout &, |
|
|
.is-section-checkout.has-no-sidebar & { |
|
|
padding: 0; |
|
|
margin: 0; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.theme-default.is-section-checkout div.is-section-checkout.focus-content & { |
|
|
padding: 0; |
|
|
margin: 0; |
|
|
} |
|
|
|
|
|
|
|
|
.is-section-theme.has-no-sidebar &, |
|
|
.is-section-themes.has-no-sidebar &, |
|
|
.theme-default .layout.is-section-theme.has-no-sidebar &, |
|
|
.theme-default .layout.is-section-themes.has-no-sidebar &, |
|
|
.theme-default .layout.is-section-themes:not(.is-logged-in) & { |
|
|
padding: 0; |
|
|
margin: 0; |
|
|
} |
|
|
|
|
|
.is-section-marketplace.has-no-sidebar & { |
|
|
padding: 0; |
|
|
margin: 0; |
|
|
} |
|
|
|
|
|
.is-section-themes.has-no-sidebar.is-logged-in &, |
|
|
.theme-default .is-section-themes.has-no-sidebar.is-logged-in & { |
|
|
padding: 79px 32px 32px; |
|
|
} |
|
|
|
|
|
.is-section-theme & { |
|
|
.sites.main { |
|
|
padding-top: calc(79px - var(--masterbar-height)); |
|
|
} |
|
|
} |
|
|
|
|
|
.is-logged-in & { |
|
|
|
|
|
|
|
|
.is-section-plugins & { |
|
|
padding: 47px 0 32px calc(var(--sidebar-width-max) + 1px); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@include breakpoint-deprecated( "<960px" ) { |
|
|
padding: 71px 24px 24px calc(var(--sidebar-width-min) + 24px + 1px); |
|
|
|
|
|
.has-no-sidebar & { |
|
|
padding-left: 24px; |
|
|
} |
|
|
|
|
|
.is-section-theme.has-no-sidebar &, |
|
|
.is-section-themes.has-no-sidebar & { |
|
|
padding: 0; |
|
|
margin: 0; |
|
|
} |
|
|
|
|
|
.is-section-themes.has-no-sidebar.is-logged-in & { |
|
|
padding: 47px 0 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@include breakpoint-deprecated( "<660px" ) { |
|
|
margin-left: 0; |
|
|
padding: 0; |
|
|
padding-top: calc(var(--masterbar-height) + 1px); |
|
|
|
|
|
.has-no-sidebar & { |
|
|
padding-left: 0; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.layout__primary .main { |
|
|
|
|
|
box-sizing: border-box; |
|
|
padding-bottom: 88px; |
|
|
@include breakpoint-deprecated( ">1400px" ) { |
|
|
padding-bottom: 0; |
|
|
} |
|
|
} |
|
|
body.is-mobile-app-view { |
|
|
|
|
|
|
|
|
--sidebar-width-max: 0px; |
|
|
--sidebar-width-min: 0px; |
|
|
|
|
|
.layout__secondary { |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.layout__secondary { |
|
|
position: fixed; |
|
|
top: var(--masterbar-height); |
|
|
left: 0; |
|
|
bottom: 0; |
|
|
color: var(--color-sidebar-text); |
|
|
background: var(--color-sidebar-background); |
|
|
width: var(--sidebar-width-max); |
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
z-index: z-index("root", ".layout__secondary"); |
|
|
|
|
|
@include breakpoint-deprecated( "<960px" ) { |
|
|
width: var(--sidebar-width-min); |
|
|
} |
|
|
|
|
|
@include breakpoint-deprecated( "<660px" ) { |
|
|
width: 100%; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.is-section-gutenberg-editor &, |
|
|
|
|
|
|
|
|
.has-no-sidebar & { |
|
|
display: none; |
|
|
} |
|
|
|
|
|
|
|
|
.site__title { |
|
|
color: var(--color-sidebar-text); |
|
|
} |
|
|
|
|
|
.site__domain { |
|
|
color: var(--color-sidebar-text-alternative); |
|
|
} |
|
|
|
|
|
.site__title::after, |
|
|
.site__domain::after { |
|
|
@include long-content-fade( $color: var( --color-sidebar-background ) ); |
|
|
} |
|
|
|
|
|
.site-selector { |
|
|
|
|
|
|
|
|
position: absolute; |
|
|
top: 0; |
|
|
right: 0; |
|
|
bottom: 0; |
|
|
left: 0; |
|
|
pointer-events: none; |
|
|
transform: translateX(calc(-1 * var(--sidebar-width-max))); |
|
|
height: calc(100vh - var(--masterbar-height)); |
|
|
|
|
|
&.is-large .site-selector__sites { |
|
|
border-color: var(--color-sidebar-border); |
|
|
} |
|
|
|
|
|
&__sites { |
|
|
background: var(--color-sidebar-background); |
|
|
} |
|
|
|
|
|
&__add-new-site { |
|
|
border-color: var(--color-sidebar-border); |
|
|
|
|
|
.button { |
|
|
color: var(--color-sidebar-text-alternative); |
|
|
&:hover { |
|
|
color: var(--color-sidebar-text); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
&__recent { |
|
|
border-color: var(--color-sidebar-border); |
|
|
} |
|
|
|
|
|
&__no-results { |
|
|
color: var(--color-sidebar-text-alternative); |
|
|
} |
|
|
|
|
|
&__list-bottom-adornment { |
|
|
color: var(--color-sidebar-text); |
|
|
} |
|
|
|
|
|
.all-sites { |
|
|
border-color: var(--color-sidebar-border); |
|
|
} |
|
|
|
|
|
.site, |
|
|
.all-sites { |
|
|
.site__title, |
|
|
.site__domain { |
|
|
&::after { |
|
|
@include long-content-fade( $color: var( --color-sidebar-background ) ); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
@include breakpoint-deprecated( "<660px" ) { |
|
|
-webkit-overflow-scrolling: touch; |
|
|
transform: translateX(-100%); |
|
|
height: auto; |
|
|
} |
|
|
} |
|
|
|
|
|
.all-sites .count { |
|
|
color: var(--color-sidebar-text); |
|
|
border-color: var(--color-sidebar-text); |
|
|
} |
|
|
|
|
|
.app-promo { |
|
|
box-shadow: 0 0 0 1px var(--color-sidebar-border), 0 1px 2px var(--color-sidebar-border); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.layout.focus-sites, |
|
|
.layout.focus-sidebar { |
|
|
.layout__primary .main { |
|
|
@include breakpoint-deprecated( "<660px" ) { |
|
|
pointer-events: none; |
|
|
overflow: hidden; |
|
|
max-height: calc(100vh - 47px); |
|
|
|
|
|
|
|
|
|
|
|
transform: translateX(100%); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.layout.focus-sites { |
|
|
.layout__secondary .site-selector { |
|
|
pointer-events: auto; |
|
|
transform: translateX(0); |
|
|
} |
|
|
|
|
|
.layout__secondary .sidebar { |
|
|
pointer-events: none; |
|
|
transform: translateX(var(--sidebar-width-max)); |
|
|
|
|
|
@include breakpoint-deprecated( "<660px" ) { |
|
|
transform: translateX(100%); |
|
|
} |
|
|
} |
|
|
|
|
|
.layout__primary .main { |
|
|
@include breakpoint-deprecated( ">660px" ) { |
|
|
pointer-events: none; |
|
|
opacity: 0.25; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.layout.focus-content .layout__secondary { |
|
|
@media only screen and (max-width: 781px) { |
|
|
transform: translateX(-100%); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.layout.is-section-checkout { |
|
|
@include breakpoint-deprecated( "<660px" ) { |
|
|
.layout__content { |
|
|
display: flex; |
|
|
flex-flow: column; |
|
|
} |
|
|
.layout__primary { |
|
|
order: 1; |
|
|
} |
|
|
.layout__secondary { |
|
|
order: 2; |
|
|
position: relative; |
|
|
transform: none; |
|
|
top: 10px; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.layout { |
|
|
.global-notices { |
|
|
padding: 8px; |
|
|
|
|
|
|
|
|
@include breakpoint-deprecated( ">660px" ) { |
|
|
padding: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.masterbar, |
|
|
.layout__secondary { |
|
|
@media print { |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
|
|
|
.layout__content { |
|
|
@media print { |
|
|
padding: 0; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.layout.has-no-masterbar.is-group-me, |
|
|
.layout.has-no-masterbar.is-group-sites, |
|
|
.layout.has-no-masterbar.is-section-reader { |
|
|
|
|
|
|
|
|
--masterbar-height: 0px; |
|
|
|
|
|
.layout__content { |
|
|
padding-top: 32px; |
|
|
} |
|
|
&.has-no-sidebar .layout__content { |
|
|
padding-top: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.theme-default.is-contrast { |
|
|
.layout__secondary { |
|
|
outline: 1px solid var(--color-sidebar-border); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.layout.is-section-reader { |
|
|
min-height: 100vh; |
|
|
|
|
|
&.has-header-section { |
|
|
background: var(--studio-white); |
|
|
} |
|
|
.section-header.card { |
|
|
box-shadow: none; |
|
|
margin-bottom: 24px; |
|
|
padding: 0; |
|
|
|
|
|
.section-header__label-text { |
|
|
font-size: 1.25rem; |
|
|
font-weight: 500; |
|
|
line-height: 26px; |
|
|
} |
|
|
|
|
|
@include breakpoint-deprecated( "<660px" ) { |
|
|
margin: 0 16px; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.layout.is-domain-for-gravatar { |
|
|
* { |
|
|
font-family: |
|
|
'SF Pro Text', |
|
|
-apple-system, |
|
|
BlinkMacSystemFont, |
|
|
'Segoe UI', |
|
|
Roboto, |
|
|
Oxygen-Sans, |
|
|
Ubuntu, |
|
|
Cantarell, |
|
|
'Helvetica Neue', |
|
|
sans-serif !important; |
|
|
} |
|
|
|
|
|
.masterbar__secure-checkout { |
|
|
column-gap: 8px; |
|
|
} |
|
|
|
|
|
.gravatar-text-logo { |
|
|
width: 119px; |
|
|
height: 22px; |
|
|
} |
|
|
|
|
|
h1.formatted-header__title, |
|
|
.checkout-title, |
|
|
h1.thank-you__header-title { |
|
|
font-family: |
|
|
'SF Pro Display', |
|
|
-apple-system, |
|
|
BlinkMacSystemFont, |
|
|
'Segoe UI', |
|
|
Roboto, |
|
|
Oxygen-Sans, |
|
|
Ubuntu, |
|
|
Cantarell, |
|
|
'Helvetica Neue', |
|
|
sans-serif !important; |
|
|
} |
|
|
|
|
|
h1.formatted-header__title, |
|
|
h1.thank-you__header-title { |
|
|
font-weight: 700 !important; |
|
|
} |
|
|
|
|
|
.domain-suggestion__action.is-primary:not( :disabled ), |
|
|
.checkout-modal__button.is-status-primary, |
|
|
.thank-you__product-actions .components-button.is-primary:not( :disabled ) { |
|
|
background-color: #1d4fc4; |
|
|
border-color: #1d4fc4; |
|
|
|
|
|
&:hover, |
|
|
&:focus { |
|
|
background-color: #002e9b; |
|
|
border-color: #002e9b; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&.is-section-signup { |
|
|
.gravatar-text-logo { |
|
|
position: absolute; |
|
|
top: 20px; |
|
|
left: 24px; |
|
|
width: 130px; |
|
|
height: 24px; |
|
|
} |
|
|
} |
|
|
|
|
|
&.is-section-checkout, |
|
|
&.is-section-checkout-pending { |
|
|
.gravatar-text-logo { |
|
|
margin-bottom: 3px; |
|
|
} |
|
|
} |
|
|
|
|
|
&.is-section-checkout { |
|
|
.cost-overrides-list-item__reason--is-discount { |
|
|
color: #1d4fc4;; |
|
|
} |
|
|
|
|
|
.checkout-payment-methods .is-checked:not( .has-highlight ) { |
|
|
border: #c3c4c7 1px solid; |
|
|
} |
|
|
} |
|
|
|
|
|
&.is-section-checkout-pending { |
|
|
.gravatar-text-logo { |
|
|
margin-left: 19.5px; |
|
|
} |
|
|
} |
|
|
|
|
|
&.is-section-checkout-thank-you { |
|
|
.gravatar-text-logo { |
|
|
margin-left: 24px; |
|
|
align-self: center; |
|
|
} |
|
|
} |
|
|
} |
|
|
|