// @page Pattern Library/Components // @name Featured deal // // @description // The `.us-featured` is mostly composed by smaller components, the components can be shuffled around inside of a grid to create the needed variants. // This featured deal won't make any assumptions around the media queries, it's up to you, to deal with it. As you can see on the examples. // // @markup //
// // // //
$featured-list-padding: 1em; $featured-highlight-text-size: 1.5em; $featured-legal-text-size: .9em; .us-featured__header { overflow: hidden; background-color: #fff; } .us-featured__content { position: relative; background-color: $c-cyan-light; ul { padding-left: $featured-list-padding; } } .us-featured__mobile-icon { position: absolute; top: 45%; right: 5px; float: right; } .us-featured-highlight { font-weight: bold; color: $c-navy; text-align: center; } .us-featured-highlight__title { display: block; font-size: $featured-highlight-text-size; } .us-featured-highlight__link { font-weight: normal; } .us-featured__footer { font-size: $featured-legal-text-size; background-color: $c-cyan-light; border-top: 1px solid $c-bordergrey; }