woocommerce/plugins/woocommerce-admin/client/dashboard/profile-wizard/style.scss

233 lines
3.7 KiB
SCSS
Raw Normal View History

/** @format */
.woocommerce-profile-wizard__body {
background: $muriel-gray-0;
color: $muriel-gray-600;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
'Helvetica Neue', sans-serif;
#wpbody-content {
min-height: 100vh;
}
.woocommerce-profile-wizard__container a {
color: $muriel-gray-600;
}
.woocommerce-card {
h1,
h2,
h3 {
color: $muriel-gray-800;
}
color: $muriel-gray-600;
text-align: left;
button {
display: flex;
margin: 0 auto;
}
}
.woocommerce-stepper .woocommerce-stepper__step {
.woocommerce-stepper__step-label {
color: $muriel-gray-800;
}
&.is-active,
&.is-complete {
.woocommerce-stepper__step-icon {
background: $muriel-gray-900;
color: $muriel-white;
}
.woocommerce-stepper__step-label {
color: $muriel-gray-900;
}
}
.woocommerce-spinner__circle {
stroke: $muriel-gray-900;
}
}
.woocommerce-profile-wizard__header {
height: 56px;
border-bottom: 1px solid $muriel-gray-50;
display: flex;
align-items: center;
justify-content: center;
background: $muriel-white;
svg > g {
transform: translateX(25%);
}
.woocommerce-profile-wizard__plus {
stroke: $muriel-gray-800;
}
}
.woocommerce-profile-wizard__header-title {
color: $muriel-gray-800;
font-size: 24px;
line-height: 32px;
font-weight: 400;
}
.woocommerce-profile-wizard__container {
margin-top: $gap-larger;
margin-left: auto;
margin-right: auto;
max-width: 476px;
@include breakpoint( '<782px' ) {
padding-left: $gap;
padding-right: $gap;
}
p,
div {
font-size: 16px;
line-height: 24px;
font-weight: 400;
}
.woocommerce-card ~ p {
font-size: 14px;
}
}
#woocommerce-layout__primary {
text-align: center;
margin: 0;
width: 100%;
}
.woocommerce-layout .woocommerce-layout__main {
padding-right: 0;
}
/* Muriel style overrides */
.muriel-input-text {
&.empty {
.components-base-control__label {
display: none;
}
input {
top: 15px;
}
}
input[type='text']:focus {
box-shadow: none;
border: 0;
}
}
.muriel-input-text label,
.muriel-select label {
display: initial;
width: auto;
right: auto;
left: $gap;
}
.muriel-select select {
left: 15px;
}
.muriel-select.empty label {
top: 15px;
}
.muriel-select::after {
margin-top: -$gap-smallest;
}
.muriel-input-text.active,
.muriel-select.active {
border: 2px solid $muriel-hot-purple-600;
input,
select {
top: 25px;
}
}
.muriel-checkbox input[type='checkbox'] {
width: 18px;
height: 18px;
}
.muriel-checkbox input[type='checkbox']:checked::before {
font-size: 18px;
margin-left: -3px;
margin-top: -1px;
}
.muriel-button.is-button {
height: 48px;
}
/* Hide wp-admin and WooCommerce elements when viewing the profile wizard */
#adminmenumain,
#wpadminbar,
.woocommerce-layout__header,
.update-nag,
.woocommerce-store-alerts,
.woocommerce-message,
.notice,
.error,
.updated {
display: none;
}
#wpcontent {
margin-left: 0;
}
#wpbody {
padding-top: 0;
}
}
.woocommerce-profile-wizard__plugins-card {
.woocommerce-stepper {
box-shadow: none;
}
.woocommerce-profile-wizard__plugins-actions {
text-align: left;
margin-left: 64px;
min-height: 28px;
button {
display: initial;
}
}
}
.woocommerce-profile-wizard__header.is-stepper {
svg > g {
transform: initial;
}
@include breakpoint( '<782px' ) {
position: absolute;
width: 100%;
bottom: 0;
border-top: 1px solid $muriel-gray-50;
border-bottom: none;
}
.woocommerce-stepper {
margin: 0 $gap 0 $gap;
background: transparent;
box-shadow: none;
margin-bottom: 0;
width: 100%;
}
}