N°2847 - fieldset style for extensions before 3.0.0

This commit is contained in:
Eric
2020-11-04 11:30:46 +01:00
parent 1fc54edf21
commit eb391d52fc

View File

@@ -17,6 +17,7 @@ $ibo-fieldset--legend--border-bottom-style: solid !default;
margin-top: $ibo-fieldset--sibling-spacing;
}
}
.ibo-fieldset-legend {
width: $ibo-fieldset--legend--width;
margin-bottom: $ibo-fieldset--legend--margin-bottom;
@@ -25,3 +26,19 @@ $ibo-fieldset--legend--border-bottom-style: solid !default;
@extend %ibo-font-ral-med-250;
}
/* For compatibility with extensions before 3.0.0 */
fieldset {
&:not(.ibo-fieldset) {
margin: 10px;
& legend {
width: $ibo-fieldset--legend--width;
margin-bottom: $ibo-fieldset--legend--margin-bottom;
padding-bottom: $ibo-fieldset--legend--padding-bottom;
border-bottom: $ibo-fieldset--legend--border-bottom-size $ibo-fieldset--legend--border-bottom-style $ibo-fieldset--legend--border-bottom-color;
@extend %ibo-font-ral-med-250;
}
}
}