woocommerce/plugins/woocommerce-admin/client/two-column-tasks/sectioned-task-list.scss

122 lines
2.1 KiB
SCSS
Raw Normal View History

2022-03-21 17:04:15 +00:00
.woocommerce-sectioned-task-list {
.components-panel {
width: 100%;
background: transparent;
border: 0;
}
.components-panel__body {
padding-bottom: 0;
margin-bottom: $gap-smaller;
background: #fff;
border: 1px solid $gray-200;
&.is-opened {
padding-bottom: 0;
}
2022-03-21 17:04:15 +00:00
.components-panel__body-title {
margin-bottom: 0;
border-bottom: 1px solid #e0e0e0;
&:hover {
border-bottom: 1px solid #e0e0e0;
}
2022-03-21 17:04:15 +00:00
> .components-button {
font-size: 20px;
font-weight: 400;
padding-top: 20px;
padding-bottom: 20px;
}
2022-04-01 13:53:17 +00:00
.components-panel__arrow {
right: $gap-large;
}
2022-03-21 17:04:15 +00:00
}
.wooocommerce-task-card__header-container {
width: 100%;
border-bottom: none;
}
.components-panel__body-toggle {
box-shadow: none;
2022-04-01 13:53:17 +00:00
padding-left: $gap-large;
2022-03-21 17:04:15 +00:00
}
&.is-opened .components-panel__body-toggle {
width: 100%;
padding: 0;
2022-04-01 13:53:17 +00:00
.components-panel__arrow {
top: 32px;
2022-03-21 17:04:15 +00:00
}
}
.woocommerce-experimental-list {
width: calc(100% + 32px);
margin: 0 -16px;
}
}
ul li.woocommerce-task-list__item {
padding-top: $gap;
padding-bottom: $gap;
&.is-disabled {
2022-03-21 17:04:15 +00:00
pointer-events: none;
}
2022-04-04 13:15:39 +00:00
&:not(.is-complete)
.woocommerce-task-list__item-before
.woocommerce-task__icon {
border-color: $gray-300;
}
2022-03-21 17:04:15 +00:00
}
.woocommerce-task-list__item.is-complete .woocommerce-task__icon {
2022-03-21 17:04:15 +00:00
background-color: $alert-green;
}
.components-panel__body-title {
.woocommerce-badge {
width: 28px;
height: 28px;
}
.woocommerce-task__icon {
margin-left: $gap;
2022-03-21 17:04:15 +00:00
background-color: $alert-green;
border-radius: 50%;
width: 24px;
height: 24px;
svg {
fill: #fff;
position: relative;
}
}
}
> .is-loading {
border: none;
margin-bottom: 8px;
.woocommerce-task-list__item .woocommerce-task-list__item-before {
padding: 0 0 0 $gap-large;
}
&.components-panel__body .components-panel__body-title .woocommerce-task-list__item-text {
width: 50%;
.is-placeholder {
width: 100%;
}
}
&.components-panel__body .woocommerce-task-list__item-after {
margin-left: $gap;
.is-placeholder {
height: 24px;
width: 24px;
border-radius: 50%;
}
}
}
2022-03-21 17:04:15 +00:00
}