2019-02-19 21:07:19 +00:00
|
|
|
/** @format */
|
2019-02-21 01:13:54 +00:00
|
|
|
@mixin store-alerts-box-shadow( $color ) {
|
|
|
|
box-shadow: 0 0 8px -2px rgba(0, 0, 0, 0.3), inset 4px 0 0 0 $color;
|
|
|
|
}
|
2019-02-19 21:07:19 +00:00
|
|
|
|
|
|
|
.woocommerce-store-alerts {
|
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;
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2019-02-21 23:24:01 +00:00
|
|
|
|
2019-02-21 23:34:43 +00:00
|
|
|
a.components-button.is-button {
|
|
|
|
color: $core-grey-dark-500;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
.woocommerce-card__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
}
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.is-alert-emergency {
|
2019-02-21 01:13:54 +00:00
|
|
|
$alert-color: #dc3232;
|
|
|
|
@include store-alerts-box-shadow( $alert-color );
|
2019-02-19 21:07:19 +00:00
|
|
|
|
|
|
|
.woocommerce-card__title {
|
|
|
|
svg {
|
2019-02-21 01:13:54 +00:00
|
|
|
color: $alert-color;
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-alert-alert {
|
2019-02-21 01:13:54 +00:00
|
|
|
$alert-color: #11a0d2;
|
|
|
|
@include store-alerts-box-shadow( $alert-color );
|
2019-02-19 21:07:19 +00:00
|
|
|
|
|
|
|
.woocommerce-card__title {
|
|
|
|
svg {
|
2019-02-21 01:13:54 +00:00
|
|
|
color: $alert-color;
|
2019-02-19 21:07:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-alert-critical {
|
2019-02-21 01:13:54 +00:00
|
|
|
$alert-color: #ffb900;
|
|
|
|
@include store-alerts-box-shadow( $alert-color );
|
2019-02-19 21:07:19 +00:00
|
|
|
|
|
|
|
.woocommerce-card__title {
|
|
|
|
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-bottom: 2px 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-02-19 21:07:19 +00:00
|
|
|
}
|