Mediawiki:common.css
| Строка 5374: | Строка 5374: | ||
right: 1px; | right: 1px; | ||
width: 10px; | width: 10px; | ||
} | |||
} | |||
/* ============================================================ | |||
Нормальный маркер вложенных предметов | |||
============================================================ */ | |||
/* Убираем старую кривую ветку */ | |||
.cm-tooltip-entry-level-2 .cm-tooltip-entry-branch::before, | |||
.cm-tooltip-entry--child::before { | |||
display: none !important; | |||
} | |||
/* Вложенная строка */ | |||
.cm-tooltip-tree .cm-tooltip-entry-level-2 { | |||
grid-template-columns: 18px 32px 38px minmax(0, 1fr) !important; | |||
column-gap: 8px !important; | |||
width: calc(100% - 18px) !important; | |||
margin-left: 18px !important; | |||
padding: 3px 6px !important; | |||
border-left: 2px solid rgba(111, 159, 232, 0.55); | |||
border-radius: 5px; | |||
background: rgba(111, 159, 232, 0.045); | |||
} | |||
/* Маркер вложенности */ | |||
.cm-tooltip-entry-level-2 .cm-tooltip-entry-branch { | |||
position: relative; | |||
display: flex !important; | |||
align-items: center; | |||
justify-content: center; | |||
width: 18px; | |||
height: 32px; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* Аккуратная стрелочка вместо линии */ | |||
.cm-tooltip-entry-level-2 .cm-tooltip-entry-branch::after { | |||
display: block; | |||
content: "›"; | |||
color: #83aef0; | |||
font-size: 20px; | |||
font-weight: 700; | |||
line-height: 1; | |||
transform: translateY(-1px); | |||
} | |||
/* Возвращаем правильные колонки */ | |||
.cm-tooltip-entry-level-2 .cm-tooltip-entry-icon { | |||
grid-column: 2 !important; | |||
} | |||
.cm-tooltip-entry-level-2 .cm-tooltip-entry-count { | |||
grid-column: 3 !important; | |||
} | |||
.cm-tooltip-entry-level-2 .cm-tooltip-entry-name { | |||
grid-column: 4 !important; | |||
} | |||
@media (max-width: 720px) { | |||
.cm-tooltip-tree .cm-tooltip-entry-level-2 { | |||
grid-template-columns: 16px 30px 36px minmax(0, 1fr) !important; | |||
column-gap: 6px !important; | |||
width: calc(100% - 12px) !important; | |||
margin-left: 12px !important; | |||
} | |||
.cm-tooltip-entry-level-2 .cm-tooltip-entry-branch { | |||
width: 16px; | |||
height: 30px; | |||
} | |||
.cm-tooltip-entry-level-2 .cm-tooltip-entry-branch::after { | |||
font-size: 18px; | |||
} | } | ||
} | } | ||
/* СМ:Главаная - конец */ | /* СМ:Главаная - конец */ | ||