188 lines
2.7 KiB
SCSS
188 lines
2.7 KiB
SCSS
/** @format */
|
|
.woocommerce-store-alerts {
|
|
position: relative;
|
|
margin: 0 0 $gap-largest 0;
|
|
margin-right: var(--large-gap);
|
|
padding: $gap-large;
|
|
border: 0;
|
|
box-shadow: 0 0 8px -2px rgba(0, 0, 0, 0.3);
|
|
|
|
&:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 4px;
|
|
height: 100%;
|
|
background: transparent;
|
|
}
|
|
|
|
.woocommerce-card__header {
|
|
padding: 0;
|
|
border: 0;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.woocommerce-card__title {
|
|
display: inline-flex;
|
|
|
|
svg {
|
|
margin-right: 6px;
|
|
}
|
|
}
|
|
|
|
.woocommerce-card__body {
|
|
padding: 0;
|
|
}
|
|
|
|
a.components-button {
|
|
+ .components-button {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
&.is-button {
|
|
color: $core-grey-dark-500;
|
|
}
|
|
}
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
margin-bottom: $gap-large;
|
|
padding: $gap;
|
|
|
|
.woocommerce-card__header {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
}
|
|
|
|
.woocommerce-embed-page {
|
|
.woocommerce-store-alerts {
|
|
margin: 20px;
|
|
}
|
|
}
|
|
|
|
.is-alert-error {
|
|
$alert-color: #dc3232;
|
|
|
|
&:before {
|
|
background-color: $alert-color;
|
|
}
|
|
|
|
.woocommerce-card__title {
|
|
svg {
|
|
color: $alert-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.is-alert-update {
|
|
$alert-color: #11a0d2;
|
|
|
|
&:before {
|
|
background-color: $alert-color;
|
|
}
|
|
|
|
.woocommerce-card__title {
|
|
svg {
|
|
color: $alert-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.woocommerce-store-alerts__message {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.woocommerce-store-alerts__pagination {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border: 1px solid $button-border;
|
|
border-bottom: 2px solid $button-border;
|
|
border-radius: 4px;
|
|
background: $button;
|
|
margin-left: 16px;
|
|
min-width: 120px;
|
|
|
|
.components-button {
|
|
padding: 4px;
|
|
}
|
|
|
|
.woocommerce-store-alerts__pagination-label {
|
|
padding: 5px 12px;
|
|
border-width: 0 1px;
|
|
border-color: $button-border;
|
|
border-style: solid;
|
|
flex: 1 1;
|
|
}
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
margin-left: 0;
|
|
margin-bottom: 14px;
|
|
|
|
.woocommerce-store-alerts__pagination-label {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
.woocommerce-store-alerts.is-loading {
|
|
&:before {
|
|
@include placeholder();
|
|
}
|
|
|
|
.is-placeholder {
|
|
@include placeholder();
|
|
display: inline-block;
|
|
height: 16px;
|
|
}
|
|
|
|
.woocommerce-card__title {
|
|
.is-placeholder {
|
|
width: 340px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
|
|
.woocommerce-card__action {
|
|
.is-placeholder {
|
|
min-width: 120px;
|
|
height: 30px;
|
|
}
|
|
}
|
|
|
|
.woocommerce-store-alerts__message {
|
|
.is-placeholder {
|
|
&:nth-child(1) {
|
|
width: 75%;
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
width: 45%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.woocommerce-store-alerts__actions {
|
|
.is-placeholder {
|
|
width: 110px;
|
|
height: 26px;
|
|
}
|
|
}
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
.woocommerce-card__title {
|
|
width: 100%;
|
|
|
|
.is-placeholder {
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
.woocommerce-card__action {
|
|
margin-bottom: 14px;
|
|
}
|
|
}
|
|
}
|