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

166 lines
2.9 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-06-01 17:10:20 +00:00
@at-root .woocommerce-setup-panel & > .components-button {
font-size: 14px;
}
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;
}
.woocommerce-task-header__contents p:first-of-type {
margin-top: $gap-small;
}
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;
min-height: 72px;
2022-03-21 17:04:15 +00:00
&.is-disabled {
2022-03-21 17:04:15 +00:00
pointer-events: none;
}
2022-04-04 13:15:39 +00:00
2022-04-20 13:12:08 +00:00
&:not(.complete)
.woocommerce-task-list__item-before
.woocommerce-task__icon {
border-color: $gray-300;
}
.woocommerce-task-list__item-expandable-content {
line-height: $gap;
}
2022-03-21 17:04:15 +00:00
}
2022-04-20 13:12:08 +00:00
.woocommerce-task-list__item.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;
2022-06-01 17:10:20 +00:00
margin-left: $gap-small;
2022-03-21 17:04:15 +00:00
}
.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
}
2022-06-01 17:10:20 +00:00
.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;
}
}
}