PDA

Просмотр полной версии : Окно ника и группы пользователя в теме


nitarav
05.07.2023, 11:50
Здравствуйте, столкнулся с такой проблемкой, что новые баннеры аризоны не помещаются в окно, вопрос: Как его расширить?

https://forum.antichat.xyz/attachments/28336634/

linmsqn
05.07.2023, 15:13
по сути оно само должно расшириться, в зависимости от занимаемого места. если сможешь - скинь то, как ты подключал эти баннеры

nitarav
05.07.2023, 15:37
по сути оно само должно расшириться, в зависимости от занимаемого места. если сможешь - скинь то, как ты подключал эти баннеры


код ?

в 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;

}

linmsqn
05.07.2023, 15:38
код ?
в extra.less


да, или там, где ты прописывал стили для баннеров. где будет видно подключение этих фоток с баннерами

nitarav
05.07.2023, 15:39
.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;

}

linmsqn
05.07.2023, 15:40
если можешь - скинь под хайд ссылку на форум, я глянуть хочу как они выглядят вообще

nitarav
05.07.2023, 15:40
а как хайд сделать

linmsqn
05.07.2023, 15:42
https://forum.antichat.xyz/attachments/28336752/

выбери ДЛЯ ПОЛЬЗОВАТЕЛЕЙ и там мой ник напиши

nitarav
05.07.2023, 15:43
Для просмотра скрытого содержимого вы должны войти (https://www.blast.hk/login/) или зарегистрироваться (https://www.blast.hk/login/register).

linmsqn
05.07.2023, 15:51
Через "Поиск по шаблонам" найди " .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 */

nitarav
05.07.2023, 15:52
емае

linmsqn
05.07.2023, 15:52
емае


Щас скринами кину

nitarav
05.07.2023, 15:53
Это все в extra.less должно быть? Или это шаблоны?

linmsqn
05.07.2023, 15:53
https://forum.antichat.xyz/attachments/28336761/

и где стрелочка замени на /* max-width: 0 */

nitarav
05.07.2023, 15:54
спасибо большое, щас попробую

linmsqn
05.07.2023, 15:55
Либо, если у тебя отсутствует там где // Fix // у меня на скрине, то добавь чуть выше где я выделил прямоугольником.

CSS:






// Fix //
.message-cell.message-cell--user
{
flex
:
0 0 200px
;
}

nitarav
05.07.2023, 15:56
.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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvb3Nub3ZhdGVsLnN2Zyk7)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvdGVjaGFkbXJlZC5zdmcpOw)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvc3BlYy5zdmcpOw)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvdGVjaHJhemQuc3ZnKTs)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvZ2Euc3ZnKTs)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvemdhLnN2Zyk7)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvY3VyYXRvci5zdmcpOw)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvYWRtaW4uc3ZnKTs)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvbWxfYWRtaW4uc3ZnKTs)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvaGVscGVyLnN2Zyk7)

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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvdXNlci5zdmcpOw)

width: 169px;

height: 35px;

font-size: 0px;

background-repeat: no-repeat;

background-position: center;

background-size: cover;

border: none;

}

Я же не слепой, тут нету такого вроде

linmsqn
05.07.2023, 15:59
.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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvb3Nub3ZhdGVsLnN2Zyk7)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvdGVjaGFkbXJlZC5zdmcpOw)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvc3BlYy5zdmcpOw)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvdGVjaHJhemQuc3ZnKTs)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvZ2Euc3ZnKTs)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvemdhLnN2Zyk7)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvY3VyYXRvci5zdmcpOw)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvYWRtaW4uc3ZnKTs)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvbWxfYWRtaW4uc3ZnKTs)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvaGVscGVyLnN2Zyk7)
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); (https://www.blast.hk/redirect/aHR0cHM6Ly93aDk4ODUud2ViMS5tYXplLWhvc3QucnUvc3R5bG VzL2Jhbm5lcnMvdXNlci5zdmcpOw)
width: 169px;
height: 35px;
font-size: 0px;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
border: none;
}

Я же не слепой, тут нету такого вроде



Тогда чуть выше этого

CSS:






.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
;
}




вставь

CSS:






.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
;
}

nitarav
05.07.2023, 16:00
То что ты отправил, я вставил и у меня пропали баннеры, типо - стоит



Либо, если у тебя отсутствует там где // Fix // у меня на скрине, то добавь чуть выше где я выделил прямоугольником.

CSS:






// Fix //
.message-cell.message-cell--user
{
flex
:
0 0 200px
;
}







Всё спасибо огромное! Работает



Тогда чуть выше этого

CSS:






.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
;
}




вставь

CSS:






.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
;
}