MediaWiki:Common.css: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
AsnDen (обсуждение | вклад) селектор * странно ведёт себя при редактировании разметки страницы |
||
| (не показано 27 промежуточных версий 2 участников) | |||
| Строка 16: | Строка 16: | ||
* 12. SOURCE EDITOR → SYNTAX HIGHLIGHTING | * 12. SOURCE EDITOR → SYNTAX HIGHLIGHTING | ||
* 13. DRUID Infoboxes | * 13. DRUID Infoboxes | ||
* 14. | * 14. JS | ||
*/ | */ | ||
| Строка 74: | Строка 74: | ||
--font-size-xl: 120%; | --font-size-xl: 120%; | ||
--font-size-xxl: 130%; | --font-size-xxl: 130%; | ||
--font-size-huge: | --font-size-huge: 145%; | ||
--font-size-giant: 200%; | --font-size-giant: 200%; | ||
| Строка 607: | Строка 607: | ||
/* Апрельская тема | /* Апрельская тема | ||
:root body.mediawiki:not(.wgl-theme-light) { | :root body.mediawiki:not(.wgl-theme-light) { | ||
--brightness-hsl: -1%; | |||
--theme-bg--hsl: 300deg 28%; | |||
--theme-bg--hsl-alpha: 12%; | |||
--color-contrast: #4d2aa7; | |||
--bg-color-code: #271a27; | |||
--bg-color-code-light: #2d1e2c; | |||
--border-color-code: #412f3d; | |||
--theme-bg-color-base: #100910; | |||
--theme-bg-color-100: #19141f; | |||
--ooui-bg--hsl: 185deg 40%; | |||
--ooui-bg--hsl-alpha: 13%; | |||
}*/ | }*/ | ||
/* #endregion */ | /* #endregion */ | ||
| Строка 1010: | Строка 1010: | ||
.mw-body h2 { | .mw-body h2 { | ||
font-size: var(--font-size-huge); | font-size: var(--font-size-huge); | ||
font-weight: 500; | |||
font-family: var(--font-family-heading); | |||
margin-top: 1em; | |||
border-bottom: 2px solid var(--color-contrast); | |||
margin-bottom: 0.33rem; | |||
padding: 0.25rem 0.25rem 0.1rem; | |||
line-height: 1.25; | |||
} | } | ||
.mw-body h3 { | .mw-body h3 { | ||
font-size: var(--font-size-xxl); | |||
font-weight: 500; | |||
font-family: var(--font-family-heading); | |||
margin-top: 0.3em; | |||
margin-bottom: 0.3em; | |||
padding-bottom: 0.3em; | |||
padding-top: 0.5em; | |||
} | |||
.mw-body h3 .mw-headline { | |||
display: inline-block; | |||
position: relative; | |||
} | |||
.mw-body h3 .mw-headline:before { | |||
content: ''; | |||
position: absolute; | |||
bottom: -0.2em; | |||
height: 2px; | |||
width: calc(100% + 2em); | |||
max-width: 85cqw; | |||
background: linear-gradient(to right, hsl(from var(--color-contrast) h s l / 0.75) calc(100% - 2em), transparent 100%); | |||
} | } | ||
| Строка 1034: | Строка 1049: | ||
font-weight: 500; | font-weight: 500; | ||
font-family: var(--font-family-heading); | font-family: var(--font-family-heading); | ||
padding-top: 0.5em; | |||
margin: 0; | |||
margin-bottom: 0.3em; | |||
} | } | ||
/* #endregion */ | /* #endregion */ | ||
| Строка 1059: | Строка 1074: | ||
.navbox-subgroup { | .navbox-subgroup { | ||
width: 100%; | width: 100%; | ||
margin: 0 !important; | |||
} | } | ||
.navbox-group, | .navbox-group, | ||
| Строка 1142: | Строка 1158: | ||
/*=== Шаблон:Сущность ===*/ | /*=== Шаблон:Сущность ===*/ | ||
.ts-Сущность { | .ts-Сущность { | ||
display: grid; | |||
gap: 6px; | |||
grid-template-columns: 1fr auto; | |||
justify-content: space-between; | |||
align-items: start; | |||
margin: 0.5em 0; | margin: 0.5em 0; | ||
} | } | ||
.ts-Сущность:has(.ts-Сущность-field:hover) { | .ts-Сущность:has(.ts-Сущность-field:hover) { | ||
background: var(-- | background: rgba(var(--color-lighter--rgb), 0.025); | ||
} | } | ||
| Строка 1168: | Строка 1184: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: center; | |||
gap: 8px; | gap: 8px; | ||
padding: 10px 18px; | padding: 10px 18px; | ||
| Строка 1174: | Строка 1190: | ||
background-color: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-200) */ | background-color: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-200) */ | ||
border-radius: var(--border-radius-low); | border-radius: var(--border-radius-low); | ||
height: inherit; | |||
box-sizing: border-box; | |||
--clip: 1em; | --clip: 1em; | ||
clip-path: polygon(0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip))); | clip-path: polygon(0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip))); | ||
| Строка 1184: | Строка 1200: | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center; | |||
gap: 8px; | gap: 8px; | ||
} | } | ||
.ts-Cut-layout__header-arrow { | .ts-Cut-layout__header-arrow { | ||
display: grid; | |||
grid-template-columns: 1fr auto 1fr; | |||
text-align: center; | |||
} | } | ||
| Строка 1255: | Строка 1271: | ||
/*=== VisualEditor ===*/ | /*=== VisualEditor ===*/ | ||
.ve-ui-diffElement-hasDescriptions .ve-ui-diffElement-content { | .ve-ui-diffElement-hasDescriptions .ve-ui-diffElement-content { | ||
border-right: 1px solid var(--border-color-hr); | |||
} | } | ||
.ve-ui-diffElement-attributeChange ins { | .ve-ui-diffElement-attributeChange ins { | ||
background-color: rgba(0, 174, 136, 0.5) !important; | |||
box-shadow: 0 0 0 1px rgba(0, 174, 136, 0.5) !important; | |||
} | } | ||
.ve-ui-diffElement-attributeChange del { | .ve-ui-diffElement-attributeChange del { | ||
background-color: rgba(209, 29, 19, 0.5) !important; | |||
box-shadow: 0 0 0 1px rgba(209, 29, 19, 0.5) !important; | |||
} | } | ||
| Строка 1869: | Строка 1885: | ||
/*=== Gallery ===*/ | /*=== Gallery ===*/ | ||
.mw-body li.gallerybox { | |||
padding: 0.33em; | |||
margin: 0.33em; | |||
background-color: var(--theme-bg-color-150); | |||
border: var(--border-outset-light); | |||
border-radius: var(--border-radius-medium); | |||
} | |||
.mw-body li.gallerybox div.thumb { | .mw-body li.gallerybox div.thumb { | ||
background: | background: #f8f9fa; | ||
border: solid #eaecf0; | |||
border- | border-width: 1px 1px 0.2em; | ||
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02); | |||
padding: 0; | |||
overflow: hidden; | |||
background-color: var(--theme-bg-color-175); | |||
border-color: transparent; | |||
border-radius: var(--border-radius-low); | |||
} | |||
div.gallerytext { | |||
padding: 0; | |||
letter-spacing: 0.025em; | |||
text-align: center; | |||
} | } | ||
| Строка 1879: | Строка 1915: | ||
background: var(--theme-bg-color-100); | background: var(--theme-bg-color-100); | ||
color: var(--theme-text-color); | color: var(--theme-text-color); | ||
} | |||
.mw-mmv-post-image { | |||
color: var(--theme-text-color-dark); | |||
} | } | ||
| Строка 2029: | Строка 2069: | ||
border-radius: var(--border-radius-low); | border-radius: var(--border-radius-low); | ||
box-shadow: var(--box-shadow); | box-shadow: var(--box-shadow); | ||
} | |||
.tabs-content { | |||
width: 100%; | |||
} | } | ||
| Строка 2034: | Строка 2078: | ||
ul#filetoc, .toc, .toccolours, .mw-warning { | ul#filetoc, .toc, .toccolours, .mw-warning { | ||
border-radius: var(--border-radius-high); | border-radius: var(--border-radius-high); | ||
background: var(--theme-bg-color-150); | |||
padding: 8px 12px; | |||
margin: 12px 0; | |||
min-width: 12em; | |||
box-shadow: var(--box-shadow); | |||
line-height: 1.3; | |||
border: var(--border-outset-light); | |||
} | box-sizing: border-box; | ||
} | |||
.toccolours > p { | |||
margin: 0; | |||
} | |||
.toc, .toc * { | .toc, .toc * { | ||
| Строка 2062: | Строка 2111: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
padding: 0; | |||
} | } | ||
| Строка 2067: | Строка 2117: | ||
content: ""; | content: ""; | ||
display: block; | display: block; | ||
width: 16px; | |||
height: 14px; | |||
--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat; | --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat; | ||
-webkit-mask: var(--mask); | -webkit-mask: var(--mask); | ||
| Строка 2137: | Строка 2187: | ||
/* ============ */ | /* ============ */ | ||
. | /* Складной списки с кнопкой в ширину всего блока */ | ||
.collapsible-title { | |||
display: grid; | |||
} | } | ||
. | .collapsible-title > *:not(.mw-collapsible-content) { | ||
grid-row: 1; | |||
grid-column: 1 / 3; | |||
} | |||
.collapsible-title > .mw-collapsible-content { | |||
grid-row: 2; | |||
grid-column: 1 / 3; | |||
} | } | ||
. | /* Делает кнопку раскрытия складного списка в виде стрелочки */ | ||
.collapsible-toggle-arrow::before { | |||
--wh-ratio: 1.5; | |||
--w: 0.9em; | |||
--h: calc(var(--w) / var(--wh-ratio)); | |||
content: ""; | |||
background-image: url(/images/1/12/Inverted_triangle.svg); | |||
display: inline-block; | |||
background-size: cover; | |||
width: var(--w); | |||
height: var(--h); | |||
margin: 0 0.1em; | |||
transition: transform 60ms ease; | |||
} | } | ||
. | .mw-collapsible:has(.mw-collapsible-toggle-collapsed) > .collapsible-toggle-arrow::before { | ||
. | transform: rotate(-90deg); | ||
} | } | ||
. | .mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle *, | ||
.mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle::after, | |||
.mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle::before { | |||
display: none; | |||
} | } | ||
. | /* Ссылка на весь контейнер кнопки */ | ||
a:has(.StupidButton) { | |||
position: absolute; | |||
top: 0; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
z-index: var(--index-overlay); | |||
} | } | ||
. | /* Тег p без отступов */ | ||
.p-no-margin p { | |||
margin: 0; | |||
} | } | ||
. | /* Подсветка при наведении */ | ||
.backlight:hover { | |||
box-shadow: 0 0 4px 2px var(--color-contrast); | |||
} | } | ||
. | /* Key press */ | ||
.keyboard-key, | |||
.ve-ui-commandHelpDialog-shortcut > kbd, .ve-ui-commandHelpDialog-sequence > kbd { | |||
border: 1px solid var(--theme-border-color-100); | |||
border-radius: var(--border-radius-low); | |||
background-image: linear-gradient(to bottom, var(--theme-bg-color-100), var(--theme-bg-color-250), var(--theme-bg-color-100)); | |||
color: var(--theme--text-color); | |||
padding: 0.1em 0.3em; | |||
font-family: inherit; | |||
font-size: 0.8em; | |||
} | } | ||
. | /* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */ | ||
#scroll-top { | |||
display: none !important; | |||
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat; | |||
opacity: 0.5; | |||
width: 57px; | |||
height: 57px; | |||
cursor: pointer; | |||
position: fixed; | |||
right: calc(0.95em + 6px); | |||
bottom: 30px; | |||
z-index: 10000; | |||
image-rendering: pixelated; | |||
filter: var(--filter-drop-shadow-medium); | |||
} | } | ||
#scroll-top:hover { | |||
opacity: 0.8; | |||
} | } | ||
@media screen and (max-width: 850px) { | |||
#scroll-top { | |||
transform: translate(-50%, -50%); | |||
left: 50%; | |||
right: 50%; | |||
bottom: 15px; | |||
opacity: 0.3; | |||
} | |||
} | } | ||
. | /* Необходим для использования fonts.google.com/icons */ | ||
.material-symbols-outlined { | |||
font-family: 'Material Symbols Outlined'; | |||
font-weight: normal; | |||
font-style: normal; | |||
font-size: 24px; | |||
line-height: 1; | |||
letter-spacing: normal; | |||
text-transform: none; | |||
display: inline-block; | |||
white-space: nowrap; | |||
word-wrap: normal; | |||
direction: ltr; | |||
-webkit-font-feature-settings: 'liga'; | |||
-webkit-font-smoothing: antialiased | |||
} | } | ||
#mw-indicator-mw-helplink a { | |||
background-image: none; | |||
} | |||
} | |||
. | .mw-body-content sub,.mw-body-content sup,span.reference { | ||
font-size: 80% | |||
} | } | ||
.ns-talk .mw-body-content dd { | |||
margin-top: 0.4em; | |||
margin-bottom: 0.4em | |||
} | } | ||
#interwiki-completelist { | |||
font-weight: bold | |||
} | } | ||
. | .hatnote { | ||
font-style: italic; | |||
padding-left: 1.6em; | |||
} | } | ||
.biglink { | |||
font-family: var(--font-family-oswald); | |||
font-style: oblique 10deg; | |||
font-variant-caps: small-caps; | |||
text-shadow: var(--theme-bg-color-base) 1px 2px,#595959dd 2px 2px 1px | |||
} | } | ||
.client-js .mw-special-Watchlist #watchlist-message,.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),#editpage-specialchars { | |||
. | display: none | ||
} | } | ||
.mw-rcfilters-enabled .mw-specialpage-summary { | |||
. | margin-top: 1em | ||
} | } | ||
.citation:target { | |||
. | background: rgba(0, 127, 255, 0.133) | ||
background | |||
} | } | ||
.citation { | |||
word-wrap: break-word | |||
} | } | ||
ol.references { | |||
font-size: 90%; | |||
margin-bottom: 0.5em | |||
} | } | ||
.hlist dl,.hlist ol,.hlist ul { | |||
margin: 0; | |||
padding: 0 | |||
} | } | ||
.hlist dd,.hlist dt,.hlist li { | |||
. | margin: 0; | ||
display: inline | |||
display: inline | |||
} | } | ||
.hlist.inline,.hlist.inline dl,.hlist.inline ol,.hlist.inline ul,.hlist dl dl,.hlist dl ol,.hlist dl ul,.hlist ol dl,.hlist ol ol,.hlist ol ul,.hlist ul dl,.hlist ul ol,.hlist ul ul { | |||
display: inline | |||
} | } | ||
. | .hlist .mw-empty-li { | ||
display: none | |||
} | } | ||
. | .hlist dt:after { | ||
content: ":" | |||
} | } | ||
.hlist dd:after,.hlist li:after { | |||
content: " · "; | |||
font-weight: bold | font-weight: bold | ||
} | } | ||
. | .hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after { | ||
content: none | |||
} | } | ||
. | .hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before { | ||
content: " ("; | |||
font-weight: normal | |||
} | } | ||
. | .hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after { | ||
content: ")"; | |||
font-weight: normal | |||
} | } | ||
. | .hlist ol { | ||
counter-reset: listitem | |||
} | } | ||
. | .hlist ol>li { | ||
counter-increment: listitem | |||
} | } | ||
. | .hlist ol>li:before { | ||
content: " " counter(listitem) "\a0" | |||
} | } | ||
ol. | .hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before { | ||
content: " (" counter(listitem) "\a0" | |||
} | } | ||
. | .plainlist ol,.plainlist ul { | ||
line-height: inherit; | |||
list-style: none none; | |||
margin: 0 | |||
} | } | ||
. | .plainlist ol li,.plainlist ul li { | ||
margin: 0 | margin-bottom: 0 | ||
} | } | ||
. | |||
@media (max-width: 800px) { | |||
.grid-adaptive { | |||
grid-template-columns: 1fr !important; | |||
} | |||
} | } | ||
. | .grid-item-adaptive { | ||
display: grid; | |||
gap: 8px; | |||
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr)); | |||
} | } | ||
. | .grid-big-item-adaptive { | ||
display: grid; | |||
gap: 10px; | |||
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 400px), 1fr)); | |||
} | } | ||
. | .grid-small-item-adaptive { | ||
display: grid; | |||
gap: 8px; | |||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | |||
} | } | ||
. | .grid-item-compressed { | ||
display: grid; | |||
gap: 10px; | |||
grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 350px), 0fr)); | |||
} | } | ||
. | .grid-item-compressed { | ||
display: grid; | |||
gap: 10px; | |||
grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 350px), 0fr)); | |||
} | } | ||
. | .link-card__flex-container { | ||
display: flex; | |||
gap: 10px; | |||
justify-content: center; | |||
flex-grow: 1; | |||
align-items: flex-start; | |||
flex-wrap: wrap; | |||
align-content: center; | |||
} | } | ||
@media (max-width: 800px) { | |||
.link-card__flex-container { | |||
gap: 8px; | |||
} | |||
} | } | ||
. | /* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */ | ||
.no-margin-edges > :first-child, | |||
.tabs-content > :first-child, | |||
.doc > :first-child { | |||
margin-top: 0 !important; | |||
} | } | ||
. | .no-margin-edges > :last-child, | ||
.tabs-content > :last-child, | |||
.doc > :last-child { | |||
margin-bottom: 0 !important; | |||
} | } | ||
. | /* Сброс и настройка отступов для списков */ | ||
.list-reset-margin ol { | |||
margin: 0 0 0 24px; | |||
padding: 0; | |||
} | } | ||
. | .list-reset-margin > ol > li:not(:first-child), | ||
margin- | .list-reset-margin > ul:nth-of-type(n+2) { | ||
margin-top: 10px; | |||
} | } | ||
/* Кнопка копирования текста */ | |||
.copy-icon { | |||
cursor: pointer; | |||
} | } | ||
. | /* Кнопка копирования текста */ | ||
.brightness-overlay::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
z-index: -1; | |||
background: var(--background-color); | |||
} | } | ||
. | /* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */ | ||
.brightness-overlay::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
z-index: 0; | |||
background: var(--background-color); | |||
} | } | ||
. | .brightness-overlay:hover::before { | ||
filter: brightness(105%); | |||
} | } | ||
/* Уменьшеная полоса прокрутки */ | |||
@media not all and (hover: none) and (pointer: coarse) { | |||
body:not(.wgl-theme-light) .short-scrollbar::-webkit-scrollbar { | |||
width: 13px; | |||
} | |||
} | } | ||
. | /* Для для динамичного вида кнопки "[развернуть]" */ | ||
.collapsible-absolute .mw-collapsible-toggle { | |||
position: absolute; | |||
left: 0; | |||
right: 0; | |||
} | } | ||
/* Обводка тенью изображений и текста */ | |||
.with-drop-shadow, | |||
.mw-wiki-logo.timeless-logo img { | |||
filter: var(--filter-drop-shadow-medium); | |||
} | } | ||
/* | /* Лого рендерится не в pixelated */ | ||
. | .mw-wiki-logo.timeless-logo img { | ||
. | image-rendering: auto; | ||
} | } | ||
. | .tooltip { | ||
position: relative; | |||
display: inline; | |||
} | } | ||
.tooltiptext { | |||
position: absolute; | |||
margin: 0 | min-width: 240px; | ||
max-width: 100%; | |||
left: -240px; | |||
right: -240px; | |||
top: 125%; | |||
margin-left: auto; | |||
margin-right: auto; | |||
z-index: 99; | |||
padding: 22px; | |||
pointer-events: none; | |||
visibility: hidden; | |||
transition: all 0.05s; | |||
border: 1px solid var(--color-contrast); | |||
border-radius: 1.4rem; | |||
background: var(--ooui-bg-color); | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); | |||
} | } | ||
. | .tooltip:hover>.tooltiptext { | ||
visibility: visible; | |||
opacity: 1; | |||
} | } | ||
@media screen and (min-width: 851px) { | |||
. | .mobile { | ||
display:none | |||
} | } | ||
.headder { | |||
. | width: 25%; | ||
float: right; | |||
margin-left: 1em | |||
} | |||
} | |||
.stiky { | |||
position: sticky; | |||
. | top: 0.1em | ||
} | |||
} | } | ||
@media screen and (max-width: 850px) { | |||
.nomobile { | |||
} | display: none !important; | ||
} | |||
.headder { | |||
width: 100%; | |||
margin-left: 0; | |||
width: | |||
} | } | ||
.tooltip { | |||
position: static; | |||
} | |||
} | |||
.tooltiptext { | |||
box-shadow: var(--box-shadow-overlay); | |||
. | position: fixed!important; | ||
width: 80vw !important; | |||
top: 40vh !important; | |||
left: 0 !important; | |||
margin: 0 auto !important; | |||
right: 0!important; | |||
} | |||
/* | |||
.mobilefont { | |||
font-size: 80% | |||
} | |||
*/ | |||
.mobile-image img { | |||
width: 32px !important; | |||
height: 32px !important; | |||
} | |||
} | } | ||
/* | /* Класс для уменьшения яркости фона tabs */ | ||
. | .tabs-no-background > .tabs-container { | ||
background: rgba(var(--color-lighter--rgb), 0.02); | |||
} | } | ||
/* #endregion */ | |||
/* ============ */ | |||
/* #region <syntaxhighlight> CODE BLOCKS */ | |||
/* ============ */ | |||
:root { | |||
--synt-high--color-darkCreamy: #262421; | |||
--synt-high--color-lightCreamy: hsl(38, 5%, 45%); | |||
--synt-high--color-comment: var(--synt-high--color-lightCreamy); | |||
--synt-high--color-err: #ff1a94; | |||
--synt-high--color-operator: #e7236a; | |||
--synt-high--color-punctuation: #f8f8f2; | |||
--synt-high--color-string: #e6db74; | |||
--synt-high--color-date: var(--synt-high--color-string); | |||
/* names for things such as variables, functions, classes, etc. */ | |||
--synt-high--color-name: #a6e22e; | |||
/* literals, mostly numbers, some string stuff too. */ | |||
--synt-high--color-literal: #ae81ff; | |||
/* keywords and constants */ | |||
--synt-high--color-keyword: #57b8cb; | |||
--action-color: hsl(220, 60%, 50%); | |||
} | } | ||
. | /* Modified version of https://github.com/richleland/pygments-css/blob/master/monokai.css */ | ||
/* Highlighted Lines */ | |||
body:not(.wgl-theme-light) .mw-highlight .hll { | |||
background: var(--action-color); | |||
} | } | ||
/* Error */ | |||
body:not(.wgl-theme-light) .mw-highlight .err { | |||
color: var(--synt-high--color-err); | |||
background: hsl(328, 40%, 16%); | |||
} | |||
/* Keyword */ | |||
body:not(.wgl-theme-light) .mw-highlight .k { | |||
color: var(--synt-high--color-keyword); | |||
} | |||
/* Literal */ | |||
body:not(.wgl-theme-light) .mw-highlight .l { | |||
color: var(--synt-high--color-literal); | |||
} | |||
/* Name */ | |||
body:not(.wgl-theme-light) .mw-highlight .n { | |||
color: #f8f8f2; | |||
} | } | ||
/* Operator */ | |||
body:not(.wgl-theme-light) .mw-highlight .o { | |||
color: var(--synt-high--color-operator); | |||
} | |||
/* Punctuation */ | |||
body:not(.wgl-theme-light) .mw-highlight .p { | |||
color: var(--synt-high--color-punctuation); | |||
} | |||
/* Comment */ | |||
body:not(.wgl-theme-light) .mw-highlight .c { | |||
color: var(--synt-high--color-comment); | |||
} | |||
/* Comment.Hashbang */ | |||
body:not(.wgl-theme-light) .mw-highlight .ch { | |||
color: var(--synt-high--color-comment); | |||
} | |||
/* Comment.Multiline */ | |||
body:not(.wgl-theme-light) .mw-highlight .cm { | |||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* | /* Comment.Preproc */ | ||
. | body:not(.wgl-theme-light) .mw-highlight .cp { | ||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* | /* Comment.PreprocFile */ | ||
body:not(.wgl-theme-light) .mw-highlight .cpf { | |||
color: var(--synt-high--color-comment); | |||
} | |||
: | /* Comment.Single */ | ||
body:not(.wgl-theme-light) .mw-highlight .c1 { | |||
color: var(--synt-high--color-comment); | |||
} | |||
/* Comment.Special */ | |||
body:not(.wgl-theme-light) .mw-highlight .cs { | |||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* | /* Generic.Deleted */ | ||
body:not(.wgl-theme-light) .mw-highlight .gd { | |||
color: #f92672; | |||
body:not(.wgl-theme-light) .mw-highlight . | |||
} | } | ||
/* | /* Generic.Emph */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .ge { | ||
font-style: italic; | |||
} | } | ||
/* | /* Generic.Inserted */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .gi { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-name); | ||
} | } | ||
/* | /* Generic.Strong */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .gs { | ||
font-weight: bold; | |||
} | } | ||
/* | /* Generic.Subheading */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .gu { | ||
color: # | color: #75715e; | ||
} | } | ||
/* | /* Keyword.Constant */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .kc { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-keyword); | ||
} | } | ||
/* | /* Keyword.Declaration */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .kd { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-keyword); | ||
} | } | ||
/* | /* Keyword.Namespace */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .kn { | ||
color: | color: #f92672; | ||
} | } | ||
/* | /* Keyword.Pseudo */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .kp { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-keyword); | ||
} | } | ||
/* | /* Keyword.Reserved */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .kr { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-keyword); | ||
} | } | ||
/* | /* Keyword.Type */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .kt { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-keyword); | ||
} | } | ||
/* | /* Literal.Date */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .ld { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-date); | ||
} | } | ||
/* | /* Literal.Number */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .m { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-literal); | ||
} | } | ||
/* | /* Literal.String */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .s { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Name.Attribute */ | ||
.mw-highlight .na { | |||
color: | color: var(--synt-high--color-name); | ||
} | } | ||
/* | /* Name.Builtin */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nb { | ||
color: #f8f8f2; | |||
} | } | ||
/* | /* Name.Class */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nc { | ||
color: var(--synt-high--color-name); | color: var(--synt-high--color-name); | ||
} | } | ||
/* | /* Name.Constant */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .no { | ||
color: var(--synt-high--color-keyword); | |||
} | } | ||
/* | /* Name.Decorator */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nd { | ||
color: | color: var(--synt-high--color-name); | ||
} | } | ||
/* | /* Name.Entity */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .ni { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Name.Exception */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .ne { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-name); | ||
} | } | ||
/* | /* Name.Function */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nf { | ||
color: | color: var(--synt-high--color-name); | ||
} | } | ||
/* | /* Name.Label */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nl { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Name.Namespace */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nn { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Name.Other */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nx { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-name); | ||
} | } | ||
/* | /* Name.Property */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .py { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Name.Tag */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nt { | ||
color: | color: #f92672; | ||
} | } | ||
/* | /* Name.Variable */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .nv { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Operator.Word */ | ||
.mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .ow { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-operator); | ||
} | } | ||
/* | /* Text.Whitespace */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .w { | ||
color: #f8f8f2; | color: #f8f8f2; | ||
} | } | ||
/* | /* Literal.Number.Bin */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .mb { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-literal); | ||
} | } | ||
/* | /* Literal.Number.Float */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .mf { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-literal); | ||
} | } | ||
/* | /* Literal.Number.Hex */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .mh { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-literal); | ||
} | } | ||
/* | /* Literal.Number.Integer */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .mi { | ||
color: | color: var(--synt-high--color-literal); | ||
} | } | ||
/* | /* Literal.Number.Oct */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .mo { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-literal); | ||
} | } | ||
/* | /* Literal.String.Affix */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .sa { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Literal.String.Backtick */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .sb { | ||
color: | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Literal.String.Char */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .sc { | ||
color: | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Literal.String.Delimiter */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .dl { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Literal.String.Doc */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .sd { | ||
color: | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Literal.String.Double */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .s2 { | ||
color: | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Literal.String.Escape */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .se { | ||
color: | color: var(--synt-high--color-literal); | ||
} | } | ||
/* | /* Literal.String.Heredoc */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .sh { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Literal.String.Interpol */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .si { | ||
color: | color: var(--synt-high--color-string); | ||
} | } | ||
/* Literal. | /* Literal.String.Other */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .sx { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-string); | ||
} | } | ||
/* Literal. | /* Literal.String.Regex */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .sr { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-string); | ||
} | } | ||
/* Literal. | /* Literal.String.Single */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .s1 { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-string); | ||
} | } | ||
/* Literal. | /* Literal.String.Symbol */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .ss { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-string); | ||
} | } | ||
/* | /* Name.Builtin.Pseudo */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .bp { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Name.Function.Magic */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .fm { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-name); | ||
} | } | ||
/* | /* Name.Variable.Class */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .vc { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Name.Variable.Global */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .vg { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Name.Variable.Instance */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .vi { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Name.Variable.Magic */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .vm { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* Literal. | /* Literal.Number.Integer.Long */ | ||
body:not(.wgl-theme-light) .mw-highlight .il { | |||
body:not(.wgl-theme-light) .mw-highlight . | |||
color: var(--synt-high--color-literal); | color: var(--synt-high--color-literal); | ||
} | } | ||
/* #endregion */ | |||
/* | /* ============ */ | ||
/* #region SOURCE EDITOR → SYNTAX HIGHLIGHTING */ | |||
color: var(--synt-high--color- | /* based on: https://github.com/wikimedia/mediawiki-extensions-CodeMirror/blob/master/resources/mode/mediawiki/mediawiki.less */ | ||
/* ============ */ | |||
:root { | |||
/* | /* "se-cm" = Source Editor - Code Mirror */ | ||
/* same color as for source editor */ | |||
color: var(-- | --se-cm--bg-color: var(--bg-color-light-x2); | ||
/* same color as for code block */ | |||
--se-cm--gutter-bg-color: var(--code-color-bg); | |||
/* | /* margin to the left for the main contents of the editor */ | ||
--se-cm--main-contents-left-margin: 0.25rem; | |||
color: var(-- | /* bg color for pre/nowiki tags contents */ | ||
--se-cm--pre-bg-color: hsl(205, 21%, 15%); | |||
/* from the <syntaxhighlight> theme */ | |||
/* | --se-cm--comment-color: var(--synt-high--color-comment); | ||
--se-cm--error-color: var(--red-color); | |||
color: var(-- | /* link itself */ | ||
--se-cm--link-color: #699ae9; | |||
/* link delimiter */ | |||
/* | --se-cm--cm-mw-link-delimiter: var(--se-cm--template-delimiter-color); | ||
/* link text */ | |||
color: var(-- | --se-cm--link-text-color: #3873d3; | ||
--se-cm--link-brackets-color: var(--se-cm--link-text-color); | |||
/* things like "DISPLAYTITLE" "templates" (the whole template except the value part) */ | |||
/* | --se-cm--parser-function-color: #e0485a; | ||
/* function param values */ | |||
color: | --se-cm--parser-function-values-color: #e0cacd; | ||
/* table brackets and row delimiter */ | |||
--se-cm--table-punctuation-color: var(--se-cm--parser-function-color); | |||
/* table settings */ | |||
--se-cm--table-settings-color: var(--se-cm--template-name-color); | |||
/* template name */ | |||
--se-cm--template-name-color: #a142cf; | |||
/* template arg names */ | |||
--se-cm--template-arg-name-color: #9e27da; | |||
/* template brackets */ | |||
--se-cm--template-brackets-color: var(--se-cm--template-name-color); | |||
/* template arg values */ | |||
--se-cm--template-values-color: #a3cced; | |||
/* template arg delimiters */ | |||
--se-cm--template-delimiter-color: var(--se-cm--link-color); | |||
/* template param name */ | |||
--se-cm--template-param-name-color: #d07b00; | |||
/* template param brackets */ | |||
--se-cm--template-param-brackets-color: #ac6600; | |||
/* template param values */ | |||
--se-cm--template-param-value-color: hsl(207,90%,83%); | |||
/* template param delimiter */ | |||
--se-cm--template-param-delimiter-color: var(--se-cm--template-delimiter-color); | |||
/* wiki formatting: headers, bullet points, bold/italic quotes, etc. */ | |||
--se-cm--wikitext-formatting-color: var(--se-cm--link-text-color); | |||
/* html tags, including ones specific for the wiki (like syntaxhighlight) */ | |||
--se-cm--xml-tag-color: #11a886; | |||
/* selection color */ | |||
--se-cm--selection-color: hsl(205, 21%, 30%); | |||
/* bg color applied when selecting a bracket that has a match (in templates) */ | |||
--se-cm--matching-brackets-bg-color: hsl(205, 21%, 44%); | |||
} | } | ||
/* the whole content body code mirror wrapper */ | |||
/* | body:not(.wgl-theme-light) .CodeMirror-wrap { | ||
body:not(.wgl-theme-light) . | /* same color as for source editor */ | ||
color: | background: var(--se-cm--bg-color); | ||
/* color for the text that the other rules don't apply to (regular text, header text, etc.) */ | |||
color: var(--text-color); | |||
} | } | ||
/* the actual lines of text */ | |||
/* | body:not(.wgl-theme-light) .CodeMirror pre.CodeMirror-line { | ||
body:not(.wgl-theme-light) . | /* a little bit of margin for the main content */ | ||
margin-left: var(--se-cm--main-contents-left-margin); | |||
} | } | ||
/* gutters?? */ | |||
/* | body:not(.wgl-theme-light) .CodeMirror-wrap .CodeMirror-gutters { | ||
body:not(.wgl-theme-light) . | border-color: var(--ooui-border-color); | ||
color: | |||
} | } | ||
/* gutter */ | |||
/* | body:not(.wgl-theme-light) .CodeMirror-wrap .CodeMirror-gutter { | ||
body:not(.wgl-theme-light) . | /* same color as for code block */ | ||
color: | background: var(--se-cm--gutter-bg-color); | ||
} | } | ||
/* selection */ | |||
/* | body:not(.wgl-theme-light) .CodeMirror-line::selection, | ||
body:not(.wgl-theme-light) . | /* selection */ | ||
color | body:not(.wgl-theme-light) .CodeMirror-line>span::selection, | ||
/* selection */ | |||
body:not(.wgl-theme-light) .CodeMirror-line>span>span::selection { | |||
background: var(--se-cm--selection-color); | |||
} | } | ||
/* bullet point symbol */ | |||
/* | body:not(.wgl-theme-light) .cm-mw-list, | ||
body:not(.wgl-theme-light) .mw- | /* ???? */ | ||
color: | body:not(.wgl-theme-light) .cm-mw-indenting { | ||
color: var(--se-cm--wikitext-formatting-color); | |||
} | } | ||
/* magic words */ | |||
/* | body:not(.wgl-theme-light) .cm-mw-doubleUnderscore, | ||
body:not(.wgl-theme-light) .mw- | /* magic words */ | ||
color: var(-- | body:not(.wgl-theme-light) .cm-mw-double-underscore, | ||
/* ???? user signature maybe */ | |||
body:not(.wgl-theme-light) .cm-mw-signature, | |||
/* ???? hr tags prob */ | |||
body:not(.wgl-theme-light) .cm-mw-hr { | |||
color: var(--se-cm--wikitext-formatting-color); | |||
/* override the defaults */ | |||
background: inherit; | |||
} | } | ||
/* | /* html sequences like " " */ | ||
body:not(.wgl-theme-light) .cm-mw-mnemonic, | |||
/* ???? */ | |||
body:not(.wgl-theme-light) .cm-mw-html-entity { | |||
color: var(--se-cm--xml-tag-color); | |||
background: #684905; | |||
border-radius: 2px; | |||
} | |||
/* comments */ | |||
body:not(.wgl-theme-light) .cm-mw-comment { | |||
color: var(--se-cm--comment-color); | |||
} | |||
/* formatting: 3 apostrophes for bold text */ | |||
body:not(.wgl-theme-light) .cm-mw-apostrophes-bold, | |||
/* formatting: 2 apostrophes for italic text | |||
todo make them separate? better eligibility */ | |||
body:not(.wgl-theme-light) .cm-mw-apostrophes-italic { | |||
color: var(--se-cm--wikitext-formatting-color); | |||
} | |||
/* template name */ | |||
- | body:not(.wgl-theme-light) .cm-mw-template-name { | ||
color: var(--se-cm--template-name-color); | |||
/* disable the default */ | |||
text-decoration: none; | |||
} | |||
/* template arg names */ | |||
body:not(.wgl-theme-light) .cm-mw-template-argument-name { | |||
color: var(--se-cm--template-arg-name-color); | |||
/* | |||
- | |||
} | } | ||
/* | /* template arg values */ | ||
body:not(.wgl-theme-light) . | body:not(.wgl-theme-light) .cm-mw-template { | ||
color: var(--ooui-text-color); | |||
} | } | ||
/* | /* template pipe delimiters (maybe colon too for modules?) */ | ||
body:not(.wgl-theme-light) . | body:not(.wgl-theme-light) .cm-mw-template-delimiter { | ||
color: var(--se-cm--template-name-color); | |||
} | } | ||
/* | /* template brackets */ | ||
body:not(.wgl-theme-light) . | body:not(.wgl-theme-light) .cm-mw-template-bracket { | ||
color: var(--se-cm--template-brackets-color); | |||
} | } | ||
/* | /* template variable (with 3 brackets) name */ | ||
body:not(.wgl-theme-light) . | body:not(.wgl-theme-light) .cm-mw-templatevariable-name { | ||
color: var(--se-cm--template-param-name-color); | |||
} | } | ||
/* | /* template variable (with 3 brackets) value */ | ||
body:not(.wgl-theme-light) .cm-mw-templatevariable { | |||
color: var(--se-cm--template-param-brackets-color); | |||
body:not(.wgl-theme-light) . | |||
} | } | ||
/* | /* template variable brackets (3 brackets) */ | ||
body:not(.wgl-theme-light) .cm-mw-templatevariable-bracket { | |||
color: var(--se-cm--template-param-brackets-color); | |||
body:not(.wgl-theme-light) .cm-mw- | |||
color: var(--se-cm-- | |||
} | } | ||
/* | /* template variable (with 3 brackets) delimiter */ | ||
body:not(.wgl-theme-light) .cm-mw-templatevariable-delimiter { | |||
color: var(--se-cm--template-param-brackets-color); | |||
body:not(.wgl-theme-light) .cm-mw- | |||
color: var(--se-cm-- | |||
} | } | ||
/* | /* parser functions (things like "DISPLAYTITLE" or invokes) → name */ | ||
body:not(.wgl-theme-light) .cm-mw-parserfunction-name { | |||
color: var(--se-cm--parser-function-color) !important; | |||
body:not(.wgl-theme-light) .cm-mw- | |||
color: var(--se-cm-- | |||
} | } | ||
/* | /* parser functions (things like "DISPLAYTITLE" or invokes) → value */ | ||
body:not(.wgl-theme-light) .cm-mw- | body:not(.wgl-theme-light) .cm-mw-parserfunction { | ||
color: var(--se-cm-- | color: var(--se-cm--parser-function-values-color); | ||
} | } | ||
/* | /* parser functions (things like "DISPLAYTITLE" or invokes) → brackets */ | ||
body:not(.wgl-theme-light) .cm-mw-parserfunction-bracket { | |||
color: var(--se-cm--parser-function-color); | |||
body:not(.wgl-theme-light) .cm-mw- | |||
color: var(--se-cm-- | |||
} | } | ||
/* | /* parser functions (things like "DISPLAYTITLE" or invokes) → delimiters */ | ||
body:not(.wgl-theme-light) .cm-mw- | body:not(.wgl-theme-light) .cm-mw-parserfunction-delimiter { | ||
color: var(--se-cm-- | color: var(--se-cm--parser-function-color); | ||
} | } | ||
/* wiki html tag names? like >syntaxhighlight> */ | |||
body:not(.wgl-theme-light) .cm-mw-exttag-name, | |||
/* html tag names */ | |||
body:not(.wgl-theme-light) .cm-mw-htmltag-name { | |||
/* wiki html tag names? like >syntaxhighlight> */ | |||
body:not(.wgl-theme-light) .cm-mw-exttag-name, | |||
/* html tag names */ | |||
body:not(.wgl-theme-light) .cm-mw-htmltag-name { | |||
color: var(--se-cm--xml-tag-color); | color: var(--se-cm--xml-tag-color); | ||
} | } | ||
| Строка 3407: | Строка 3381: | ||
table.druid-container { | table.druid-container { | ||
display: table; | |||
background: var(--theme-bg-color-150); | background: var(--theme-bg-color-150); | ||
float: right; | float: right; | ||
| Строка 3595: | Строка 3570: | ||
.druid-container td { | .druid-container td { | ||
max-width: 0; | |||
} | } | ||
| Строка 3682: | Строка 3657: | ||
/* ============ */ | /* ============ */ | ||
/* #region | /* #region JS */ | ||
/* ============ */ | /* ============ */ | ||
. | /* Переключатель проекта */ | ||
.js-project-menu { | |||
display: inline-flex; | |||
gap: 6px; | |||
font-size: var(--font-size-s); | |||
flex-wrap: wrap; | |||
padding-bottom: 6px; | |||
} | } | ||
.js-project-menu label { | |||
user-select: none; | user-select: none; | ||
-webkit-user-drag: none; | |||
transition-property: background,box-shadow; | |||
transition-duration: var(--transition-time); | transition-duration: var(--transition-time); | ||
cursor: pointer; | |||
padding: 0.2em 0.4em; | |||
font-weight: bold; | |||
border: 2px | border-bottom: solid 2px var(--theme-text-color-dark); | ||
border- | border-radius: var(--border-radius-low) var(--border-radius-low) 0 0; | ||
color: var(--theme-text-color-dark); | |||
opacity: 0.75; | |||
} | } | ||
.js-project-menu input { | |||
display: none; | display: none; | ||
} | } | ||
. | .js-project-menu input:checked + label, | ||
.js-project-menu label:hover { | |||
opacity: | opacity: 1; | ||
} | } | ||
. | .js-project-menu input:not(:checked) + label { | ||
background: unset !important; | |||
} | } | ||
.js-project-menu input#project-Corvax + label { | |||
color: var(--text-color-crimson); | |||
border-bottom-color: var(--text-color-crimson); | |||
background: var(--bg-color-pastel-red-dark); | |||
border- | |||
background | |||
} | } | ||
# | .js-project-menu input#project-WL + label { | ||
color: var(--text-color-dark-salmon); | |||
border-bottom-color: var(--text-color-dark-salmon); | |||
background: var(--bg-color-rust-dark); | |||
} | } | ||
# | .js-project-menu input#project-CM + label { | ||
color: var(--text-color-turquoise); | |||
border-bottom-color: var(--text-color-turquoise); | |||
background: var(--bg-color-emerald-dark); | |||
} | } | ||
# | .js-project-menu input#project-Frontier + label { | ||
color: var(--text-color-violet); | |||
border-bottom-color: var(--text-color-violet); | |||
background: var(--bg-color-violet-dark); | |||
} | } | ||
. | .js-project-menu input#project-Fallout + label { | ||
color: var(--text-color-silver); | |||
border-bottom-color: var(--text-color-silver); | |||
- | background: var(--bg-color-grey-dark); | ||
} | } | ||
.js-project-menu input#project-SW + label { | |||
. | color: var(--text-color-crimson); | ||
border-bottom-color: var(--text-color-crimson); | |||
background: var(--bg-color-pastel-red-dark); | |||
} | |||
.js-project-menu input#project-Wega + label { | |||
color: var(--text-color-pink); | |||
border-bottom-color: var(--text-color-pink); | |||
background: var(--bg-color-pink-dark); | |||
} | } | ||
.js-project-menu input#project-Goob + label { | |||
color: var(--text-color-blue); | |||
border-bottom-color: var(--text-color-blue); | |||
border- | background: var(--bg-color-blue-dark); | ||
} | } | ||
@media screen and (max-width: 850px) { | |||
.js-project-menu { | |||
font-size: var(--font-size-xs); | |||
} | |||
} | } | ||
/* Меню настроек темы */ | |||
.theme-dropdown { | |||
position: relative; | position: relative; | ||
} | } | ||
#personal | #personal-extra li, | ||
# | #personal h2, | ||
.theme-dropdown-details { | |||
padding: 0.25em; | |||
border-radius: var(--border-radius-medium); | |||
margin: 0; | margin: 0; | ||
} | } | ||
.theme-dropdown-details[open] + .theme-window { | |||
visibility: visible; | |||
opacity: 1; | |||
height: auto; | |||
transform: scale(0.99999); | |||
} | } | ||
#personal .dropdown | #personal .dropdown, | ||
.theme-dropdown .theme-window, | |||
.mw-echo-ui-overlay .oo-ui-popupWidget-popup { | |||
top: unset; | |||
user-select: none; | user-select: none; | ||
- | position: absolute; | ||
background: var(--ooui-bg-color- | min-width: 14.5rem; | ||
background: var(--ooui-bg-color-darkened); | |||
box-shadow: var(--box-shadow-high); | |||
transition-duration: var(--transition-time); | transition-duration: var(--transition-time); | ||
transition-property: transform, opacity, visibility; | |||
z-index: var(--index-high); | |||
border: 2px solid var(--ooui-bg-color-light); | |||
border-top: 2px solid var(--ooui-border-color); | |||
border-radius: var(--border-radius-low); | |||
border-top: | padding: 0.2em; | ||
border- | box-shadow: var(--box-shadow-high), var(--box-shadow-inset); | ||
} | } | ||
#theme- | #personal .dropdown, | ||
.theme-dropdown .theme-window { | |||
right: -14px; | |||
margin-top: 0.3rem; | |||
} | } | ||
#personal | #personal .dropdown::before, | ||
#personal | #personal .dropdown::after { | ||
. | display: none; | ||
} | } | ||
. | .theme-dropdown .theme-window { | ||
overflow: hidden; | |||
. | opacity: 0; | ||
visibility: hidden; | |||
transform: scale(0.9); | |||
transform-origin: top; | |||
} | } | ||
.theme-dropdown .theme-window * { | |||
user-select: none; | |||
.theme- | user-drag: none; | ||
-webkit-user-drag: none; | |||
} | } | ||
#personal | #personal .dropdown label, #personal .dropdown h3, | ||
# | .theme-dropdown .theme-window__header, | ||
.theme-dropdown- | .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head { | ||
display: flex; | |||
align-items: center; | |||
gap: 4px; | |||
position: relative; | |||
height: 2.2rem; | |||
font-size: var(--font-size-ml); | |||
border-radius: var(--border-radius-low); | |||
background-color: var(--color-contrast2); | |||
font-weight: bold; | |||
padding: 0 0.4em; | |||
border-bottom: 2px solid var(--color-darkened-border); | |||
flex-direction: row; | |||
margin: 0; | margin: 0; | ||
} | } | ||
# | #theme-preferences__content { | ||
display: flex; | |||
flex-direction: column; | |||
gap: 0.5em; | |||
} | } | ||
# | #theme-preferences__content .theme-menu__heading { | ||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
font-weight: bold; | |||
height: 1.75rem; | |||
border-bottom: 2px solid var(--bg-color-sky-blue-100); | |||
} | } | ||
# | #personal .dropdown ul, | ||
#theme-preferences__content .theme-menu__content { | |||
padding: 0.5em; | |||
} | |||
.theme-dropdown .theme-window * { | |||
user-select: none; | |||
user-drag: none; | |||
-webkit-user-drag: none; | |||
} | } | ||
# | #personal .dropdown .mw-portlet > div, #personal .dropdown .mw-portlet-body, | ||
.theme-dropdown .theme-window__content { | |||
position: relative; | |||
margin: 0.3em 0; | |||
} | } | ||
#personal .dropdown ul, | |||
#theme-preferences__content .theme-menu { | |||
background-color: var(--theme-bg-color-base); | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
#theme-preferences__content .theme-menu li { | |||
margin: 0; | |||
} | |||
#personal .dropdown ul, | |||
#theme-preferences__content .theme-menu form { | |||
position: relative; | |||
.dropdown | display: grid; | ||
gap: 0.5em; | |||
text-align: center; | |||
} | } | ||
#personal .dropdown li, | |||
#theme-preferences__content .theme-client-prefs-radio { | |||
display: flex; | |||
justify-content: center; | |||
padding: 0; | |||
margin: 0; | |||
width: 100%; | |||
} | } | ||
#theme-preferences__content .theme-client-prefs-radio input { | |||
display: none; | |||
} | } | ||
#personal .dropdown li a, | |||
#theme-preferences__content .theme-client-prefs-radio label { | |||
user-select: none; | |||
-webkit-user-drag: none; | |||
background: var(--ooui-bg-color-light); | |||
border-radius: var(--border-radius-medium); | |||
transition-property: background, box-shadow; | |||
transition-duration: var(--transition-time); | |||
cursor: pointer; | |||
flex-grow: 1; | |||
align-content: center; | |||
padding: 0.25em 0.5em; | |||
font-weight: bold; | |||
border-top: 1px solid var(--color-lighter-alpha-x); | |||
border-bottom: 2px solid var(--color-darkened-border); | |||
color: var(--theme-text-color); | |||
} | } | ||
#theme-preferences__content .theme-client-prefs-radio input:checked + label { | |||
# | background-color: var(--bg-color-message); | ||
. | } | ||
#personal-extra li:hover, | |||
#personal h2:hover, | |||
.theme-dropdown-details:hover, | |||
.tool-button:hover, .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover { | |||
background: var(--bg-color-hover); | |||
} | |||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, | |||
.cdx-button:enabled.cdx-button--weight-quiet:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet:hover, | |||
.ve-ce-branchNode-blockSlug, html body p.ve-ce-branchNode-newSlug { | |||
background: var(--bg-color-focus); | |||
} | |||
#personal-extra li:focus, | |||
#personal.dropdown-active h2, | |||
.theme-dropdown-details[open] { | |||
background-color: var(--bg-color-focus) !important; | |||
} | |||
#personal h2::before, | |||
#site-navigation h2, | |||
.theme-dropdown-summary { | |||
content: ''; | |||
cursor: pointer; | |||
background: var(--theme-icon-color); | background: var(--theme-icon-color); | ||
mask-size: contain; | |||
mask-position: center; | |||
mask-repeat: no-repeat; | |||
width: var(--icon-size); | |||
height: var(--icon-size); | |||
opacity: 1 !important; | |||
margin: 0; | |||
} | |||
.theme-dropdown-summary { | |||
mask-image: var(--icon-settings); | |||
} | } | ||
#pt-notifications-alert .mw-echo-notifications-badge, | |||
#pt-notifications-notice .mw-echo-notifications-badge { | |||
.mw- | width: var(--icon-size); | ||
height: var(--icon-size); | |||
filter: var(--invert-100); | |||
background-size: cover; | |||
margin: 0; | |||
} | |||
#pt-notifications-notice .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen::after, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-unseen-notifications::after { | |||
background-color: var(--color-contrast); | |||
} | |||
.mw- | #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { | ||
opacity: 0.45; | |||
} | |||
.mw-echo- | #pt-notifications-alert .mw-echo-notifications-badge::after, | ||
.mw-echo- | #pt-notifications-notice .mw-echo-notifications-badge::after { | ||
filter: var(--invert-100); | |||
} | |||
@media screen and (max-width: 850px) { | |||
#pt-notifications-alert .mw-echo-notifications-badge, | |||
#pt-notifications-notice .mw-echo-notifications-badge, | |||
#personal h2::before, | |||
#site-navigation h2, | |||
.theme-dropdown-summary { | |||
width: var(--icon-size-big); | |||
height: var(--icon-size-big); | |||
} | |||
#personal .dropdown, | |||
.theme-dropdown .theme-window { | |||
right: 0; | |||
} | |||
#personal-extra { | |||
position: unset; | |||
} | |||
} | |||
/* #endregion */ | |||
/* ============ */ | |||
.mw- | /* #region Интерфейс MediaWiki */ | ||
/* ============ */ | |||
. | |||
/* invert(1) */ | |||
.mw-editsection, | |||
.mw-editsection a, | |||
.dropdown-toggle::after, | |||
.cdx-button .cdx-button__icon, .cdx-button .cdx-icon, | |||
.wikiEditor-ui-toolbar .tabs span.tab a::before, | |||
.wikiEditor-ui-toolbar .group .tool-select .label::after, | |||
.mw-content-ltr figure[typeof~='mw:File/Thumb'] > .mw-file-description::after, .mw-content-ltr figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after { | |||
filter: var(--invert-100); | |||
#pt-notifications-alert .mw-echo-notifications-badge | |||
# | |||
# | |||
. | |||
. | |||
. | |||
.mw- | |||
. | |||
. | |||
.cdx-button | |||
.cdx- | |||
. | |||
. | |||
. | |||
.mw | |||
.mw- | |||
.mw | |||
} | } | ||
. | /* invert(0.75) */ | ||
.oo-ui-iconElement-icon:not(.oo-ui-image-progressive):not(.oo-ui-image-destructive):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-image-invert):not(.mw-no-invert):not(.oo-ui-icon-difficulty-easy):not(.oo-ui-icon-difficulty-medium):not(.oo-ui-icon-difficulty-hard):not(.oo-ui-image-error):not(.oo-ui-image-success), | |||
.oo-ui- | .oo-ui-indicatorElement-indicator, | ||
.cdx-icon svg, | |||
.skin-invert img[role="presentation"] { | |||
filter: var(--invert-75) hue-rotate(180deg); | |||
.oo-ui- | |||
.oo-ui- | |||
.cdx- | |||
. | |||
} | } | ||
.oo-ui- | body.wgl-theme-ss14 .oo-ui-image-progressive:not(.oo-ui-indicatorElement-indicator):not(.oo-ui-icon-mentor), | ||
. | body.wgl-theme-ss14 .oo-ui-icon-linked { | ||
. | filter: var(--invert-75); | ||
} | } | ||
.oo-ui- | /* invert(0) */ | ||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span, | |||
.mw-ge-help-panel-button.oo-ui-buttonElement.oo-ui-iconElement.oo-ui-indicatorElement a.oo-ui-buttonElement-button .oo-ui-indicator-up { | |||
.mw-ge- | filter: var(--invert-0); | ||
. | } | ||
.oo-ui- | |||
. | body:not(.wgl-theme-ss14) .oo-ui-image-progressive:not(.oo-ui-indicatorElement-indicator):not(.oo-ui-icon-mentor), | ||
body:not(.wgl-theme-ss14) .oo-ui-icon-linked { | |||
.oo-ui- | filter: var(--invert-0) !important; | ||
} | |||
. | |||
/* icon color */ | |||
. | #mw-indicator-mw-helplink a .mw-helplink-icon, | ||
. | .mw-enhancedchanges-checkbox + * .mw-enhancedchanges-arrow { | ||
background: var(--theme-icon-color); | |||
. | |||
background | |||
} | } | ||
. | /* background */ | ||
. | .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement > .oo-ui-buttonElement-button, | ||
.mw-prefs-buttons, | |||
. | .oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected, .oo-ui-outlineOptionWidget.oo-ui-optionWidget-pressed, | ||
. | .mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-views-select, | ||
.mw- | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled, | ||
.mw- | .oo-ui-dropdownWidget, | ||
.oo-ui- | .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle, | ||
. | .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover, | ||
.mw- | .mw-datatable td, | ||
.mw- | .oo-ui-tabSelectWidget-framed, | ||
.ext-templatewizard-templatetitlebar, | .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td, | ||
.oo-ui- | .growthexperiments-homepage-module-startemail, | ||
. | .mw-ge-startediting-dialog-progress, | ||
.oo-ui-buttonElement-framed.oo-ui- | body.ltr .mw-ge-help-panel-processdialog .oo-ui-window-head:not(.oo-ui-pendingElement-pending), | ||
. | .oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-before > .oo-ui-menuLayout-menu, | ||
. | .ve-ui-toolbarDialog, | ||
. | .mw-echo-ui-notificationItemWidget:hover, | ||
.wikiEditor-ui-toolbar . | .mw-echo-ui-pageNotificationsOptionWidget-label-count, | ||
. | .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-highlighted, | ||
. | .footer-icons a:hover, | ||
. | .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input[readonly]:not(.oo-ui-pendingElement-pending), | ||
.mw-special-Contribute .mw-contribute-card, | |||
.oo-ui-tagMultiselectWidget.oo-ui-widget-disabled .oo-ui-tagMultiselectWidget-handle, | |||
.wikiEditor-ui-toolbar .group .tool-select .options .option, | |||
.ext-templatewizard-templatetitlebar, | |||
. | .ext-templatewizard-templateform .oo-ui-menuLayout-menu .ext-templatewizard-add-remove-all, | ||
.mw-rcfilters-ui- | .mw-ge-help-panel-home-button, | ||
. | .oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget-handle, select, | ||
. | span.fileinput-button, | ||
.ace_button, | |||
.oo-ui- | .ace_searchbtn, | ||
.oo-ui- | .oo-ui-selectFileInputWidget.oo-ui-widget-enabled.oo-ui-selectFileInputWidget-dropTarget, | ||
.oo-ui- | .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, | ||
. | .growthexperiments-homepage-module, | ||
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip, | |||
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button, | |||
.ace_optionsMenuEntry button, | |||
.oo-ui- | .ace_optionsMenuEntry button[ace_selected_button=true], | ||
. | .wikiEditor-ui-toolbar, | ||
.mw-widget-dateInputWidget- | .ace_search_field, | ||
.mw-widgets-datetime- | .oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input, | ||
. | .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle, | ||
.quickbox, | |||
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget, | |||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, | |||
. | .oo-ui-processDialog-content > .oo-ui-window-head, .oo-ui-processDialog-content > .oo-ui-window-foot, | ||
. | .mw-rcfilters-ui-menuSelectWidget-footer, | ||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, | |||
. | .mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, | ||
. | .oo-ui-textInputWidget .oo-ui-inputWidget-input, | ||
.ext- | .oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame, | ||
.cdx- | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select, | ||
. | .oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button, | ||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, | |||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, | |||
#pt-notifications-alert .mw-echo-notifications-badge::after, #pt-notifications-notice .mw-echo-notifications-badge::after, | |||
. | .mw-widget-dateInputWidget-handle, | ||
.mw- | #wpDestFile, | ||
#wpUploadDescription, | |||
. | .mw-widgets-datetime-dateTimeInputWidget-handle, | ||
background: var(--bg-color | .ui-widget input, | ||
.mw-rcfilters-ui-filterMenuHeaderWidget-header, | |||
#mw-scribunto-input, | |||
.growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module-mentor-tools .growthexperiments-mentor-dashboard-module-mentor-tools-other-actions, | |||
.growthexperiments-mentor-dashboard-module-mentee-overview .growthexperiments-mentor-dashboard-module-mentee-overview-recent-by-mentees, | |||
.ext-growthExperiments-NumberInput__input:enabled, | |||
.cdx-dialog__header--default, | |||
.cdx-select-vue--enabled .cdx-select-vue__handle, | |||
.cdx-select-vue--enabled.cdx-select-vue--expanded .cdx-select-vue__handle, | |||
.cdx-select-vue--enabled .cdx-select-vue__handle:hover, | |||
.growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-footer, | |||
.ext-communityConfiguration-JsonForm__footer-wrapper, | |||
.cdx-chip-input:not(.cdx-chip-input--disabled):not(.cdx-chip-input--has-separate-input) .cdx-chip-input__chips, | |||
.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled, | |||
.cdx-select:enabled, | |||
.cdx-select:enabled:hover, | |||
.cdx-text-input__input:enabled, | |||
.oo-ui-toolbar-bar, | |||
.ve-ui-mwTransclusionOutlineTemplateWidget-sticky, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-example, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-switch-editor-panel, | |||
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip, | |||
.mw-body-content .recent-questions-growthexperiments-mentor-questions, .overlay-content .recent-questions-growthexperiments-mentor-questions, .content .recent-questions-growthexperiments-mentor-questions, | |||
.mwe-vue-pt-article-row-even, | |||
.cdx-toggle-button--framed:enabled, | |||
.ve-ui-mwTransclusionOutlineControlsWidget { | |||
background: var(--ooui-bg-color); | |||
} | } | ||
. | .oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-top > .oo-ui-menuLayout-content, | ||
.mw-rcfilters-ui-menuSelectWidget-body.oo-ui-clippableElement-clippable, | |||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled, | |||
.oo-ui-tagMultiselectWidget.oo-ui-tagMultiselectWidget-outlined .oo-ui-inputWidget-input, | |||
. | .mw-widgets-datetime-calendarWidget-grid .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button, | ||
.mw- | .ace_mobile-button:active, | ||
.oo-ui- | .ace_mobile-button:hover, | ||
background | .ace_searchbtn:hover, | ||
.ext-templatewizard-templateform .oo-ui-menuLayout-content, | |||
.mw-echo-ui-notificationItemWidget, | |||
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td, | |||
.ext-discussiontools-ui-replyWidget-preview, | |||
#preferences .mw-htmlform-submit-buttons, | |||
form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input, | |||
.ace_editor.ace_autocomplete, | |||
.ext-growthExperiments-CPopper__popover, | |||
.growthexperiments-homepage-module-suggested-edits .growthexperiments-homepage-module-footer, | |||
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio'] + span, | |||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled, | |||
.oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed), | |||
.vector-user-links .vector-user-menu-more .vector-menu-content-list li a, | |||
.mw-notification, | |||
.oo-ui-popupWidget-popup, | |||
.ui-widget-header, | |||
.ui-widget-content, | |||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-datatable, | |||
div.editOptions, | |||
.mw-echo-ui-crossWikiNotificationItemWidget-group, .mw-echo-ui-bundleNotificationItemWidget-group, | |||
.ext-growthExperiments-MenteeFilters__form, | |||
.oo-ui-tagItemWidget.oo-ui-widget-disabled, | |||
.cdx-input-chip, | |||
.ve-init-mw-progressBarWidget, | |||
.mwe-vue-pt-showing-filter-chip, | |||
.mw-twocolconflict-single-column, .mw-twocolconflict-split-column, | |||
.mw-twocolconflict-single-column.mw-twocolconflict-split-copy, .mw-twocolconflict-split-column.mw-twocolconflict-split-copy { | |||
background: var(--ooui-bg-color-dark); | |||
} | } | ||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span, | |||
.cdx-checkbox__icon, | |||
. | .cdx-radio__icon { | ||
. | background-color: var(--ooui-bg-color-dark); | ||
. | |||
background: var(--bg-color- | |||
} | } | ||
.mw-twocolconflict- | .oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout, | ||
. | .mw-special-Contribute .mw-contribute-tabs-content, | ||
background-color: var(--bg-color- | .mw-echo-ui-placeholderItemWidget, | ||
.mw-ge-startediting-dialog-intro-general, | |||
.mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-single-column, | |||
.oo-ui-searchWidget-results, | |||
.mw-rcfilters-ui-tagItemWidget-popup-content, | |||
#ace_settingsmenu, #kbshortcutmenu, | |||
.oo-ui-searchWidget-query, | |||
.mw-ge-startediting-dialog-difficulty-banner, | |||
.mw-ge-help-panel-popup .oo-ui-dialog, | |||
.ve-ui-targetWidget:not(.oo-ui-pendingElement-pending), | |||
.mw-echo-ui-toggleReadCircleButtonWidget-circle-unread, | |||
.oo-ui-tagMultiselectWidget-handle, .oo-ui-panelLayout-padded, | |||
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane, | |||
.wikiEditor-toolbar-dialog .ui-dialog-content, | |||
.cdx-dialog, | |||
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive .cdx-button__icon, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive .cdx-button__icon, | |||
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover .cdx-button__icon, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover .cdx-button__icon, | |||
.oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-before > .oo-ui-menuLayout-content, | |||
.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup > .oo-ui-window-frame, | |||
.oo-ui-toggleSwitchWidget, | |||
#mwe-vue-pt-control-dropdown { | |||
background-color: var(--ooui-bg-color-darkened); | |||
} | } | ||
.mw-echo-ui- | .mw-rcfilters-ui-filterMenuSectionOptionWidget, | ||
background: var(--bg-color- | .wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover, | ||
#ca-nstab-special.selected.mw-list-item, | |||
.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line, | |||
.mw-revslider-revision-wrapper:hover, .mw-revslider-revision-wrapper-hovered, | |||
.mw-datatable tr:hover td, | |||
.mw-echo-ui-toggleReadCircleButtonWidget:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle-unread, | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover, | |||
.wikiEditor-ui-toolbar .booklet > .index > .current, | |||
.mw-revslider-revision-new .mw-revslider-revision, .mw-revslider-revision-old .mw-revslider-revision, .mw-revslider-revision-intermediate .mw-revslider-revision, | |||
.mw-revslider-revision-filter-highlight .mw-revslider-revision-border-box, | |||
.ext-templatewizard-templatetitlebar, | |||
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, | |||
.thumbinner, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button, | |||
.ace-tm .ace_gutter-active-line, | |||
.cdx-input-chip:not(.cdx-input-chip--disabled):hover, | |||
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover, | |||
.wikiEditor-ui-toolbar .page-characters div span:hover, | |||
.mwe-vue-pt-control-gradient, | |||
.cdx-toggle-button--framed:enabled:hover, | |||
.mwe-vue-pt-navigation-bar, | |||
#mwe-vue-pt-stats-navigation { | |||
background: var(--ooui-bg-color-light); | |||
} | } | ||
. | .wikiEditor-ui-toolbar .booklet > .index > :hover, | ||
. | .mw-rcfilters-ui-itemMenuOptionWidget:hover, | ||
.oo-ui- | .mw-highlight .hll, | ||
. | .ace_button:hover:not(.checked), | ||
. | .ace_button:active, | ||
. | .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected, | ||
. | .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, | ||
.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover, | |||
background | .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-optionWidget-highlighted { | ||
background: var(--bg-color-hover); | |||
} | } | ||
.mw- | .oo-ui-menuSelectWidget, | ||
background: var(-- | .oo-ui-popupToolGroup-tools, | ||
.mw-widget-dateInputWidget-calendar, | |||
.mw-widgets-datetime-calendarWidget, | |||
.cdx-menu { | |||
background: var(--ooui-gradient); | |||
} | } | ||
. | .mw-echo-ui-notificationsInboxWidget-toolbarWrapper, | ||
.mw-apisandbox-toolbar, | |||
form:not(.oo-ui-layout) fieldset, | |||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled, | |||
.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected), | |||
.ext-WikiEditor-realtimepreview-button:hover, | |||
.cdx-tabs:not(.cdx-tabs--framed) > .cdx-tabs__header, | |||
.ext-discussiontools-init-publishedcomment { | |||
background: transparent; | |||
} | } | ||
. | .mw-prefs-tabs.mw-prefs-tabs-searching .oo-ui-tabPanelLayout.mw-prefs-search-matched > fieldset > legend, | ||
. | .mw-prefs-tabs:not(.mw-prefs-tabs-searching) .oo-ui-fieldsetLayout:target > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label, | ||
. | #pagehistory li.selected, | ||
background: var(- | .mw-prefs-tabs:not(.mw-prefs-tabs-searching) .oo-ui-fieldsetLayout:target > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label { | ||
background: var(--bg-color-emerald-subtle); | |||
} | } | ||
. | .approved-revision { | ||
background: var(--bg-color-emerald-subtle) !important; | |||
background: var(-- | |||
} | } | ||
.cdx-message--success, | |||
background: var(-- | .mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-conflicting-talk-label span .mw-twocolconflict-split-delete, | ||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success { | |||
background-color: var(--bg-color-message); | |||
} | } | ||
. | ul.fileupload-results li.ful-success, | ||
. | #mwe-vue-pt-stats-navigation, | ||
. | .mw-notification.mw-notification-type-success, | ||
background: | .mw-twocolconflict-special-your-version-header .mw-twocolconflict-revision-label, .mw-twocolconflict-split-your-version-header .mw-twocolconflict-revision-label, | ||
.mw-twocolconflict-single-column ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column ins.mw-twocolconflict-diffchange { | |||
background: var(--bg-color-message); | |||
} | } | ||
.mw-ui- | .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:active + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget [type='radio'] + span, | ||
background-color: var(-- | .mw-twocolconflict-single-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange { | ||
background-color: var(--bg-color-message-subtle); | |||
} | } | ||
.mw-ui- | .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected { | ||
background | background: var(--bg-color-blue-dark); | ||
} | } | ||
. | .mw-echo-ui-notificationItemWidget-unread, | ||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement- | .growthexperiments-homepage-module-suggested-edits.growthexperiments-homepage-module-desktop.growthexperiments-homepage-module.activated, | ||
. | .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice, | ||
. | .ext-growthExperiments-ScoreCard, | ||
background: var(--bg-color- | .ext-growthExperiments-MenteeOverview__no-results, | ||
.ext-growthExperiments-PersonalizedPraise .ext-growthExperiments-NoResults__image, | |||
.suggested-edits-mobile-peek-content, .suggested-edits-panel-header, | |||
.ext-communityConfiguration-Guidelines__Guideline { | |||
background-color: var(--bg-color-notice-subtle); | |||
} | } | ||
.cdx-message--error, | .mw-echo-ui-notificationItemWidget-unread:hover { | ||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-error, | background: var(--bg-color-notice); | ||
} | |||
.wikiEditor-ui-text { | |||
background: var(--theme-bg-color-base); | |||
} | |||
.ext-WikiEditor-ResizingDragBar, | |||
.ace_search, | |||
.editOptions, .mw-editform .editOptions { | |||
background: var(--theme-bg-color-100); | |||
} | |||
.ext-WikiEditor-ResizingDragBar span, | |||
.mw-revslider-revision, | |||
.oo-ui-checkboxInputWidget [type='checkbox']:disabled + span, | |||
.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link, .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link { | |||
background: var(--ooui-border-color); | |||
} | |||
body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close { | |||
background: var(--border-color-hr); | |||
} | |||
.oo-ui-windowManager-modal > .oo-ui-dialog, | |||
.oo-ui-processDialog-errors, | |||
.cdx-dialog-backdrop { | |||
background: rgba(var(--color-darkened--rgb), var(--alpha-m)); | |||
} | |||
.mw-ui-button:not(:disabled):hover { | |||
background-color: var(--theme-border-color-base); | |||
} | |||
.mw-ui-button { | |||
background-color: var(--theme-bg-color-200); | |||
} | |||
.cdx-message--warning, | |||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning, | |||
.mw-twocolconflict-split-current-version-header .mw-twocolconflict-revision-label, | |||
.mw-twocolconflict-single-column del.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column del.mw-twocolconflict-diffchange { | |||
background: var(--bg-color-warning); | |||
} | |||
.cdx-message--error, | |||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-error, | |||
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning, | div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning, | ||
.mw-ui-button.mw-ui-destructive:not(:disabled), | .mw-ui-button.mw-ui-destructive:not(:disabled), | ||
| Строка 4367: | Строка 4437: | ||
.wikiEditor-ui .wikiEditor-ui-view, | .wikiEditor-ui .wikiEditor-ui-view, | ||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined:hover .oo-ui-tagMultiselectWidget-handle, | .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined:hover .oo-ui-tagMultiselectWidget-handle, | ||
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child, | .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child, | ||
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer, | .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer, | ||
| Строка 4746: | Строка 4815: | ||
.mw-body-content .recent-questions-growthexperiments-help-questions .question-posted-on, .overlay-content .recent-questions-growthexperiments-help-questions .question-posted-on, .content .recent-questions-growthexperiments-help-questions .question-posted-on, .mw-body-content .recent-questions-growthexperiments-mentor-questions .question-posted-on, .overlay-content .recent-questions-growthexperiments-mentor-questions .question-posted-on, .content .recent-questions-growthexperiments-mentor-questions .question-posted-on, | .mw-body-content .recent-questions-growthexperiments-help-questions .question-posted-on, .overlay-content .recent-questions-growthexperiments-help-questions .question-posted-on, .content .recent-questions-growthexperiments-help-questions .question-posted-on, .mw-body-content .recent-questions-growthexperiments-mentor-questions .question-posted-on, .overlay-content .recent-questions-growthexperiments-mentor-questions .question-posted-on, .content .recent-questions-growthexperiments-mentor-questions .question-posted-on, | ||
.mwe-vue-pt-snippet, | .mwe-vue-pt-snippet, | ||
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected { | .mw-twocolconflict-single-column.mw-twocolconflict-split-unselected, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected, | ||
.mw-special-Listfiles .TablePager_col_img_user_text, .mw-special-Listfiles .TablePager_col_img_description { | |||
color: var(--ooui-text-color-dark); | color: var(--ooui-text-color-dark); | ||
} | } | ||
| Строка 4959: | Строка 5029: | ||
/* Остальное */ | /* Остальное */ | ||
.mw-twocolconflict-single-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade, .mw-twocolconflict-split-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade { | .mw-twocolconflict-single-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade, .mw-twocolconflict-split-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade { | ||
background-image: linear-gradient(rgba(255, 255, 255, 0), var(--ooui-bg-color-light)); | |||
} | } | ||
| Строка 5019: | Строка 5089: | ||
} | } | ||
.mw-changeslist-legend { | .mw-changeslist-legend, | ||
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-iconWidget { | |||
display: none; | display: none; | ||
} | } | ||
| Строка 5472: | Строка 5543: | ||
/* COM */ | /* COM */ | ||
#COM.wikitable { | #COM.wikitable { | ||
border: 1px solid var(--bg-color-blue- | border: 1px solid var(--bg-color-blue-100); | ||
} | } | ||
#COM.wikitable th { | #COM.wikitable th { | ||
background: var(--bg-color-blue- | background: var(--bg-color-blue-100); | ||
} | } | ||
| Строка 5482: | Строка 5553: | ||
#COM.wikitable:not(:has(thead)) tr:first-of-type th { | #COM.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-blue- | background: var(--bg-color-blue-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5490: | Строка 5561: | ||
#COM.wikitable thead + tbody > tr th:first-child { | #COM.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
/* MED */ | /* MED */ | ||
#MED.wikitable { | #MED.wikitable { | ||
border: 1px solid var(--bg-color-sky-blue- | border: 1px solid var(--bg-color-sky-blue-100); | ||
} | } | ||
#MED.wikitable th { | #MED.wikitable th { | ||
background: var(--bg-color-sky-blue- | background: var(--bg-color-sky-blue-100); | ||
} | } | ||
| Строка 5508: | Строка 5575: | ||
#MED.wikitable:not(:has(thead)) tr:first-of-type th { | #MED.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-sky-blue- | background: var(--bg-color-sky-blue-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5516: | Строка 5583: | ||
#MED.wikitable thead + tbody > tr th:first-child { | #MED.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
/* SRV */ | /* SRV */ | ||
#SRV.wikitable { | #SRV.wikitable { | ||
border: 1px solid var(--bg-color-green- | border: 1px solid var(--bg-color-green-100); | ||
} | } | ||
#SRV.wikitable th { | #SRV.wikitable th { | ||
background: var(--bg-color-green- | background: var(--bg-color-green-100); | ||
} | } | ||
| Строка 5534: | Строка 5597: | ||
#SRV.wikitable:not(:has(thead)) tr:first-of-type th { | #SRV.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-green- | background: var(--bg-color-green-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5542: | Строка 5605: | ||
#SRV.wikitable thead + tbody > tr th:first-child { | #SRV.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
/* ENG */ | /* ENG */ | ||
#ENG.wikitable { | #ENG.wikitable { | ||
border: 1px solid var(--bg-color-yellow- | border: 1px solid var(--bg-color-yellow-100); | ||
} | } | ||
#ENG.wikitable th { | #ENG.wikitable th { | ||
background: var(--bg-color-yellow- | background: var(--bg-color-yellow-100); | ||
} | } | ||
| Строка 5560: | Строка 5619: | ||
#ENG.wikitable:not(:has(thead)) tr:first-of-type th { | #ENG.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-yellow- | background: var(--bg-color-yellow-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5568: | Строка 5627: | ||
#ENG.wikitable thead + tbody > tr th:first-child { | #ENG.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
/* RND */ | /* RND */ | ||
#RND.wikitable { | #RND.wikitable { | ||
border: 1px solid var(--bg-color-purple- | border: 1px solid var(--bg-color-purple-100); | ||
} | } | ||
#RND.wikitable th { | #RND.wikitable th { | ||
background: var(--bg-color-purple- | background: var(--bg-color-purple-100); | ||
} | } | ||
| Строка 5586: | Строка 5641: | ||
#RND.wikitable:not(:has(thead)) tr:first-of-type th { | #RND.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-purple- | background: var(--bg-color-purple-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5594: | Строка 5649: | ||
#RND.wikitable thead + tbody > tr th:first-child { | #RND.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
/* SUP */ | /* SUP */ | ||
#SUP.wikitable { | #SUP.wikitable { | ||
border: 1px solid var(--bg-color-brown- | border: 1px solid var(--bg-color-brown-100); | ||
} | } | ||
#SUP.wikitable th { | #SUP.wikitable th { | ||
background: var(--bg-color-brown- | background: var(--bg-color-brown-100); | ||
} | } | ||
| Строка 5612: | Строка 5663: | ||
#SUP.wikitable:not(:has(thead)) tr:first-of-type th { | #SUP.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-brown- | background: var(--bg-color-brown-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5620: | Строка 5671: | ||
#SUP.wikitable thead + tbody > tr th:first-child { | #SUP.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
/* SEC */ | /* SEC */ | ||
#SEC.wikitable { | #SEC.wikitable { | ||
border: 1px solid var(--bg-color-red- | border: 1px solid var(--bg-color-red-100); | ||
} | } | ||
#SEC.wikitable th { | #SEC.wikitable th { | ||
background: var(--bg-color-red- | background: var(--bg-color-red-100); | ||
} | } | ||
| Строка 5638: | Строка 5685: | ||
#SEC.wikitable:not(:has(thead)) tr:first-of-type th { | #SEC.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-red- | background: var(--bg-color-red-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5646: | Строка 5693: | ||
#SEC.wikitable thead + tbody > tr th:first-child { | #SEC.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
/* BOTANY */ | /* BOTANY */ | ||
#BOTANY.wikitable { | #BOTANY.wikitable { | ||
border: 1px solid var(--bg-color-emerald- | border: 1px solid var(--bg-color-emerald-100); | ||
} | } | ||
#BOTANY.wikitable th { | #BOTANY.wikitable th { | ||
background: var(--bg-color-emerald- | background: var(--bg-color-emerald-100); | ||
} | } | ||
| Строка 5664: | Строка 5707: | ||
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th { | #BOTANY.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-emerald- | background: var(--bg-color-emerald-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5672: | Строка 5715: | ||
#BOTANY.wikitable thead + tbody > tr th:first-child { | #BOTANY.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
/* MUTATION */ | /* MUTATION */ | ||
#MUTATION.wikitable { | #MUTATION.wikitable { | ||
border: 1px solid var(--bg-color-violet- | border: 1px solid var(--bg-color-violet-100); | ||
} | } | ||
#MUTATION.wikitable th { | #MUTATION.wikitable th { | ||
background: var(--bg-color-violet- | background: var(--bg-color-violet-100); | ||
} | } | ||
| Строка 5690: | Строка 5729: | ||
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th { | #MUTATION.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-violet- | background: var(--bg-color-violet-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5698: | Строка 5737: | ||
#MUTATION.wikitable thead + tbody > tr th:first-child { | #MUTATION.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
| Строка 5711: | Строка 5746: | ||
background: var(--theme-bg-color-300); | background: var(--theme-bg-color-300); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5728: | Строка 5763: | ||
background: var(--theme-bg-color-300); | background: var(--theme-bg-color-300); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5739: | Строка 5774: | ||
/* Холодный цвет ячеек */ | /* Холодный цвет ячеек */ | ||
#highlighted-header-cold.wikitable { | #highlighted-header-cold.wikitable { | ||
border: 1px solid var(--bg-color-azure- | border: 1px solid var(--bg-color-azure-100); | ||
} | } | ||
#highlighted-header-cold.wikitable th { | #highlighted-header-cold.wikitable th { | ||
background: var(--bg-color-azure- | background: var(--bg-color-azure-100); | ||
} | } | ||
| Строка 5749: | Строка 5784: | ||
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th { | #highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: var(--bg-color-azure- | background: var(--bg-color-azure-50); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5757: | Строка 5792: | ||
#highlighted-header-cold.wikitable thead + tbody > tr th:first-child { | #highlighted-header-cold.wikitable thead + tbody > tr th:first-child { | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
| Строка 5769: | Строка 5800: | ||
background: var(--theme-bg-color-300); | background: var(--theme-bg-color-300); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: | box-shadow: var(--box-shadow-medium); | ||
} | } | ||
| Строка 5778: | Строка 5809: | ||
} | } | ||
/* Палитра для Морпехов | /* Палитра для Фоллаута */ | ||
#highlighted-header-Fallout.wikitable thead tr th, | |||
#highlighted-header-Fallout.wikitable:not(:has(thead)) tr:first-of-type th { | |||
position: relative; | |||
background: var(--theme-bg-color-300); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: var(--box-shadow-medium); | |||
} | |||
#highlighted-header-Fallout.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | |||
#highlighted-header-Fallout.wikitable thead + tbody > tr th { | |||
background: var(--bg-color-orange-subtle); | |||
border-left: 3px solid var(--color-darkened-border); | |||
} | |||
/* Палитра для Морпехов */ | |||
#highlighted-header-CM.wikitable thead tr th, | #highlighted-header-CM.wikitable thead tr th, | ||
#highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th { | #highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | position: relative; | ||
background: | background: var(--theme-bg-color-300); | ||
border-bottom: 3px solid var(--color-darkened-border); | border-bottom: 3px solid var(--color-darkened-border); | ||
box-shadow: var(--box-shadow-medium); | box-shadow: var(--box-shadow-medium); | ||
| Строка 5789: | Строка 5835: | ||
#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#highlighted-header-CM.wikitable thead + tbody > tr th { | #highlighted-header-CM.wikitable thead + tbody > tr th { | ||
background: | background: var(--bg-color-pastel-turquoise-50); | ||
border-left: 3px solid var(--color-darkened-border); | border-left: 3px solid var(--color-darkened-border); | ||
} | } | ||
| Строка 6002: | Строка 6048: | ||
.client-js *.noscript { | .client-js *.noscript { | ||
display: none; | display: none; | ||
} | |||
@media (prefers-reduced-motion: no-preference) { | |||
html { | |||
scroll-behavior: smooth; /* Ignore unknown property warning */ | |||
} | |||
} | } | ||