File size: 1,500 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
@use "sass:math";
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
// Extra specificity needed to override banner alignment rules
.hosting-upsell-nudge.banner.card {
@include break-mobile {
align-items: flex-start;
}
.banner__title {
font-size: $font-body;
color: var(--color-neutral-90);
font-weight: 500;
margin-bottom: 18px;
// Vertically aligns the title with the icon which is 31px tall.
line-height: 31px;
}
.banner__content {
flex-direction: column;
align-items: flex-start;
}
.banner__info {
@include break-mobile {
width: 100%;
}
}
.banner__action {
@include break-mobile {
text-align: initial;
width: 100%;
margin: 22px 0 12px 0;
display: flex;
flex-direction: row;
align-items: center;
}
.button:not(:first-child) {
margin-top: 15px;
@include break-mobile {
margin-left: 12px;
margin-top: 0;
}
}
}
ul {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 22px 24px;
}
.hosting-upsell-nudge__feature-icon {
margin-right: 8px;
}
.hosting-upsell-nudge__feature-title {
font-size: $font-body-small;
font-weight: 500;
color: var(--color-neutral-80);
margin-bottom: 10px;
display: flex;
align-items: center;
}
.hosting-upsell-nudge__feature-description {
font-size: $font-body-small;
color: var(--color-neutral-50);
[lang^="en"] & {
letter-spacing: math.div(-0.15px, $root-font-size) * 1rem;
}
}
}
|