2021-10-26 04:08:05 +00:00
|
|
|
.woocommerce-homescreen .woocommerce-task-dashboard__container:empty {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-10-20 16:16:22 +00:00
|
|
|
.woocommerce-task-dashboard__container {
|
|
|
|
.woocommerce-homescreen-card {
|
|
|
|
max-width: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-10-26 08:40:35 +00:00
|
|
|
|
|
|
|
.wooocommerce-task-card__header-container {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
border-bottom: 1px solid $studio-gray-5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wooocommerce-task-card__header {
|
|
|
|
width: 100%;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2022-04-06 17:01:26 +00:00
|
|
|
.woocommerce-ellipsis-menu {
|
2021-10-26 08:40:35 +00:00
|
|
|
position: absolute;
|
2022-04-06 17:01:26 +00:00
|
|
|
top: $gap;
|
|
|
|
right: $gap-large;
|
2021-10-26 08:40:35 +00:00
|
|
|
}
|
|
|
|
|
2021-10-20 16:16:22 +00:00
|
|
|
.woocommerce-task-card.is-loading {
|
|
|
|
.woocommerce-card__body {
|
|
|
|
border-top: 1px solid $studio-gray-5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-card__header {
|
|
|
|
background: #fff;
|
|
|
|
height: 130px;
|
|
|
|
display: block;
|
|
|
|
.is-placeholder {
|
|
|
|
margin: 20px;
|
|
|
|
width: 100%;
|
|
|
|
height: 90px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wooocommerce-task-card__header {
|
|
|
|
align-self: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-placeholder {
|
|
|
|
@include placeholder();
|
|
|
|
display: inline-block;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-card__title {
|
|
|
|
.is-placeholder {
|
|
|
|
width: 70%;
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-task-list__item-before {
|
|
|
|
.is-placeholder {
|
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-task-list__item-text {
|
|
|
|
.is-placeholder {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-04 15:26:56 +00:00
|
|
|
.woocommerce-task-dashboard__container .woocommerce-task-card.completed {
|
2021-10-20 16:16:22 +00:00
|
|
|
display: block;
|
|
|
|
.components-card__header {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2022-05-16 13:03:46 +00:00
|
|
|
margin-top: $gap-large;
|
|
|
|
margin-bottom: $gap-small;
|
2021-10-20 16:16:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wooocommerce-task-card__header {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.is-secondary {
|
2022-05-16 13:03:46 +00:00
|
|
|
margin-right: $gap-small;
|
2021-10-20 16:16:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-27 14:36:39 +00:00
|
|
|
.two-columns .woocommerce-task-dashboard__container.two-column-experiment {
|
|
|
|
.svg-background {
|
|
|
|
top: 15%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-20 16:16:22 +00:00
|
|
|
.woocommerce-task-dashboard__container.two-column-experiment {
|
|
|
|
max-width: 1032px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin: 0 auto;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2022-05-04 03:57:43 +00:00
|
|
|
&.woocommerce-task-list__setup_experiment_2 {
|
2022-05-06 04:44:43 +00:00
|
|
|
margin-bottom: $gap;
|
2022-05-04 03:57:43 +00:00
|
|
|
}
|
|
|
|
|
2022-04-20 13:12:08 +00:00
|
|
|
ul li.complete .woocommerce-task-list__item-title {
|
2021-10-26 08:40:35 +00:00
|
|
|
font-weight: 600;
|
|
|
|
color: $gray-600;
|
2021-10-20 16:16:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Single column mode
|
|
|
|
@mixin single-column {
|
|
|
|
ul {
|
|
|
|
display: block;
|
|
|
|
li {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 48px auto 48px;
|
|
|
|
border-right: none;
|
|
|
|
border-bottom: 1px solid #e0e0e0;
|
|
|
|
}
|
|
|
|
li.is-active {
|
|
|
|
box-shadow: inset 5px 0 0 0 var(--wp-admin-theme-color);
|
|
|
|
transition: box-shadow 0.1s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.woocommerce-task-list__item-text {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2021-10-28 08:02:56 +00:00
|
|
|
|
|
|
|
.woocommerce-task-header__contents {
|
2022-04-27 14:36:39 +00:00
|
|
|
@include breakpoint( '<782px') {
|
|
|
|
max-width: 380px;
|
|
|
|
}
|
|
|
|
@include breakpoint('<600px') {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
max-width: 65%;
|
2021-10-28 08:02:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.svg-background {
|
2022-04-27 14:36:39 +00:00
|
|
|
right: 6%;
|
2021-10-28 08:02:56 +00:00
|
|
|
}
|
2021-10-20 16:16:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.two-columns) {
|
|
|
|
@include single-column;
|
|
|
|
}
|
|
|
|
|
2022-04-06 17:01:26 +00:00
|
|
|
&.two-columns .svg-background {
|
|
|
|
top: 50%;
|
|
|
|
bottom: 50%;
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
}
|
|
|
|
|
2021-10-20 16:16:22 +00:00
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border-right: 1px solid #e0e0e0;
|
|
|
|
border-top: none;
|
2022-04-29 14:11:30 +00:00
|
|
|
padding: $gap $gap-large;
|
2021-10-20 16:16:22 +00:00
|
|
|
}
|
|
|
|
li:last-child {
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
li.is-active {
|
|
|
|
box-shadow: inset 0 -4px 0 0 var(--wp-admin-theme-color);
|
|
|
|
transition: box-shadow 0.1s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.is-active::after {
|
|
|
|
background-color: var(--wp-admin-theme-color);
|
|
|
|
opacity: 0.1;
|
|
|
|
content: '';
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-04-28 17:47:06 +00:00
|
|
|
pointer-events: none;
|
2021-10-20 16:16:22 +00:00
|
|
|
}
|
|
|
|
}
|
2022-04-20 13:12:08 +00:00
|
|
|
.woocommerce-task-list__item:not(.complete) .woocommerce-task__icon {
|
2021-10-20 16:16:22 +00:00
|
|
|
border: 1px solid var(--wp-admin-theme-color);
|
2021-10-27 01:56:03 +00:00
|
|
|
background: transparent;
|
2021-10-20 16:16:22 +00:00
|
|
|
}
|
2022-04-20 13:12:08 +00:00
|
|
|
.woocommerce-task-list__item.complete:not(.complete) .woocommerce-task__icon {
|
2022-04-13 15:15:05 +00:00
|
|
|
border: none;
|
|
|
|
}
|
2021-10-20 16:16:22 +00:00
|
|
|
|
|
|
|
.woocommerce-task-list__item-before {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-task-list__item-text {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.numbered-circle {
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@for $i from 1 through 10 {
|
2022-04-20 13:12:08 +00:00
|
|
|
.woocommerce-task-list__item:not(.complete).index-#{$i} .woocommerce-task__icon::after {
|
2021-10-20 16:16:22 +00:00
|
|
|
content: '#{$i}';
|
|
|
|
@extend .numbered-circle;
|
|
|
|
color: var(--wp-admin-theme-color);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
@include single-column;
|
|
|
|
}
|
|
|
|
|
2022-06-01 17:10:20 +00:00
|
|
|
@at-root .woocommerce-setup-panel & .woocommerce-task-header__contents-container {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
2021-10-26 08:40:35 +00:00
|
|
|
.woocommerce-task-header__contents-container {
|
|
|
|
padding: 20px 24px;
|
|
|
|
position: relative;
|
|
|
|
flex: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-background {
|
2021-10-28 08:02:56 +00:00
|
|
|
@include breakpoint('<600px') {
|
2021-10-26 08:40:35 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-10-28 08:02:56 +00:00
|
|
|
@include breakpoint( '<782px') {
|
|
|
|
right: 0.5%;
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
z-index: 0;
|
|
|
|
right: 6%;
|
2022-06-06 11:58:34 +00:00
|
|
|
max-width: 25%;
|
|
|
|
max-height: 150px;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2021-10-28 08:02:56 +00:00
|
|
|
|
2021-10-26 08:40:35 +00:00
|
|
|
.admin-theme-color {
|
|
|
|
fill: var(--wp-admin-theme-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-theme-color-darker-10 {
|
|
|
|
fill: var(--wp-admin-theme-color-darker-10);
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-theme-color-darker-20 {
|
|
|
|
fill: var(--wp-admin-theme-color-darker-20);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-task-header__contents {
|
2021-10-28 08:02:56 +00:00
|
|
|
@include breakpoint( '<782px') {
|
|
|
|
max-width: 380px;
|
|
|
|
}
|
|
|
|
|
2021-10-26 08:40:35 +00:00
|
|
|
max-width: 500px;
|
|
|
|
p,
|
|
|
|
span {
|
|
|
|
color: $gray-600;
|
|
|
|
}
|
|
|
|
|
2022-04-27 14:36:39 +00:00
|
|
|
p:first-of-type {
|
|
|
|
margin-top: $gap-smallest;
|
|
|
|
}
|
|
|
|
|
2021-10-26 08:40:35 +00:00
|
|
|
// This is required in order to have svg image as background.
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2021-10-20 16:16:22 +00:00
|
|
|
|
2021-10-26 08:40:35 +00:00
|
|
|
.woocommerce-task-header__timer {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
line-height: 22px;
|
2022-04-27 14:36:39 +00:00
|
|
|
margin-bottom: 0;
|
2021-10-26 08:40:35 +00:00
|
|
|
img {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
}
|
2021-10-20 16:16:22 +00:00
|
|
|
}
|
|
|
|
|
2022-02-04 15:26:56 +00:00
|
|
|
.woocommerce-task-dismiss-modal {
|
2021-10-20 16:16:22 +00:00
|
|
|
width: 565px;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
.components-modal__header {
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-usage-modal__message {
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
padding: 0 32px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
background: #fff;
|
|
|
|
align-items: center;
|
|
|
|
height: 60px;
|
|
|
|
z-index: 10;
|
|
|
|
position: relative;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
margin: 0 -32px 24px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-usage-modal__actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin-top: $gap;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-left: $gap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|