.#{$prefix}fieldset { display: block; /* preserve margins in IE */ position: relative; overflow: hidden; // Safari has a bug where fieldset legend is not displayed .#{$prefix}safari:not(.#{$prefix}safari10m) & { overflow: visible; } } .#{$prefix}fieldset-header { overflow: hidden; // fixes a webkit bug where legend elements that have floated children are not displayed .#{$prefix}form-item, .#{$prefix}tool { float: left; } .#{$prefix}fieldset-header-text { float: left; } .#{$prefix}form-cb-wrap { font-size: 0; line-height: 0; min-height: 0; height: auto; // override form-cb-wrap's height from neutral theme } .#{$prefix}form-cb { margin: 0; // override the default checkbox margin // Checkboxes are now absolutely positioned so reset the positioning (see EXTJSIV-10302). position: static; // Need to reset display to have dimensions applied display: inherit; } } .#{$prefix}fieldset-body { overflow: hidden; } .#{$prefix}fieldset-collapsed { padding-bottom: 0 !important; > .#{$prefix}fieldset-body { display: none; } } .#{$prefix}fieldset-header-text-collapsible { cursor: pointer; } @if $include-rtl { .#{$prefix}rtl.#{$prefix}fieldset-header { .#{$prefix}form-item, .#{$prefix}tool { float: right; } .#{$prefix}fieldset-header-text { float: right; } } }