woocommerce/plugins/woocommerce-admin/client/marketing/components/recommended-extensions/style.scss

81 lines
1.0 KiB
SCSS

.woocommerce-marketing-recommended-extensions-card {
.woocommerce-card__body {
padding: $gap-small;
}
.components-spinner {
float: none;
margin: 45px auto 50px;
display: block;
}
&__items {
display: flex;
flex-wrap: wrap;
@include breakpoint( '>600px' ) {
> a {
width: 50%;
}
}
@include breakpoint( '>960px' ) {
> a {
width: 33.3%;
}
&--count-1 > a {
width: 100%;
}
&--count-2 > a {
width: 50%;
}
&--count-4 > a {
width: 25%;
}
}
}
}
.woocommerce-marketing-recommended-extensions-item {
display: block;
padding: 12px;
text-decoration: none;
position: relative;
h4 {
color: $core-grey-dark-800;
margin: -2px 0 5px;
font-size: 16px;
line-height: 1.3;
}
p {
color: $core-grey-dark-500;
margin: 0;
}
&:hover {
h4 {
color: $core-blue-dark-900;
}
p {
color: $core-grey-dark-900;
}
}
&__text {
padding-left: 46px;
}
.woocommere-admin-marketing-product-icon {
position: absolute;
top: 12px;
left: 12px;
}
}