SASS额外的虚假选择器

时间:2017-08-04 17:03:01

标签: css sass

我们正在将伪造的选择器添加到CSS中。我试图追踪这是否与文件结构,SASS或Compass,Post CSS相关。

我们正在为选择器使用字符串连接:

.application-panel {

    &--left {

        .application-panel__inner {

            > .btn {
                right: 0;
            }
        }
    }
}

我们在CSS中得到这个。

.application-panel--left .application-panel__inner>.accordion__action, .application-panel--left .application-panel__inner>.btn, .application-panel--left .application-panel__inner>.card-action__button, .application-panel--left .application-panel__inner>.search-bar__button, .application-panel--left .calendar-registration .application-panel__inner>.link--calendar-call, .application-panel--left .calendar-registration .application-panel__inner>.link--calendar__button, .application-panel--left .copy-block__meta .application-panel__inner>.form__item--pill, .application-panel--left .form--coupon .application-panel__inner>input[type=submit], .application-panel--left .form--global-footer .application-panel__inner>input[type=submit], .application-panel--left .form .application-panel__inner>input.form__submit, .application-panel--left .links .toggle--multi-state.application-panel__inner>.toggle__trigger, .application-panel--left .pages .toggle--multi-state.application-panel__inner>.toggle__trigger, .application-panel--left .posts .toggle--multi-state.application-panel__inner>.toggle__trigger, .application-panel--left .search .toggle--multi-state.application-panel__inner>.toggle__trigger, .calendar-registration .application-panel--left .application-panel__inner>.link--calendar-call, .calendar-registration .application-panel--left .application-panel__inner>.link--calendar__button, .copy-block__meta .application-panel--left .application-panel__inner>.form__item--pill, .form--coupon .application-panel--left .application-panel__inner>input[type=submit], .form--global-footer .application-panel--left .application-panel__inner>input[type=submit], .form .application-panel--left .application-panel__inner>input.form__submit, .links .application-panel--left .toggle--multi-state.application-panel__inner>.toggle__trigger, .pages .application-panel--left .toggle--multi-state.application-panel__inner>.toggle__trigger, .posts .application-panel--left .toggle--multi-state.application-panel__inner>.toggle__trigger, .search .application-panel--left .toggle--multi-state.application-panel__inner>.toggle__trigger { right: 0;}

0 个答案:

没有答案