HOME FORUMS MEMBERS RECENT POSTS LOG IN  
× Авторизация
Имя пользователя:
Пароль:
Нет аккаунта? Регистрация
Баннер 1   Баннер 2
НОВЫЕ ТОРГОВАЯ НОВОСТИ ЧАТ
loading...
Скрыть
Вернуться   ANTICHAT > ПРОГРАММИРОВАНИЕ > Общие вопросы программирования
   
Ответ
 
Опции темы Поиск в этой теме Опции просмотра

  #1  
Старый 23.03.2025, 13:58
CreyV
Познающий
Регистрация: 16.12.2023
Сообщений: 65
С нами: 1270480

Репутация: 13
По умолчанию



Помогите поправить
Цитата:
Сообщение от Спойлер  


Код:





Код:
.userBannerLight:before,.userBanner--staff:before {
    content: "";
    position: absolute;
    background: linear-gradient(135deg, transparent 0%, transparent 30%, rgba(250,250,250,0.7) 50%, transparent 70%, transparent 100%);
    background-repeat: no-repeat;
    top: 0px;
    left: -80%;
    width: 100%;
    height: 100%;
    animation: light 2.5s infinite
}

@media (max-width: 990px) {
    .message:not(.message--forceColumns) .message-userBanner.userBanner.userBannerLight,.message:not(.message--forceColumns) .message-userBanner.userBanner.userBanner--staff {
        text-align:center;
        display: block;
        margin: 3px
    }
}

.userBanner--staff {
    background: #1ba39c !important;
    color: #fff !important;
    width: 108px
}

@keyframes light {
    0% {
        left: -80%
    }

    100% {
        left: 80%
    }
}


 
Ответить с цитированием

  #2  
Старый 27.03.2025, 13:15
Youmii
Новичок
Регистрация: 05.03.2025
Сообщений: 14
С нами: 629085

Репутация: 1
По умолчанию

Цитата:
Сообщение от Спойлер  

.p-header-logo--before {

background-image: url(styles/fury/img/logobg.jpg) !important;

background-color: transparent !important;

background-size: 100% !important;

background-position: center top !important;

}

.p-header-logo--before::after {

display:none;

}

.p-body-sidebar .block-minorHeader {

font-size: 17px;

color: #fff;

font-weight: 700;

padding-top: 10px;

padding-right: 20px;

padding-bottom: 10px;

padding-left: 20px;

}

.button.button--primary, a.button.button--primary {

color: #fff;

background: #0078af;

min-width: 80px;

}

.button, a.button {

display: inline-block;

display: inline-flex;

align-items: center;

margin-left: 2px;

justify-content: center;

text-decoration: none;

cursor: pointer;

border: 1px solid transparent;

white-space: nowrap;

-webkit-transition: background-color .125s ease, border-color .125s ease, color .125s ease;

transition: background-color .125s ease, border-color .125s ease, color .125s ease;

font-size: 12px;

border-radius: 4px;

padding-top: 15px;

padding-right: 18px;

padding-bottom: 13px;

padding-left: 18px;

font-weight: 500;

text-align: center;

text-transform: none;

letter-spacing: .05em;

border: none;

box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);

color: #fff;

background: #0078af;

}

.quick-access .button {

padding: 1px 0;

width: 100%;

height: 50px;

border: 1px solid #4d5460;

display: inline-block;

display: inline-flex;

align-items: center;

justify-content: center;

text-decoration: none;

cursor: pointer;

border: 1px solid transparent;

white-space: nowrap;

-webkit-transition: background-color .125s ease, border-color .125s ease, color .125s ease;

transition: background-color .125s ease, border-color .125s ease, color .125s ease;

font-size: 14px;

border-radius: 4px;

padding-top: 15px;

padding-right: 18px;

padding-bottom: 13px;

padding-left: 18px;

font-weight: 500;

text-align: center;

text-transform: none;

letter-spacing: .05em;

border: none;

color: #fff;

background: #00d4f817;

}

// scale //

.block-body .node {

-webkit-transition: all .3s ease;

transition: all .3s ease

}

.block-body .node:hover {

transform: scale(1.015);

}

// Fix //

.message-cell.message-cell--user {

flex: 0 0 200px;

}

.message-cell.message-cell--user, .message-cell.message-cell--action {

position: relative;

background: #171e29;

border-radius: 8px;

border: 1px solid #31435d;

min-width: 0;

}

// group //

.arzgames {

background: url(/styles/fury/img/techadmred.svg);

width: 169px;

height: 35px;

font-size: 0px;

background-repeat: no-repeat;

background-position: center;

background-size: cover;

border: none

}
Вставь это в extra.less
 
Ответить с цитированием

  #3  
Старый 27.03.2025, 20:51
CreyV
Познающий
Регистрация: 16.12.2023
Сообщений: 65
С нами: 1270480

Репутация: 13
По умолчанию

Цитата:
Сообщение от Youmii  

Цитата:
Сообщение от Спойлер  

.p-header-logo--before {

background-image: url(styles/fury/img/logobg.jpg) !important;

background-color: transparent !important;

background-size: 100% !important;

background-position: center top !important;

}

.p-header-logo--before::after {

display:none;

}

.p-body-sidebar .block-minorHeader {

font-size: 17px;

color: #fff;

font-weight: 700;

padding-top: 10px;

padding-right: 20px;

padding-bottom: 10px;

padding-left: 20px;

}

.button.button--primary, a.button.button--primary {

color: #fff;

background: #0078af;

min-width: 80px;

}

.button, a.button {

display: inline-block;

display: inline-flex;

align-items: center;

margin-left: 2px;

justify-content: center;

text-decoration: none;

cursor: pointer;

border: 1px solid transparent;

white-space: nowrap;

-webkit-transition: background-color .125s ease, border-color .125s ease, color .125s ease;

transition: background-color .125s ease, border-color .125s ease, color .125s ease;

font-size: 12px;

border-radius: 4px;

padding-top: 15px;

padding-right: 18px;

padding-bottom: 13px;

padding-left: 18px;

font-weight: 500;

text-align: center;

text-transform: none;

letter-spacing: .05em;

border: none;

box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);

color: #fff;

background: #0078af;

}

.quick-access .button {

padding: 1px 0;

width: 100%;

height: 50px;

border: 1px solid #4d5460;

display: inline-block;

display: inline-flex;

align-items: center;

justify-content: center;

text-decoration: none;

cursor: pointer;

border: 1px solid transparent;

white-space: nowrap;

-webkit-transition: background-color .125s ease, border-color .125s ease, color .125s ease;

transition: background-color .125s ease, border-color .125s ease, color .125s ease;

font-size: 14px;

border-radius: 4px;

padding-top: 15px;

padding-right: 18px;

padding-bottom: 13px;

padding-left: 18px;

font-weight: 500;

text-align: center;

text-transform: none;

letter-spacing: .05em;

border: none;

color: #fff;

background: #00d4f817;

}

// scale //

.block-body .node {

-webkit-transition: all .3s ease;

transition: all .3s ease

}

.block-body .node:hover {

transform: scale(1.015);

}

// Fix //

.message-cell.message-cell--user {

flex: 0 0 200px;

}

.message-cell.message-cell--user, .message-cell.message-cell--action {

position: relative;

background: #171e29;

border-radius: 8px;

border: 1px solid #31435d;

min-width: 0;

}

// group //

.arzgames {

background: url(/styles/fury/img/techadmred.svg);

width: 169px;

height: 35px;

font-size: 0px;

background-repeat: no-repeat;

background-position: center;

background-size: cover;

border: none

}
Вставь это в extra.less
Не работает.
 
Ответить с цитированием

  #4  
Старый 05.04.2025, 19:48
Weshnovsky
Познающий
Регистрация: 04.09.2022
Сообщений: 35
С нами: 1944305

Репутация: 13
По умолчанию

Цитата:
Сообщение от CreyV  

Помогите поправить

Цитата:
Сообщение от Спойлер  


Код:





Код:
.userBannerLight:before,.userBanner--staff:before {
    content: "";
    position: absolute;
    background: linear-gradient(135deg, transparent 0%, transparent 30%, rgba(250,250,250,0.7) 50%, transparent 70%, transparent 100%);
    background-repeat: no-repeat;
    top: 0px;
    left: -80%;
    width: 100%;
    height: 100%;
    animation: light 2.5s infinite
}

@media (max-width: 990px) {
    .message:not(.message--forceColumns) .message-userBanner.userBanner.userBannerLight,.message:not(.message--forceColumns) .message-userBanner.userBanner.userBanner--staff {
        text-align:center;
        display: block;
        margin: 3px
    }
}

.userBanner--staff {
    background: #1ba39c !important;
    color: #fff !important;
    width: 108px
}

@keyframes light {
    0% {
        left: -80%
    }

    100% {
        left: 80%
    }
}


top:

left:

width:

height:

Тут меняет расположение, высота и т.д
 
Ответить с цитированием
Ответ





Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 


Быстрый переход




ANTICHAT ™ © 2001- Antichat Kft.