MediaWiki:Common.css: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
AsnDen (обсуждение | вклад) селектор * странно ведёт себя при редактировании разметки страницы |
||
| (не показано 13 промежуточных версий 2 участников) | |||
| Строка 16: | Строка 16: | ||
* 12. SOURCE EDITOR → SYNTAX HIGHLIGHTING | * 12. SOURCE EDITOR → SYNTAX HIGHLIGHTING | ||
* 13. DRUID Infoboxes | * 13. DRUID Infoboxes | ||
* 14. | * 14. JS | ||
*/ | */ | ||
| Строка 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-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 { | .mw-body h3 .mw-headline { | ||
display: inline-block; | |||
position: relative; | |||
} | } | ||
.mw-body h3 .mw-headline:before { | .mw-body h3 .mw-headline:before { | ||
content: ''; | 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%); | |||
} | } | ||
| Строка 1049: | Строка 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 */ | ||
| Строка 1074: | Строка 1074: | ||
.navbox-subgroup { | .navbox-subgroup { | ||
width: 100%; | width: 100%; | ||
margin: 0 !important; | |||
} | } | ||
.navbox-group, | .navbox-group, | ||
| Строка 1157: | Строка 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; | ||
} | } | ||
| Строка 1183: | Строка 1184: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: center; | |||
gap: 8px; | gap: 8px; | ||
padding: 10px 18px; | padding: 10px 18px; | ||
| Строка 1189: | Строка 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))); | ||
| Строка 1199: | Строка 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; | |||
} | } | ||
| Строка 1270: | Строка 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; | |||
} | } | ||
| Строка 1885: | Строка 1886: | ||
/*=== Gallery ===*/ | /*=== Gallery ===*/ | ||
.mw-body li.gallerybox { | .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: #f8f9fa; | |||
border: solid #eaecf0; | |||
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 { | div.gallerytext { | ||
padding: 0; | padding: 0; | ||
letter-spacing: 0.025em; | |||
text-align: center; | |||
} | } | ||
| Строка 1914: | Строка 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); | |||
} | } | ||
| Строка 2073: | Строка 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; | |||
} | } | ||
| Строка 2112: | Строка 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); | ||
| Строка 2182: | Строка 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; | |||
/* Делает кнопку раскрытия складного списка в виде стрелочки */ | |||
.collapsible-toggle-arrow::before { | |||
} | } | ||
.mw-collapsible:has(.mw-collapsible-toggle-collapsed) > .collapsible-toggle-arrow::before { | .mw-collapsible:has(.mw-collapsible-toggle-collapsed) > .collapsible-toggle-arrow::before { | ||
transform: rotate(-90deg); | |||
} | } | ||
| Строка 2301: | Строка 2224: | ||
.mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle::after, | .mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle::after, | ||
.mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle::before { | .mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle::before { | ||
display: none; | |||
} | } | ||
| Строка 3647: | Строка 3570: | ||
.druid-container td { | .druid-container td { | ||
max-width: 0; | |||
} | } | ||
| Строка 3734: | Строка 3657: | ||
/* ============ */ | /* ============ */ | ||
/* #region | /* #region JS */ | ||
/* ============ */ | /* ============ */ | ||
.theme- | /* Переключатель проекта */ | ||
.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; | |||
-webkit-user-drag: none; | |||
transition-property: background,box-shadow; | |||
transition-duration: var(--transition-time); | |||
cursor: pointer; | |||
padding: 0.2em 0.4em; | |||
font-weight: bold; | |||
border-bottom: solid 2px var(--theme-text-color-dark); | |||
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; | |||
. | |||
} | } | ||
. | .js-project-menu input:checked + label, | ||
.js-project-menu label:hover { | |||
opacity: 1; | 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); | |||
} | } | ||
# | .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); | |||
border- | |||
background | |||
} | } | ||
# | .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); | |||
background: var(--bg-color-blue-dark); | |||
} | } | ||
. | @media screen and (max-width: 850px) { | ||
.js-project-menu { | |||
font-size: var(--font-size-xs); | |||
} | |||
} | } | ||
/* Меню настроек темы */ | |||
.theme-dropdown | .theme-dropdown { | ||
position: relative; | position: relative; | ||
} | } | ||
#personal | #personal-extra li, | ||
#theme- | #personal h2, | ||
.theme-dropdown-details { | |||
border-radius: var(--border-radius- | 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; | |||
position: absolute; | |||
min-width: 14.5rem; | |||
background: var(--ooui-bg-color-darkened); | |||
box-shadow: var(--box-shadow-high); | |||
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); | |||
padding: 0.2em; | |||
box-shadow: var(--box-shadow-high), var(--box-shadow-inset); | |||
} | } | ||
#theme- | #personal .dropdown, | ||
.theme-dropdown .theme-window { | |||
right: -14px; | |||
margin-top: 0.3rem; | |||
} | |||
#personal .dropdown::before, | |||
#personal .dropdown::after { | |||
display: none; | 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; | user-select: none; | ||
user-drag: none; | |||
-webkit-user-drag: none; | -webkit-user-drag: none; | ||
} | } | ||
#theme- | #personal .dropdown label, #personal .dropdown h3, | ||
background-color: var(-- | .theme-dropdown .theme-window__header, | ||
} | .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; | |||
} | |||
# | #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 | #personal .dropdown ul, | ||
# | #theme-preferences__content .theme-menu__content { | ||
.theme- | padding: 0.5em; | ||
} | } | ||
.theme-dropdown .theme-window * { | |||
user-select: none; | |||
.theme-dropdown- | user-drag: none; | ||
-webkit-user-drag: none; | |||
} | |||
} | |||
.theme-dropdown- | #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; | |||
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, | |||
.dropdown- | .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, | |||
.oo-ui- | .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); | |||
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 { | |||
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); | |||
} | |||
#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; | |||
} | } | ||
#pt-notifications-alert .mw-echo-notifications-badge::after, | |||
# | #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, | |||
.mw- | #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 */ | |||
/* ============ */ | |||
/* #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); | |||
.mw- | |||
. | |||
.cdx- | |||
.cdx- | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
.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-datatable td, | ||
. | .oo-ui-tabSelectWidget-framed, | ||
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td, | |||
.growthexperiments-homepage-module-startemail, | |||
.mw-ge-startediting-dialog-progress, | |||
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, | |||
.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-templatetitlebar, | ||
.oo-ui- | .ext-templatewizard-templateform .oo-ui-menuLayout-menu .ext-templatewizard-add-remove-all, | ||
. | .mw-ge-help-panel-home-button, | ||
.oo-ui-buttonElement-framed.oo-ui- | .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, | ||
. | .ace_searchbtn, | ||
.wikiEditor-ui-toolbar . | .oo-ui-selectFileInputWidget.oo-ui-widget-enabled.oo-ui-selectFileInputWidget-dropTarget, | ||
. | .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, | |||
.ace_optionsMenuEntry button[ace_selected_button=true], | |||
.wikiEditor-ui-toolbar, | |||
. | .ace_search_field, | ||
.mw-rcfilters-ui- | .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- | .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, | ||
.oo-ui- | .oo-ui-processDialog-content > .oo-ui-window-head, .oo-ui-processDialog-content > .oo-ui-window-foot, | ||
.oo-ui- | .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, | |||
.oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame, | |||
. | .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, | ||
.cdx- | #pt-notifications-alert .mw-echo-notifications-badge::after, #pt-notifications-notice .mw-echo-notifications-badge::after, | ||
.mw-widget-dateInputWidget-handle, | |||
#wpDestFile, | |||
#wpUploadDescription, | |||
.mw- | .mw-widgets-datetime-dateTimeInputWidget-handle, | ||
. | .ui-widget input, | ||
.mw-rcfilters-ui-filterMenuHeaderWidget-header, | |||
.oo-ui- | #mw-scribunto-input, | ||
.mw- | .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, | ||
background: | .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); | |||
} | } | ||
.mw- | .oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-top > .oo-ui-menuLayout-content, | ||
.mw- | .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, | |||
.ace_mobile-button:active, | |||
.ace_mobile-button:hover, | |||
. | .ace_searchbtn:hover, | ||
background: var(--bg-color- | .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(--bg-color- | background-color: var(--ooui-bg-color-dark); | ||
} | } | ||
.oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout, | |||
.mw-special-Contribute .mw-contribute-tabs-content, | |||
.mw- | .mw-echo-ui-placeholderItemWidget, | ||
.mw-twocolconflict- | .mw-ge-startediting-dialog-intro-general, | ||
.mw- | .mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-single-column, | ||
background: var(--bg-color- | .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- | .mw-rcfilters-ui-filterMenuSectionOptionWidget, | ||
. | .wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover, | ||
background | #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); | |||
} | } | ||
.mw- | .wikiEditor-ui-toolbar .booklet > .index > :hover, | ||
background: var(--bg-color- | .mw-rcfilters-ui-itemMenuOptionWidget:hover, | ||
.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, | |||
.ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-optionWidget-highlighted { | |||
background: var(--bg-color-hover); | |||
} | } | ||
. | .oo-ui-menuSelectWidget, | ||
.oo-ui-popupToolGroup-tools, | |||
.oo-ui- | .mw-widget-dateInputWidget-calendar, | ||
. | .mw-widgets-datetime-calendarWidget, | ||
.cdx-menu { | |||
. | background: var(--ooui-gradient); | ||
. | |||
background | |||
} | } | ||
.mw-echo-ui- | .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, | ||
background: var(- | .mw-prefs-tabs:not(.mw-prefs-tabs-searching) .oo-ui-fieldsetLayout:target > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label, | ||
#pagehistory li.selected, | |||
.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(- | |||
} | } | ||
.ext-WikiEditor-ResizingDragBar span, | .cdx-message--success, | ||
.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, | |||
.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-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, | |||
.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-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected { | |||
background: var(--bg-color-blue-dark); | |||
} | |||
.mw-echo-ui-notificationItemWidget-unread, | |||
.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, | |||
.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); | |||
} | |||
.mw-echo-ui-notificationItemWidget-unread:hover { | |||
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, | .mw-revslider-revision, | ||
.oo-ui-checkboxInputWidget [type='checkbox']:disabled + span, | .oo-ui-checkboxInputWidget [type='checkbox']:disabled + span, | ||
| Строка 4453: | Строка 4468: | ||
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle, | .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle, | ||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, | .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, | ||
.oo-ui-popupWidget-popup, | |||
.oo-ui-textInputWidget .oo-ui-inputWidget-input, | .oo-ui-textInputWidget .oo-ui-inputWidget-input, | ||
.oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame, | .oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame, | ||
| Строка 4875: | Строка 4891: | ||
.ace_search_field, | .ace_search_field, | ||
#pagehistory li.selected, | #pagehistory li.selected, | ||
.oo-ui-popupWidget-popup, | |||
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget, | .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget, | ||
.mw-rcfilters-ui-itemMenuOptionWidget-label-title, | .mw-rcfilters-ui-itemMenuOptionWidget-label-title, | ||
| Строка 5012: | Строка 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)); | |||
} | } | ||
| Строка 5526: | Строка 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); | ||
} | } | ||
| Строка 5536: | Строка 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); | ||
} | } | ||
| Строка 5544: | Строка 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); | ||
} | } | ||
| Строка 5562: | Строка 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); | ||
} | } | ||
| Строка 5570: | Строка 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); | ||
} | } | ||
| Строка 5588: | Строка 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); | ||
} | } | ||
| Строка 5596: | Строка 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); | ||
} | } | ||
| Строка 5614: | Строка 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); | ||
} | } | ||
| Строка 5622: | Строка 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); | ||
} | } | ||
| Строка 5640: | Строка 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); | ||
} | } | ||
| Строка 5648: | Строка 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); | ||
} | } | ||
| Строка 5666: | Строка 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); | ||
} | } | ||
| Строка 5674: | Строка 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); | ||
} | } | ||
| Строка 5692: | Строка 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); | ||
} | } | ||
| Строка 5700: | Строка 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); | ||
} | } | ||
| Строка 5718: | Строка 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); | ||
} | } | ||
| Строка 5726: | Строка 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); | ||
} | } | ||
| Строка 5744: | Строка 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); | ||
} | } | ||
| Строка 5752: | Строка 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); | ||
} | } | ||
| Строка 5765: | Строка 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); | ||
} | } | ||
| Строка 5782: | Строка 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); | ||
} | } | ||
| Строка 5793: | Строка 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); | ||
} | } | ||
| Строка 5803: | Строка 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); | ||
} | } | ||
| Строка 5811: | Строка 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); | ||
} | } | ||
| Строка 5823: | Строка 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); | ||
} | } | ||
| Строка 5832: | Строка 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); | ||
| Строка 5843: | Строка 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); | ||
} | } | ||
| Строка 6056: | Строка 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 */ | |||
} | |||
} | } | ||