woocommerce/plugins/woocommerce-admin/client/marketing/overview/installed-extensions/style.scss

96 lines
1.5 KiB
SCSS

.woocommerce-marketing-installed-extensions-card {
.woocommerce-card__body {
padding: 0;
}
&__item {
display: flex;
align-items: center;
padding: 18px 24px;
h4 {
font-weight: 400;
font-size: 16px;
margin: 0 0 5px;
color: $core-grey-dark-800;
}
p {
color: $core-grey-dark-500;
margin: 0;
}
}
&__item:not(:last-child) {
border-bottom: 1px solid $core-grey-light-500;
}
&__item-text-and-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
flex-grow: 2;
min-width: 0; // Flexbox truncated text fix
@include breakpoint( '>600px' ) {
flex-wrap: nowrap;
}
}
&__item-actions {
@include breakpoint( '>600px' ) {
text-align: right;
white-space: nowrap;
padding-left: 25px;
}
}
&__item-description {
@include breakpoint( '>960px' ) {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 550px;
}
}
&__item-links {
margin: 0;
padding: 0;
li {
display: inline-block;
margin: 0 25px 0 0;
@include breakpoint( '>600px' ) {
margin: 0 0 0 30px;
}
}
a {
font-weight: 600;
color: $core-blue-dark-900 !important;
text-decoration: none;
font-size: 14px;
}
}
.woocommere-admin-marketing-product-icon {
align-self: flex-start;
margin-right: 14px;
margin-top: 2px; // Align top of image with text
}
&__item-text {
min-width: 0; // Flexbox truncated text fix
flex-grow: 2;
margin: 0 0 10px;
width: 100%;
@include breakpoint( '>600px' ) {
margin: 0;
width: auto;
}
}
}