|
| 1 | +// ============================================================================= |
| 2 | +// PRODUCT Promotion Callouts (CSS) |
| 3 | +// ============================================================================= |
| 4 | + |
| 5 | +.promotionCallout { |
| 6 | + margin-top: spacing("quarter"); |
| 7 | +} |
| 8 | + |
| 9 | +.promotionCallout-item { |
| 10 | + display: flex; |
| 11 | + flex-wrap: wrap; |
| 12 | + align-items: center; |
| 13 | + gap: spacing("quarter"); |
| 14 | + padding: spacing("quarter") spacing("half"); |
| 15 | + background: stencilColor("color_bg_featured_promotions"); |
| 16 | + border: 1px solid rgba(0, 0, 0, 0.08); |
| 17 | + border-radius: 4px; |
| 18 | +} |
| 19 | + |
| 20 | +.promotionCallout-icon { |
| 21 | + flex-shrink: 0; |
| 22 | + width: 16px; |
| 23 | + height: 16px; |
| 24 | + stroke: stencilColor("color_text_featured_promotions"); |
| 25 | +} |
| 26 | + |
| 27 | +.promotionCallout-text { |
| 28 | + font-size: fontSize("smaller"); |
| 29 | + color: stencilColor("color_text_featured_promotions"); |
| 30 | + font-weight: fontWeight("semibold"); |
| 31 | + line-height: lineHeight("smallest"); |
| 32 | +} |
| 33 | + |
| 34 | +.promotionCallout-more { |
| 35 | + flex-basis: 100%; |
| 36 | + font-size: fontSize("smallest"); |
| 37 | + color: stencilColor("color_text_featured_promotions"); |
| 38 | + opacity: 0.7; |
| 39 | +} |
| 40 | + |
| 41 | +.promotionCallout--full { |
| 42 | + list-style: none; |
| 43 | + margin: 0 0 spacing("half"); |
| 44 | + padding: 0; |
| 45 | + |
| 46 | + .promotionCallout-item + .promotionCallout-item { |
| 47 | + margin-top: spacing("quarter"); |
| 48 | + } |
| 49 | +} |
| 50 | + |
| 51 | +.card-body .promotionCallout--compact { |
| 52 | + margin-top: spacing("quarter"); |
| 53 | +} |
| 54 | + |
| 55 | +.listItem-actions .promotionCallout--compact { |
| 56 | + margin-top: spacing("quarter"); |
| 57 | +} |
0 commit comments