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

166 lines
2.9 KiB
SCSS

.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;
}
.components-panel__body-title {
margin-bottom: 0;
border-bottom: 1px solid #e0e0e0;
&:hover {
border-bottom: 1px solid #e0e0e0;
}
@at-root .woocommerce-setup-panel & > .components-button {
font-size: 14px;
}
> .components-button {
font-size: 20px;
font-weight: 400;
padding-top: 20px;
padding-bottom: 20px;
}
.components-panel__arrow {
right: $gap-large;
}
.woocommerce-task-header__contents p:first-of-type {
margin-top: $gap-small;
}
}
.wooocommerce-task-card__header-container {
width: 100%;
border-bottom: none;
}
.components-panel__body-toggle {
box-shadow: none;
padding-left: $gap-large;
}
&.is-opened .components-panel__body-toggle {
width: 100%;
padding: 0;
.components-panel__arrow {
top: 32px;
}
}
.woocommerce-experimental-list {
width: calc(100% + 32px);
margin: 0 -16px;
}
}
ul li.woocommerce-task-list__item {
padding-top: $gap;
padding-bottom: $gap;
min-height: 72px;
&.is-disabled {
pointer-events: none;
}
&:not(.complete)
.woocommerce-task-list__item-before
.woocommerce-task__icon {
border-color: $gray-300;
}
.woocommerce-task-list__item-expandable-content {
line-height: $gap;
}
}
.woocommerce-task-list__item.complete .woocommerce-task__icon {
background-color: $alert-green;
}
.components-panel__body-title {
.woocommerce-badge {
width: 28px;
height: 28px;
margin-left: $gap-small;
}
.woocommerce-task__icon {
margin-left: $gap;
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%;
}
}
}
}
.woocommerce-setup-panel {
.two-column-experiment {
h1 {
font-size: 16px;
font-weight: 600;
}
}
.woocommerce-task-header-collapsed {
font-size: 14px;
line-height: 20px;
font-weight: bold;
}
.woocommerce-task-progress-header {
padding: $gap;
margin-bottom: $gap-smaller;
background: #fff;
border: 1px solid $gray-200;
.woocommerce-task-progress-header__title {
padding-top: 4px;
}
.woocommerce-ellipsis-menu {
display: none;
}
}
}