![]() |
Здравствуйте, столкнулся с такой проблемкой, что новые баннеры аризоны не помещаются в окно, вопрос: Как его расширить?
https://forum.antichat.xyz/attachments/28336634/ |
по сути оно само должно расшириться, в зависимости от занимаемого места. если сможешь - скинь то, как ты подключал эти баннеры
|
Цитата:
в extra.less .userBanner.owner { background: url(ссылка на мой форум/styles/banners/osnovatel.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } |
Цитата:
|
.userBanner.owner {
background: url(ссылка на мой форум/styles/banners/osnovatel.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } |
если можешь - скинь под хайд ссылку на форум, я глянуть хочу как они выглядят вообще
|
а как хайд сделать
|
|
Для просмотра скрытого содержимого вы должны войти или зарегистрироваться.
|
Через "Поиск по шаблонам" найди " .message-cell.message-cell--user, .message-cell.message-cell--action { ". Это будет в extra.less, найди через ctrl + f ".message-cell.message-cell--user, .message-cell.message-cell--action {". И там замени max-width: 0 на /* max-width: 0 */
|
емае
|
Цитата:
|
Это все в extra.less должно быть? Или это шаблоны?
|
|
спасибо большое, щас попробую
|
Либо, если у тебя отсутствует там где // Fix // у меня на скрине, то добавь чуть выше где я выделил прямоугольником.
CSS: Код:
// Fix // |
.node-body {
.m-transition(margin-left, .2s, ease-in-out); &:hover { margin-left: 10px; } } .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; } .userBanner.owner { background: url(https://wh9885.web1.maze-host.ru/styles/banners/osnovatel.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.techred { background: url(https://wh9885.web1.maze-host.ru/styles/banners/techadmred.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.spec { background: url(https://wh9885.web1.maze-host.ru/styles/banners/spec.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.tech { background: url(https://wh9885.web1.maze-host.ru/styles/banners/techrazd.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.ga { background: url(https://wh9885.web1.maze-host.ru/styles/banners/ga.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.zga { background: url(https://wh9885.web1.maze-host.ru/styles/banners/zga.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.curator { background: url(https://wh9885.web1.maze-host.ru/styles/banners/curator.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.adminnodostup { background: url(https://wh9885.web1.maze-host.ru/styles/banners/admin.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.middleadmin { background: url(https://wh9885.web1.maze-host.ru/styles/banners/ml_admin.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.helper { background: url(https://wh9885.web1.maze-host.ru/styles/banners/helper.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } .userBanner.user { background: url(https://wh9885.web1.maze-host.ru/styles/banners/user.svg); width: 169px; height: 35px; font-size: 0px; background-repeat: no-repeat; background-position: center; background-size: cover; border: none; } Я же не слепой, тут нету такого вроде |
Цитата:
CSS: Код:
.userBanner.ownerвставь CSS: Код:
.message-cell.message-cell--user |
То что ты отправил, я вставил и у меня пропали баннеры, типо - стоит
Цитата:
Всё спасибо огромное! Работает Цитата:
|
| Время: 20:34 |