2020-06-16 02:07:06 +00:00
|
|
|
.woocommerce-list {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2019-07-10 02:25:25 +00:00
|
|
|
.woocommerce-list__item {
|
|
|
|
display: flex;
|
2019-07-19 02:54:38 +00:00
|
|
|
align-items: center;
|
2019-07-10 02:25:25 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
|
2019-07-19 02:54:38 +00:00
|
|
|
&.has-action {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-08-19 22:38:10 +00:00
|
|
|
> .woocommerce-list__item-inner {
|
|
|
|
text-decoration: none;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-06-19 00:13:41 +00:00
|
|
|
padding: $gap $gap-large;
|
2019-08-19 22:38:10 +00:00
|
|
|
|
|
|
|
&:focus {
|
2020-07-17 00:11:42 +00:00
|
|
|
box-shadow: inset 0 0 0 1px $studio-wordpress-blue,
|
|
|
|
inset 0 0 0 2px $studio-white;
|
2019-08-19 22:38:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-10 02:25:25 +00:00
|
|
|
.woocommerce-list__item-title {
|
2019-08-29 16:07:56 +00:00
|
|
|
color: $studio-gray-90;
|
2019-07-10 02:25:25 +00:00
|
|
|
}
|
|
|
|
|
2019-08-29 16:41:04 +00:00
|
|
|
.woocommerce-list__item-content {
|
2019-07-18 10:11:21 +00:00
|
|
|
margin-top: $gap-smallest;
|
2019-07-10 02:25:25 +00:00
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
color: #50575d;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-before {
|
2019-07-18 10:11:21 +00:00
|
|
|
margin-right: 20px;
|
2019-07-10 02:25:25 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-after {
|
|
|
|
margin-left: $gap;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-06-16 02:07:06 +00:00
|
|
|
|
2020-07-17 00:11:42 +00:00
|
|
|
$chevron-color: $gray-900;
|
2020-06-16 02:07:06 +00:00
|
|
|
$background-color: $white;
|
2020-07-17 00:11:42 +00:00
|
|
|
$background-color-hover: $gray-100;
|
|
|
|
$border-color: $gray-100;
|
|
|
|
$foreground-color: var(--wp-admin-theme-color);
|
2021-02-17 22:54:02 +00:00
|
|
|
$foreground-color-hover: var(--wp-admin-theme-color);
|
2020-06-16 02:07:06 +00:00
|
|
|
|
|
|
|
background-color: $background-color;
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $background-color-hover;
|
|
|
|
|
|
|
|
.woocommerce-list__item-title {
|
|
|
|
color: $foreground-color-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-before > svg {
|
|
|
|
fill: $foreground-color-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-title {
|
|
|
|
color: $foreground-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-before > svg {
|
|
|
|
fill: $foreground-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-after > svg {
|
|
|
|
fill: $chevron-color;
|
|
|
|
}
|
|
|
|
|
2020-06-17 12:58:35 +00:00
|
|
|
&.is-complete {
|
|
|
|
.woocommerce-task__icon {
|
2020-07-17 00:11:42 +00:00
|
|
|
background-color: var(--wp-admin-theme-color);
|
2020-06-17 12:58:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-title {
|
2020-07-17 00:11:42 +00:00
|
|
|
color: $gray-700;
|
2020-06-17 12:58:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-content {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-16 02:07:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-title {
|
|
|
|
color: $studio-gray-80;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-content {
|
|
|
|
color: $studio-gray-50;
|
2019-07-10 02:25:25 +00:00
|
|
|
}
|
2020-07-14 10:46:25 +00:00
|
|
|
|
|
|
|
.woocommerce-list__item-enter {
|
|
|
|
opacity: 0;
|
|
|
|
max-height: 0;
|
|
|
|
transform: translateX(50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-enter-active {
|
|
|
|
opacity: 1;
|
|
|
|
max-height: 100vh;
|
|
|
|
transform: translateX(0%);
|
|
|
|
transition: opacity 500ms, transform 500ms, max-height 500ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-exit {
|
|
|
|
opacity: 1;
|
|
|
|
max-height: 100vh;
|
|
|
|
transform: translateX(0%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item-exit-active {
|
|
|
|
opacity: 0;
|
|
|
|
max-height: 0;
|
|
|
|
transform: translateX(50%);
|
|
|
|
transition: opacity 500ms, transform 500ms, max-height 500ms;
|
|
|
|
}
|