ArticleTemplates/assets/scss/modules/_live-promo.scss (75 lines of code) (raw):
.block--live-promo {
background-color: color(tone-highlight);
border: 0;
padding-bottom: 0;
padding-top: 0;
color: color(brightness-7);
.block__body {
font-family: "Guardian Headline";
display: flex;
flex-direction: row;
position: relative;
}
.block__time {
@include mq($to: col1) {
display: none;
}
}
}
.live-promo {
&__content {
display: flex;
flex-direction: column;
align-items: flex-start;
flex-grow: 1;
}
&__title {
margin: 8px 0;
font-size: 28px;
line-height: 32px;
}
&__body {
font-size: 18px;
margin: 8px 0;
flex-grow: 1;
}
&__button {
background-color: color(news-kicker);
color: color(brightness-100);
border-radius: 20px;
border: 0;
padding: 10px 20px;
font-family: "Guardian Text Sans Web";
font-size: 17px;
line-height: 21px;
font-weight: bold;
margin: 12px 0;
&__icon {
margin-left: 10px;
}
&.pressed {
background-color: color(news-dark-1);
}
}
&__artwork {
display: flex;
flex-direction: column;
svg {
display: block;
}
}
&__close-button {
border-radius: 1000px;
border: 1px solid #12121288;
position: absolute;
top: 12px;
right: 0;
width: 32px;
height: 32px;
text-align: center;
padding: 0;
&.pressed {
background: #00000044;
}
}
}