<div class="c-chip ">
<svg class="c-icon c-icon--18">
<use xlink:href="#ic_directions_walk_black_24px"></use>
</svg>
<span>26 mt.</span>
</div>
<div class="c-chip {{ modifier }}">
{{#if chip-icon}}
{{> @icon chip-icon }}
{{/if}}
{{#if has-link }}
<a href="{{ link-url }}">{{ text }}</a>
{{else}}
<span>{{ text }}</span>
{{/if}}
</div>
{
"chip-icon": {
"class": "c-icon c-icon--18",
"symbol": "ic_directions_walk_black_24px"
},
"text": "26 mt."
}
.c-chip {
display: flex;
justify-content: space-between;
align-items: center;
background-color: primary(night, 60);
border-radius: remify(14px);
padding: remify(5px) remify(12px) remify(5px) remify(8px);
width: max-content;
span {
color: secondary(page, 100);
font-size: remify(12px);
}
svg {
fill: secondary(page, 100);
margin-right: remify(12px);
}
a {
color: secondary(page, 100);
font-size: remify(12px);
text-decoration: none;
}
.c-airport-map__chip-list & {
margin: remify(6px) remify(6px);
padding: remify(8px) remify(16px);
border-radius: remify(20px);
background-color: primary(sky, 120);
font-weight: fw(bold);
}
.c-airport-map__detail--mobile & {
position: absolute;
top: remify(-20px);
min-width: remify(140px);
}
&.is-selected {
background-color: primary(night, 100);
}
}
/*------------------------------------*
Modifier: c-chip--filter
*------------------------------------*/
.c-chip--filter {
background-color: primary(sky, 20);
color: secondary(text, 100);
padding: remify(2px) remify(12px);
border-radius: remify(48px);
border: remify(1px) solid primary(sky, 40);
span {
color: currentColor;
@include font-scale(level-1-5);
font-weight: fw(semibold);
}
svg {
margin-right: 0;
fill: secondary(text, 100);
vertical-align: middle;
}
.c-chip__button {
cursor: pointer;
border: 0;
padding: 0;
background-color: transparent;
margin-left: remify(16px);
}
}
No notes defined.