2020-12-02 13:30:39 +00:00
|
|
|
@mixin accordion-header {
|
|
|
|
.woocommerce-accordion-header {
|
|
|
|
order: 1;
|
|
|
|
text-align: left;
|
|
|
|
.woocommerce-accordion-title {
|
|
|
|
margin-right: $gap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-11-06 01:21:05 +00:00
|
|
|
.woocommerce-accordion-card {
|
2020-12-02 13:30:39 +00:00
|
|
|
.components-card__header,
|
|
|
|
.components-panel__body-title .components-button {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
color: $gray-900;
|
|
|
|
&:focus {
|
|
|
|
box-shadow: unset;
|
|
|
|
outline: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-card__header {
|
|
|
|
height: 60px;
|
|
|
|
@include accordion-header();
|
|
|
|
}
|
|
|
|
|
2020-11-06 01:21:05 +00:00
|
|
|
.components-panel__body-title {
|
|
|
|
margin: 0;
|
2020-12-02 13:30:39 +00:00
|
|
|
padding: $gap-small 0;
|
|
|
|
height: 60px;
|
2020-11-06 01:21:05 +00:00
|
|
|
.components-button {
|
|
|
|
width: 100%;
|
|
|
|
padding-left: 24px;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2020-12-02 13:30:39 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
@include accordion-header();
|
|
|
|
|
2020-11-06 01:21:05 +00:00
|
|
|
.woocommerce-accordion-header {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2020-12-02 13:30:39 +00:00
|
|
|
|
2020-11-06 01:21:05 +00:00
|
|
|
& > span {
|
|
|
|
order: 2;
|
|
|
|
width: 50%;
|
|
|
|
text-align: right;
|
|
|
|
.components-panel__arrow {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-activity-card {
|
|
|
|
padding: $gap-largest/2 $gutter $gutter;
|
|
|
|
&__header {
|
2020-11-25 18:51:15 +00:00
|
|
|
margin-bottom: $gap-small;
|
2020-11-06 01:21:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-outbound-link {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
height: 50px;
|
|
|
|
border-bottom: 1px solid $gray-100;
|
|
|
|
padding: $gap $fallback-gutter;
|
|
|
|
padding: $gap $gutter;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: 18px;
|
|
|
|
margin: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
.gridicon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $gray-200;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: $gray-100;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: $gray-200;
|
|
|
|
box-shadow: inset 0 0 0 1px $box-shadow-blue,
|
|
|
|
inset 0 0 0 2px $gray-200;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
.gridicon {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
.gridicon {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-empty {
|
|
|
|
border-top: 1px solid $gray-200;
|
|
|
|
}
|
2020-11-06 16:50:24 +00:00
|
|
|
|
|
|
|
.woocommerce-activity-card__button {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: unset;
|
|
|
|
outline: unset;
|
|
|
|
border: 1px solid $gray-200;
|
|
|
|
}
|
|
|
|
}
|
2020-11-06 01:21:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.components-panel__body-title {
|
|
|
|
.woocommerce-accordion-card .is-opened & {
|
|
|
|
border-bottom: 1px solid $gray-200;
|
|
|
|
}
|
|
|
|
}
|