woocommerce/assets/css/wc-setup.scss

1627 lines
24 KiB
SCSS
Raw Normal View History

/* stylelint-disable no-descending-specificity */
body {
margin: 65px auto 24px;
box-shadow: none;
background: #f1f1f1;
padding: 0;
}
2019-11-21 17:23:05 +00:00
.wc-logo {
border: 0;
margin: 0 0 24px;
padding: 0;
text-align: center;
img {
2018-04-17 23:01:19 +00:00
max-width: 30%;
}
}
2018-03-02 16:44:39 +00:00
.wc-setup {
text-align: center;
2019-09-24 18:26:21 +00:00
#wc_tracker_checkbox {
display: none;
}
.select2-container {
2018-04-17 23:01:19 +00:00
text-align: left;
2019-04-26 11:37:46 +00:00
width: auto;
}
2018-03-27 18:32:04 +00:00
.hidden {
2018-04-17 23:01:19 +00:00
display: none;
2018-03-27 18:32:04 +00:00
}
#tiptip_content {
background: #5f6973;
}
#tiptip_holder.tip_top #tiptip_arrow_inner {
border-top-color: #5f6973;
}
2018-03-02 16:44:39 +00:00
}
2015-04-28 11:48:01 +00:00
.wc-setup-content {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
2017-09-21 21:40:30 +00:00
padding: 2em;
2017-05-16 14:36:56 +00:00
margin: 0 0 20px;
background: #fff;
overflow: hidden;
2015-04-17 13:56:34 +00:00
zoom: 1;
2018-03-02 16:44:39 +00:00
text-align: left;
h1,
h2,
h3,
table {
2018-04-17 23:01:19 +00:00
margin: 0 0 20px;
border: 0;
padding: 0;
color: #666;
clear: none;
font-weight: 500;
}
p {
2018-04-17 23:01:19 +00:00
margin: 20px 0;
font-size: 1em;
line-height: 1.75;
2018-04-17 23:01:19 +00:00
color: #666;
2015-04-20 15:31:54 +00:00
}
2015-04-20 15:31:54 +00:00
table {
2018-04-17 23:01:19 +00:00
font-size: 1em;
line-height: 1.75;
2018-04-17 23:01:19 +00:00
color: #666;
2015-04-20 15:31:54 +00:00
}
2015-04-20 15:31:54 +00:00
a {
2018-04-17 23:01:19 +00:00
color: #a16696;
&:hover,
&:focus {
2018-04-17 23:01:19 +00:00
color: #111;
}
}
.form-table {
2018-04-17 23:01:19 +00:00
th {
width: 35%;
vertical-align: top;
font-weight: 400;
2018-04-17 23:01:19 +00:00
}
2018-04-17 23:01:19 +00:00
td {
vertical-align: top;
select,
input {
2018-04-17 23:01:19 +00:00
width: 100%;
box-sizing: border-box;
}
2018-04-17 23:01:19 +00:00
input[size] {
width: auto;
}
2018-04-17 23:01:19 +00:00
.description {
line-height: 1.5;
2018-04-17 23:01:19 +00:00
display: block;
margin-top: 0.25em;
color: #999;
font-style: italic;
}
.input-checkbox,
.input-radio {
2018-04-17 23:01:19 +00:00
width: auto;
box-sizing: inherit;
padding: inherit;
margin: 0 0.5em 0 0;
box-shadow: none;
}
}
2018-04-17 23:01:19 +00:00
.section_title {
2018-04-17 23:01:19 +00:00
td {
padding: 0;
h2,
p {
2018-04-17 23:01:19 +00:00
margin: 12px 0 0;
}
}
}
th,
td {
2018-04-17 23:01:19 +00:00
padding: 12px 0;
margin: 0;
border: 0;
2018-04-17 23:01:19 +00:00
&:first-child {
padding-right: 1em;
}
}
2016-03-31 16:17:11 +00:00
}
2016-03-31 16:17:11 +00:00
table.tax-rates {
2018-04-17 23:01:19 +00:00
width: 100%;
font-size: 0.92em;
2018-04-17 23:01:19 +00:00
th {
padding: 0;
text-align: center;
width: auto;
vertical-align: middle;
}
2018-04-17 23:01:19 +00:00
td {
border: 1px solid #f5f5f5;
padding: 6px;
text-align: center;
vertical-align: middle;
2018-04-17 23:01:19 +00:00
input {
outline: 0;
border: 0;
padding: 0;
box-shadow: none;
text-align: center;
width: 100%;
}
2018-04-17 23:01:19 +00:00
&.sort {
cursor: move;
color: #ccc;
2018-04-17 23:01:19 +00:00
&::before {
content: "\f333";
font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
2018-04-17 23:01:19 +00:00
}
}
2018-04-17 23:01:19 +00:00
&.readonly {
background: #f5f5f5;
}
}
2018-04-17 23:01:19 +00:00
.add {
padding: 1em 0 0 1em;
line-height: 1;
2018-04-17 23:01:19 +00:00
font-size: 1em;
width: 0;
margin: 6px 0 0;
height: 0;
overflow: hidden;
position: relative;
display: inline-block;
2018-04-17 23:01:19 +00:00
&::before {
content: "\f502";
font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
2018-04-17 23:01:19 +00:00
position: absolute;
left: 0;
top: 0;
}
}
2018-04-17 23:01:19 +00:00
.remove {
padding: 1em 0 0 1em;
line-height: 1;
2018-04-17 23:01:19 +00:00
font-size: 1em;
width: 0;
margin: 0;
height: 0;
overflow: hidden;
position: relative;
display: inline-block;
2018-04-17 23:01:19 +00:00
&::before {
content: "\f182";
font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
2018-04-17 23:01:19 +00:00
position: absolute;
left: 0;
top: 0;
}
}
}
2015-04-28 11:48:01 +00:00
.wc-setup-pages {
2018-04-17 23:01:19 +00:00
width: 100%;
border-top: 1px solid #eee;
2018-04-17 23:01:19 +00:00
thead th {
display: none;
}
2018-04-17 23:01:19 +00:00
.page-name {
width: 30%;
font-weight: 700;
2018-04-17 23:01:19 +00:00
}
th,
td {
2018-04-17 23:01:19 +00:00
padding: 14px 0;
border-bottom: 1px solid #eee;
2018-04-17 23:01:19 +00:00
&:first-child {
padding-right: 9px;
}
}
2018-04-17 23:01:19 +00:00
th {
padding-top: 0;
}
2018-04-17 23:01:19 +00:00
.page-options {
2018-04-17 23:01:19 +00:00
p {
color: #777;
margin: 6px 0 0 24px;
line-height: 1.75;
2018-04-17 23:01:19 +00:00
input {
vertical-align: middle;
margin: 1px 0 0;
height: 1.75em;
width: 1.75em;
line-height: 1.75;
2018-04-17 23:01:19 +00:00
}
2018-04-17 23:01:19 +00:00
label {
line-height: 1;
}
}
}
}
@media screen and (max-width: 782px) {
2018-04-17 23:01:19 +00:00
.form-table {
2018-04-17 23:01:19 +00:00
tbody {
2018-04-17 23:01:19 +00:00
th {
width: auto;
}
}
}
}
2015-04-28 11:48:01 +00:00
.twitter-share-button {
2018-04-17 23:01:19 +00:00
float: right;
2015-04-28 11:48:01 +00:00
}
2015-04-28 11:48:01 +00:00
.wc-setup-next-steps {
2018-04-17 23:01:19 +00:00
overflow: hidden;
margin: 0 0 24px;
padding-bottom: 2px;
2018-04-17 23:01:19 +00:00
h2 {
margin-bottom: 12px;
}
2018-04-17 23:01:19 +00:00
.wc-setup-next-steps-first {
float: left;
width: 50%;
box-sizing: border-box;
}
2018-04-17 23:01:19 +00:00
.wc-setup-next-steps-last {
float: right;
width: 50%;
box-sizing: border-box;
}
2018-04-17 23:01:19 +00:00
ul {
padding: 0 2em 0 0;
list-style: none outside;
margin: 0;
2018-04-17 23:01:19 +00:00
li a {
display: block;
padding: 0 0 0.75em;
}
2018-04-17 23:01:19 +00:00
.setup-product {
2018-04-17 23:01:19 +00:00
a.button {
background-color: #f7f7f7;
border-color: #ccc;
color: #23282d;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #ccc;
text-shadow: 1px 0 1px #eee, 0 1px 1px #eee;
font-size: 1em;
height: auto;
line-height: 1.75;
2018-04-17 23:01:19 +00:00
margin: 0 0 0.75em;
opacity: 1;
padding: 1em;
text-align: center;
&:hover,
&:focus,
&:active {
2018-04-17 23:01:19 +00:00
background: #f5f5f5;
border-color: #aaa;
}
}
2018-04-17 23:01:19 +00:00
a.button-primary {
color: #fff;
background-color: #bb77ae;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
&:hover,
&:focus,
&:active {
2018-04-17 23:01:19 +00:00
color: #fff;
background: #a36597;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
}
}
}
2018-04-17 23:01:19 +00:00
li a::before {
color: #82878c;
font: 400 20px/1 dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
2018-04-17 23:01:19 +00:00
speak: none;
display: inline-block;
padding: 0 10px 0 0;
top: 1px;
position: relative;
text-decoration: none !important;
vertical-align: top;
}
2018-04-17 23:01:19 +00:00
.learn-more a::before {
content: "\f105";
2018-04-17 23:01:19 +00:00
}
2018-04-17 23:01:19 +00:00
.video-walkthrough a::before {
content: "\f126";
2018-04-17 23:01:19 +00:00
}
2018-04-17 23:01:19 +00:00
.newsletter a::before {
content: "\f465";
2018-04-17 23:01:19 +00:00
}
}
2015-04-28 11:48:01 +00:00
}
2017-08-08 17:00:47 +00:00
.woocommerce-newsletter,
.updated {
2018-04-17 23:01:19 +00:00
padding: 24px 24px 0;
margin: 0 0 24px;
overflow: hidden;
background: #f5f5f5;
2018-04-17 23:01:19 +00:00
p {
padding: 0;
margin: 0 0 12px;
}
2018-04-17 23:01:19 +00:00
form,
p:last-child {
margin: 0 0 24px;
}
2017-08-08 17:00:47 +00:00
}
.checkbox {
input[type="checkbox"] {
opacity: 0;
position: absolute;
left: -9999px;
}
label {
position: relative;
display: inline-block;
padding-left: 28px;
&::before,
&::after {
2018-04-17 23:01:19 +00:00
position: absolute;
content: "";
display: inline-block;
2018-04-17 23:01:19 +00:00
}
&::before {
height: 16px;
width: 16px;
left: 0;
top: 3px;
border: 1px solid #aaa;
background-color: #fff;
border-radius: 3px;
2018-04-17 23:01:19 +00:00
}
&::after {
height: 5px;
width: 9px;
border-left: 2px solid;
border-bottom: 2px solid;
transform: rotate(-45deg);
left: 4px;
top: 7px;
color: #fff;
2018-04-17 23:01:19 +00:00
}
}
input[type="checkbox"] + label::after {
content: none;
}
input[type="checkbox"]:checked + label::after {
content: "";
}
input[type="checkbox"]:focus + label::before {
outline: rgb(59, 153, 252) auto 5px;
}
input[type="checkbox"]:checked + label::before {
background: #935687;
border-color: #935687;
}
2015-04-28 11:48:01 +00:00
}
}
2019-09-24 18:26:21 +00:00
.woocommerce-tracker {
margin: 24px 0;
border: 1px solid #eee;
padding: 20px;
border-radius: 4px;
overflow: hidden;
text-align: left;
h1 {
border-bottom: 0;
padding-bottom: 0;
}
.wc-backbone-modal-header {
border-bottom: 0;
}
.wc-backbone-modal-main article {
padding-top: 0;
}
.wc-backbone-modal-main footer {
border-top: 0;
box-shadow: none;
}
p {
font-size: 14px;
line-height: 1.5;
}
.woocommerce-tracker-checkbox label {
margin-top: -4px;
display: inline-block;
}
}
2015-04-28 11:48:01 +00:00
.wc-setup-steps {
padding: 0 0 24px;
margin: 0;
list-style: none outside;
overflow: hidden;
color: #ccc;
width: 100%;
display: inline-flex;
li {
2018-04-17 23:01:19 +00:00
width: 100%;
float: left;
padding: 0 0 0.8em;
margin: 0;
text-align: center;
position: relative;
border-bottom: 4px solid #ccc;
line-height: 1.4;
2018-04-17 23:01:19 +00:00
a {
color: #a16696;
text-decoration: none;
padding: 1.5em;
margin: -1.5em;
position: relative;
z-index: 1;
&:hover,
&:focus {
2018-04-17 23:01:19 +00:00
color: #111;
text-decoration: underline;
}
}
}
li::before {
content: "";
2018-04-17 23:01:19 +00:00
border: 4px solid #ccc;
border-radius: 100%;
width: 4px;
height: 4px;
position: absolute;
bottom: 0;
left: 50%;
margin-left: -6px;
margin-bottom: -8px;
background: #fff;
}
li.active {
2018-04-17 23:01:19 +00:00
border-color: #a16696;
color: #a16696;
font-weight: 700;
2018-04-17 23:01:19 +00:00
&::before {
border-color: #a16696;
}
}
li.done {
2018-04-17 23:01:19 +00:00
border-color: #a16696;
color: #a16696;
2018-04-17 23:01:19 +00:00
&::before {
border-color: #a16696;
background: #a16696;
}
}
}
2015-04-28 11:48:01 +00:00
.wc-setup .wc-setup-actions {
overflow: hidden;
margin: 20px 0 0;
2018-03-05 21:59:32 +00:00
position: relative;
2019-09-24 18:26:21 +00:00
}
.wc-setup .wc-setup-actions .button-primary,
.woocommerce-tracker .button-primary {
background-color: #bb77ae;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
margin: 0;
opacity: 1;
2019-09-24 18:26:21 +00:00
&:hover,
&:focus,
&:active {
background: #a36597;
2018-04-17 23:01:19 +00:00
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
}
2015-06-09 14:54:46 +00:00
}
.wc-setup-content p:last-child {
margin-bottom: 0;
}
2017-10-01 08:51:09 +00:00
.wc-setup-content p.store-setup {
margin-top: 0;
}
.wc-setup-footer-links {
2015-06-09 14:54:46 +00:00
font-size: 0.85em;
color: #7b7b7b;
2018-03-02 16:44:39 +00:00
margin: 1.18em auto;
display: inline-block;
2015-06-09 14:54:46 +00:00
text-align: center;
2015-08-20 15:03:29 +00:00
}
.wc-wizard-storefront {
.wc-wizard-storefront-intro {
2018-04-17 23:01:19 +00:00
padding: 40px 40px 0;
background: #f5f5f5;
2018-04-17 23:01:19 +00:00
text-align: center;
2018-04-17 23:01:19 +00:00
img {
margin: 40px 0 0 0;
width: 100%;
display: block;
}
}
.wc-wizard-storefront-features {
2018-04-17 23:01:19 +00:00
list-style: none outside;
margin: 0 0 20px;
padding: 0 0 0 30px;
overflow: hidden;
}
.wc-wizard-storefront-feature {
2018-04-17 23:01:19 +00:00
margin: 0;
padding: 20px 30px 20px 2em;
width: 50%;
box-sizing: border-box;
&::before {
margin-left: -2em;
position: absolute;
}
2018-04-17 23:01:19 +00:00
&.first {
clear: both;
float: left;
}
2018-04-17 23:01:19 +00:00
&.last {
float: right;
}
}
.wc-wizard-storefront-feature__bulletproof::before {
content: "🔒";
}
.wc-wizard-storefront-feature__mobile::before {
content: "📱";
}
.wc-wizard-storefront-feature__accessibility::before {
content: "👓";
}
.wc-wizard-storefront-feature__search::before {
content: "🔍";
}
.wc-wizard-storefront-feature__compatibility::before {
content: "🔧";
}
.wc-wizard-storefront-feature__extendable::before {
content: "🎨";
}
}
// List of services
.wc-wizard-services {
border: 1px solid #eee;
padding: 0;
margin: 0 0 1em;
list-style: none outside;
border-radius: 4px;
2017-11-11 05:15:10 +00:00
overflow: hidden; // Make sure dark background doesn't cover curved border
p {
2018-04-17 23:01:19 +00:00
margin: 0 0 1em 0;
padding: 0;
font-size: 1em;
line-height: 1.5;
}
}
.wc-wizard-service-item,
.wc-wizard-services-list-toggle {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
2017-11-11 05:15:10 +00:00
padding: 0;
2017-09-20 19:47:19 +00:00
border-bottom: 1px solid #eee;
color: #666;
align-items: center;
2017-09-20 19:47:19 +00:00
&:last-child {
2018-04-17 23:01:19 +00:00
border-bottom: 0;
}
.payment-gateway-fee {
2018-04-17 23:01:19 +00:00
color: #a6a6a6;
}
.wc-wizard-service-name {
2018-04-17 23:01:19 +00:00
flex-basis: 0;
min-width: 160px;
text-align: center;
font-weight: 700;
2018-04-17 23:01:19 +00:00
padding: 2em 0;
align-self: stretch;
display: flex;
align-items: baseline;
2018-04-17 23:01:19 +00:00
.wc-wizard-payment-gateway-form & {
justify-content: center;
}
2018-04-17 23:01:19 +00:00
img {
max-width: 75px;
}
}
&.stripe-logo .wc-wizard-service-name img {
2018-04-17 23:01:19 +00:00
padding: 8px 0;
}
&.paypal-logo .wc-wizard-service-name img {
2018-04-17 23:01:19 +00:00
max-width: 87px;
padding: 2px 0;
}
&.klarna-logo .wc-wizard-service-name img {
max-width: 87px;
padding: 12px 0;
}
&.square-logo .wc-wizard-service-name img {
max-width: 95px;
padding: 12px 0;
2017-11-22 14:09:44 +00:00
}
2018-04-17 22:04:50 +00:00
&.eway-logo .wc-wizard-service-name img {
max-width: 87px;
}
&.payfast-logo .wc-wizard-service-name img {
max-width: 140px;
}
.wc-wizard-service-description {
2018-04-17 23:01:19 +00:00
flex-grow: 1;
padding: 20px;
2018-04-17 23:01:19 +00:00
p {
margin-bottom: 1em;
}
2018-01-12 12:29:22 +00:00
2018-04-17 23:01:19 +00:00
p:last-child {
margin-bottom: 0;
}
2018-04-17 23:01:19 +00:00
.wc-wizard-service-settings-description {
display: block;
font-style: italic;
color: #999;
}
}
2017-05-31 11:00:10 +00:00
.wc-wizard-service-enable {
2018-04-17 23:12:53 +00:00
flex-basis: 0;
min-width: 75px;
text-align: center;
cursor: pointer;
padding: 2em 0;
position: relative;
max-height: 1.5em;
align-self: flex-start;
2019-03-05 14:23:17 +00:00
order: 3;
}
.wc-wizard-service-toggle {
2018-04-17 23:12:53 +00:00
height: 16px;
width: 32px;
border: 2px solid #935687;
background-color: #935687;
display: inline-block;
text-indent: -9999px;
border-radius: 10em;
position: relative;
input[type="checkbox"] {
2018-04-17 23:12:53 +00:00
display: none;
}
&::before {
2018-04-17 23:12:53 +00:00
content: "";
display: block;
width: 16px;
height: 16px;
background: #fff;
position: absolute;
top: 0;
right: 0;
border-radius: 100%;
}
&.disabled {
border-color: #999;
background-color: #999;
&::before {
2018-04-17 23:12:53 +00:00
right: auto;
left: 0;
}
}
}
.wc-wizard-service-settings {
2018-04-17 23:12:53 +00:00
display: none;
margin-top: 0.75em;
2018-04-17 23:12:53 +00:00
margin-bottom: 0;
cursor: default;
2018-04-17 23:12:53 +00:00
&.hide {
display: none;
}
}
&.checked {
2018-04-17 23:12:53 +00:00
.wc-wizard-service-settings {
display: inline-block;
2018-04-17 23:12:53 +00:00
&.hide {
display: none;
}
}
}
&.closed {
2018-04-17 23:12:53 +00:00
border-bottom: 0;
}
}
// Toggle display a list of services.
.wc-wizard-services-list-toggle {
2018-02-20 01:03:32 +00:00
cursor: pointer;
.wc-wizard-service-enable::before {
2018-04-17 23:01:19 +00:00
content: "\f343"; // up chevron
font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
2018-04-17 23:01:19 +00:00
color: #666;
font-size: 25px;
margin-top: -7px;
margin-left: -5px;
position: absolute;
visibility: visible;
}
&.closed {
2018-04-17 23:01:19 +00:00
.wc-wizard-service-enable::before {
content: "\f347"; // down chevron
}
}
.wc-wizard-service-enable input {
2018-04-17 23:01:19 +00:00
visibility: hidden;
position: relative;
}
}
.wc-wizard-services.manual .wc-wizard-service-item {
display: none;
}
2017-09-20 19:47:19 +00:00
// Shipping list of services
2017-09-20 19:47:19 +00:00
.wc-wizard-services.shipping {
margin: 0;
2017-09-20 19:47:19 +00:00
.wc-wizard-service-name {
font-weight: 400;
2018-04-17 23:01:19 +00:00
text-align: left;
align-items: center;
max-height: 5em;
padding: 0;
2017-09-20 19:47:19 +00:00
}
// List header
.wc-wizard-service-item {
2018-04-17 23:01:19 +00:00
padding-left: 2em;
padding-top: 0.67em;
2017-09-20 19:47:19 +00:00
2018-04-17 23:01:19 +00:00
&:first-child {
border-bottom: 0;
padding-bottom: 0;
font-weight: 700;
2017-09-20 19:47:19 +00:00
2018-04-17 23:01:19 +00:00
.wc-wizard-service-name {
font-weight: 700;
}
}
2017-09-20 19:47:19 +00:00
}
.wc-wizard-shipping-method-select,
.shipping-method-setting {
2018-04-17 23:01:19 +00:00
display: flex;
2018-04-17 23:01:19 +00:00
&.hide {
display: none;
}
}
.wc-wizard-shipping-method-dropdown,
.shipping-method-setting input {
2018-04-17 23:01:19 +00:00
margin-right: 2em;
margin-bottom: 1em;
2018-04-17 23:01:19 +00:00
.select2 {
min-width: 130px;
}
}
.wc-wizard-service-description {
2018-04-17 23:01:19 +00:00
display: flex;
flex-direction: column;
color: #a6a6a6;
}
.wc-wizard-service-item:not(:first-child) .wc-wizard-service-description {
2018-04-17 23:01:19 +00:00
font-size: 0.92em;
padding-bottom: 10px;
}
.shipping-method-setting {
2018-04-17 23:01:19 +00:00
input {
width: 95px; // match dropdown height
border: 1px solid #aaa;
border-color: #ddd;
border-radius: 4px;
height: 28px;
padding-left: 8px;
padding-right: 24px;
font-size: 14px;
color: #444;
background-color: #fff;
display: inline-block;
}
}
.shipping-method-description,
.shipping-method-setting .description {
2018-04-17 23:01:19 +00:00
color: #7e7e7e;
font-size: 0.9em;
}
.shipping-method-setting input::placeholder {
2018-04-17 23:01:19 +00:00
color: #e1e1e1;
}
}
.wc-setup-shipping-units {
p {
line-height: 1.5;
2018-04-17 23:01:19 +00:00
font-size: 13px;
margin-bottom: 0.25em;
text-align: center;
}
.wc-setup-shipping-unit {
2018-04-17 23:01:19 +00:00
margin-bottom: 1.75em;
2018-04-17 23:01:19 +00:00
.select2 {
min-width: 125px; // widen dropdowns
top: -5px; // vertically align dropdown value with surrounding text
2018-04-17 23:01:19 +00:00
}
}
}
.hide {
display: none;
2017-09-20 19:47:19 +00:00
}
.wc-wizard-features {
display: flex;
flex-wrap: wrap;
list-style: none;
padding: 0;
.wc-wizard-feature-item {
flex-basis: calc(50% - 4em - 3px); // two columns, account for padding and borders
2018-04-17 23:01:19 +00:00
border: 1px solid #eee;
padding: 2em;
}
.wc-wizard-feature-item:nth-child(1) {
2018-04-17 23:01:19 +00:00
border-radius: 4px 0 0 0;
}
.wc-wizard-feature-item:nth-child(2) {
2018-04-17 23:01:19 +00:00
border-left: 0;
border-radius: 0 4px 0 0;
}
.wc-wizard-feature-item:nth-child(3) {
2018-04-17 23:01:19 +00:00
border-top: 0;
border-radius: 0 0 0 4px;
}
.wc-wizard-feature-item:nth-child(4) {
2018-04-17 23:01:19 +00:00
border-top: 0;
border-left: 0;
border-radius: 0 0 4px 0;
}
p.wc-wizard-feature-name,
p.wc-wizard-feature-description {
2018-04-17 23:01:19 +00:00
margin: 0;
line-height: 1.5;
}
}
h3.jetpack-reasons {
text-align: center;
margin: 3em 0 1em 0;
font-size: 14px;
}
2017-09-21 21:39:47 +00:00
.jetpack-logo,
.wcs-notice {
2017-09-21 21:39:47 +00:00
display: block;
margin: 1.75em auto 2em auto;
max-height: 175px;
}
2018-02-16 23:07:04 +00:00
.activate-splash {
2018-02-16 23:07:04 +00:00
.jetpack-logo {
2018-04-17 23:01:19 +00:00
width: 170px;
margin-bottom: 0;
2018-02-16 23:07:04 +00:00
}
2018-02-16 23:07:04 +00:00
.wcs-notice {
2018-04-17 23:01:19 +00:00
margin-top: 1em;
padding-left: 57px;
2018-02-16 23:07:04 +00:00
}
}
2017-09-21 21:40:17 +00:00
2019-11-21 17:23:05 +00:00
.wc-setup-step__new_onboarding {
2019-11-21 17:23:05 +00:00
.wc-logo,
.wc-setup-steps {
display: none;
}
2019-11-21 17:23:05 +00:00
.wc-setup-step__new_onboarding-wrapper {
.wc-logo {
display: block;
}
p {
text-align: center;
}
.wc-setup-step__new_onboarding-welcome,
.wc-setup-step__new_onboarding-plugin-info {
color: #7c7c7c;
font-size: 12px;
}
}
}
2017-09-21 21:40:17 +00:00
.step {
text-align: center;
}
2017-09-25 21:42:08 +00:00
.wc-setup .wc-setup-actions .button {
2017-09-21 21:40:17 +00:00
font-weight: 300;
font-size: 16px;
padding: 1em 2em;
2017-09-21 21:40:17 +00:00
box-shadow: none;
min-width: 12em;
margin-top: 10px;
line-height: 1;
margin-right: 0.5em;
margin-bottom: 2px;
height: auto;
border-radius: 4px;
2017-09-21 21:40:17 +00:00
&:focus,
&:hover,
&:active {
2018-04-17 23:01:19 +00:00
box-shadow: none;
2017-09-21 21:40:17 +00:00
}
}
2017-09-22 21:56:35 +00:00
.wc-setup .wc-setup-actions .plugin-install-info {
display: block;
font-style: italic;
color: #999;
font-size: 14px;
line-height: 1.5;
margin: 5px 0;
& > * {
display: block;
}
2019-02-19 11:22:13 +00:00
.plugin-install-info-list-item::after {
content: ", ";
}
.plugin-install-info-list-item:last-of-type::after {
content: ". ";
}
a {
white-space: nowrap;
&:not(:hover):not(:focus) {
color: inherit;
}
}
}
.plugin-install-source {
$background: rgba(#bb77ae, 0.15);
2018-05-03 09:43:32 +00:00
background: $background;
&:not(.wc-wizard-service-item) {
box-shadow: 0 0 0 10px $background;
}
}
2017-09-22 21:56:35 +00:00
.location-prompt {
color: #666;
font-size: 13px;
font-weight: 500;
2017-09-22 21:56:35 +00:00
margin-bottom: 0.5em;
margin-top: 0.85em;
display: inline-block;
2017-09-22 21:56:35 +00:00
}
.location-input {
border: 1px solid #aaa;
border-color: #ddd;
border-radius: 4px;
height: 30px;
width: calc(100% - 8px - 8px - 2px);
2017-09-22 21:56:35 +00:00
padding-left: 8px;
padding-right: 8px;
2017-09-22 21:56:35 +00:00
font-size: 16px;
color: #444;
background-color: #fff;
2019-09-27 10:39:22 +00:00
display: block;
2017-09-22 21:56:35 +00:00
&.dropdown {
2018-04-17 23:01:19 +00:00
width: 100%;
2017-09-22 21:56:35 +00:00
}
}
.branch-5-2,
2020-04-22 20:32:26 +00:00
.wc-wp-version-gte-53 {
2019-11-27 13:11:17 +00:00
.location-input {
margin: 0;
width: 100%;
2019-11-27 13:11:17 +00:00
}
}
2017-09-22 21:56:35 +00:00
.address-step {
2017-09-22 21:56:35 +00:00
.select2 {
2018-04-17 23:01:19 +00:00
min-width: 100%; // widen currency, product type dropdowns
2017-09-22 21:56:35 +00:00
}
}
.store-address-container {
2017-09-22 21:56:35 +00:00
.city-and-postcode {
2018-04-17 23:01:19 +00:00
display: flex;
2017-09-22 21:56:35 +00:00
2018-04-17 23:01:19 +00:00
div {
flex-basis: 50%;
margin-right: 1em;
2017-09-22 21:56:35 +00:00
2018-04-17 23:01:19 +00:00
&:last-of-type {
margin-right: 0;
}
}
2017-09-22 21:56:35 +00:00
}
2018-03-27 18:32:04 +00:00
input[type="text"],
select,
.select2-container {
2018-04-17 23:01:19 +00:00
margin-bottom: 10px;
2018-03-27 18:32:04 +00:00
}
}
.product-type-container,
.sell-in-person-container {
margin-top: 14px;
margin-bottom: 1px;
}
#woocommerce_sell_in_person {
margin-left: 0;
margin-top: calc(0.85em / 2);
}
.wc-wizard-service-settings {
.payment-email-input {
2018-04-17 23:01:19 +00:00
border: 1px solid #aaa;
border-color: #ddd;
border-radius: 4px;
height: 30px;
padding: 0 8px;
font-size: 14px;
color: #444;
background-color: #fff;
display: inline-block;
&[disabled] {
color: #aaa;
}
}
}
2017-09-25 12:19:36 +00:00
.newsletter-form-container {
display: flex;
.newsletter-form-email {
2018-04-17 23:01:19 +00:00
border: 1px solid #aaa;
border-color: #ddd;
border-radius: 4px;
height: 42px;
padding: 0 8px;
font-size: 16px;
color: #666;
background-color: #fff;
display: inline-block;
margin-right: 6px;
flex-grow: 1;
2017-09-25 12:19:36 +00:00
}
.newsletter-form-button-container {
2018-04-17 23:01:19 +00:00
flex-grow: 0;
2017-09-25 12:19:36 +00:00
}
}
.wc-setup .wc-setup-actions .button.newsletter-form-button {
height: 42px;
padding: 0 1em;
margin: 0;
2017-09-25 12:19:36 +00:00
}
2017-09-25 21:42:08 +00:00
.wc-wizard-next-steps {
border: 1px solid #eee;
border-radius: 4px;
list-style: none;
padding: 0;
li {
2018-04-17 23:01:19 +00:00
padding: 0;
2017-09-25 21:42:08 +00:00
}
.wc-wizard-next-step-item {
2018-04-17 23:01:19 +00:00
display: flex;
border-top: 1px solid #eee;
2017-09-25 21:42:08 +00:00
2018-04-17 23:01:19 +00:00
&:first-child {
border-top: 0;
}
2017-09-25 21:42:08 +00:00
}
.wc-wizard-next-step-description {
2018-04-17 23:01:19 +00:00
flex-grow: 1;
margin: 1.5em;
2017-09-25 21:42:08 +00:00
}
.wc-wizard-next-step-action {
2018-04-17 23:01:19 +00:00
flex-grow: 0;
display: flex;
align-items: center;
2017-09-25 21:42:08 +00:00
2018-04-17 23:01:19 +00:00
.button {
margin: 1em 1.5em;
}
2017-09-25 21:42:08 +00:00
}
p {
2018-04-17 23:01:19 +00:00
&.next-step-heading {
margin: 0;
font-size: 0.95em;
font-weight: 400;
font-variant: all-petite-caps;
}
2017-09-25 21:42:08 +00:00
2018-04-17 23:01:19 +00:00
&.next-step-extra-info {
margin: 0;
}
2017-09-25 21:42:08 +00:00
}
h3 {
2018-04-17 23:01:19 +00:00
&.next-step-description {
margin: 0;
font-size: 16px;
font-weight: 600;
}
2017-09-25 21:42:08 +00:00
}
2018-02-10 23:51:25 +00:00
.wc-wizard-additional-steps {
2018-04-17 23:01:19 +00:00
border-top: 1px solid #eee;
2018-02-10 23:51:25 +00:00
2018-04-17 23:01:19 +00:00
.wc-wizard-next-step-description {
margin-bottom: 0;
}
2018-02-10 23:51:25 +00:00
2018-04-17 23:01:19 +00:00
.wc-setup-actions {
margin: 0 0 1.5em 0;
2018-02-10 23:51:25 +00:00
2018-04-17 23:01:19 +00:00
.button {
font-size: 15px;
margin: 1em 0 1em 1.5em;
}
}
2018-02-10 23:51:25 +00:00
}
2017-09-25 21:42:08 +00:00
}
2017-09-25 21:46:11 +00:00
p.next-steps-help-text {
color: #9f9f9f;
padding: 0 2em;
text-align: center;
font-size: 0.9em;
2017-09-25 21:46:11 +00:00
}
2017-09-27 19:48:33 +00:00
p.jetpack-terms {
font-size: 0.8em;
2017-09-27 19:48:33 +00:00
text-align: center;
max-width: 480px;
margin: 0 auto;
line-height: 1.5;
2017-09-27 19:48:33 +00:00
}
2017-10-01 08:04:37 +00:00
.woocommerce-error {
background: #ffe6e5;
border-color: #ffc5c2;
padding: 1em;
margin-bottom: 1em;
p {
2018-04-17 23:01:19 +00:00
margin-top: 0;
margin-bottom: 0.5em;
color: #444;
}
a {
2018-04-17 23:01:19 +00:00
color: #ff645c;
}
.reconnect-reminder {
2018-04-17 23:01:19 +00:00
font-size: 0.85em;
}
.wc-setup-actions .button {
2018-04-17 23:01:19 +00:00
font-size: 14px;
}
}
.wc-wizard-service-setting-stripe_create_account,
.wc-wizard-service-setting-ppec_paypal_reroute_requests {
display: flex;
align-items: flex-start;
.payment-checkbox-input {
2018-04-17 23:01:19 +00:00
order: 1;
2019-11-27 13:11:17 +00:00
margin-top: 5px;
2018-04-17 23:01:19 +00:00
margin-left: 0;
margin-right: 0;
}
.stripe_create_account,
.ppec_paypal_reroute_requests {
2018-04-17 23:01:19 +00:00
order: 2;
margin-left: 0.3em;
}
}
.branch-5-2,
2020-04-22 20:32:26 +00:00
.wc-wp-version-gte-53 {
2019-11-27 13:11:17 +00:00
.wc-wizard-service-setting-stripe_create_account,
.wc-wizard-service-setting-ppec_paypal_reroute_requests {
.payment-checkbox-input {
margin-top: 3px;
}
}
}
.wc-wizard-service-setting-stripe_email,
.wc-wizard-service-setting-ppec_paypal_email {
margin-top: 0.75em;
margin-left: 1.5em;
label.stripe_email,
label.ppec_paypal_email {
2018-04-17 23:01:19 +00:00
position: absolute;
margin: -1px;
padding: 0;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
border: 0;
}
input.payment-email-input {
box-sizing: border-box;
margin-bottom: 0.5em;
2018-04-17 23:01:19 +00:00
width: 100%;
height: 32px;
}
}
.wc-setup-content .recommended-step {
border: 1px solid #ebebeb;
border-radius: 4px;
padding: 2.5em;
}
.wc-setup-content .recommended-item {
list-style: none;
margin-bottom: 1.5em;
&:last-child {
margin-bottom: 0; // Avoid extra space at the end of the list.
}
label {
display: flex;
align-items: center;
&::before,
&::after {
top: auto;
}
&::after {
margin-top: -1.5px;
}
}
.recommended-item-icon {
border: 1px solid #fff;
border-radius: 7px;
height: 3.5em;
margin-right: 1em;
margin-left: 4px;
2019-07-03 01:02:07 +00:00
&.recommended-item-icon-wc_admin {
background-color: #96588a;
padding: 0.5em;
height: 2em;
}
&.recommended-item-icon-storefront_theme {
background-color: #f4a224;
max-height: 3em;
max-width: 3em;
padding: ( 3.5em - 3em ) / 2;
}
2018-04-15 03:50:49 +00:00
&.recommended-item-icon-automated_taxes {
background-color: #d0011b;
max-height: 1.75em;
padding: ( 3.5em - 1.75em ) / 2;
}
2018-04-15 03:54:55 +00:00
&.recommended-item-icon-mailchimp {
2019-02-19 11:22:13 +00:00
background-color: #ffe01b;
2018-04-15 03:54:55 +00:00
height: 2em;
padding: ( 3.5em - 2em ) / 2;
}
&.recommended-item-icon-woocommerce_services {
background-color: #f0f0f0;
max-height: 1.5em;
padding: 1.3em 0.7em;
}
&.recommended-item-icon-shipstation {
background-color: #f0f0f0;
padding: 0.3em;
}
}
.recommended-item-description-container {
h3 {
font-size: 15px;
font-weight: 700;
letter-spacing: 0.5px;
margin-bottom: 0;
}
p {
margin-top: 0;
line-height: 1.5;
}
}
}
.wc-wizard-service-info {
padding: 1em 2em;
background-color: #fafafa;
}
.help_tip {
text-decoration: underline dotted;
}
2019-03-14 18:22:56 +00:00
@media only screen and (max-width: 400px) {
2019-11-21 17:23:05 +00:00
.wc-logo img {
2019-03-14 18:22:56 +00:00
max-width: 80%;
}
2019-03-14 18:22:56 +00:00
.wc-setup-steps {
display: none;
}
2019-03-14 18:22:56 +00:00
.store-address-container {
2019-03-14 18:22:56 +00:00
.city-and-postcode {
display: block;
div {
margin-right: 0;
}
}
}
2019-03-14 18:22:56 +00:00
.wc-wizard-service-item,
.wc-wizard-services-list-toggle {
flex-wrap: wrap;
2019-03-14 18:22:56 +00:00
.wc-wizard-service-enable {
order: 2;
padding: 20px 0 0;
}
2019-03-14 18:22:56 +00:00
.wc-wizard-service-description {
order: 3;
}
2019-03-14 18:22:56 +00:00
.wc-wizard-service-name {
padding: 20px 20px 0;
text-align: left;
justify-content: space-between !important;
2019-03-14 18:22:56 +00:00
img {
margin: 0;
}
}
}
2019-03-14 18:22:56 +00:00
.newsletter-form-container {
display: block;
2019-03-14 18:22:56 +00:00
.newsletter-form-email {
display: block;
box-sizing: border-box;
width: 100%;
margin-bottom: 10px;
}
2019-03-14 18:22:56 +00:00
.button.newsletter-form-button {
float: left;
}
}
2019-03-14 18:22:56 +00:00
.wc-wizard-next-steps .wc-wizard-next-step-item {
flex-wrap: wrap;
2019-03-14 18:22:56 +00:00
.wc-wizard-next-step-description {
margin-bottom: 0;
}
2019-03-14 18:22:56 +00:00
.wc-wizard-next-step-action {
2019-03-14 18:22:56 +00:00
p {
margin: 0;
}
}
}
}
/* stylelint-enable */