UCI
<div class="field-top form-list__tooltip-label_default">
    <label class="label-m" for="">Label</label>
    <div class="field-top__wrap">
    </div>
</div>
{{#if label-option-2}}
<div class="field-top{{#if fieldset}} fieldset{{/if}} form-list__tooltip-label_option_2">
    {{> @label-m label-option-2 }}
    <div class="field-top__wrap">
        {{#if link}}
        {{> @link link }}
        {{/if}}
        {{#if tooltip}}
        {{> @tooltip tooltip }}
        {{/if}}
    </div>
</div>
{{/if}}
<div class="field-top{{#if fieldset}} fieldset{{/if}} form-list__tooltip-label_default">
    {{> @label-m label }}
    <div class="field-top__wrap">
        {{#if link}}
        {{> @link link }}
        {{/if}}
        {{#if tooltip}}
        {{> @tooltip tooltip }}
        {{/if}}
    </div>
</div>
{
  "label": {
    "text": "Label"
  }
}
  • Content:
    .field-top {
        display: flex;
        margin-bottom: 4px;
        height: 36px;
        align-items: flex-end;
        justify-content: space-between;
        line-height: 2px;
    
        &.fieldset {
            justify-content: flex-start;
            gap:10px;
        }
    
        &__wrap {
            display: flex;
            margin-bottom: 3px;
            flex-direction: row-reverse;
        }
    
        .tooltip {
            position: relative;
            top: -12px;
            padding-right: 12px;
            right: 0;
            line-height: inherit;
    
            .icon {
                fill: var(--color-primary-brand);
            }
    
            .msg-tooltip {
                .arrow {
                    top: -25px;
                }
            }
        }
        a.link + .tooltip {
            top: 1px;
            padding-right: 20px;
        }
    
        .link_inline {
            color: var(--color-primary-brand);
        }
    
        &__trigger {
            margin-left: 8px;
            transition: all 0.3s;
    
            &:hover,
            &:focus {
                opacity: 0.6;
            }
        }
    
        .label-m {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
    
        /* PARA CAMPOS CON LABEL CONDICIONADO POR OTROS CAMPOS, COMO EN EL APPLICATION FORM (CA)*/
    
        &.form-list__tooltip-label_option_2 {
            display: none;
        }
    
        /* FIN PARA CAMPOS CON LABEL CONDICIONADO POR OTROS CAMPOS, COMO EN EL APPLICATION FORM (CA)*/
    }
  • URL: /components/raw/field-top/field-top.css
  • Filesystem Path: src/02-molecules/field-top/field-top.css
  • Size: 1.4 KB

No notes defined.