2019-02-19 21:07:19 +00:00
|
|
|
.woocommerce-store-alerts {
|
2019-03-06 21:36:54 +00:00
|
|
|
position: relative;
|
2019-02-21 14:26:43 +00:00
|
|
|
margin: 0 0 $gap-largest 0;
|
2019-02-19 21:07:19 +00:00
|
|
|
margin-right: var(--large-gap);
|
2019-02-21 01:13:54 +00:00
|
|
|
padding: $gap-large;
|
2019-02-19 21:07:19 +00:00
|
|
|
border: 0;
|
2019-03-06 21:36:54 +00:00
|
|
|
box-shadow: 0 0 8px -2px rgba(0, 0, 0, 0.3);
|
|
|
|
|
2019-03-13 10:36:03 +00:00
|
|
|
&::before {
|
2019-03-06 21:36:54 +00:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 4px;
|
|
|
|
height: 100%;
|
|
|
|
background: transparent;
|
|
|
|
}
|
2019-02-19 21:07:19 +00:00
|
|
|
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__header {
|
2019-02-19 21:07:19 +00:00
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-01 17:37:51 +00:00
|
|
|
a.components-button {
|
2019-03-19 15:50:37 +00:00
|
|
|
min-height: 36px;
|
|
|
|
padding: 4px 16px;
|
|
|
|
|
2019-12-13 17:35:29 +00:00
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
min-height: 36px;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 1.625;
|
|
|
|
padding: 5px 16px;
|
|
|
|
}
|
|
|
|
|
2019-03-01 17:37:51 +00:00
|
|
|
+ .components-button {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-button {
|
2020-07-17 00:11:42 +00:00
|
|
|
color: $gray-700;
|
2019-03-01 17:37:51 +00:00
|
|
|
}
|
2019-02-21 23:34:43 +00:00
|
|
|
}
|
|
|
|
|
2019-02-21 23:24:01 +00:00
|
|
|
@include breakpoint( '<782px' ) {
|
2019-02-21 23:39:30 +00:00
|
|
|
margin-bottom: $gap-large;
|
2019-02-21 23:24:01 +00:00
|
|
|
padding: $gap;
|
|
|
|
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__header {
|
2019-02-21 23:24:01 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
}
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
|
|
|
|
2019-03-06 21:36:54 +00:00
|
|
|
.woocommerce-embed-page {
|
|
|
|
.woocommerce-store-alerts {
|
2020-06-24 20:52:03 +00:00
|
|
|
margin: 40px 20px 20px;
|
2019-06-28 17:46:17 +00:00
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
margin-top: $gap-large;
|
|
|
|
}
|
2019-03-06 21:36:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-01 17:37:51 +00:00
|
|
|
.is-alert-error {
|
2019-02-21 01:13:54 +00:00
|
|
|
$alert-color: #dc3232;
|
2019-03-06 21:36:54 +00:00
|
|
|
|
2019-03-13 10:36:03 +00:00
|
|
|
&::before {
|
2019-03-06 21:36:54 +00:00
|
|
|
background-color: $alert-color;
|
|
|
|
}
|
2019-02-19 21:07:19 +00:00
|
|
|
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__header h2 {
|
2019-02-19 21:07:19 +00:00
|
|
|
svg {
|
2019-02-21 01:13:54 +00:00
|
|
|
color: $alert-color;
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-01 17:37:51 +00:00
|
|
|
.is-alert-update {
|
2019-02-21 01:13:54 +00:00
|
|
|
$alert-color: #11a0d2;
|
2019-03-06 21:36:54 +00:00
|
|
|
|
2019-03-13 10:36:03 +00:00
|
|
|
&::before {
|
2019-03-06 21:36:54 +00:00
|
|
|
background-color: $alert-color;
|
|
|
|
}
|
2019-02-19 21:07:19 +00:00
|
|
|
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__header h2 {
|
2019-02-19 21:07:19 +00:00
|
|
|
svg {
|
2019-02-21 01:13:54 +00:00
|
|
|
color: $alert-color;
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-store-alerts__message {
|
2019-02-21 01:13:54 +00:00
|
|
|
margin-bottom: 16px;
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-store-alerts__pagination {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
border: 1px solid $button-border;
|
|
|
|
border-radius: 4px;
|
|
|
|
background: $button;
|
2019-02-21 23:24:01 +00:00
|
|
|
margin-left: 16px;
|
|
|
|
min-width: 120px;
|
2019-02-19 21:07:19 +00:00
|
|
|
|
|
|
|
.components-button {
|
|
|
|
padding: 4px;
|
2020-04-03 11:26:24 +00:00
|
|
|
|
|
|
|
/*!rtl:ignore*/
|
|
|
|
.rtl & .dashicons-arrow-left-alt2,
|
|
|
|
.rtl & .dashicons-arrow-right-alt2 {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-store-alerts__pagination-label {
|
|
|
|
padding: 5px 12px;
|
|
|
|
border-width: 0 1px;
|
|
|
|
border-color: $button-border;
|
|
|
|
border-style: solid;
|
2019-02-26 23:10:00 +00:00
|
|
|
flex: 1 1;
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
2019-02-21 23:24:01 +00:00
|
|
|
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
|
|
|
|
.woocommerce-store-alerts__pagination-label {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2019-12-13 17:35:29 +00:00
|
|
|
|
|
|
|
button:first-child {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:last-child {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
2019-03-06 21:36:54 +00:00
|
|
|
|
|
|
|
.woocommerce-store-alerts.is-loading {
|
2019-03-13 10:36:03 +00:00
|
|
|
&::before {
|
2019-03-06 21:36:54 +00:00
|
|
|
@include placeholder();
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-placeholder {
|
|
|
|
@include placeholder();
|
|
|
|
display: inline-block;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__header {
|
|
|
|
.is-placeholder:nth-child(1) {
|
2019-03-06 21:36:54 +00:00
|
|
|
width: 340px;
|
2020-12-21 19:06:26 +00:00
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
.is-placeholder:nth-child(2) {
|
|
|
|
width: 137px;
|
|
|
|
height: 38px;
|
2019-03-06 21:36:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__footer {
|
2019-03-06 21:36:54 +00:00
|
|
|
.is-placeholder {
|
|
|
|
min-width: 120px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__body {
|
2019-03-06 21:36:54 +00:00
|
|
|
.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' ) {
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__header h2 {
|
2019-03-06 21:36:54 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.is-placeholder {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-21 19:06:26 +00:00
|
|
|
.components-card__footer {
|
2019-03-06 21:36:54 +00:00
|
|
|
margin-bottom: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-19 15:50:37 +00:00
|
|
|
|
|
|
|
.woocommerce-store-alerts__snooze {
|
|
|
|
display: inline-flex;
|
|
|
|
margin-left: 10px;
|
|
|
|
|
2019-12-13 17:35:29 +00:00
|
|
|
.components-select-control__input {
|
|
|
|
vertical-align: initial;
|
|
|
|
min-height: 36px;
|
2019-03-19 15:50:37 +00:00
|
|
|
}
|
|
|
|
}
|