HTML Окно ника и группы пользователя в теме

nitarav

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

 - #Neit _ Список разрешенных и запрещенных cleo _ Forum Arizona RP NEIT и еще 4 страницы — Ли...png
 
Решение
.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...

nitarav

Участник
Автор темы
50
9
.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;
}

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

linmsqn

Участник
337
9
.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 {
    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

nitarav

Участник
Автор темы
50
9
То что ты отправил, я вставил и у меня пропали баннеры, типо - стоит
Либо, если у тебя отсутствует там где // 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;
}
 
  • Нравится
  • Bug
Реакции: deadfamq и linmsqn