<div class="form-radio-group " id="reasonBuying">
<div class="field-top fieldset form-list__tooltip-label_default">
<!-- para los radio y checkbox group -->
<fieldset class="label-m " for="">Field Text</fieldset>
<div class="field-top__wrap">
<a class="link
link_inline
" href="#">
<span>Link</span>
</a>
<!-- Se añade la variante fractal para la visualización en Fractal. NO INTEGRAR -->
<div class="tooltip flex">
<svg class="icon icon-16_tooltip ">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/dist/icons/icons.svg#16_tooltip"></use>
</svg>
<div class="msg-tooltip">
<span class="arrow"></span>
<div class="wrap">
<p class="
title-s
">Títulilllo</p>
<div class="
bodycopy-s
">
Este es el texto.
</div> <a class="link
" href="#">
<span>Enlacillo</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="radio-group" id="">
<ul>
<li class="radio-group__item">
<div class="radio disabled">
<input class="radio-input" id="reasonBuyingSecond" type="radio" title="Second Home" name="reasonBuying" value="SECOND HOME" disabled checked>
<label class="radio-label " for="reasonBuyingSecond" id="" value="">
<span class="caption-placeholder-m">SECOND HOME</span>
</label>
</div>
</li>
<li class="radio-group__item">
<div class="radio disabled">
<input class="radio-input" id="reasonBuyingRelocation" type="radio" title="Relocation" name="reasonBuying" value="RELOCATION" disabled>
<label class="radio-label " for="reasonBuyingRelocation" id="" value="">
<span class="caption-placeholder-m">RELOCATION</span>
</label>
</div>
</li>
<li class="radio-group__item">
<div class="radio disabled">
<input class="radio-input" id="reasonBuyingOther" type="radio" title="Other" name="reasonBuying" value="OTHER" disabled>
<label class="radio-label " for="reasonBuyingOther" id="" value="">
<span class="caption-placeholder-m">OTHER</span>
</label>
</div>
</li>
</ul>
</div>
<div class="field-bottom">
</div>
</div>
<div class="form-radio-group {{#if distinguisher}} form-radio-group-distinguisher_{{ distinguisher}} {{/if}}{{#if Column}} inColumn{{/if}}{{#if isBGTransparent}} bgtransparent{{/if}}{{#if isBGAccentLight}} bgaccentlight{{/if}}{{#if isError}} error{{/if}}"{{#if id}} id="{{ id }}" {{/if}}>
{{> @field-top field-top }}
{{> @radio-group radio-group }}
{{> @field-bottom field-bottom }}
</div>
{
"field-top": {
"fieldset": true,
"label": {
"text": "Field Text",
"fieldset": true
},
"link": {
"isInline": true,
"href": "#",
"text": "Link"
},
"tooltip": {
"isFlex": true,
"title": {
"text": "Títulilllo",
"isP": true
},
"bodycopy": {
"text": "Este es el texto."
},
"link": {
"href": "#",
"text": "Enlacillo"
}
}
},
"id": "reasonBuying",
"radio-group": {
"radio-group": [
{
"id": "reasonBuyingSecond",
"isColumn": true,
"title": "Second Home",
"name": "reasonBuying",
"disabled": true,
"additionalAttributes": "checked",
"label": {
"text": "SECOND HOME",
"type": "-placeholder-m"
}
},
{
"id": "reasonBuyingRelocation",
"isColumn": true,
"title": "Relocation",
"name": "reasonBuying",
"disabled": true,
"label": {
"text": "RELOCATION",
"type": "-placeholder-m"
}
},
{
"id": "reasonBuyingOther",
"title": "Other",
"name": "reasonBuying",
"disabled": true,
"label": {
"text": "OTHER",
"type": "-placeholder-m"
}
}
]
}
}
.form-radio-group {
margin-bottom: 20px;
position: relative;
.radio-group {
padding:12px 0;
li {
width: auto;
&:first-child {
padding: 0;
}
.radio-label {
&:before {
background-color: var(--color-white);
}
}
.radio:disabled, .radio.disabled {
.radio-label:before {
background-color: var(--color-background-disabled);
}
}
}
}
&.bgtransparent {
.radio-group {
li {
.radio-label {
&:before {
background-color: transparent;
}
}
}
}
}
&.bgaccentlight {
.radio-group {
li {
.radio-label {
&:before {
background-color: var(--color-accent-light);
border-color: var(--color-accent-light);
}
&:hover,
&:focus {
&:before {
border-color: var(--color-secondary);
}
}
}
}
}
}
.form-list {
&__helper-text {
padding-top: 15px;
}
}
&.inColumn {
.radio-group ul {
flex-direction: column;
li {
padding-bottom: 10px;
&:last-child {
padding-bottom: 0;
}
}
}
}
&.error {
.radio .radio-label:before {
border-color: var(--color-danger);
color: var(--color-danger);
&:focus {
color: var(--color-text);
}
}
.field-bottom {
&__error-message {
display: block;
position: relative;
}
&__helper-text {
display: none;
}
}
}
}
No notes defined.