2023-10-18 09:14:14 +00:00
|
|
|
@import '@wordpress/base-styles/_colors.native.scss';
|
2023-11-21 07:08:26 +00:00
|
|
|
@import '../../stylesheets/_variables.scss';
|
2023-10-18 09:14:14 +00:00
|
|
|
|
2023-11-21 11:43:06 +00:00
|
|
|
@mixin content-width {
|
|
|
|
max-width: calc(100vw - (2 * #{$grid-unit-20}));
|
|
|
|
@media screen and (min-width: 783px) {
|
2023-11-22 12:43:49 +00:00
|
|
|
max-width: calc(100vw - (2 * #{$grid-unit-40}) - $admin-menu-width-collapsed);
|
2023-11-21 11:43:06 +00:00
|
|
|
}
|
|
|
|
@media screen and (min-width: 960px) {
|
|
|
|
max-width: calc(100vw - (2 * #{$grid-unit-40}) - $admin-menu-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-08 10:26:44 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions__header {
|
|
|
|
display: flex;
|
2023-11-21 11:43:06 +00:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: stretch;
|
|
|
|
@include content-width;
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header-content,
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header-refresh {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header-content {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header-refresh {
|
|
|
|
display: flex;
|
|
|
|
justify-content: end;
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: $breakpoint-medium) {
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header-content,
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header-refresh {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header-content {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header-refresh {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
2023-11-08 10:26:44 +00:00
|
|
|
}
|
2023-09-22 10:05:42 +00:00
|
|
|
|
2023-11-16 10:51:30 +00:00
|
|
|
.woocommerce-marketplace__refresh-subscriptions {
|
2023-11-08 10:26:44 +00:00
|
|
|
text-decoration: none;
|
|
|
|
color: #007cba;
|
2023-11-16 10:51:30 +00:00
|
|
|
.woocommerce-marketplace__refresh-subscriptions-icon {
|
|
|
|
margin-right: $grid-unit-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-busy {
|
|
|
|
@keyframes spin {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.woocommerce-marketplace__refresh-subscriptions-icon {
|
|
|
|
animation: spin 2s linear infinite;
|
|
|
|
}
|
|
|
|
}
|
2023-11-08 10:26:44 +00:00
|
|
|
}
|
2023-09-22 10:05:42 +00:00
|
|
|
|
2023-11-08 10:26:44 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions__available {
|
|
|
|
margin-top: $grid-unit-50;
|
2023-09-22 10:28:57 +00:00
|
|
|
}
|
2023-10-18 09:14:14 +00:00
|
|
|
|
2023-11-08 10:26:44 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions__heading {
|
2023-10-18 09:14:14 +00:00
|
|
|
font-size: 20px;
|
|
|
|
color: $gray-900;
|
|
|
|
font-weight: 400;
|
2023-11-08 10:26:44 +00:00
|
|
|
margin: 0;
|
|
|
|
line-height: 28px;
|
2023-10-18 09:14:14 +00:00
|
|
|
}
|
|
|
|
|
2023-11-16 10:51:30 +00:00
|
|
|
.woocommerce-marketplace__notice--error {
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: $grid-unit-50;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-18 09:14:14 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions__table-description {
|
|
|
|
font-size: 13px;
|
2023-11-21 07:08:26 +00:00
|
|
|
margin: 1em 0;
|
2023-11-08 10:26:44 +00:00
|
|
|
line-height: 20px;
|
|
|
|
color: $gray-700;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: #007cba;
|
2023-11-21 07:08:26 +00:00
|
|
|
margin-left: 2px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2023-11-08 10:26:44 +00:00
|
|
|
}
|
2023-10-18 09:14:14 +00:00
|
|
|
}
|
|
|
|
|
2023-11-21 11:43:06 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions__table-wrapper {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2023-10-18 09:14:14 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions__table {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin-top: $grid-unit-30;
|
2023-11-08 10:26:44 +00:00
|
|
|
color: $gray-900;
|
2023-11-21 11:43:06 +00:00
|
|
|
@include content-width;
|
2023-10-18 09:14:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__product {
|
2023-11-21 07:08:26 +00:00
|
|
|
$product-icon-size: 40px;
|
|
|
|
|
2023-10-18 09:14:14 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-11-08 10:26:44 +00:00
|
|
|
color: $gray-900;
|
2023-10-18 09:14:14 +00:00
|
|
|
|
|
|
|
&-name {
|
|
|
|
margin-left: $grid-unit-15;
|
|
|
|
line-height: 18px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2023-11-08 10:26:44 +00:00
|
|
|
&-icon img {
|
2023-10-18 09:14:14 +00:00
|
|
|
border-radius: 4px;
|
2023-11-21 07:08:26 +00:00
|
|
|
width: $product-icon-size;
|
2023-10-18 09:14:14 +00:00
|
|
|
}
|
|
|
|
|
2023-11-21 07:08:26 +00:00
|
|
|
&-icon {
|
|
|
|
width: $product-icon-size;
|
|
|
|
height: $product-icon-size;
|
|
|
|
svg {
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: $grid-unit-10;
|
|
|
|
fill: $gray-600;
|
|
|
|
background-color: $gray-200;
|
|
|
|
width: $product-icon-size;
|
|
|
|
height: $product-icon-size;
|
|
|
|
}
|
2023-10-18 09:14:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-08 10:26:44 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions__product-status {
|
2023-10-18 09:14:14 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: none;
|
2023-11-21 07:08:26 +00:00
|
|
|
padding: 2px $grid-unit-10;
|
2023-11-08 10:26:44 +00:00
|
|
|
margin-left: $grid-unit-15;
|
|
|
|
text-align: left;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&--error {
|
|
|
|
color: var(--wp-red-red-70, #8a2424);
|
|
|
|
background: var(--wp-red-red-0, #fcf0f1);
|
2023-10-18 09:14:14 +00:00
|
|
|
|
2023-11-08 10:26:44 +00:00
|
|
|
& > svg {
|
|
|
|
margin-right: 2px;
|
|
|
|
fill: var(--wp-red-red-70, #8a2424);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--warning {
|
|
|
|
color: var(--wp-yellow-yellow-70, #614200);
|
|
|
|
background: var(--wp-yellow-yellow-0, #fcf9e8);
|
|
|
|
|
|
|
|
& > svg {
|
|
|
|
margin-right: 2px;
|
|
|
|
color: var(--wp-yellow-yellow-70, #614200);
|
|
|
|
}
|
2023-10-18 09:14:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-21 07:08:26 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions__popover {
|
|
|
|
top: -8px !important;
|
|
|
|
.components-popover__content {
|
|
|
|
border: none;
|
|
|
|
width: 300px;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: $grid-unit-15;
|
|
|
|
color: $gray-900;
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2023-10-18 09:14:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.components-base-control.woocommerce-marketplace__my-subscriptions__activation {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2023-10-23 05:55:23 +00:00
|
|
|
|
2023-10-27 04:08:27 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions-version {
|
|
|
|
padding: 6px 12px;
|
|
|
|
}
|
|
|
|
.woocommerce-marketplace__my-subscriptions__table__header--version > span {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 12px;
|
|
|
|
}
|
|
|
|
|
2023-11-21 07:08:26 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions {
|
|
|
|
.woocommerce-table__empty-item,
|
|
|
|
.woocommerce-table__header,
|
|
|
|
.woocommerce-table__item {
|
|
|
|
padding: $grid-unit-10 $grid-unit-30;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-table__table tr:hover {
|
|
|
|
background: #f8f9fa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-table.is-empty {
|
|
|
|
background: none;
|
|
|
|
border: 1px solid var(--gutenberg-gray-100, #f0f0f0);
|
|
|
|
flex-direction: column;
|
|
|
|
gap: $grid-unit-15;
|
|
|
|
margin-top: $grid-unit-30;
|
|
|
|
}
|
2023-11-15 07:06:54 +00:00
|
|
|
}
|
|
|
|
|
2023-11-07 08:21:12 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions .components-button.is-link {
|
2023-10-27 04:08:27 +00:00
|
|
|
text-decoration: none;
|
|
|
|
padding: 6px 12px;
|
|
|
|
}
|
2023-11-21 11:43:06 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions
|
|
|
|
.components-button.is-secondary:hover:not(:disabled) {
|
2023-11-22 12:43:49 +00:00
|
|
|
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
2023-11-07 08:21:12 +00:00
|
|
|
}
|
2023-10-27 04:08:27 +00:00
|
|
|
|
2023-10-23 05:55:23 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions--connect {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
max-width: 495px;
|
|
|
|
padding: $grid-unit-80 $grid-unit-40;
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__icon {
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAiIGhlaWdodD0iODAiIHZpZXdCb3g9IjAgMCA4MCA4MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzI5NzBfMTA0MzcpIj4KPHJlY3Qgd2lkdGg9IjgwIiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNzQuMTMyNSAwTDY4LjQ0ODEgMy4yOTQ4NEw2Mi43NTc5IDBMNTcuMDczNCAzLjI5NDg0TDUxLjM4MzIgMEw0NS42OTMxIDMuMjk0ODRMNDAuMDA4NiAwTDM0LjMxODQgMy4yOTQ4NEwyOC42MzM5IDBMMjIuOTQzNyAzLjI5NDg0TDE3LjI1MzYgMEwxMS41NjM0IDMuMjk0ODRMNS44NzMxOCAwTDAgMy40MDIwNlY3Ni41OTc5TDUuODY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|
|
}
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__header {
|
|
|
|
margin-top: $grid-unit-20;
|
|
|
|
margin-bottom: $grid-unit-10;
|
2023-11-21 07:08:26 +00:00
|
|
|
font-size: $default-font-size;
|
2023-10-23 05:55:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__description {
|
|
|
|
text-align: center;
|
2023-11-21 07:08:26 +00:00
|
|
|
font-size: $default-font-size;
|
2023-10-23 05:55:23 +00:00
|
|
|
line-height: 20px;
|
|
|
|
font-weight: 400;
|
|
|
|
color: var(--gutenberg-gray-700);
|
2023-11-21 07:08:26 +00:00
|
|
|
margin-top: 0;
|
2023-10-23 05:55:23 +00:00
|
|
|
margin-bottom: $grid-unit-30;
|
|
|
|
}
|
|
|
|
}
|
2023-10-27 04:08:27 +00:00
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__table__header--actions {
|
|
|
|
text-align: right;
|
2023-11-21 07:08:26 +00:00
|
|
|
justify-content: flex-end;
|
2023-10-27 04:08:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: end;
|
|
|
|
|
|
|
|
.components-button {
|
|
|
|
margin-right: $grid-unit-10;
|
|
|
|
}
|
2023-11-08 10:26:44 +00:00
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #007cba;
|
|
|
|
}
|
2023-10-27 04:08:27 +00:00
|
|
|
}
|
2023-11-07 08:21:12 +00:00
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions__notices {
|
|
|
|
.components-notice {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
box-shadow: 0 2px 6px 0 rgba($gray-100, 0.05);
|
|
|
|
border: 1px solid var(--gutenberg-gray-100, #f0f0f0);
|
|
|
|
padding-right: $grid-unit-15;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 4px;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--wp-admin-theme-color, #007cba);
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-error::before {
|
|
|
|
background-color: $alert-red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-notice__content {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: $grid-unit-15;
|
|
|
|
}
|
|
|
|
.components-notice__dismiss.has-icon {
|
|
|
|
width: 24px;
|
|
|
|
min-width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
align-self: center;
|
|
|
|
padding: $grid-unit-05;
|
|
|
|
> svg {
|
|
|
|
fill: $gray-900;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.components-notice__action.components-button.is-link {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-11-21 07:08:26 +00:00
|
|
|
|
|
|
|
.woocommerce-marketplace__my-subscriptions {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(5, auto);
|
|
|
|
.woocommerce-marketplace__my-subscriptions-section {
|
|
|
|
margin: 1em 0;
|
|
|
|
> * {
|
|
|
|
grid-column: span 5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.woocommerce-table__table,
|
2023-11-21 11:43:06 +00:00
|
|
|
.woocommerce-marketplace__my-subscriptions-section,
|
|
|
|
.woocommerce-marketplace__my-subscriptions__table-wrapper {
|
2023-11-21 07:08:26 +00:00
|
|
|
&,
|
|
|
|
& table,
|
|
|
|
& tbody,
|
|
|
|
& thead,
|
|
|
|
& tr {
|
|
|
|
grid-column: span 5;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: subgrid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|