XF 2.0 Less_Exception_Chunk: ParseError: missing closing `}` in anonymous-file-1327.less

Статус
В этой теме нельзя размещать новые ответы.

West14

meow
Модераторы
Сообщения
4,563
Решения
96
Реакции
11,857
Баллы
6,865
Приветствую. Часто возникают ошибки подобного типа.
Less_Exception_Chunk: ParseError: missing closing `}` in anonymous-file-261.less on line 2298, column 57 2296| display: none; 2297| } 2298| }[data-widget-key="login_form"] .formSubmitRow-controls { 2299| padding-left: 0; 2300| text-align: center; 2301| } • src/vendor/oyejorge/less.php/lib/Less/Parser.php:677
#0 src/vendor/oyejorge/less.php/lib/Less/Parser.php(621): Less_Parser->GetRules(NULL)
#1 src/vendor/oyejorge/less.php/lib/Less/Parser.php(449): Less_Parser->_parse()
#2 src/XF/CssRenderer.php(363): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(311): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#4 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#5 src/XF/CssRenderer.php(101): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 4, 2, 'ebb49744e228e02...')
#8 {main}
array(4) {
["url"] => string(143) "/css.php?css=public%3Amember.less%2Cpublic%3Anotices.less%2Cpublic%3Aextra.less&s=4&l=2&d=1512073902&k=1f8b6ee8af2c7be41a71b62d8e6bf681b9d5471f"
["referrer"] => string(42) "https: //itvegas.ru/members/?key=most_likes"
["_GET"] => array(5) {
["css"] => string(56) "public:member.less,public:notices.less,public:extra.less"
["s"] => string(1) "4"
["l"] => string(1) "2"
["d"] => string(10) "1512073902"
["k"] => string(40) "1f8b6ee8af2c7be41a71b62d8e6bf681b9d5471f"
}
["_POST"] => array(0) {
}
}
Когда, добавляю новый код в экстру модификацией, то текст ошибки меняется.
Я, конечно, понимаю, что там вроде бы всё просто написано, типа где-то пропущена закрывающая скобка. Но я перепроверял код, и мне кажется - проблема в чем-то другом. Ещё не исключено, что я слепой и не увидел ошибки, хоть и перепроверял в редакторе коде, который по идее подсветил бы мне ошибки. Пробовал так же делать ребилд шаблонов, где-то на форуме писало, что могло что-то закешироваться, ошибки всё так же вылетают. Вылетают они уже достаточно давно, но я это игнорировал, т.к. проблему воспроизвести не смог, каких-либо проблем с отображением не наблюдал.
 
BINGO_SHARK, пользователям для выбора доступны всего два стиля - светлый и темный UI.X. По дефолту у всех светлый.
Less:
@_memberHeader-padding: @xf-paddingLarge;
@_memberHeader-avatarSize: @avatar-l;
@_memberHeader-avatarSizeShrunk: @avatar-m;

.uix_memberHeader__extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.memberHeader
{
    .m-clearFix();
}

.memberHeader-main
{
    .xf-memberHeader();
}

.memberHeader-avatar
{
    float: left;
    padding: @_memberHeader-padding;

    img,
    .avatar
    {
        display: block;
    }
}

.memberHeader-content
{
    padding: @_memberHeader-padding;
    padding-left: ((@_memberHeader-padding) * 2 + (@_memberHeader-avatarSize));
    border-bottom: 1px solid @xf-borderColor;
}

.memberHeader-actionTop
{
    float: right;
}

.memberHeader-name
{
    margin: 0;
    margin-top: -.15em;
    padding: 0;
    font-weight: @xf-fontWeightNormal;
    .xf-memberHeaderName();
}

.memberHeader-banners,
.memberHeader-blurb
{
    margin-top: @xf-paddingSmall;
}

.memberHeader-separator
{
    margin: @_memberHeader-padding 0;
    border: none;
    border-top: @xf-borderSize solid @xf-borderColorLight;
}

.memberHeader-stats
{
    font-size: @xf-fontSizeLarge;

    .pairs.pairs--row
    {
        min-width: 100px;
    }
}

@media (max-width: @xf-responsiveMedium)
{
    .memberHeader-avatar .avatar
    {
        .m-avatarSize(@_memberHeader-avatarSizeShrunk);
    }

    .memberHeader-content
    {
        padding-left: ((@_memberHeader-padding) * 2 + (@_memberHeader-avatarSizeShrunk));
    }
}

@media (max-width: @xf-responsiveNarrow)
{
    .memberHeader-avatar
    {
        display: block;
        float: none;
        padding-bottom: 0;
        text-align: center;

        .avatar
        {
            display: inline-block;
        }
    }

    .memberHeader-content
    {
        padding-left: @_memberHeader-padding;
    }

    .memberHeader-main .memberHeader-content
    {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        min-height: 0;
        text-align: center;
    }

    .memberHeader-name
    {
        text-align: center;
        margin-top: 0;
    }

    .memberHeader-actionTop
    {
        float: none;
        order: 2;
        margin-top: @xf-paddingSmall;
    }

    .memberHeader-buttons
    {
        text-align: center;
    }

    .memberHeader-banners,
    .memberHeader-blurb
    {
        text-align: inherit;
    }
}

.block-tabHeader.block-tabHeader--memberTabs
{
    border-bottom: none;
}



.memberOverviewBlocks
{
    .m-listPlain();

    display: flex;
    flex-wrap: wrap;
    align-items: stretch;

    > li
    {
        .has-no-flexbox &
        {
            display: inline-block;
            vertical-align: top;
        }

        width: 33.3%;
        max-width: 100%;
        padding: @xf-blockPaddingV @xf-blockPaddingH;

        @media (max-width: 1150px)
        {
            width: 50%;
        }

        @media (max-width: 580px)
        {
            width: 100%;
        }
    }
}

.memberOverviewBlock
{
    display: flex;
    flex-direction: column;
}
.memberOverviewBlock-list
{
    .m-listPlain();

    > li
    {
        margin: @xf-paddingMedium 0;
    }
}
.memberOverviewBlock-seeMore
{
    .xf-minorBlockContent();
    padding: @xf-paddingSmall;
    text-align: center;

    // pushes this to the bottom with flex box
    margin-top: auto;
}
Less:
//=========================[BEGIN Стилизация статистики]=========================
.forumStatsContainer.forumStats-shown {
    .dataList-cell {
        div.dataList-textRow::before {
            font-family: FontAwesome;
            content: "\f10c";
            margin-right: 8px;
            margin-left: 3px;
            color: #2196F3;
        }
    }
        div.dataList-textRow.pinned::before {
            font-family: FontAwesome;
            content: "\f08d";
            margin-right: 8px;
            margin-left: 3px;
            color: #2196F3;
        }
    .dataList-cell--highlighted div.dataList-textRow::before {
        font-family: FontAwesome;
        margin-right: 7px;
        margin-left: 3px;
        content: "\f111";
        color: #2196F3;
    }
    .dataList-row  {
        padding: 8px 8px;
    }
    .dataList-cell {
        padding: 8px 8px;
        &.dataList-cell--link {
            a {
                padding: 0;
            }
        }
        &.dataList-cell--min,
        &.dataList-cell--action {
            padding: 0 8px;       
        }
        &.dataList-cell--highlighted {
            background: fade(@xf-paletteColor4, 10%);
            &.dataList-cell--link a {
                font-weight: bold;
            }
        }       
    }
}
@media (max-width: @xf-responsiveWide) {
    .forumStatsContainer .tabPanes {
        margin-left: -12px;
        margin-right: -9px;
    }
    .forumStatsContainer .dataList-cell.dataList-cell--min.dataList-cell--alt:not(.lastposternick) {
        display: none;
    }
}
//=========================[END Стилизация статистики]=========================
//=========================[BEGIN Стили для чата]=========================
#siropuChatOptions {
    margin-top: 0;
}
#siropuChat i.fa.fa-paper-plane {
    padding-right: 3px;
}
#siropuChat #Hide-1{
    display: none;
}
//=========================[BEGIN Фикс похожих тем]============================
.block--similar-threads .structItemContainer-group {
    display: inherit;
}
.p-title-pageAction .block--similar-threads {
    display: none;
}
body[data-template="forum_post_thread"] div.structItemContainer-group.js-threadList {
    display: inherit;
}
//=========================[END Фикс похожих тем]============================

@font-face {
    font-family: 'BebasNeueBold';
    src: url('styles/default/xenforo/fonts/BebasNeueBold.eot');
    src: url('styles/default/xenforo/fonts/BebasNeueBold.eot?#iefix') format('embedded-opentype'),
         url('styles/default/xenforo/fonts/BebasNeueBold.woff') format('woff'),
         url('styles/default/xenforo/fonts/BebasNeueBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
//Ограничение на размер картинки в подписи
.message-signature img {
    max-width: 300px;
    max-height: 600px;
}

a.p-navEl-linkHolder[data-xf-key="1"] {
    text-decoration: none; //фикс подчеркивания у вкладки "ВАЖНО"
}
//Скрытие не нужных кнопок в редакторе сообщений профилей
body[data-template="member_view"], div.overlay [data-type="profile_post"] {
    [data-cmd="insertImage"], [data-cmd="Hide"], [data-cmd="xfCustom_jsfiddle"], [data-cmd="xfCustom_off"], [data-cmd="xfCustom_chat"], [data-cmd="xfBbCode"], [aria-labelledby^="xfInsert-"] + div.fr-separator {
        display: none;
    }
}
//========================================
.profileCover .profileCover--noimg {
    background: white; // цвет фона, если нету обложки
}
Less:
@_notice-darkBg: @xf-paletteColor4;
@_notice-lightBg: #fff;
@_notice-floatingFade: 100%;
@_notice-imageSize: 48px;
@_notice-padding: @xf-paddingLarge;

.notices
{
    .m-listPlain();

    &.notices--block
    {
        .notice
        {
            margin-bottom: @xf-elementSpacer;
        }
    }

    &.notices--floating
    {
        // assumed to be within u-bottomFixer
        margin: 0 auto 0 @xf-elementSpacer;
        width: 300px;
        max-width: 100%;
        z-index: @zIndex-8;

        @media (max-width: 340px)
        {
            margin-right: 10px;
        }

        .notice
        {
            margin-bottom: 20px;
        }
    }
    
    .uix_noticeInner {
        display: flex;
    }
    
    .uix_noticeIcon {
        display: flex;
        align-items: center;
        padding: 0 8px;
        color: rgba(255,255,255,.5);
        font-size: 24px;
    }

    &.notices--scrolling
    {
        display: flex;
        align-items: stretch;
        overflow: hidden;
        .xf-blockBorder();
        margin-bottom: ((@xf-elementSpacer) / 2);

        &.notices--isMulti
        {
            margin-bottom: ((@xf-elementSpacer) / 2) + 20px;
        }

        .notice
        {
            width: 100%;
            flex-grow: 0;
            flex-shrink: 0;
            border: none;
            box-shadow: none;
        }

        .has-no-flexbox &
        {
            display: block;
            white-space: nowrap;
            word-wrap: normal;

            .notice
            {
                display: inline-block;
                vertical-align: top;
            }
        }
    }
}

.noticeScrollContainer
{
    margin-bottom: ((@xf-elementSpacer) / 2);
    
    box-shadow: @xf-uix_elevation1;
    <xf:if is="property('uix_similarScrollNotice')">
        border: 2px solid @xf-uix_primaryColor;
    </xf:if>

    .lSSlideWrapper
    {
        .xf-blockBorder();
    }

    .notices.notices--scrolling
    {
        border: none;
        margin-bottom: 0;
    }
    
    <xf:if is="property('uix_similarScrollNotice')">
    .notice {
        &.notice--primary,
        &.notice--accent,
        &.notice--dark,
        &.notice--light {.xf-contentBase();}
        
        a {color: @xf-linkColor;}
    }
    </xf:if>
    
    .lSPager {.xf-contentBase();}
}

.notice
{
    .m-clearFix();
    position: relative;

    .xf-blockBorder();
    .xf-contentBase();
    border: 2px solid @xf-borderColor;

    &.notice--primary
    {
        .xf-contentBase();
        border: 2px solid @xf-uix_primaryColor;
        
        .uix_noticeIcon {background: @xf-uix_primaryColor;}
    }

    &.notice--accent
    {
        border: 2px solid @xf-uix_secondaryColor;
        
        .uix_noticeIcon {background: @xf-uix_secondaryColor;}

        a:not(.button--notice)
        {
            .xf-contentAccentLink();
        }
    }

    &.notice--dark
    {
        //background: @_notice-darkBg;
        background: @xf-uix_primaryColor;
        color: #fff;
        border-color: lighten(@xf-uix_primaryColor, 30%);

        a:not(.button--notice)
        {
            color: @xf-linkColor;
        }
    }

    &.notice--light
    {
        color: rgb(20, 20, 20);
        background: @_notice-lightBg;
        
        .uix_noticeIcon {background: @xf-borderColor; color: @xf-textColorMuted;}

        a:not(.button--notice)
        {
            color: rgb(130, 130, 130);
        }
    }

    &.notice--cookie
    {
        @media (max-width: @xf-responsiveWide)
        {
            .notice-content
            {
                padding: @xf-paddingSmall @xf-paddingSmall @xf-paddingLarge;
                font-size: @xf-fontSizeSmaller;

                .button--notice
                {
                    font-size: @xf-fontSizeSmaller;
                    padding: @xf-paddingSmall @xf-paddingMedium;

                    .button-text
                    {
                        font-size: @xf-fontSizeSmaller;
                    }
                }
            }
        }
    }

    .notices--block &
    {
        font-size: @xf-fontSizeNormal;
        border-radius: @xf-blockBorderRadius;
    }

    .notices--floating &
    {
        font-size: @xf-fontSizeSmallest;
        border-radius: @xf-borderRadiusMedium;
        box-shadow: @xf-uix_elevation1;

        &.notice--primary
        {
            background-color: fade(@xf-contentHighlightBase--background-color, @_notice-floatingFade);
        }

        &.notice--accent
        {
            background-color: fade(@xf-contentAccentBase--background-color, @_notice-floatingFade);
        }

        &.notice--dark
        {
            background-color: fade(@_notice-darkBg, @_notice-floatingFade);
        }

        &.notice--light
        {
            background-color: fade(@_notice-lightBg, @_notice-floatingFade);
        }

        .has-no-js &
        {
            display: none;
        }
    }

    &.notice--hasImage
    {
        .notice-content
        {
            min-height: ((@_notice-imageSize) + (@_notice-padding) * 2);
        }
    }

    @media (max-width: @xf-responsiveWide)
    {
        &.notice--hidewide:not(.is-vis-processed)
        {
            display: none;
        }
    }
    @media (max-width: @xf-responsiveMedium)
    {
        &.notice--hidemedium:not(.is-vis-processed)
        {
            display: none;
        }
    }
    @media (max-width: @xf-responsiveNarrow)
    {
        &.notice--hidenarrow:not(.is-vis-processed)
        {
            display: none;
        }
    }
}

.notice-image
{
    float: left;
    padding: @_notice-padding 0 @_notice-padding @_notice-padding;

    img
    {
        max-width: @_notice-imageSize;
        max-height: @_notice-imageSize;
    }
}

.notice-content
{
    padding: @_notice-padding;
    flex-grow: 1;
    // color: @xf-textColorDimmed;

    a.notice-dismiss
    {
        &:before
        {
            .m-faBase();

            .m-faContent(@fa-var-remove, .79em);
        }

        float: right;

        color: inherit;
        font-size: 16px;
        line-height: 1;
        height: 1em;
        box-sizing: content-box;
        padding: 0 0 5px 5px;

        opacity: .5;
        .m-transition(opacity);

        cursor: pointer;

        &:hover
        {
            text-decoration: none;
            opacity: 1;
        }

        .notices--floating &
        {
            font-size: 14px;
        }
    }
}
Less:
@_memberHeader-padding: @xf-paddingLarge;
@_memberHeader-avatarSize: @avatar-l;
@_memberHeader-avatarSizeShrunk: @avatar-m;

.uix_memberHeader__extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.memberHeader
{
    .m-clearFix();
}

.memberHeader-main
{
    .xf-memberHeader();
}

.memberHeader-avatar
{
    float: left;
    padding: @_memberHeader-padding;

    img,
    .avatar
    {
        display: block;
    }
}

.memberHeader-content
{
    padding: @_memberHeader-padding;
    padding-left: ((@_memberHeader-padding) * 2 + (@_memberHeader-avatarSize));
    border-bottom: 1px solid @xf-borderColor;
}

.memberHeader-actionTop
{
    float: right;
}

.memberHeader-name
{
    margin: 0;
    margin-top: -.15em;
    padding: 0;
    font-weight: @xf-fontWeightNormal;
    .xf-memberHeaderName();
}

.memberHeader-banners,
.memberHeader-blurb
{
    margin-top: @xf-paddingSmall;
}

.memberHeader-separator
{
    margin: @_memberHeader-padding 0;
    border: none;
    border-top: @xf-borderSize solid @xf-borderColorLight;
}

.memberHeader-stats
{
    font-size: @xf-fontSizeLarge;

    .pairs.pairs--row
    {
        min-width: 100px;
    }
}

@media (max-width: @xf-responsiveMedium)
{
    .memberHeader-avatar .avatar
    {
        .m-avatarSize(@_memberHeader-avatarSizeShrunk);
    }

    .memberHeader-content
    {
        padding-left: ((@_memberHeader-padding) * 2 + (@_memberHeader-avatarSizeShrunk));
    }
}

@media (max-width: @xf-responsiveNarrow)
{
    .memberHeader-avatar
    {
        display: block;
        float: none;
        padding-bottom: 0;
        text-align: center;

        .avatar
        {
            display: inline-block;
        }
    }

    .memberHeader-content
    {
        padding-left: @_memberHeader-padding;
    }

    .memberHeader-main .memberHeader-content
    {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        min-height: 0;
        text-align: center;
    }

    .memberHeader-name
    {
        text-align: center;
        margin-top: 0;
    }

    .memberHeader-actionTop
    {
        float: none;
        order: 2;
        margin-top: @xf-paddingSmall;
    }

    .memberHeader-buttons
    {
        text-align: center;
    }

    .memberHeader-banners,
    .memberHeader-blurb
    {
        text-align: inherit;
    }
}

.block-tabHeader.block-tabHeader--memberTabs
{
    border-bottom: none;
}



.memberOverviewBlocks
{
    .m-listPlain();

    display: flex;
    flex-wrap: wrap;
    align-items: stretch;

    > li
    {
        .has-no-flexbox &
        {
            display: inline-block;
            vertical-align: top;
        }

        width: 33.3%;
        max-width: 100%;
        padding: @xf-blockPaddingV @xf-blockPaddingH;

        @media (max-width: 1150px)
        {
            width: 50%;
        }

        @media (max-width: 580px)
        {
            width: 100%;
        }
    }
}

.memberOverviewBlock
{
    display: flex;
    flex-direction: column;
}
.memberOverviewBlock-list
{
    .m-listPlain();

    > li
    {
        margin: @xf-paddingMedium 0;
    }
}
.memberOverviewBlock-seeMore
{
    .xf-minorBlockContent();
    padding: @xf-paddingSmall;
    text-align: center;

    // pushes this to the bottom with flex box
    margin-top: auto;
}
Less:
//=========================[BEGIN Стилизация статистики]=========================
.forumStatsContainer.forumStats-shown {
    .dataList-cell {
        div.dataList-textRow::before {
            font-family: FontAwesome;
            content: "\f10c";
            margin-right: 8px;
            margin-left: 3px;
            color: #2196F3;
        }
        div.dataList-textRow.pinned::before {
            font-family: FontAwesome;
            content: "\f08d";
            margin-right: 8px;
            margin-left: 3px;
            color: #2196F3;
        }
    }
    .dataList-cell--highlighted div.dataList-textRow::before {
        font-family: FontAwesome;
        margin-right: 7px;
        margin-left: 3px;
        content: "\f111";
        color: #2196F3;
    }
    
    .dataList-row  {
        padding: 8px 8px;
    }
    .dataList-cell {
        padding: 8px 8px;
        &.dataList-cell--link {
            a {
                padding: 0;
            }
        }
        &.dataList-cell--min,
        &.dataList-cell--action {
            padding: 0 8px;       
        }
        &.dataList-cell--highlighted {
            background: fade(@xf-paletteColor4, 10%);
            &.dataList-cell--link a {
                font-weight: bold;
            }
        }       
    }
}
@media (max-width: @xf-responsiveMedium) {
    .forumStatsContainer .tabPanes {
        margin-left: -12px;
        margin-right: -9px;
    }
    .forumStatsContainer .dataList-cell.dataList-cell--min.dataList-cell--alt:not(.lastposternick) {
        display: none;
    }
}
//=========================[END Стилизация статистики]=========================
//=========================[BEGIN Стили для чата]=========================
.siropuChatMention .siropuChatDateTime.u-dt {
    background: #383c42;
}
#siropuChatOptions {
    margin-top: 0;
}
#siropuChat i.fa.fa-paper-plane {
    padding-right: 3px;
}
#siropuChat #Hide-1{
    display: none;
}
//=========================[BEGIN Фикс похожих тем]============================
.block--similar-threads .structItemContainer-group {
    display: inherit;
}
.p-title-pageAction .block--similar-threads {
    display: none;
}
body[data-template="forum_post_thread"] div.structItemContainer-group.js-threadList {
    display: inherit;
}
//=========================[END Фикс похожих тем]============================


@font-face {
    font-family: 'BebasNeueBold';
    src: url('styles/default/xenforo/fonts/BebasNeueBold.eot');
    src: url('styles/default/xenforo/fonts/BebasNeueBold.eot?#iefix') format('embedded-opentype'),
         url('styles/default/xenforo/fonts/BebasNeueBold.woff') format('woff'),
         url('styles/default/xenforo/fonts/BebasNeueBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

//Ограничение на размер картинки в подписи
.message-signature img {
    max-width: 300px;
    max-height: 600px;
}

a.p-navEl-linkHolder[data-xf-key="1"] {
    text-decoration: none;
}
//Скрытие не нужных кнопок в редакторе сообщений профилей
body[data-template="member_view"], div.overlay [data-type="profile_post"] {
    [data-cmd="insertImage"], [data-cmd="Hide"], [data-cmd="xfCustom_jsfiddle"], [data-cmd="xfCustom_off"], [data-cmd="xfCustom_chat"], [data-cmd="xfBbCode"], [aria-labelledby^="xfInsert-"] + div.fr-separator {
        display: none;
    }
}
.profileCover .profileCover--noimg {
    background: #383c42; // цвет фона, если нету обложки
}
//=============================[LOGO]===================================
@keyframes vegas {
  0%,19.999%,22%,62.999%,64%, 64.999%,70%,100% {
    opacity:.99; text-shadow: 0 0 80px #ffffff,0 0 30px #008000,0 0 6px #0000ff;
  }
  20%,21.999%,63%,63.999%,65%,69.999% {
    opacity:0.4; text-shadow: none; 
  }
}
@keyframes it {
  0%,12%,18.999%,23%,31.999%,37%,44.999%,46%,49.999%,51%,58.999%,61%,68.999%,71%,85.999%,96%,100% {
    opacity:0.99; text-shadow: 0 0 80px red,0 0 30px FireBrick,0 0 6px DarkRed;
  }
  19%,22.99%,32%,36.999%,45%,45.999%,50%,50.99%,59%,60.999%,69%,70.999%,86%,95.999% { 
    opacity:0.4; text-shadow: none; 
  }
}
span.logo-text-it {
        text-shadow: 0 0 80px red, 0 0 30px FireBrick, 0 0 6px DarkRed;
        color: red;
        font-weight: bold;
        font: 75px/75px 'Monoton', cursive;
        text-transform: uppercase;
        font-size: 3em;
        animation: it 11s linear infinite;
}
span.logo-text-vegas {
        color: #f7eeee;
        position: relative;
        font-weight: bold;
        font: 75px/75px 'Monoton', cursive;
        font-size: 3em;
        text-transform: uppercase;
        text-shadow: 0 0 80px #ffffff, 0 0 30px #008000, 0 0 6px #0000ff;
        animation: vegas 11s linear infinite;
}
@media (max-width: @xf-responsiveWide) {
    span.logo-text-vegas, span.logo-text-it {
        font-size: 25px;
    }
}
//======================================================================
// Statistic

.forumStatsContainer {
    font-size: 13px;

    .forumStats-main {
        .block-container {
            @media (max-width: @xf-responsiveWide) {
                margin-left: -10px;
                margin-right: -10px;
            }
        }

        .tabs--standalone {
            background: @xf-contentBg;
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
            box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.2);
            @media (max-width: @xf-responsiveWide) {
                margin: auto -10px;
            }

        }
    }

}
Less:
@_notice-darkBg: @xf-paletteColor4;
@_notice-lightBg: #fff;
@_notice-floatingFade: 100%;
@_notice-imageSize: 48px;
@_notice-padding: @xf-paddingLarge;

.notices
{
    .m-listPlain();

    &.notices--block
    {
        .notice
        {
            margin-bottom: @xf-elementSpacer;
        }
    }

    &.notices--floating
    {
        // assumed to be within u-bottomFixer
        margin: 0 auto 0 @xf-elementSpacer;
        width: 300px;
        max-width: 100%;
        z-index: @zIndex-8;

        @media (max-width: 340px)
        {
            margin-right: 10px;
        }

        .notice
        {
            margin-bottom: 20px;
        }
    }
    
    .uix_noticeInner {
        display: flex;
    }
    
    .uix_noticeIcon {
        display: flex;
        align-items: center;
        padding: 0 8px;
        color: rgba(255,255,255,.5);
        font-size: 24px;
    }

    &.notices--scrolling
    {
        display: flex;
        align-items: stretch;
        overflow: hidden;
        .xf-blockBorder();
        margin-bottom: ((@xf-elementSpacer) / 2);

        &.notices--isMulti
        {
            margin-bottom: ((@xf-elementSpacer) / 2) + 20px;
        }

        .notice
        {
            width: 100%;
            flex-grow: 0;
            flex-shrink: 0;
            border: none;
            box-shadow: none;
        }

        .has-no-flexbox &
        {
            display: block;
            white-space: nowrap;
            word-wrap: normal;

            .notice
            {
                display: inline-block;
                vertical-align: top;
            }
        }
    }
}

.noticeScrollContainer
{
    margin-bottom: ((@xf-elementSpacer) / 2);
    
    box-shadow: @xf-uix_elevation1;
    <xf:if is="property('uix_similarScrollNotice')">
        border: 2px solid @xf-uix_primaryColor;
    </xf:if>

    .lSSlideWrapper
    {
        .xf-blockBorder();
    }

    .notices.notices--scrolling
    {
        border: none;
        margin-bottom: 0;
    }
    
    <xf:if is="property('uix_similarScrollNotice')">
    .notice {
        &.notice--primary,
        &.notice--accent,
        &.notice--dark,
        &.notice--light {.xf-contentBase();}
        
        a {color: @xf-linkColor;}
    }
    </xf:if>
    
    .lSPager {.xf-contentBase();}
}

.notice
{
    .m-clearFix();
    position: relative;

    .xf-blockBorder();
    .xf-contentBase();
    border: 2px solid @xf-borderColor;

    &.notice--primary
    {
        .xf-contentBase();
        border: 2px solid @xf-uix_primaryColor;
        
        .uix_noticeIcon {background: @xf-uix_primaryColor;}
    }

    &.notice--accent
    {
        border: 2px solid @xf-uix_secondaryColor;
        
        .uix_noticeIcon {background: @xf-uix_secondaryColor;}

        a:not(.button--notice)
        {
            .xf-contentAccentLink();
        }
    }

    &.notice--dark
    {
        //background: @_notice-darkBg;
        background: @xf-uix_primaryColor;
        color: #fff;
        border-color: lighten(@xf-uix_primaryColor, 30%);

        a:not(.button--notice)
        {
            color: @xf-linkColor;
        }
    }

    &.notice--light
    {
        color: rgb(20, 20, 20);
        background: @_notice-lightBg;
        
        .uix_noticeIcon {background: @xf-borderColor; color: @xf-textColorMuted;}

        a:not(.button--notice)
        {
            color: rgb(130, 130, 130);
        }
    }

    &.notice--cookie
    {
        @media (max-width: @xf-responsiveWide)
        {
            .notice-content
            {
                padding: @xf-paddingSmall @xf-paddingSmall @xf-paddingLarge;
                font-size: @xf-fontSizeSmaller;

                .button--notice
                {
                    font-size: @xf-fontSizeSmaller;
                    padding: @xf-paddingSmall @xf-paddingMedium;

                    .button-text
                    {
                        font-size: @xf-fontSizeSmaller;
                    }
                }
            }
        }
    }

    .notices--block &
    {
        font-size: @xf-fontSizeNormal;
        border-radius: @xf-blockBorderRadius;
    }

    .notices--floating &
    {
        font-size: @xf-fontSizeSmallest;
        border-radius: @xf-borderRadiusMedium;
        box-shadow: @xf-uix_elevation1;

        &.notice--primary
        {
            background-color: fade(@xf-contentHighlightBase--background-color, @_notice-floatingFade);
        }

        &.notice--accent
        {
            background-color: fade(@xf-contentAccentBase--background-color, @_notice-floatingFade);
        }

        &.notice--dark
        {
            background-color: fade(@_notice-darkBg, @_notice-floatingFade);
        }

        &.notice--light
        {
            background-color: fade(@_notice-lightBg, @_notice-floatingFade);
        }

        .has-no-js &
        {
            display: none;
        }
    }

    &.notice--hasImage
    {
        .notice-content
        {
            min-height: ((@_notice-imageSize) + (@_notice-padding) * 2);
        }
    }

    @media (max-width: @xf-responsiveWide)
    {
        &.notice--hidewide:not(.is-vis-processed)
        {
            display: none;
        }
    }
    @media (max-width: @xf-responsiveMedium)
    {
        &.notice--hidemedium:not(.is-vis-processed)
        {
            display: none;
        }
    }
    @media (max-width: @xf-responsiveNarrow)
    {
        &.notice--hidenarrow:not(.is-vis-processed)
        {
            display: none;
        }
    }
}

.notice-image
{
    float: left;
    padding: @_notice-padding 0 @_notice-padding @_notice-padding;

    img
    {
        max-width: @_notice-imageSize;
        max-height: @_notice-imageSize;
    }
}

.notice-content
{
    padding: @_notice-padding;
    flex-grow: 1;
    // color: @xf-textColorDimmed;

    a.notice-dismiss
    {
        &:before
        {
            .m-faBase();

            .m-faContent(@fa-var-remove, .79em);
        }

        float: right;

        color: inherit;
        font-size: 16px;
        line-height: 1;
        height: 1em;
        box-sizing: content-box;
        padding: 0 0 5px 5px;

        opacity: .5;
        .m-transition(opacity);

        cursor: pointer;

        &:hover
        {
            text-decoration: none;
            opacity: 1;
        }

        .notices--floating &
        {
            font-size: 14px;
        }
    }
}
Вроде бы ничего не напутал. Модификации экстры тоже скидывать? Или проще дать доступ?
 
Нашел таки ошибки, в одном из стилей, который отключен и использовался раньше для экспериментов в экстре была закомментирована закрывающая скобка. Вот и нашелся стиль в котором была эта ошибка, после расскоментирования кода, ошибка пропала.
1534352063312.png
Вот и код с ошибкой =)
1534352095348.png
Не ожидал такого поворота, если честно :D
 
Статус
В этой теме нельзя размещать новые ответы.
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу