MediaWiki:Common.css: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
AsnDen (обсуждение | вклад) селектор * странно ведёт себя при редактировании разметки страницы |
||
| (не показано 90 промежуточных версий 2 участников) | |||
| Строка 8: | Строка 8: | ||
* 4. Модули | * 4. Модули | ||
* 5. Расширение | * 5. Расширение | ||
* 6. Основной интерфейс пользователя | * 6. Гаджеты | ||
* | * 7. Основной интерфейс пользователя | ||
* | * 8. Классы | ||
* | * 9. Интерфейс MediaWiki | ||
* | * 10. Неотсортированные | ||
* | * 11. <syntaxhighlight> CODE BLOCKS | ||
* | * 12. SOURCE EDITOR → SYNTAX HIGHLIGHTING | ||
* | * 13. DRUID Infoboxes | ||
* 14. JS | |||
*/ | */ | ||
| Строка 61: | Строка 62: | ||
--font-family-base: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif; | --font-family-base: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif; | ||
--font-family-oswald: 'oswald'; | --font-family-oswald: 'oswald'; | ||
--font-family-heading: | --font-family-heading: 'Roboto', 'Roboto-fallback'; | ||
--font-family-libertine: 'Linux Libertine', 'Georgia', 'Times', serif; | --font-family-libertine: 'Linux Libertine', 'Georgia', 'Times', serif; | ||
--font-family-monospace: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace; | --font-family-monospace: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace; | ||
| Строка 73: | Строка 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%; | ||
| Строка 380: | Строка 381: | ||
--text-color-dark-salmon: darksalmon; | --text-color-dark-salmon: darksalmon; | ||
--text-color-green: #269335; | --text-color-green: #269335; | ||
--text-color-lime: # | --text-color-lime: #57cd62; | ||
--text-color-turquoise: #189d80; | --text-color-turquoise: #189d80; | ||
--text-color-yellow: #dbdb11; | --text-color-yellow: #dbdb11; | ||
| Строка 389: | Строка 390: | ||
--text-color-pink: #cd6dca; | --text-color-pink: #cd6dca; | ||
--text-color-blue: #1c86ed; | --text-color-blue: #1c86ed; | ||
--text-color-sky-blue: # | --text-color-sky-blue: #4981d5; | ||
--text-color-aquamarine: # | --text-color-aquamarine: #68ced3; | ||
--text-color-violet: #946ce3; | --text-color-violet: #946ce3; | ||
--text-color-silver: #a9a9a9; | --text-color-silver: #a9a9a9; | ||
| Строка 407: | Строка 408: | ||
--box-shadow-outline: 0 1px 1px 1px rgba(0, 0, 0, 0.3); | --box-shadow-outline: 0 1px 1px 1px rgba(0, 0, 0, 0.3); | ||
--box-shadow-overlay: 0px 0px 100vw 100vh rgba(0, 0, 0, var(--alpha-m)); | --box-shadow-overlay: 0px 0px 100vw 100vh rgba(0, 0, 0, var(--alpha-m)); | ||
--filter-drop-shadow: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.6)); | |||
--filter-drop-shadow-low: drop-shadow(0 1px 0px rgba(0,0,0,0.3)); | |||
--filter-drop-shadow-medium: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.6)); | |||
/*== Закругление границ ==*/ | /*== Закругление границ ==*/ | ||
| Строка 601: | Строка 604: | ||
--ooui-bg--hsl-alpha: 18%; | --ooui-bg--hsl-alpha: 18%; | ||
} | } | ||
/* Апрельская тема | |||
: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 */ | ||
| Строка 724: | Строка 742: | ||
src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2') | src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2') | ||
} | } | ||
@font-face { | |||
font-family: 'Roboto'; | |||
font-style: normal; | |||
font-weight: 100; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v18/frNV30OaYdlFRtH2VnZZdhTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); | |||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |||
} | } | ||
@font-face { | |||
font-family: 'Roboto'; | |||
font- | font-style: normal; | ||
font-weight: 100; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v18/2tsd397wLxj96qwHyNIkxPesZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | |||
} | } | ||
@font-face { | |||
font-style: | font-family: 'Roboto'; | ||
font-style: normal; | |||
font-weight: 300; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2) format('woff2'); | |||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |||
} | } | ||
@font-face { | |||
font-family: 'Roboto'; | |||
font-style: normal; | |||
font-weight: 300; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | |||
} | } | ||
@font-face { | |||
font-family: 'Roboto'; | |||
font-style: normal; | |||
font-weight: 400; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2'); | |||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |||
} | } | ||
@font-face { | |||
font-family: 'Roboto'; | |||
font-style: normal; | |||
font-weight: 400; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | |||
} | |||
} | |||
@font-face { | |||
font-family: | font-family: 'Roboto'; | ||
font-style: normal; | |||
font-weight: 500; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fABc4AMP6lbBP.woff2) format('woff2'); | |||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |||
} | } | ||
@font-face { | |||
font-family: 'Roboto'; | |||
font-style: normal; | |||
font-weight: 500; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | |||
} | } | ||
@font-face { | |||
font-family: 'Roboto'; | |||
font-style: normal; | |||
font-weight: 700; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2) format('woff2'); | |||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |||
} | } | ||
@ | @font-face { | ||
font-family: 'Roboto'; | |||
font-style: normal; | |||
font-weight: 700; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | |||
} | } | ||
/* #endregion */ | |||
/* ============ */ | |||
/* #region Теги */ | |||
/* ============ */ | |||
.mw-editform #wpTextbox1, textarea { | |||
background: var(--theme-bg-color-100); | |||
border-color: var(--theme-border-color-base); | |||
color: var(--theme-text-color); | |||
} | } | ||
math { | |||
margin- | margin: 0.2em 0; | ||
font-size: 1.1em; | |||
} | } | ||
cite,dfn { | |||
font-style: inherit; | |||
} | } | ||
q { | |||
quotes: '«' '»' "„" "“"; | |||
} | } | ||
ol { | |||
margin-block-start: 0.7em; | |||
margin-block-end: 0.7em; | |||
} | } | ||
.mw- | code, code.mw-highlight, | ||
.code, | |||
.tdg-templateDataParamWidget-param-alias:first-child { | |||
border-radius: 2px; | |||
padding: 1px 4px; | |||
background: var(--bg-color-code); | |||
border: 1px solid var(--border-color-code); | |||
color: var(--theme-text-color); | |||
} | } | ||
.screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace { | |||
font-family: var(--font-family-monospace); | |||
} | } | ||
pre { | |||
overflow: auto; | |||
white-space: pre-wrap; | |||
background: var(--bg-color-code-light); | |||
border: 1px solid var(--border-color-code); | |||
padding: 0.5em; | |||
color: var(--theme-text-color); | color: var(--theme-text-color); | ||
font-family: var(--font-family-monospace); | |||
} | } | ||
blockquote { | |||
background: var(--theme-bg-color-100); | |||
border-left: 4px solid var(--theme-bg-color-150); | |||
padding: 8px 32px; | |||
overflow: hidden; | |||
box-shadow: var(--box-shadow); | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
@media screen and (max-width: 850px) { | |||
blockquote { | |||
margin-inline-start: 10px; | |||
margin-inline-end: 10px; | |||
padding: 6px 24px; | |||
} | |||
} | } | ||
small { | |||
font-size: 85% | |||
} | } | ||
li { | |||
margin-top: 2px; | |||
} | } | ||
input[type="button"] { | |||
color: var(-- | background: var(--ooui-bg-color); | ||
border: 1px solid var(--ooui-border-color); | |||
color: var(--ooui-text-color); | |||
} | } | ||
/*основные изображения - пиксельные. Для остальных нужно использовать класс noSprite*/ | |||
img { | |||
image-rendering: pixelated; | |||
filter: var(--filter-drop-shadow-low); | |||
} | } | ||
/*Для непиксельных изображений*/ | |||
.mw-body-content .noSprite img { | |||
image-rendering: auto !important; | |||
height: auto !important; | |||
max-width: 100% !important; | |||
} | } | ||
.mw-parser-output a.external, .mw-parser-output a.extiw { | .mw-body-content a > img, .mw-body-content .floatnone > img { | ||
max-width: unset !important; | |||
} | |||
hr { | |||
border-bottom-width: 0px; | |||
border-color: var(--border-color-hr); | |||
} | |||
footer,#footer-info-lastmod,#footer-info-copyright { | |||
color: var(--theme-text-color); | |||
} | |||
p,h1,h2,h3,h4,h5,h6,li { | |||
color: var(--theme-text-color); | |||
} | |||
p { | |||
margin: 0.5em 0; | |||
} | |||
a { | |||
color: var(--text-color-link); | |||
} | |||
a:hover { | |||
color: var(--theme-text-color-light); | |||
} | |||
a:visited, a:visited:hover { | |||
color: var(--text-color-link--visited); | |||
} | |||
a.new, .new a, | |||
.cdx-link.is-red-link, .cdx-link.is-red-link:hover { | |||
color: var(--text-color-link-new); | |||
} | |||
a.new:hover, .new a:hover, | |||
.cdx-link.is-red-link:visited, .cdx-link.is-red-link:visited:hover { | |||
color: var(--text-color-link-new--visited); | |||
} | |||
a.new:visited, .new a:visited { | |||
color: var(--text-color-link-new--visited); | |||
} | |||
.mw-parser-output a.external, .mw-parser-output a.extiw, | |||
.cdx-link, .cdx-link:hover { | |||
color: var(--text-color-link-external) | color: var(--text-color-link-external) | ||
} | } | ||
.mw-parser-output a.external:visited, .mw-parser-output a.extiw:visited { | .mw-parser-output a.external:visited, .mw-parser-output a.extiw:visited, | ||
.cdx-link:visited, .cdx-link:visited:hover { | |||
color: var(--text-color-link-external--visited); | color: var(--text-color-link-external--visited); | ||
} | } | ||
| Строка 897: | Строка 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- | font-family: var(--font-family-heading); | ||
margin-top: 1em; | margin-top: 1em; | ||
border-bottom: 2px solid var(--color-contrast); | 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- | font-size: var(--font-size-xxl); | ||
font-weight: | font-weight: 500; | ||
font-family: | font-family: var(--font-family-heading); | ||
margin-top: 0.3em; | margin-top: 0.3em; | ||
margin-bottom: 0.3em; | margin-bottom: 0.3em; | ||
padding-bottom: 0 | padding-bottom: 0.3em; | ||
padding-top: 0.5em; | 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%); | |||
} | } | ||
.mw-body h4, | .mw-body h4, | ||
.mw-body h5 { | .mw-body h5 { | ||
font-size: var(--font-size- | font-size: var(--font-size-xl); | ||
font-weight: | font-weight: 500; | ||
font-family: | font-family: var(--font-family-heading); | ||
padding-top: 0.5em; | |||
margin: 0; | |||
margin-bottom: 0.3em; | margin-bottom: 0.3em; | ||
} | } | ||
| Строка 945: | Строка 1074: | ||
.navbox-subgroup { | .navbox-subgroup { | ||
width: 100%; | width: 100%; | ||
margin: 0 !important; | |||
} | } | ||
.navbox-group, | .navbox-group, | ||
| Строка 986: | Строка 1116: | ||
.navbox-subgroup .navbox-abovebelow { | .navbox-subgroup .navbox-abovebelow { | ||
background: var(--theme-bg-color-200); /* Level 2 color */ | background: var(--theme-bg-color-200); /* Level 2 color */ | ||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
| Строка 992: | Строка 1121: | ||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
background: var(--theme-bg-color-250); /* Level 3 color */ | background: var(--theme-bg-color-250); /* Level 3 color */ | ||
border-right: 1px solid var(--theme-bg-color-100); | |||
} | } | ||
.navbox-even { | .navbox-even { | ||
| Строка 1025: | Строка 1155: | ||
} | } | ||
} | } | ||
/*=== Шаблон:Сущность ===*/ | |||
.ts-Сущность { | |||
/* === | display: grid; | ||
gap: 6px; | |||
grid-template-columns: 1fr auto; | |||
justify-content: space-between; | |||
align-items: start; | |||
margin: 0.5em 0; | |||
} | |||
.ts-Сущность:has(.ts-Сущность-field:hover) { | |||
. | background: rgba(var(--color-lighter--rgb), 0.025); | ||
background: var(-- | |||
} | } | ||
. | .ts-Сущность-field a { | ||
color: var(--theme-text-color-dark); | |||
} | } | ||
@media screen and (max-width: 650px) { | |||
.ts-Сущность { | |||
grid-template-columns: 1fr; | |||
} | |||
} | } | ||
/* === | /*=== Шаблон:Сущность ===*/ | ||
.ts-Cut-layout { | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: center; | |||
background: var(-- | gap: 8px; | ||
padding: 10px 18px; | |||
box-shadow: var(--box-shadow-high); | |||
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-path: polygon(0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip))); | |||
} | } | ||
.ts-Cut-layout__header { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
gap: 8px; | |||
} | } | ||
.ts-Cut-layout__header-arrow { | |||
display: grid; | |||
grid-template-columns: 1fr auto 1fr; | |||
text-align: center; | |||
} | } | ||
.ts-Cut-layout__body { | |||
. | flex-grow: 100; | ||
padding: 8px; | |||
position: relative; | position: relative; | ||
overflow: | font-size: var(--font-size-s); | ||
background: var(-- | overflow: auto; | ||
margin: 0 6px; | |||
background: rgba(0, 0, 0, var(--alpha-s)); | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
/* КОНЕЦ */ | |||
/* #endregion */ | |||
/*=== | /* ============ */ | ||
/* | /* #region Модули */ | ||
/* ============ */ | |||
. | /*=== Модуль:Краткий вызов ===*/ | ||
.shortcut { | |||
clear: right; | |||
float: right; | |||
margin-left: 0.75em; | |||
font-size: smaller; | |||
background: var(--bg-color-code-light); | |||
border: 1px solid var(--border-color-code); | |||
} | } | ||
. | .shortcut-1, .shortcut-2 { | ||
padding: 4px; | |||
} | } | ||
. | .shortcut-2 { | ||
line-height: 1.25em; | |||
font-weight: bold; | |||
vertical-align: middle; | |||
} | } | ||
/* #endregion */ | |||
/* ============ */ | |||
/* #region Расширение */ | |||
/* ============ */ | |||
/*=== Clipboard4wiki ===*/ | |||
[tooltip] { | |||
background: var(--theme-bg-color-100); | |||
border: 1px solid var(--theme-border-color-base); | |||
border-radius: var(--border-radius-low); | |||
padding: 1px 3px; | |||
} | } | ||
[tooltip] img { | |||
filter: var(--invert-100); | |||
} | } | ||
[tooltip]:active { | |||
background: | background: var(--theme-bg-color-250); | ||
} | } | ||
. | /*=== VisualEditor ===*/ | ||
.ve-ui-diffElement-hasDescriptions .ve-ui-diffElement-content { | |||
border-right: 1px solid var(--border-color-hr); | |||
} | } | ||
.ve-ui-diffElement-attributeChange ins { | |||
. | background-color: rgba(0, 174, 136, 0.5) !important; | ||
background: rgba(0, 0, | box-shadow: 0 0 0 1px rgba(0, 174, 136, 0.5) !important; | ||
} | } | ||
.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; | |||
} | } | ||
/*=== CodeMirror ===*/ | |||
.CodeMirror { | |||
height: 600px; | |||
position: relative; | |||
overflow: hidden; | |||
background: var(--theme-bg-color-base); | |||
color: inherit; | |||
} | } | ||
.CodeMirror-gutters { | |||
border-right: 1px solid var(--theme-bg-color-100); | |||
background: var(--theme-bg-color-100); | |||
white-space: nowrap; | |||
} | } | ||
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { | |||
color | background: var(--color-contrast2-dark); | ||
} | } | ||
/*=== | /*=== Popups ===*/ | ||
. | /* Всплывающие окна */ | ||
background: var(--ooui- | .mwe-popups { | ||
background: var(--ooui-gradient-light); | |||
box-shadow: var(--box-shadow-high); | |||
} | } | ||
.mwe-popups img { | |||
image-rendering: auto; | |||
} | } | ||
. | .mwe-popups .mwe-popups-container { | ||
background: var(--ooui-gradient-light); | |||
} | } | ||
.mwe-popups .mwe-popups-extract { | |||
. | color: var(--theme-text-color); | ||
} | } | ||
. | .mwe-popups .mwe-popups-extract:hover { | ||
color: var(-- | color: var(--theme-text-color-light); | ||
} | } | ||
.mwe-popups .mwe-popups-extract[dir='ltr']::after { | |||
. | background: transparent; | ||
} | } | ||
. | .mwe-popups .mwe-popups-extract[dir='rtl']::after { | ||
background: transparent; | |||
} | } | ||
. | .popups-icon { | ||
filter: var(--invert-100); | |||
} | } | ||
. | /* Настройки */ | ||
.mwe-popups-overlay { | |||
background: rgba(var(--color-darkened--rgb), var(--alpha-m)); | |||
} | } | ||
#mwe-popups-settings { | |||
border: 1px solid var(--ooui-border-color-light); | |||
background: var(--ooui-bg-color-dark); | |||
box-shadow: var(--box-shadow-overlay); | |||
} | } | ||
#mwe-popups-settings header { | |||
background: var(--bg-color | background: var(--ooui-bg-color); | ||
border- | border-bottom: 1px solid var(--ooui-border-color); | ||
} | } | ||
#mwe-popups-settings main#mwe-popups-settings-form p { | |||
color: var(--ooui-text-color); | |||
} | } | ||
#mwe-popups-settings main#mwe-popups-settings-form form label > span { | |||
color: #dddddd; | |||
} | } | ||
. | /*=== InputBox ===*/ | ||
.mw-ui-input { | |||
background: var(--ooui-bg-color); | |||
color: var(--ooui-text-color-light); | |||
} | } | ||
. | form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input { | ||
border-color: var(-- | border-radius: var(--border-radius-low); | ||
border-color: var(--ooui-border-color); | |||
} | } | ||
. | .mw-ui-input:hover { | ||
border | border-color: var(--ooui-border-color-light); | ||
} | } | ||
. | /*=== SyntaxHighlight ===*/ | ||
.mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre { | |||
background: var(--theme-bg-color-100); | |||
border-color: var(--ooui-border-color); | |||
box-shadow: var(--ooui-bg-color-dark) 2.75em 0px 0px inset; | |||
font-size: 90%; | |||
color: var(--ooui-text-color); | |||
} | } | ||
. | .mw-content-ltr.mw-highlight .linenos { | ||
color: var(--ooui-text-color-dark); | |||
} | } | ||
. | /*=== GrowthExperiments ===*/ | ||
.growthexperiments-mentor-dashboard-group-main { | |||
--width: clamp(300px, 50vw, 480px); | |||
width: var(--width); | |||
flex: 1 0 var(--width); | |||
} | } | ||
. | .ext-growthExperiments-MenteeOverview__actions { | ||
flex-wrap: wrap; | |||
} | } | ||
. | .mw-echo-ui-notificationItemWidget-initiallyUnseen { | ||
animation-fill-mode: unset; | |||
} | } | ||
.suggested-edits- | .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper .se-card-content .se-card-image { | ||
box-shadow: inset 0 0 1px 1px var(--bg-color-focus); | |||
} | } | ||
. | .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, .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper .se-card-content .se-card-image.no-image { | ||
background-color: var(--ooui-bg-color-light); | |||
} | } | ||
. | .ext-discussiontools-init-targetcomment { | ||
background: var(--bg-color-hover); | |||
border- | border-radius: var(--border-radius-low); | ||
} | } | ||
.suggested-edits- | .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper .se-card-content .se-card-text[dir='ltr'] .se-card-extract::after, | ||
.oo-ui-tabSelectWidget-mobile.oo-ui-tabSelectWidget-frameless::after, | |||
.oo-ui-tabSelectWidget-mobile.oo-ui-tabSelectWidget-framed::after { | |||
background: linear-gradient(to right, rgba(var(--color-lighter--rgb), 0), var(--ooui-bg-color) 50%); | |||
} | } | ||
.growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper .se-card-content .se-card-image.mw-ge-tasktype-image-recommendation, .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper .se-card-content .se-card-image.mw-ge-tasktype-section-image-recommendation { | |||
background-color: var(--bg-color-yellow-100); | |||
.mw- | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-medium, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-medium { | ||
background-color: var(--bg-color-yellow-50); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-medium, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-medium { | ||
border-color: var(--bg-color-yellow-150); | |||
} | } | ||
.suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-medium::before, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-medium::before { | |||
border-top-color: var(--bg-color-yellow-150); | |||
border-bottom-color: var(--bg-color-yellow-150); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-medium::after, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-medium::after { | ||
border-color: var(--border-color- | border-top-color: var(--bg-color-yellow-50); | ||
border-bottom-color: var(--bg-color-yellow-50); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-hard, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-hard { | ||
background-color: var(--bg-color-red-50); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-hard, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-hard { | ||
border-color: var(--bg-color-red-150); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-hard::before, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-hard::before { | ||
border-top-color: var(--bg-color-red-150); | |||
border-bottom-color: var(--bg-color-red-150); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-hard::after, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-hard::after { | ||
border-top-color: var(--bg-color-red-50); | |||
border-bottom-color: var(--bg-color-red-50); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-easy, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-easy { | ||
background-color: var(--bg-color-emerald-50); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-easy, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-easy { | ||
border-color: var(--bg-color-emerald-150); | |||
border- | |||
} | } | ||
.suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-easy::before, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-easy::before { | |||
border-top-color: var(--bg-color-emerald-150); | |||
border-bottom-color: var(--bg-color-emerald-150); | |||
} | } | ||
. | .suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-easy::after, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-easy::after { | ||
border-top-color: var(--bg-color-emerald-50); | |||
border-bottom-color: var(--bg-color-emerald-50); | |||
} | } | ||
/* #endregion */ | |||
/* ============ */ | |||
/* #region Гаджеты */ | |||
/* ============ */ | |||
. | /* Gadget-freezeAPNG */ | ||
.freezeAPNG img.freezeAPNG__freeze { | |||
display: inline-block; | |||
} | } | ||
. | .freezeAPNG img.freezeAPNG__animation { | ||
display: none; | |||
display: | |||
} | } | ||
. | .freezeAPNG:hover img.freezeAPNG__animation, | ||
. | .freezeAPNG:focus-within img.freezeAPNG__animation, | ||
display: | .freezeAPNG.freezeAPNG--active img.freezeAPNG__animation { | ||
display: inline-block; | |||
} | } | ||
. | .freezeAPNG:hover img.freezeAPNG__freeze, | ||
display: | .freezeAPNG:focus-within img.freezeAPNG__freeze, | ||
.freezeAPNG.freezeAPNG--active img.freezeAPNG__freeze { | |||
display: none; | |||
} | } | ||
/* #endregion */ | |||
/* ============ */ | |||
/* #region Основной интерфейс пользователя */ | |||
/* ============ */ | |||
/*=== Страница поиска ===*/ | |||
.mw-body .mw-search-profile-tabs { | |||
max-width: unset; | |||
background-color: var(--ooui-bg-color-dark); | |||
border: var(--border-outset-light); | |||
border-radius: var(--border-radius-medium); | |||
} | } | ||
. | .mw-search-form-wrapper .mw-search-profile-tabs .search-types a, | ||
padding: | #mw-search-togglebox input { | ||
background: var(--ooui-bg-color-light); | |||
border-top: 1px solid var(--color-lighter-alpha-x); | |||
padding: 1px 8px; | |||
border-radius: var(--border-radius-low); | |||
box-shadow: var(--box-shadow); | |||
margin: 0.1em 0.25em; | |||
} | } | ||
. | .mw-search-form-wrapper .mw-search-profile-tabs .search-types .current a { | ||
background: var(--bg-color-message); | |||
} | } | ||
#mw-search-togglebox input { | |||
padding: 0.2em 0.5em; | |||
} | } | ||
.mw- | .mw-body fieldset#mw-searchoptions .divider { | ||
border-color: var(--border-color-hr); | |||
} | } | ||
.mw- | .mw-body fieldset#mw-searchoptions { | ||
background: var(-- | background-color: var(--ooui-bg-color-dark); | ||
color: var(-- | border: var(--border-outset-light); | ||
border-radius: var(--border-radius-medium); | |||
margin-top: 0.25em; | |||
color: var(--ooui-text-color); | |||
} | } | ||
. | .searchresults { | ||
display: flex; | |||
flex-direction: column; | |||
margin: 0; | |||
} | } | ||
.mw- | .searchresults .mw-search-pager-top .mw-pager-navigation-bar { | ||
display: none; | |||
} | } | ||
.mw- | .searchresults .mw-search-results-container { | ||
width: unset; | |||
} | } | ||
.mw- | .searchresults .mw-search-results { | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.75em; | |||
margin: 1em 0 !important; | |||
max-width: 100%; | |||
} | } | ||
.searchresults .mw-search-results li { | |||
display: flex; | |||
flex-direction: column; | |||
flex: 1 0 30rem; | |||
list-style: none; | |||
padding: 0; | |||
background-color: var(--ooui-bg-color-dark); | |||
border: var(--border-outset-light); | |||
border-radius: var(--border-radius-medium); | |||
} | } | ||
@media | @media (max-width: 639px) { | ||
.mw- | .searchresults .mw-search-results li { | ||
flex: 1 0 100%; | |||
} | } | ||
} | } | ||
.mw- | .searchresults .mw-search-results li a { | ||
font-size: 110%; | |||
} | } | ||
. | .searchresults .mw-search-results .mw-search-result { | ||
border: | margin: 0; | ||
} | |||
.searchresults .mw-search-results .mw-search-result-heading { | |||
border-bottom: 2px solid var(--bg-color-sky-blue-100); | |||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
.searchresults .mw-search-results .mw-search-result-heading > a, | |||
.searchalttitle { | |||
display: flex; | |||
padding: 0.1em 0.75em; | |||
} | } | ||
.searchalttitle, #mw-search-interwiki li { | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | } | ||
.searchresults .mw-search-results .searchresult { | |||
. | flex: 1; | ||
padding: 0.5em; | |||
} | } | ||
.searchresults .mw-search-results .searchresult .mw-search-exists { | |||
margin-bottom: 1em; | |||
. | |||
} | } | ||
. | .searchresults .mw-search-results .mw-search-result-data { | ||
font-size: 90%; | |||
padding: 0. | padding: 0.5em 0.5em 0 0.5em; | ||
color: var(--ooui-text-color-dark); | |||
} | } | ||
. | .searchResultImage .searchResultImage-thumbnail { | ||
padding: 0.5em; | |||
padding-right: 1em; | |||
} | } | ||
. | .searchResultImage .searchResultImage-text { | ||
flex: 1; | |||
} | } | ||
. | /*=== Остальное ===*/ | ||
.mw-json th, .mw-json td { | |||
border: 1px solid black; | |||
} | } | ||
. | .mw-json tr { | ||
background: var(--theme-bg-color-100); | |||
} | } | ||
.mw-json th { | |||
. | background: var(--theme-bg-color-250); | ||
color: var(--theme-text-color); | |||
} | } | ||
.mw-json-value, .mw-json-single-value { | |||
. | background: var(--bg-color-emerald-50); | ||
. | color: var(--theme-text-color); | ||
} | } | ||
.mw-json-empty { | |||
. | background: var(--bg-color-emerald-50); | ||
color: var(--theme-text-color); | |||
} | } | ||
.mw-ui-button.mw-ui-progressive:not(:disabled), | |||
. | .mw-ui-button.mw-ui-destructive:not(:disabled), | ||
.mw-ui-button { | |||
color: var(--theme-text-color); | |||
} | } | ||
. | .mw-ui-button:not(:disabled):hover { | ||
color: var(--theme-text-color-light); | |||
} | } | ||
@media screen and (max-width: 850px) { | |||
.wikitable:not(.no-img-adaptive) img[width="64"][height="64"] { | |||
width: 32px !important; | |||
} | height: 32px !important; | ||
} | |||
*:not(.no-img-adaptive) img[width="64"][height="128"] { | |||
. | width: 32px !important; | ||
height: 64px !important; | |||
} | |||
*:not(.no-img-adaptive) img[width="128"][height="128"] { | |||
width: 64px !important; | |||
height: 64px !important; | |||
} | |||
} | } | ||
@media screen and (max-width: 650px) { | |||
.mw-parser-output table { | |||
table-layout: auto !important; | |||
overflow: auto; | |||
max-width: 100%; | |||
} | |||
} | } | ||
.mw- | .mw-code { | ||
color: var(-- | background: var(--theme-bg-color-100); | ||
color: var(--theme-text-color); | |||
border-color: var(--border-color-hr); | |||
} | } | ||
. | .wikiEditor-ui-toolbar .group .tool-select .options { | ||
border: none; | |||
} | } | ||
. | /*=== Полоса прокрутки === */ | ||
@media not all and (hover: none) and (pointer: coarse) { | |||
body:not(.wgl-theme-light)::-webkit-scrollbar, | |||
body:not(.wgl-theme-light) *::-webkit-scrollbar { | |||
width: 16px; | |||
} | |||
body:not(.wgl-theme-light)::-webkit-scrollbar-track, | |||
body:not(.wgl-theme-light) *::-webkit-scrollbar-track { | |||
background-color: color-mix(in srgb, rgb(var(--color-lighter--rgb)) 8%, var(--theme-bg-color-base)); | |||
} | |||
body:not(.wgl-theme-light)::-webkit-scrollbar-thumb, | |||
body:not(.wgl-theme-light) *::-webkit-scrollbar-thumb { | |||
height: 40px; | |||
border-radius: 6px; | |||
border: 4px solid transparent; | |||
background-clip: content-box; | |||
background-color: hsl(0, 0%, 45%); | |||
} | |||
} | } | ||
/*=== Чекбоксы ===*/ | |||
/* При нажатии */ | |||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked:focus + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate:focus + span { | |||
box-shadow: none; | |||
} | } | ||
/* В фокусе */ | |||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:focus + span { | |||
box-shadow: none; | |||
} | } | ||
/*=== | /*=== Стиль для таблиц ===*/ | ||
. | /* wikitable */ | ||
background: var(--theme-bg-color- | .wikitable, | ||
.content table.wikitable { | |||
border- | background-color: var(--theme-bg-color-100); | ||
color: var(--theme-text-color); | |||
margin: 1em 0; | |||
border: 1px solid var(--theme-bg-color-250); | |||
padding: 3px; | |||
border-collapse: separate; | |||
border-spacing: 1px; | |||
border-radius: var(--border-radius-medium); | |||
} | } | ||
.mw_metadata > tr > th, .mw-datatable > tr > th, .wikitable > tr > th, .mw_metadata > tr > td, .mw-datatable > tr > td, .wikitable > tr > td, .mw_metadata > * > tr > th, .mw-datatable > * > tr > th, .wikitable > * > tr > th, .mw_metadata > * > tr > td, .mw-datatable > * > tr > td, .wikitable > * > tr > td { | |||
.mw- | border: none; | ||
padding: 0.4em 0.5em; | |||
} | } | ||
. | .wikitable>*>tr>th { | ||
background: var(--theme- | background: var(--theme-bg-color-250); | ||
} | } | ||
. | .wikitable>*>tr>td { | ||
background: var(--theme-bg-color-200); | |||
} | } | ||
. | .wikitable.plainrowheaders th[scope=row] { | ||
font-weight: normal; | |||
text-align: left | |||
} | } | ||
. | .wikitable td ul,.wikitable td ol,.wikitable td dl { | ||
text-align: left | |||
} | } | ||
. | /* Закругление верхнего левого угла первой ячейки */ | ||
.wikitable thead tr:first-child th:first-child, | |||
.wikitable thead tr:first-child td:first-child, | |||
.wikitable:not(:has(thead)) tr:first-child th:first-child, | |||
.wikitable:not(:has(thead)) tr:first-child td:first-child { | |||
border-top-left-radius: var(--border-radius-low); | |||
} | } | ||
. | /* Закругление верхнего правого угла последней ячейки */ | ||
.wikitable thead tr:first-child th:last-child, | |||
.wikitable thead tr:first-child td:last-child, | |||
.wikitable:not(:has(thead)) tbody > tr:first-child th:last-child, | |||
.wikitable:not(:has(thead)) tbody > tr:first-child td:last-child { | |||
border-top-right-radius: var(--border-radius-low); | |||
} | } | ||
/* | /* Закругление нижнего левого угла первой ячейки последнего ряда | ||
. | .wikitable tbody tr:last-child th:first-child, | ||
.wikitable tbody tr:last-child td:first-child { | |||
border-bottom-left-radius: var(--border-radius-low); | |||
} | }*/ | ||
. | /* Закругление нижнего правого угла последней ячейки последнего ряда | ||
.wikitable tbody tr:last-child th:last-child, | |||
.wikitable tbody tr:last-child td:last-child { | |||
} | border-bottom-right-radius: var(--border-radius-low); | ||
}*/ | |||
@media all and (max-width: 640px) { | |||
.mw-body-content table.mw-made-collapsible.mw-collapsed { | |||
display: table; | |||
} | |||
} | } | ||
. | @media screen and (max-width: 850px) { | ||
.mw-body table table { | |||
width: 100%; | |||
} | |||
} | } | ||
. | /* standard */ | ||
.standard { | |||
background: none; | |||
margin-top: 1em; | |||
margin-bottom: 1em; | |||
border: 1px solid var(--theme-border-color-base); | |||
border-collapse: collapse; | |||
} | } | ||
.standard > tr > th, .standard > * > tr > th { | |||
color: | background-color: var(--theme-bg-color-150); | ||
} | } | ||
.standard > tr > th, .standard > tr > td, .standard > * > tr > th, .standard > * > tr > td { | |||
border: 1px solid var(--theme-border-color-base); | |||
padding: 0.2em 0.4em; | |||
} | } | ||
/* КОНЕЦ */ | |||
/*=== Сollapsible ===*/ | |||
.mw-parser-output .mw-collapsible-toggle { | |||
position: relative; | |||
font-weight: normal; | |||
text-align: right; | |||
top: 0; | |||
right: 0; | |||
} | } | ||
.mw-collapsible-leftside-toggle .mw-collapsible-toggle { | |||
float: left; | |||
text-align: left | |||
} | } | ||
.mw-collapsible-toggle-default .mw-collapsible-text { | |||
color: | color: var(--text-color-link); | ||
} | } | ||
.mw-collapsible-toggle-default .mw-collapsible-text:hover { | |||
color: | color: var(--text-color-link); | ||
} | } | ||
.mw-collapsible-toggle-default .mw-collapsible-text:active { | |||
color: | color: var(--text-color-link); | ||
} | } | ||
/*=== Картинки с обёрткой ===*/ | |||
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'] { | |||
background: var(--theme-bg-color-100); | |||
border-color: var(--theme-border-color-base); | |||
border-radius: var(--border-radius-low) var(--border-radius-low) 0 0; | |||
border-collapse: unset; | |||
} | } | ||
figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element { | |||
margin: 0.5em; | |||
border-radius: var(--border-radius-high); | |||
border: none; | |||
} | } | ||
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption { | |||
padding: 0.25em 0.5em 0.5em 0.5em; | |||
border: | background: var(--theme-bg-color-150); | ||
border-color: var(--theme-border-color-base); | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
body: | /*=== 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); | |||
} | } | ||
body | .mw-body li.gallerybox div.thumb { | ||
background: | background: #f8f9fa; | ||
border: | 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 { | |||
padding: 0; | |||
letter-spacing: 0.025em; | |||
text-align: center; | |||
} | } | ||
/* | /*=== Медиа-просмотрщике ===*/ | ||
. | .mw-mmv-post-image { | ||
background: var(--theme-bg-color-100); | |||
background: var(--theme-bg-color- | color: var(--theme-text-color); | ||
} | } | ||
.mw-mmv-post-image { | |||
. | color: var(--theme-text-color-dark); | ||
} | } | ||
. | .mw-mmv-image-metadata { | ||
background: var(--theme-border-color-base); | |||
border-color: var(--border-color-hr); | |||
} | |||
background: var(--theme- | |||
border- | |||
} | |||
. | .mw-mmv-title-para.mw-mmv-ttf-normal { | ||
font-size: 18px; | |||
font-weight: bold; | |||
} | } | ||
.mw-mmv-dialog { | |||
. | background-color: var(--theme-bg-color-100); | ||
background: var(--theme-bg-color- | |||
} | } | ||
.mw-mmv-dialog .mw-mmv-dialog-warning { | |||
background-color: var(--bg-color-warning); | |||
} | } | ||
. | .mw-mmv-download-dialog .mw-mmv-dialog-down-arrow { | ||
background-color: var(--theme-bg-color-100); | |||
} | } | ||
. | .mw-mmv-dialog .mw-mmv-dialog-down-arrow { | ||
background-color: var(--theme-bg-color-100); | |||
} | } | ||
. | /*=== ace ===*/ | ||
.ace-tm .ace_gutter { | |||
background: var(--theme-bg-color-100); | |||
color: var(--ooui-text-color-dark); | |||
} | } | ||
. | .ace-tm .ace_print-margin { | ||
width: 1px; | |||
background: var(--theme-bg-color-base) | |||
background: var(--theme- | |||
} | } | ||
. | .ace_mobile-menu { | ||
color: var(--theme-text-color); | |||
background: var(--ooui-bg-color); | |||
border-color: var(--ooui-border-color-light); | |||
box-shadow: var(--box-shadow-medium); | |||
} | } | ||
. | .ace-tm { | ||
background: var(--theme-bg-color-base); | |||
color: var(--ooui-text-color); | |||
} | |||
.ace-tm .ace_cursor { | |||
color: var(--ooui-text-color-light); | |||
} | } | ||
. | body:not(.wgl-theme-light) .ace-tm .ace_storage,.ace-tm .ace_keyword { | ||
color: rgb(153,153,255); | |||
} | } | ||
body:not(.wgl-theme-light) .ace-tm .ace_constant { | |||
color: rgb(241,89,92); | |||
} | } | ||
body:not(.wgl-theme-light) .ace-tm .ace_support.ace_function { | |||
color: rgb(68,118,235); | |||
} | } | ||
. | body:not(.wgl-theme-light) .ace-tm .ace_support.ace_constant { | ||
color: rgb(23,202,33); | |||
} | } | ||
body:not(.wgl-theme-light) .ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class { | |||
color: rgb(182,187,236); | |||
} | |||
body:not(.wgl-theme-light) .ace-tm .ace_string { | |||
color: rgb(6,142,13); | |||
} | |||
body:not(.wgl-theme-light) .ace-tm .ace_comment { | |||
color: rgb(103,193,150); | |||
} | } | ||
body:not(.wgl-theme-light) .ace-tm .ace_constant.ace_numeric { | |||
. | color: rgb(153,153,255); | ||
} | } | ||
body:not(.wgl-theme-light) .ace-tm .ace_marker-layer .ace_selection { | |||
background: rgb(28,45,68); | |||
background | |||
} | } | ||
body:not(.wgl-theme-light) .ace-tm .ace_marker-layer .ace_bracket { | |||
margin: -1px 0 0 -1px; | |||
border: 1px solid rgb(94,94,94); | |||
} | } | ||
body:not(.wgl-theme-light) .ace-tm .ace_marker-layer .ace_active-line { | |||
background: rgb(153,153,183,7%); | |||
} | } | ||
body:not(.wgl-theme-light) .ace-tm .ace_marker-layer .ace_selected-word { | |||
background: rgb(37,59,89); | |||
border: 1px solid rgb(36,36,42); | |||
} | } | ||
/* | /*=== tabs ===*/ | ||
. | /* Стили для блока */ | ||
.tabs-tabbox, .tabs-togglebox { | |||
display: flow-root; | |||
display: | |||
} | } | ||
/* Стили для активных вкладок */ | |||
background- | .tabs-tabbox > .tabs-input:checked + .tabs-label, | ||
.tabs-input-0:checked + .tabs-input-1 + .tabs-label { | |||
background: var(--theme-bg-color-200); | |||
border-top: 1px solid rgba(var(--color-lighter--rgb), var(--alpha-xs)); | |||
border-bottom: 1px solid var(--color-contrast); | |||
z-index: 2; | |||
} | } | ||
. | /* Стили для стили для вкладок */ | ||
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label { | |||
margin: 0; | |||
} | } | ||
. | .tabs-tabbox > .tabs-label { | ||
margin- | cursor: pointer; | ||
padding: 1px 6px; | |||
margin: 0; | |||
vertical-align: baseline; | |||
border-radius: 0; | |||
background: var(--theme-bg-color-150); | |||
border: 1px solid var(--theme-bg-color-base); | |||
border-top: 1px solid rgba(var(--color-lighter--rgb), var(--alpha-xs)); | |||
} | } | ||
. | .tabs-tabbox > .tabs-label:hover { | ||
z-index: 2; | |||
background: var(--theme-bg-color-200); | |||
transition: all 0.1s; | |||
} | } | ||
. | /* Стили для контейнера вкладок */ | ||
.tabs-tabbox > .tabs-container { | |||
padding: 14px 10px; | |||
background: var(--theme-bg-color-150); | |||
border: none; | |||
border-top: 1px solid rgba(var(--color-lighter--rgb), var(--alpha-x)); | |||
border-radius: var(--border-radius-low); | |||
box-shadow: var(--box-shadow); | |||
} | } | ||
. | .tabs-content { | ||
width: 100%; | |||
} | } | ||
.mw- | /*=== toc ===*/ | ||
ul#filetoc, .toc, .toccolours, .mw-warning { | |||
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 * { | ||
box-sizing: border-box; | |||
} | } | ||
.toc .toctitle { | |||
font-size: | font-size: var(--font-size-s); | ||
display: flex; | |||
align-items: center; | |||
position: relative; | |||
overflow: hidden; | |||
text-align: left; | |||
border: none; | |||
} | } | ||
. | .toc .toctitle h2 { | ||
font-size: 1.1em; | |||
padding: 0 | font-weight: bold; | ||
display: flex; | |||
align-items: center; | |||
padding: 0; | |||
} | } | ||
. | .toc .toctitle h2::before { | ||
content: ""; | |||
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; | |||
-webkit-mask: var(--mask); | |||
mask: var(--mask); | |||
-webkit-mask-size: 100% 100%; | |||
mask-size: 100% 100%; | |||
-webkit-mask-position: center center; | |||
mask-position: center center; | |||
background: var(--theme-icon-color); | |||
margin: 0 6px 0 0; | |||
} | } | ||
. | .toc .toctogglelabel { | ||
position: absolute; | |||
width: 100%; | |||
height: 100%; | |||
left: 0; | |||
display: | top: 0; | ||
padding: 0 8px; | |||
font-size: unset; | |||
line-height: unset; | |||
display: flex; | |||
align-items: center; | |||
justify-content: flex-end; | |||
font-family: var(--font-family-heading); | |||
} | } | ||
. | .toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel:after, | ||
content: ": | .toctogglecheckbox:checked + .toctitle .toctogglelabel:after { | ||
content: ""; | |||
display: block; | |||
pointer-events: none; | |||
--mask: var(--icon-chevron-down) no-repeat; | |||
-webkit-mask: var(--mask); | |||
mask: var(--mask); | |||
-webkit-mask-size: 100% 100%; | |||
mask-size: 100% 100%; | |||
-webkit-mask-position: center center; | |||
mask-position: center center; | |||
background: var(--theme-icon-color); | |||
width: 14px; | |||
height: 14px; | |||
flex: 0 0 auto; | |||
transform: scaleY(-1); | |||
} | } | ||
. | .toctogglecheckbox:checked + .toctitle .toctogglelabel:after { | ||
transform: none; | |||
} | } | ||
. | .toc > ul { | ||
margin: 6px 0 0 0; | |||
border-top: 1px solid var(--theme-border-color-base); | |||
padding-top: 2px; | |||
} | } | ||
#searchInput:focus { | |||
outline: 2px solid var(--color-contrast); | |||
} | } | ||
. | .toctogglecheckbox:focus + .toctitle .toctogglelabel { | ||
outline: none; | |||
} | } | ||
/* #endregion */ | |||
. | /* ============ */ | ||
/* #region Классы */ | |||
/* ============ */ | |||
/* Складной списки с кнопкой в ширину всего блока */ | |||
.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]] */ | ||
display: | #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 (max-width: | @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-top: | margin-bottom: 0.4em | ||
} | } | ||
#interwiki-completelist { | |||
font-weight: bold | |||
} | } | ||
.hatnote { | |||
. | font-style: italic; | ||
padding-left: 1.6em; | |||
left: | |||
} | } | ||
.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) | ||
} | } | ||
.citation { | |||
. | word-wrap: break-word | ||
} | } | ||
. | ol.references { | ||
font-size: 90%; | |||
margin-bottom: 0.5em | |||
} | } | ||
. | .hlist dl,.hlist ol,.hlist ul { | ||
margin: 0; | |||
padding: 0 | |||
margin | |||
padding: | |||
} | } | ||
. | .hlist dd,.hlist dt,.hlist li { | ||
margin: 0; | |||
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 | |||
} | } | ||
.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" | |||
} | } | ||
.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-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), | |||
.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%); | |||
} | } | ||
/* | /* Уменьшеная полоса прокрутки */ | ||
body:not(.wgl-theme-light) . | @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; | |||
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; | |||
} | } | ||
.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 { | |||
color | background: rgba(var(--color-lighter--rgb), 0.02); | ||
} | } | ||
/* #endregion */ | |||
/* | /* ============ */ | ||
/* #region <syntaxhighlight> CODE BLOCKS */ | |||
color: # | /* ============ */ | ||
: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 */ | ||
body:not(.wgl-theme-light) .mw-highlight . | |||
color | /* Highlighted Lines */ | ||
body:not(.wgl-theme-light) .mw-highlight .hll { | |||
background: var(--action-color); | |||
} | } | ||
/* | /* Error */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .err { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-err); | ||
background: hsl(328, 40%, 16%); | |||
} | } | ||
/* | /* Keyword */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .k { | ||
color: | color: var(--synt-high--color-keyword); | ||
} | } | ||
/* Literal | /* Literal */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .l { | ||
color: var(--synt-high--color-literal); | color: var(--synt-high--color-literal); | ||
} | } | ||
/* | /* Name */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .n { | ||
color: | color: #f8f8f2; | ||
} | } | ||
/* | /* Operator */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .o { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-operator); | ||
} | } | ||
/* | /* Punctuation */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .p { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-punctuation); | ||
} | } | ||
/* | /* Comment */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .c { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-comment); | ||
} | } | ||
/* | /* Comment.Hashbang */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .ch { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-comment); | ||
} | } | ||
/* | /* Comment.Multiline */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .cm { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-comment); | ||
} | } | ||
/* | /* Comment.Preproc */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .cp { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-comment); | ||
} | } | ||
/* | /* Comment.PreprocFile */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .cpf { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-comment); | ||
} | } | ||
/* | /* Comment.Single */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .c1 { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-comment); | ||
} | } | ||
/* | /* Comment.Special */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .cs { | ||
color: var(--synt-high--color- | color: var(--synt-high--color-comment); | ||
} | } | ||
/* | /* Generic.Deleted */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .gd { | ||
color: | color: #f92672; | ||
} | } | ||
/* | /* 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: | color: var(--synt-high--color-keyword); | ||
} | } | ||
/* | /* Keyword.Type */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .kt { | ||
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: | color: var(--synt-high--color-date); | ||
} | } | ||
/* | /* Literal.Number */ | ||
body:not(.wgl-theme-light) .mw-highlight . | body:not(.wgl-theme-light) .mw-highlight .m { | ||
color: | color: var(--synt-high--color-literal); | ||
} | } | ||
/* 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: var(--synt-high--color-name); | |||
} | |||
/* Name.Builtin */ | |||
body:not(.wgl-theme-light) .mw-highlight .nb { | |||
color: #f8f8f2; | |||
} | |||
/* Name.Class */ | |||
body:not(.wgl-theme-light) .mw-highlight .nc { | |||
color: var(--synt-high--color-name); | |||
} | |||
/* Name.Constant */ | |||
body:not(.wgl-theme-light) .mw-highlight .no { | |||
color: var(--synt-high--color-keyword); | |||
} | |||
/* Name.Decorator */ | |||
body:not(.wgl-theme-light) .mw-highlight .nd { | |||
color: var(--synt-high--color-name); | |||
} | |||
/* Name.Entity */ | |||
body:not(.wgl-theme-light) .mw-highlight .ni { | |||
color: #f8f8f2; | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Name.Exception */ | ||
body:not(.wgl-theme-light) .mw-highlight .ne { | |||
color: var(--synt-high--color-name); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Name.Function */ | ||
body:not(.wgl-theme-light) .mw-highlight .nf { | |||
color: var(--synt-high--color-name); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Name.Label */ | ||
body:not(.wgl-theme-light) .mw-highlight .nl { | |||
color: #f8f8f2; | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Name.Namespace */ | ||
body:not(.wgl-theme-light) .mw-highlight .nn { | |||
color: #f8f8f2; | |||
} | } | ||
/* | |||
/* Name.Other */ | |||
body:not(.wgl-theme-light) .mw-highlight .nx { | |||
body:not(.wgl-theme-light) . | color: var(--synt-high--color-name); | ||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Name.Property */ | ||
body:not(.wgl-theme-light) .mw-highlight .py { | |||
color: #f8f8f2; | |||
color: | |||
} | } | ||
/* Name.Tag */ | |||
/* | body:not(.wgl-theme-light) .mw-highlight .nt { | ||
color: #f92672; | |||
body:not(.wgl-theme-light) . | |||
color: | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Name.Variable */ | ||
body:not(.wgl-theme-light) .mw-highlight .nv { | |||
color: #f8f8f2; | |||
color | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Operator.Word */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .ow { | ||
color: var(--synt-high--color-operator); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Text.Whitespace */ | ||
body:not(.wgl-theme-light) .mw-highlight .w { | |||
color: #f8f8f2; | |||
color: | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.Number.Bin */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .mb { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.Number.Float */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .mf { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.Number.Hex */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .mh { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.Number.Integer */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .mi { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.Number.Oct */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .mo { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.String.Affix */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .sa { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.String.Backtick */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .sb { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.String.Char */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .sc { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.String.Delimiter */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .dl { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.String.Doc */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .sd { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.String.Double */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .s2 { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.String.Escape */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .se { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Literal.String.Heredoc */ | ||
color: var(-- | body:not(.wgl-theme-light) .mw-highlight .sh { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* | |||
/* Literal.String.Interpol */ | |||
body:not(.wgl-theme-light) .mw-highlight .si { | |||
body:not(.wgl-theme-light) . | color: var(--synt-high--color-string); | ||
color: var(-- | |||
} | } | ||
/* | |||
/* Literal.String.Other */ | |||
body:not(.wgl-theme-light) .mw-highlight .sx { | |||
body:not(.wgl-theme-light) . | color: var(--synt-high--color-string); | ||
} | } | ||
/* Literal.String.Regex */ | |||
/* | body:not(.wgl-theme-light) .mw-highlight .sr { | ||
color: var(--synt-high--color-string); | |||
body:not(.wgl-theme-light) . | |||
color: var(-- | |||
} | } | ||
/* Literal.String.Single */ | |||
body:not(.wgl-theme-light) .mw-highlight .s1 { | |||
color: var(--synt-high--color-string); | |||
/* | |||
body:not(.wgl-theme-light) . | |||
} | } | ||
/* | |||
/* Literal.String.Symbol */ | |||
body:not(.wgl-theme-light) .mw-highlight .ss { | |||
body:not(.wgl-theme-light) | color: var(--synt-high--color-string); | ||
} | } | ||
/* | |||
/* Name.Builtin.Pseudo */ | |||
body:not(.wgl-theme-light) .mw-highlight .bp { | |||
body:not(.wgl-theme-light) . | color: #f8f8f2; | ||
} | } | ||
/* | |||
/* Name.Function.Magic */ | |||
body:not(.wgl-theme-light) .mw-highlight .fm { | |||
body:not(.wgl-theme-light) . | color: var(--synt-high--color-name); | ||
color: var(-- | |||
} | } | ||
/* Name.Variable.Class */ | |||
body:not(.wgl-theme-light) .mw-highlight .vc { | |||
color: #f8f8f2; | |||
/* | |||
body:not(.wgl-theme-light) . | |||
color: | |||
} | } | ||
/* | |||
/* Name.Variable.Global */ | |||
body:not(.wgl-theme-light) .mw-highlight .vg { | |||
body:not(.wgl-theme-light) . | color: #f8f8f2; | ||
color: | |||
} | } | ||
/* | |||
body:not(.wgl-theme-light) . | /* Name.Variable.Instance */ | ||
color: | body:not(.wgl-theme-light) .mw-highlight .vi { | ||
color: #f8f8f2; | |||
} | } | ||
/* | |||
/* Name.Variable.Magic */ | |||
body:not(.wgl-theme-light) .mw-highlight .vm { | |||
body:not(.wgl-theme-light) . | color: #f8f8f2; | ||
color: | |||
} | } | ||
/* | |||
/* Literal.Number.Integer.Long */ | |||
body:not(.wgl-theme-light) .mw-highlight .il { | |||
body:not(.wgl-theme-light) . | color: var(--synt-high--color-literal); | ||
color: var(-- | |||
} | } | ||
/* | /* #endregion */ | ||
/* ============ */ | |||
/* #region SOURCE EDITOR → SYNTAX HIGHLIGHTING */ | |||
/* | /* 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 */ | |||
--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; | |||
/* 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); | |||
/* link itself */ | |||
--se-cm--link-color: #699ae9; | |||
/* link delimiter */ | |||
--se-cm--cm-mw-link-delimiter: var(--se-cm--template-delimiter-color); | |||
/* link text */ | |||
--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 */ | |||
--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) . | body:not(.wgl-theme-light) .CodeMirror-wrap { | ||
/* same color as for source editor */ | |||
background: var(--se-cm--bg-color); | |||
color: var(-- | /* 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 { | |||
/* 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 { | |||
border-color: var(--ooui-border-color); | |||
} | } | ||
/* gutter */ | |||
body:not(.wgl-theme-light) .CodeMirror-wrap .CodeMirror-gutter { | |||
/* same color as for code block */ | |||
background: var(--se-cm--gutter-bg-color); | |||
} | } | ||
/* selection */ | |||
. | body:not(.wgl-theme-light) .CodeMirror-line::selection, | ||
. | /* selection */ | ||
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) .cm-mw-indenting { | |||
color: var(--se-cm--wikitext-formatting-color); | |||
} | } | ||
/* magic words */ | |||
. | body:not(.wgl-theme-light) .cm-mw-doubleUnderscore, | ||
/* magic words */ | |||
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) .cm-mw-template { | ||
color: var(--ooui-text-color); | |||
color: var(-- | |||
} | } | ||
/* template pipe delimiters (maybe colon too for modules?) */ | |||
body:not(.wgl-theme-light) .cm-mw-template-delimiter { | |||
color: var(--se-cm--template-name-color); | |||
} | } | ||
/* template brackets */ | |||
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) .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); | |||
} | |||
/* template variable brackets (3 brackets) */ | |||
body:not(.wgl-theme-light) .cm-mw-templatevariable-bracket { | |||
color: var(--se-cm--template-param-brackets-color); | |||
} | } | ||
/* template variable (with 3 brackets) delimiter */ | |||
. | body:not(.wgl-theme-light) .cm-mw-templatevariable-delimiter { | ||
color: var(--se-cm--template-param-brackets-color); | |||
} | } | ||
/* 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; | |||
} | } | ||
/* parser functions (things like "DISPLAYTITLE" or invokes) → value */ | |||
. | body:not(.wgl-theme-light) .cm-mw-parserfunction { | ||
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); | |||
} | } | ||
/* parser functions (things like "DISPLAYTITLE" or invokes) → delimiters */ | |||
. | body:not(.wgl-theme-light) .cm-mw-parserfunction-delimiter { | ||
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 { | |||
color: var(--se-cm--xml-tag-color); | |||
} | } | ||
/* if a string starts with an empty space, it will generate a pre block. | |||
. | this targets that one single space. | ||
same style as for html tag names, but for bg here */ | |||
body:not(.wgl-theme-light) .cm-mw-skipformatting { | |||
background: var(--se-cm--xml-tag-color); | |||
} | } | ||
/* wiki html tag brackets */ | |||
/****** | body:not(.wgl-theme-light) .cm-mw-exttag-bracket, | ||
/* wiki html tag attributes (name, delimiter, value) */ | |||
* | body:not(.wgl-theme-light) .cm-mw-exttag-attribute, | ||
/* html tag brackets */ | |||
body:not(.wgl-theme-light) .cm-mw-htmltag-bracket, | |||
/* html tag attributes (name, delimiter, value) */ | |||
body:not(.wgl-theme-light) .cm-mw-htmltag-attribute { | |||
color: var(--se-cm--xml-tag-color); | |||
} | } | ||
/* pre tag BLOCK contents */ | |||
. | body:not(.wgl-theme-light) pre.CodeMirror-line.cm-mw-tag-pre, | ||
/* pre tag INLINE contents */ | |||
body:not(.wgl-theme-light) .CodeMirror-line span.cm-mw-tag-pre, | |||
/* ???? */ | |||
. | body:not(.wgl-theme-light) pre.CodeMirror-line-like.cm-mw-tag-pre, | ||
/* pre tag contents */ | |||
body:not(.wgl-theme-light) .cm-mw-tag-pre, | |||
/* ============== */ | |||
/* nowiki tag BLOCK contents */ | |||
body:not(.wgl-theme-light) pre.CodeMirror-line.cm-mw-tag-nowiki, | |||
/* nowiki tag INLINE contents */ | |||
body:not(.wgl-theme-light) .CodeMirror-line span.cm-mw-tag-nowiki, | |||
/* ???? */ | |||
body:not(.wgl-theme-light) pre.CodeMirror-line-like.cm-mw-tag-nowiki, | |||
/* nowiki tag contents */ | |||
body:not(.wgl-theme-light) .cm-mw-tag-nowiki { | |||
background: var(--se-cm--pre-bg-color); | |||
} | } | ||
/* pre tag BLOCK contents */ | |||
. | body:not(.wgl-theme-light) pre.CodeMirror-line.cm-mw-tag-pre, | ||
. | /* nowiki tag BLOCK contents */ | ||
. | body:not(.wgl-theme-light) pre.CodeMirror-line.cm-mw-tag-nowiki { | ||
/* colors the margin gap bg for block variants */ | |||
box-shadow: calc(-1 * var(--se-cm--main-contents-left-margin)) 0 | |||
var(--se-cm--pre-bg-color); | |||
} | } | ||
/* pre tag INLINE contents */ | |||
. | body:not(.wgl-theme-light) .CodeMirror-line span.cm-mw-tag-pre, | ||
/* nowiki tag INLINE contents */ | |||
body:not(.wgl-theme-light) .CodeMirror-line span.cm-mw-tag-nowiki { | |||
/* a little corner rounding won't hurt a thing! */ | |||
border-radius: 2px; | |||
} | } | ||
/* ???? */ | |||
. | body:not(.wgl-theme-light) .cm-mw-link, | ||
/* ???? */ | |||
body:not(.wgl-theme-light) .cm-mw-link-tosection, | |||
/* header equal signs */ | |||
body:not(.wgl-theme-light) .cm-mw-section-header { | |||
color: var(--se-cm--wikitext-formatting-color); | |||
} | } | ||
/* link itself */ | |||
. | body:not(.wgl-theme-light) .cm-mw-link-pagename, | ||
/* external link itself, without protocol */ | |||
body:not(.wgl-theme-light) .cm-mw-extlink, | |||
/* ???? same as above, maybe? */ | |||
body:not(.wgl-theme-light) .cm-mw-free-extlink, | |||
/* external link protocol (the "https://" part) */ | |||
body:not(.wgl-theme-light) .cm-mw-extlink-protocol, | |||
/* ???? same as above, maybe? */ | |||
body:not(.wgl-theme-light) .cm-mw-free-extlink-protocol { | |||
color: var(--se-cm--link-color); | |||
} | } | ||
/* link brackets */ | |||
/** | body:not(.wgl-theme-light) .cm-mw-link-bracket, | ||
/* external link brackets */ | |||
* | body:not(.wgl-theme-light) .cm-mw-extlink-bracket { | ||
color: var(--se-cm--link-color); | |||
} | } | ||
/* link delimiter */ | |||
. | body:not(.wgl-theme-light) .cm-mw-link-delimiter { | ||
color: var(--se-cm--cm-mw-link-delimiter); | |||
} | } | ||
/* link text */ | |||
/* | body:not(.wgl-theme-light) .cm-mw-link-text, | ||
/* external link text */ | |||
body:not(.wgl-theme-light) .cm-mw-extlink-text { | |||
color: var(--se-cm--link-text-color); | |||
/* | |||
} | } | ||
/* tables opening "{|" and closing "|}" brackets */ | |||
/* | body:not(.wgl-theme-light) .cm-mw-table-bracket, | ||
/* table row delimiter (doesn't include cols!) */ | |||
body:not(.wgl-theme-light) .cm-mw-table-delimiter { | |||
color: var(--se-cm--table-punctuation-color); | |||
/* | |||
} | } | ||
/* the table settings I guess? (like «class="wikitable"») */ | |||
body:not(.wgl-theme-light) .cm-mw-table-definition { | |||
color: var(--se-cm--table-settings-color); | |||
. | |||
} | } | ||
/* ???? idk some kind of formatting errors? */ | |||
. | body:not(.wgl-theme-light) .cm-error, | ||
body:not(.wgl-theme-light) .cm-mw-error, | |||
body:not(.wgl-theme-light) .cm-s-default .cm-error { | |||
color: var(--se-cm--error-color); | |||
} | } | ||
body:not(.wgl-theme-light) .cm-mw-matchingbracket { | |||
. | background: var(--se-cm--matching-brackets-bg-color); | ||
/* disable the default */ | |||
. | box-shadow: none; | ||
box- | |||
} | } | ||
/* various inline bg targeting things, idk what each of them target exactly */ | |||
. | .cm-mw-template2-ground, | ||
.cm-mw-template3-ground, | |||
.cm-mw-ext-ground, | |||
.cm-mw-template-ext-ground, | |||
.cm-mw-ext2-ground, | |||
.cm-mw-template-ext2-ground, | |||
.cm-mw-ext3-ground, | |||
.cm-mw-template-ext3-ground, | |||
.cm-mw-link-ground, | |||
. | .cm-mw-ext-link-ground, | ||
.cm-mw-template-link-ground, | |||
} | .cm-mw-ext2-link-ground, | ||
.cm-mw-template-ext-link-ground, | |||
.cm-mw-ext3-link-ground, | |||
.cm-mw-template-ext2-link-ground, | |||
.theme- | .cm-mw-template-ext3-link-ground, | ||
.cm-mw-template2-ext-ground, | |||
.cm-mw-template2-ext2-ground, | |||
.cm-mw-template2-ext3-ground, | |||
.cm-mw-template2-link-ground, | |||
.cm-mw-template2-ext-link-ground, | |||
.cm-mw-template2-ext2-link-ground, | |||
.cm-mw-template2-ext3-link-ground, | |||
.cm-mw-template3-ext-ground, | |||
.cm-mw-template3-ext2-ground, | |||
.cm-mw-template3-ext3-ground, | |||
.cm-mw-template3-link-ground, | |||
.cm-mw-template3-ext-link-ground, | |||
.cm-mw-template3-ext2-link-ground, | |||
.cm-mw-template3-ext3-link-ground { | |||
/* just disable them */ | |||
background: inherit; | |||
} | |||
/* new code */ | |||
body:not(.wgl-theme-light) .cm-mw-template-ground.cm-mw-template, | |||
body:not(.wgl-theme-light) .cm-mw-template2-ground.cm-mw-template, | |||
body:not(.wgl-theme-light) .cm-mw-template3-ground.cm-mw-template { | |||
color: var(--se-cm--template-values-color); | |||
} | } | ||
/* #endregion */ | |||
/* ============ */ | |||
/* #region DRUID Infoboxes */ | |||
/* ============ */ | |||
. | /* DRUID Infobox. */ | ||
/* source: https://support.wiki.gg/wiki/MediaWiki:Gadget-druidInfoboxes.css */ | |||
/* license: CC BY-SA 4.0 */ | |||
/****************************************/ | |||
/******* Start DRUID CSS rules *********/ | |||
/****************************************/ | |||
/* --------------------------------- */ | |||
/* Safe to edit ABOVE this line */ | |||
/* --------------------------------- */ | |||
/* --------------------------------- */ | |||
/* Do not edit below this line */ | |||
/* --------------------------------- */ | |||
. | .druid-container { | ||
--druid-border-color: var(--theme-border-color-base); | |||
--druid-color-contrast: var(--color-contrast-dark); | |||
} | } | ||
table.druid-container { | |||
display: table; | |||
background: var(--theme-bg-color-150); | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
width: 400px; | |||
box-sizing: border-box; | |||
position: relative; | position: relative; | ||
z-index: 1; | |||
border: 1px solid var(--druid-border-color); | |||
border-radius: | border-radius: 0.2em; | ||
overflow: auto; | |||
border-spacing: 0; | |||
padding: | padding: 2px; | ||
} | |||
margin: 0; | @media screen and (max-width: 720px) { | ||
table.druid-container { | |||
float: none; | |||
margin: 0.5rem auto; | |||
min-width: 100%; | |||
} | |||
} | } | ||
.druid-main-images-file, | |||
.druid-main-image { | |||
text-align: center; | |||
} | } | ||
.druid-infobox .druid-title, | |||
.druid-infobox .druid-section { | |||
background: var(--druid-color-contrast); | |||
border-bottom: 2px solid var(--color-darkened-border); | |||
border-radius: 0.1em; | |||
padding: 5px; | |||
text-align: center; | |||
font-size: var(--font-size-ml); | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.druid-infobox .druid-section { | |||
font-size: var(--font-size-m); | |||
padding: | background: color-mix(in srgb, var(--druid-color-contrast) 30%, var(--theme-bg-color-150)); | ||
border-top: 1px solid var(--theme-border-color-base); | |||
padding: 4px; | |||
} | } | ||
. | .druid-infobox .druid-collapsible .druid-section { | ||
flex-grow: 1; | |||
} | } | ||
.druid-row > .druid-label, | |||
. | .druid-row > .druid-data { | ||
padding-inline: 0.5em; | |||
} | } | ||
.druid-main-image, | |||
.druid-main-images { | |||
background: var(--theme-bg-color-150); | |||
background | border-bottom: 1px solid var(--druid-border-color); | ||
border- | padding: 2px 0; | ||
} | } | ||
.mw-body-content .druid-main-image img, | |||
.mw-body-content .druid-main-images img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
} | } | ||
.druid-main-images-labels { | |||
display: flex; | display: flex; | ||
flex-direction: | flex-direction: row; | ||
gap: 0. | flex-wrap: wrap; | ||
justify-content: space-evenly; | |||
margin: 0.25em; | |||
gap: 0.25em; | |||
} | |||
.druid-main-images-label { | |||
cursor: pointer; | |||
flex: 1 1 auto; | |||
text-align: center; | text-align: center; | ||
transition: .1s ease-in; | |||
outline: 1px solid var(--druid-link-color); | |||
} | } | ||
.druid-main-images-label.focused { | |||
background: var(--druid-link-color); | |||
color: var(--druid-link-label-color); | |||
} | } | ||
.druid-main-images-label:not(.focused):hover { | |||
background: var(--druid-link-color); /* fallback */ | |||
background: color-mix(in srgb, var(--druid-link-color) 25%, transparent); | |||
} | } | ||
.druid-toggleable-data:not(.focused), | |||
.druid-main-images-file:not(.focused), | |||
.druid-toggleable-heading:not(.focused) { | |||
display: none; | |||
} | } | ||
.druid-grid { | |||
display:grid; | |||
gap: 0.3em; | |||
padding: 0.35em; | |||
} | } | ||
.druid-grid-item { | |||
background: var(--druid-tertiary-background-color); | |||
. | padding: 0.25em; | ||
border: 1px solid var(--druid-border-color); /* fallback */ | |||
border: 1px solid color-mix(in srgb, var(--druid-border-color) 50%, transparent); | |||
border-radius: 2px; | |||
} | } | ||
. | .druid-grid-item .druid-label, | ||
.druid-grid-item .druid-data { | |||
. | text-align: center; | ||
} | } | ||
.druid-data-wide { | |||
width: 100%; | |||
} | } | ||
.druid-section-container > .druid-collapsible { | |||
display: flex; | |||
. | justify-content: space-between; | ||
align-items: center; | |||
} | } | ||
.druid-collapsed { | |||
display: none !important; | |||
} | } | ||
.druid-collapsible { | |||
cursor: pointer; | |||
position: relative; | |||
} | } | ||
.druid-collapsible::after { | |||
content: ""; | |||
display: block; | |||
position: absolute; | |||
right: 10px; | |||
width: var(--icon-size); | |||
height: var(--icon-size); | |||
--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E collapse %3C/title%3E%3Cpath d='M1 13.75l1.5 1.5 7.5-7.5 7.5 7.5 1.5-1.5-9-9-9 9z'/%3E%3C/svg%3E") no-repeat; | |||
-webkit-mask: var(--mask); | |||
mask: var(--mask); | |||
-webkit-mask-size: 100% 100%; | |||
mask-size: 100% 100%; | |||
-webkit-mask-position: center center; | |||
mask-position: center center; | |||
background: var(--druid-secondary-background-label-color); | |||
} | } | ||
.druid-collapsible-collapsed::after { | |||
transform: rotate(180deg); | |||
} | } | ||
/* | /***************************************** | ||
Table support | |||
*****************************************/ | |||
.druid-container tr:not(.data-druid-section):nth-child(odd) { | |||
background: var(--theme-bg-color-200); | |||
} | |||
.druid-container tr:not(.data-druid-section):nth-child(even) { | |||
background: var(--theme-bg-color-150); | |||
. | |||
. | |||
} | } | ||
.druid-container tr:nth-child(even) th:not([colspan]) { | |||
. | border-right: 1px solid var(--theme-bg-color-150); | ||
} | } | ||
.druid-container th, | |||
.druid-container td, | |||
.druid-container th .mw-collapsible-toggle { | |||
padding: 4px; | |||
font-size: var(--font-size-xs); | |||
} | } | ||
.druid-container th { | |||
width: 40%; | |||
text-align: left; | |||
} | } | ||
.druid-container td { | |||
max-width: 0; | |||
} | } | ||
.druid-container ul { | |||
list-style: none; | |||
padding: 0; | |||
margin: 0; | |||
margin-left: 10px; | |||
} | } | ||
.druid-container ul li::before { | |||
. | content: "•"; | ||
display: inline-block; | |||
font-size: var(--font-size-l); | |||
margin-left: -10px; | |||
margin-right: 4px; | |||
} | |||
. | /******** | ||
. | Custom display classes | ||
. | *********/ | ||
div.druid-stacked.druid-row, | |||
.druid-stacked div.druid-row { | |||
flex-direction: column; | |||
. | } | ||
.druid-stacked.druid-row > .druid-data, | |||
. | .druid-stacked .druid-row > .druid-data { | ||
padding-left: 0.75em; | |||
} | |||
/* --------------------------------- */ | |||
/* Do not edit above this line */ | |||
/* --------------------------------- */ | |||
/* --------------------------------- */ | |||
/* Local overrides go below this line */ | |||
/* --------------------------------- */ | |||
.druid-infobox .druid-title { | |||
--clip: 0.6em; | |||
clip-path: polygon( 0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)) ); | |||
margin: 3px; | |||
} | |||
/****************************************/ | |||
/******* End DRUID CSS rules *********/ | |||
/****************************************/ | |||
/* #endregion */ | |||
/* Таблица в виде грид сетки для сортировки. Используется вместе с классом .sortable */ | |||
.sortable-grid { | |||
width: 100%; | |||
} | |||
.sortable-grid tbody { | |||
display: grid; | |||
. | gap: 8px 6px; | ||
grid-template-columns: repeat(auto-fit,minmax(clamp(250px, 50vw, 400px),1fr)); | |||
} | |||
/* Класс для большего количества столбцов */ | |||
.sortable-grid--small-column tbody { | |||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |||
# | |||
. | |||
. | |||
. | |||
. | |||
} | } | ||
. | .sortable-grid thead tr:first-child { | ||
grid-column: 1 / -1; | |||
} | |||
. | .sortable-grid > tr > th, | ||
. | .sortable-grid > tr > td, | ||
. | .sortable-grid > * > tr > th, | ||
. | .sortable-grid > * > tr > td { | ||
display: block; | |||
height: 100%; | |||
box-sizing: border-box; | |||
} | } | ||
. | .sortable-grid .headerSort { | ||
padding: 4px 0; | |||
text-align: left; | |||
} | } | ||
/* ============ */ | |||
/* #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; | |||
-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; | ||
} | } | ||
. | .js-project-menu input:not(:checked) + label { | ||
background: unset !important; | |||
background: | |||
} | } | ||
. | .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); | |||
background: var(--bg-color- | |||
} | } | ||
. | .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 | background: var(--bg-color-emerald-dark); | ||
} | } | ||
.js-project-menu input#project-Frontier + label { | |||
background: var(--bg-color- | 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 { | ||
background: var(--bg-color- | 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); | |||
background | |||
} | } | ||
. | .js-project-menu input#project-Wega + label { | ||
background: var(--bg-color- | 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 { | ||
background: var(- | 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 { | |||
. | position: relative; | ||
} | } | ||
#personal-extra li, | |||
#personal h2, | |||
.theme-dropdown-details { | |||
padding: 0.25em; | |||
border-radius: var(--border-radius-medium); | |||
margin: 0; | |||
} | } | ||
. | .theme-dropdown-details[open] + .theme-window { | ||
visibility: visible; | |||
opacity: 1; | |||
height: auto; | |||
transform: scale(0.99999); | |||
} | } | ||
.mw-ui- | #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); | |||
} | } | ||
. | #personal .dropdown, | ||
. | .theme-dropdown .theme-window { | ||
right: -14px; | |||
margin-top: 0.3rem; | |||
} | } | ||
. | #personal .dropdown::before, | ||
#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; | |||
user-drag: none; | |||
-webkit-user-drag: none; | |||
} | } | ||
#personal .dropdown label, #personal .dropdown h3, | |||
.theme-dropdown .theme-window__header, | |||
. | .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head { | ||
. | display: flex; | ||
. | align-items: center; | ||
.mw-echo-ui- | 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; | |||
. | |||
border- | |||
} | } | ||
#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; | |||
display: grid; | |||
# | gap: 0.5em; | ||
.mw- | text-align: center; | ||
. | } | ||
.mw- | |||
. | #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, | ||
.oo-ui- | .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- | .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 { | |||
.oo-ui- | 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, | |||
#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 */ | |||
/* ============ */ | |||
.mw- | /* 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); | |||
} | } | ||
.oo-ui-checkboxInputWidget.oo-ui- | /* invert(0.75) */ | ||
.oo-ui- | .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-indicatorElement-indicator, | |||
.cdx-icon svg, | |||
.skin-invert img[role="presentation"] { | |||
filter: var(--invert-75) hue-rotate(180deg); | |||
} | } | ||
. | body.wgl-theme-ss14 .oo-ui-image-progressive:not(.oo-ui-indicatorElement-indicator):not(.oo-ui-icon-mentor), | ||
.ui- | body.wgl-theme-ss14 .oo-ui-icon-linked { | ||
filter: var(--invert-75); | |||
. | |||
} | } | ||
. | /* 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 { | |||
filter: var(--invert-0); | |||
} | } | ||
. | 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 { | ||
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 */ | ||
.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, | |||
.oo-ui- | .mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-views-select, | ||
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled, | |||
.oo-ui-dropdownWidget, | |||
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle, | |||
.oo-ui- | .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, | |||
.oo-ui- | .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, | ||
.oo-ui- | .mw-echo-ui-pageNotificationsOptionWidget-label-count, | ||
. | .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-highlighted, | ||
. | .footer-icons a:hover, | ||
.oo-ui- | .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, | |||
span.fileinput-button | .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, | ||
.ui-state-default | .ace_searchbtn, | ||
. | .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, | ||
.oo-ui- | .growthexperiments-homepage-module, | ||
.oo-ui- | .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip, | ||
.oo-ui- | .ace_optionsMenuEntry input, .ace_optionsMenuEntry button, | ||
. | .ace_optionsMenuEntry button, | ||
. | .ace_optionsMenuEntry button[ace_selected_button=true], | ||
. | .wikiEditor-ui-toolbar, | ||
.oo-ui- | .ace_search_field, | ||
. | .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, | |||
.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, | .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, | ||
. | #wpDestFile, | ||
#wpUploadDescription, | |||
.mw-widgets-datetime-dateTimeInputWidget-handle, | |||
.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, | ||
.mw- | .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); | ||
background: var(-- | |||
} | } | ||
.oo-ui- | .oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-top > .oo-ui-menuLayout-content, | ||
.oo-ui- | .mw-rcfilters-ui-menuSelectWidget-body.oo-ui-clippableElement-clippable, | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui- | .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled, | ||
form:not(.oo-ui-layout) | .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, | |||
.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, | ||
background: var(--color- | .cdx-checkbox__icon, | ||
.cdx-radio__icon { | |||
background-color: var(--ooui-bg-color-dark); | |||
} | } | ||
.oo-ui- | .oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout, | ||
.mw- | .mw-special-Contribute .mw-contribute-tabs-content, | ||
. | .mw-echo-ui-placeholderItemWidget, | ||
.oo-ui- | .mw-ge-startediting-dialog-intro-general, | ||
. | .mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-single-column, | ||
.cdx- | .oo-ui-searchWidget-results, | ||
background: var(--color- | .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-rcfilters-ui-filterMenuSectionOptionWidget, | |||
. | .wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover, | ||
. | #ca-nstab-special.selected.mw-list-item, | ||
.oo-ui- | .ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line, | ||
.mw- | .mw-revslider-revision-wrapper:hover, .mw-revslider-revision-wrapper-hovered, | ||
.ext- | .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, | .wikiEditor-ui-toolbar .booklet > .index > :hover, | ||
. | .mw-rcfilters-ui-itemMenuOptionWidget:hover, | ||
.mw- | .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, | |||
.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- | .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, | |||
.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; | |||
} | } | ||
.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 { | |||
.mw- | background-color: var(--bg-color-message); | ||
.mw- | } | ||
. | |||
. | 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- | .mw-twocolconflict-single-column ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column ins.mw-twocolconflict-diffchange { | ||
.mw- | background: var(--bg-color-message); | ||
} | |||
.mw- | |||
.mw- | .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 { | ||
.mw- | background-color: var(--bg-color-message-subtle); | ||
.mw- | } | ||
. | .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected { | ||
.oo-ui- | background: var(--bg-color-blue-dark); | ||
.mw- | } | ||
.mw- | .mw-echo-ui-notificationItemWidget-unread, | ||
.mw- | .growthexperiments-homepage-module-suggested-edits.growthexperiments-homepage-module-desktop.growthexperiments-homepage-module.activated, | ||
.mw- | .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice, | ||
.mw- | .ext-growthExperiments-ScoreCard, | ||
.mw- | .ext-growthExperiments-MenteeOverview__no-results, | ||
.mw- | .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, | |||
.suggested-edits- | .ace_search, | ||
. | .editOptions, .mw-editform .editOptions { | ||
background: var(--theme-bg-color-100); | |||
. | |||
. | |||
. | |||
} | } | ||
. | .ext-WikiEditor-ResizingDragBar span, | ||
.mw- | .mw-revslider-revision, | ||
.oo-ui- | .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 { | |||
.oo-ui- | background: var(--ooui-border-color); | ||
} | |||
. | body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close { | ||
. | background: var(--border-color-hr); | ||
} | |||
. | |||
.oo-ui- | .oo-ui-windowManager-modal > .oo-ui-dialog, | ||
.oo-ui-processDialog-errors, | |||
.cdx-dialog-backdrop { | |||
background: rgba(var(--color-darkened--rgb), var(--alpha-m)); | |||
.oo-ui- | } | ||
. | |||
.mw-ui-button:not(:disabled):hover { | |||
. | background-color: var(--theme-border-color-base); | ||
} | |||
.mw | |||
.mw-ui-button { | |||
background-color: var(--theme-bg-color-200); | |||
} | |||
. | |||
.oo-ui- | .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- | .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, | |||
.mw-ui-button.mw-ui-destructive:not(:disabled), | |||
. | .mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark.negative, | ||
.cdx-button:enabled.cdx-button--weight-quiet.cdx-button--action-destructive:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet.cdx-button--action-destructive:hover { | |||
. | background: var(--bg-color-error); | ||
} | |||
. | .mwe-vue-pt-problem-chip { | ||
. | background: var(--bg-color-error-subtle); | ||
} | |||
. | .mw-ui-button.mw-ui-destructive:not(:disabled):hover { | ||
background-color: var(--border-color-error); | |||
} | |||
. | |||
.oo-ui- | .mw-notification.mw-notification-type-warn, | ||
.mw- | .mw-destfile-warning, | ||
.mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:active + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget [type='radio'] + span, | |||
.mw- | .mw-twocolconflict-single-column.mw-twocolconflict-split-unselected del.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected del.mw-twocolconflict-diffchange { | ||
. | background-color: var(--bg-color-warning-subtle); | ||
} | |||
. | |||
.mw- | /* border */ | ||
. | .wikiEditor-ui .wikiEditor-ui-top, | ||
. | .ext-WikiEditor-ResizingDragBar-ns, | ||
. | .oo-ui-bookletLayout > .oo-ui-menuLayout-menu, | ||
.mw-apisandbox-help-field, | |||
. | .mw-echo-ui-subGroupListWidget .mw-echo-ui-sortedListWidget-group:not(:empty), .mw-echo-ui-bundleNotificationItemWidget-group .mw-echo-ui-sortedListWidget-group:not(:empty), | ||
. | .mw-echo-ui-crossWikiUnreadFilterWidget, | ||
. | .mw-echo-ui-notificationItemWidget:not(:last-child), | ||
. | .footer-icons a:hover, | ||
.oo-ui- | .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-ge-help-panel-home-button, | |||
.ace_editor.ace_autocomplete, | |||
.ext-growthExperiments-CPopper__popover, | |||
.mw-revslider-revision-new .mw-revslider-revision, .mw-revslider-revision-old .mw-revslider-revision, .mw-revslider-revision-intermediate .mw-revslider-revision, | |||
.oo-ui-checkboxInputWidget [type='checkbox']:disabled + span, | |||
.vector-user-links .vector-user-menu-more .vector-menu-content-list li a, | .vector-user-links .vector-user-menu-more .vector-menu-content-list li a, | ||
.mw-notification, | .mw-notification, | ||
. | .oo-ui-tagMultiselectWidget-handle, .oo-ui-panelLayout-padded, | ||
. | .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget, | ||
.mw-templateData-template-map-list-menu-panel, | |||
.oo-ui- | .oo-ui-menuSelectWidget, | ||
.oo-ui-popupToolGroup-tools, | |||
.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover, | |||
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget, | .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget, | ||
.mw-rcfilters-ui- | .mw-rcfilters-ui-menuSelectWidget-footer, | ||
.mw-widget-dateInputWidget-calendar, | |||
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget, | |||
.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-messageDialog-actions-horizontal .oo-ui-actionWidget, | |||
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select, | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select, | ||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, | .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, | ||
. | .mw-widget-dateInputWidget-handle, | ||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-datatable, | |||
div.editOptions, | |||
.ext-WikiEditor-twopanes-TwoPaneLayout .ext-WikiEditor-twopanes-pane1, | |||
.ext-WikiEditor-twopanes-TwoPaneLayout .ext-WikiEditor-twopanes-pane2, | |||
.oo-ui-menuToolGroup, | |||
.ve-ui-mwHelpListToolGroup-tools-footer, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-example, | |||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-datatable, | .mw-ge-help-panel-processdialog .suggested-edits-panel-switch-editor-panel, | ||
. | .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip, | ||
. | .mwe-vue-pt-article-row, | ||
. | .ve-ui-mwTransclusionOutlineControlsWidget { | ||
.oo-ui- | border-color: var(--ooui-border-color); | ||
. | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip- | |||
. | |||
. | |||
. | |||
. | |||
color: var(--ooui- | |||
} | } | ||
. | .mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout, | ||
.oo-ui- | .wikiEditor-ui-toolbar .sections .section, | ||
.wikiEditor-ui-toolbar . | .mw-revslider-container, | ||
. | .mw-revslider-slider-wrapper, | ||
.oo-ui- | #mw-searchoptions .divider, | ||
.mw-echo-ui- | .ace_searchbtn:last-child, | ||
.mw-echo-ui- | .wikiEditor-ui .wikiEditor-ui-view, | ||
. | .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, | ||
.oo-ui- | .ve-ui-symbolListPage-symbol, | ||
.oo-ui- | .oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget, | ||
. | .ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label, | ||
form:not(.oo-ui-layout) | .wikiEditor-ui-toolbar .group, .wikiEditor-ui-toolbar .section-secondary .group, | ||
.oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget-handle, select, | |||
.ace_optionsMenuEntry button | span.fileinput-button, | ||
. | .ace_button, | ||
. | .ace_searchbtn, | ||
.ui- | .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, | |||
form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input, | |||
.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-revslider-revision-filter-highlight .mw-revslider-revision-border-box, | |||
.ext-templatewizard-templatetitlebar, | |||
.mw-rcfilters-ui-tagItemWidget-popup-content, | |||
.ace_optionsMenuEntry button, | |||
.ace_optionsMenuEntry button[ace_selected_button=true], | |||
.ace_search_field, | |||
.ace_search, | |||
.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), | |||
.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input, | .oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input, | ||
.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- | .oo-ui-popupWidget-popup, | ||
.oo-ui-textInputWidget .oo-ui-inputWidget-input, | .oo-ui-textInputWidget .oo-ui-inputWidget-input, | ||
.oo-ui- | .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:hover, | |||
.oo-ui- | .oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button, | ||
#wpDestFile, | #wpDestFile, | ||
#wpUploadDescription, | #wpUploadDescription, | ||
.mw-widgets-datetime-calendarWidget, | |||
.mw-widgets-datetime-dateTimeInputWidget-handle, | .mw-widgets-datetime-dateTimeInputWidget-handle, | ||
. | .mw-rcfilters-ui-filterMenuHeaderWidget-header, | ||
.growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module, | |||
. | .ext-growthExperiments-MenteeFilters__form, | ||
.ext-growthExperiments-NumberInput__input:enabled, | .ext-growthExperiments-NumberInput__input:enabled, | ||
.cdx-dialog, | |||
.cdx-select-vue--enabled .cdx-select-vue__handle, | |||
.cdx-select-vue--enabled .cdx-select-vue__handle:hover, | .cdx-select-vue--enabled .cdx-select-vue__handle:hover, | ||
.cdx-menu- | .cdx-menu, | ||
.cdx-checkbox__input:enabled+.cdx-checkbox__icon, | |||
. | .oo-ui-tagItemWidget.oo-ui-widget-disabled, | ||
. | .cdx-chip-input:not(.cdx-chip-input--disabled):not(.cdx-chip-input--has-separate-input) .cdx-chip-input__chips, | ||
.cdx-input-chip, | |||
.ext-communityConfiguration-Features__Feature, | |||
.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled, | |||
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover, | |||
.cdx-select:enabled, | .cdx-select:enabled, | ||
.cdx-select:enabled:hover, | .cdx-select:enabled:hover, | ||
.cdx-tabs:not(.cdx-tabs--framed) > .cdx-tabs__header, | |||
.cdx-text-input__input:enabled, | .cdx-text-input__input:enabled, | ||
.oo-ui- | .oo-ui-toolbar-position-top > .oo-ui-toolbar-bar, | ||
. | .ve-ui-mwLanguagesPage-languages-table th, .ve-ui-mwLanguagesPage-languages-table td, | ||
.wikiEditor-ui-toolbar .page-characters div span:hover { | .ve-ui-mwTwoPaneTransclusionDialogLayout > .oo-ui-menuLayout-menu, | ||
color: var(--ooui- | .oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above, | ||
.wikiEditor-ui-toolbar .page-characters div span, | |||
.wikiEditor-ui-toolbar .page-characters div span:hover, | |||
.cdx-checkbox__input:enabled:checked+.cdx-checkbox__icon, .cdx-checkbox__input:enabled:indeterminate+.cdx-checkbox__icon, | |||
.cdx-toggle-button--framed:enabled, | |||
.cdx-info-chip, | |||
#mwe-vue-pt-control-dropdown, | |||
.cdx-radio__input:enabled+.cdx-radio__icon, | |||
.mw-twocolconflict-single-column.mw-twocolconflict-split-copy, .mw-twocolconflict-split-column.mw-twocolconflict-split-copy { | |||
border-color: var(--ooui-border-color-light); | |||
} | } | ||
. | .mw-rcfilters-ui-watchlistTopSectionWidget-separator, | ||
.mw- | .mw-revslider-revision-tooltip .mw-revslider-filter-highlightable-row.mw-revslider-filter-highlight, | ||
.mw-revslider-revision-border-box, | |||
color: var(-- | .mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-handle:hover, | ||
.mw-rcfilters-ui-changesListWrapperWidget-previousChangesIndicator, | |||
.mw-rcfilters-ui-datePopupWidget, | |||
.oo-ui-searchWidget-query, | |||
.ext-replacetext-searchoptions .ext-replacetext-divider, | |||
.ve-ui-symbolListPage-symbol:hover, | |||
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section.mw-heading2, .ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section, | |||
#preferences .mw-htmlform-submit-buttons, | |||
.mw-revslider-revision, | |||
.mw-echo-ui-toggleReadCircleButtonWidget-circle-unread, | |||
#pt-notifications-alert .mw-echo-notifications-badge::after, #pt-notifications-notice .mw-echo-notifications-badge::after, | |||
.ext-growthExperiments-HorizontalDivider, | |||
.growthexperiments-homepage-mentorship-intro, .growthexperiments-homepage-module-mentorship-optin-intro, | |||
.ext-communityConfiguration-JsonForm__footer, | |||
.cdx-chip-input:not(.cdx-chip-input--disabled):not(.cdx-chip-input--has-separate-input) .cdx-chip-input__chips:hover, .cdx-chip-input:not(.cdx-chip-input--disabled).cdx-chip-input--has-separate-input .cdx-chip-input__separate-input:hover, | |||
.cdx-text-input__input:enabled:hover, | |||
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar, | |||
.ext-discussiontools-emptystate:not(:first-child), | |||
.wikiEditor-ui-toolbar .page-table td { | |||
border-color: var(--border-color-hr); | |||
} | } | ||
. | .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label, | ||
. | .oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button, | ||
. | .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active, | ||
color: | .oo-ui-processDialog-actions-primary .oo-ui-actionWidget > .oo-ui-buttonElement-button, | ||
.cdx-button:enabled.cdx-button--weight-quiet:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet:hover { | |||
border-color: transparent; | |||
} | } | ||
.cdx-message--success, | |||
.oo-ui- | .mw-twocolconflict-single-column.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-add, | ||
.oo-ui- | .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success, | ||
.mw- | #mwe-vue-pt-stats-navigation, | ||
. | .mw-notification.mw-notification-type-success, | ||
border- | .mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add, | ||
.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 { | |||
border-color: var(--border-color-message); | |||
} | } | ||
.oo-ui- | .mw-twocolconflict-single-column.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-delete, | ||
border- | .cdx-message--warning, | ||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning, | |||
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete, | |||
.mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:active + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget [type='radio'] + span { | |||
border-color: var(--border-color-warning); | |||
} | } | ||
.mw | .mw-ui-button:not(:disabled) { | ||
border-color: var(--theme-border-color-base); | |||
border- | |||
} | } | ||
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip { | |||
. | border-color: var(--ooui-bg-color); | ||
} | } | ||
. | .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 { | |||
border-color: var(--bg-color-notice); | |||
} | } | ||
.oo-ui- | .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, | |||
.mw-ui-button.mw-ui-destructive:not(:disabled), | |||
.mw-ui-button.mw-ui-destructive:not(:disabled):hover, | |||
.mwe-vue-pt-problem-chip { | |||
border-color: var(--border-color-error); | |||
} | } | ||
. | .oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button, | ||
.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active { | |||
border-right-color: var(--ooui-border-color); | |||
} | } | ||
. | .oo-ui-processDialog-actions-primary .oo-ui-actionWidget > .oo-ui-buttonElement-button { | ||
border-left-color: var(--ooui-border-color); | |||
} | } | ||
. | .mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget { | ||
border: 1px solid var(--ooui-border-color); | |||
} | } | ||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span, | |||
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio'] + span { | |||
border: 1px solid var(--border-color-hr); | |||
} | } | ||
.editOptions,.mw-editform .editOptions, | |||
.ui-widget input, | |||
#mw-scribunto-input, | |||
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button { | |||
border: 1px solid var(--ooui-border-color-light); | |||
} | } | ||
. | .growthexperiments-homepage-module-suggested-edits .growthexperiments-homepage-module-footer { | ||
border-color: var(--bg-color-notice-subtle); | |||
} | } | ||
. | .mw-notification.mw-notification-type-warn, | ||
.mw-destfile-warning { | |||
border-color: var(--bg-color-warning); | |||
} | } | ||
.oo-ui- | .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before { | ||
border-bottom-color: var(--ooui-border-color-light); | |||
} | } | ||
. | .ext-discussiontools-init-publishedcomment { | ||
border: 1px solid var(--border-color-message); | |||
} | } | ||
. | .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after { | ||
border-bottom-color: var(--ooui-bg-color-light); | |||
} | } | ||
. | .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before { | ||
border-top-color: var(--ooui-border-color-light); | |||
} | } | ||
.oo-ui- | .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after { | ||
border-top-color: var(--ooui-bg-color-light); | |||
} | } | ||
.oo-ui- | /* Стили с color-contrast */ | ||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover, | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:active, | |||
.mw-ui-button.mw-ui-progressive:not(:disabled):hover, | |||
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover, | |||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:hover, | |||
.cdx-checkbox__input:enabled:checked+.cdx-checkbox__icon, .cdx-checkbox__input:enabled:indeterminate+.cdx-checkbox__icon { | |||
background: var(--color-contrast); | |||
} | } | ||
.oo-ui-layout.oo-ui- | .mw-ui-button.mw-ui-progressive:not(:disabled):hover, | ||
form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active, | |||
span.fileinput-button:hover, | |||
.ace_optionsMenuEntry button:hover, | |||
.ace_button.checked, | |||
.ace_editor.ace_autocomplete .ace_line-hover, | |||
.ui-state-default:hover, | |||
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:hover, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover, | |||
.mw-ui-button.mw-ui-progressive:not(:disabled), | |||
.mw-body h1.firstHeading, | |||
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input, | |||
.mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover, | |||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, | |||
.ext-growthExperiments-NumberInput__input:enabled:hover, | |||
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover, | |||
.ve-init-mw-progressBarWidget, | |||
.cdx-radio__input:enabled:checked+.cdx-radio__icon { | |||
border-color: var(--color-contrast); | |||
} | } | ||
.oo-ui- | .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected, | ||
.ace_searchbtn_close:hover, | |||
.ext-WikiEditor-ResizingDragBar:hover span, | |||
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on, | |||
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover .oo-ui-toggleSwitchWidget-grip, | |||
.oo-ui- | .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:active, .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-popupToolGroup-handle, .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle, | ||
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active, .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link, .oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link, | |||
form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active, | |||
span.fileinput-button:hover, | |||
. | .ace_optionsMenuEntry button:hover, | ||
background: | .ace_button.checked, | ||
.ace_editor.ace_autocomplete .ace_line-hover, | |||
.ui-state-default:hover, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:hover, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover, | |||
.mw-ui-button.mw-ui-progressive:not(:disabled), | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button, | |||
form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'], | |||
.ve-ce-linkAnnotation.ve-ce-annotation-active, | |||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link, | |||
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive, | |||
.cdx-toggle-button-group .cdx-toggle-button--toggled-on:enabled { | |||
background: var(--color-contrast-dark); | |||
} | } | ||
. | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, | ||
border | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button, | |||
form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'], | |||
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive, | |||
.cdx-toggle-button-group .cdx-toggle-button--toggled-on:enabled { | |||
border-color: var(--color-contrast-dark); | |||
} | } | ||
. | .cdx-menu-item--enabled.cdx-menu-item--selected { | ||
background: var(--color-contrast2); | |||
} | } | ||
. | ul li.selected:not(.init), | ||
.oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button, | |||
.mw-portlet-body #ca-move.selected, | |||
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover, | |||
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted, | |||
.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover, | |||
.cdx-menu-item--enabled.cdx-menu-item--highlighted { | |||
background: var(--color-contrast2-dark); | |||
} | } | ||
.mw- | /* box-shadow */ | ||
.ve-ce-linkAnnotation.ve-ce-annotation-active, | |||
.oo-ui-menuSelectWidget, | |||
.oo-ui-popupToolGroup-tools, | |||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-datatable, | |||
.ext-growthExperiments-MenteeFilters__form { | |||
box-shadow: var(--box-shadow); | |||
} | } | ||
.wikiEditor-ui-toolbar, | |||
.vector-user-links .vector-user-menu-more .vector-menu-content-list li a, | |||
.mw-notification { | |||
box-shadow: var(--box-shadow-medium); | |||
} | } | ||
# | #ace_settingsmenu, #kbshortcutmenu { | ||
box-shadow: var(--box-shadow-high); | |||
} | } | ||
.mw- | .mw-echo-ui-crossWikiNotificationItemWidget-group, .mw-echo-ui-bundleNotificationItemWidget-group { | ||
box-shadow: var(--box-shadow-inset); | |||
} | } | ||
.ace_optionsMenuEntry button, | |||
.ace_optionsMenuEntry button[ace_selected_button=true] { | |||
box-shadow: var(--box-shadow-inset-high); | |||
} | } | ||
. | .oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button, | ||
.cdx-toggle-button-group .cdx-toggle-button--toggled-on:enabled { | |||
box-shadow: none; | |||
} | } | ||
.mw- | /* color */ | ||
.mw-echo-ui-pageNotificationsOptionWidget-label-count, | |||
#contentSub, | |||
.mw-templatedata-doc-muted, | |||
.mw- | .mw-templatedata-doc-param-alias, | ||
.oo-ui-labelWidget.oo-ui-inline-help, | |||
.wikiEditor-ui-toolbar .group .label, | |||
.mw-wikiEditor-InsertLink-TitleInputField .oo-ui-messageWidget, | |||
.ext-templatewizard-templateform .oo-ui-menuLayout-menu .ext-templatewizard-section-header, | |||
. | .mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title, | ||
text- | .mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-emptyFilters, | ||
.mw-rcfilters-ui-savedLinksListWidget-placeholder-description, | |||
.results-info, | |||
.mw-search-result-data, | |||
.mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title, | |||
.tdg-templateDataParamWidget-param-description, | |||
.mw-echo-ui-notificationsListWidget:not(:hover) a, #p-personal .mw-echo-ui-notificationsListWidget:not(:hover) a.new, | |||
.mw-echo-ui-notificationItemWidget-content-message-body, | |||
.ext-growthExperiments-CText--color-subtle, | |||
.growthexperiments-homepage-module .growthexperiments-homepage-module-subheader, .growthexperiments-homepage-module h3.growthexperiments-homepage-module-subheader, | |||
.oo-ui-widget.mw-ge-homepage-taskTypeSelectionWidget-checkbox-create .mw-ge-homepage-taskTypeSelectionWidget-additional-msg, .oo-ui-widget.mw-ge-homepage-taskTypeSelectionWidget-checkbox-image-recommendation .mw-ge-homepage-taskTypeSelectionWidget-additional-msg, .oo-ui-widget.mw-ge-homepage-taskTypeSelectionWidget-checkbox-section-image-recommendation .mw-ge-homepage-taskTypeSelectionWidget-additional-msg, .oo-ui-widget.mw-ge-homepage-taskTypeSelectionWidget-checkbox-link-recommendation .mw-ge-homepage-taskTypeSelectionWidget-additional-msg, | |||
.mw-ge-homepage-taskTypeSelectionWidget-create-body, | |||
.mw-ge-suggestededits-articleCountWidget .oo-ui-labelWidget, | |||
.mw-ge-startediting-dialog-progress-label, | |||
.mw-ge-startediting-dialog-progress-indicator, | |||
.mw-ge-startediting-dialog-difficulty-legend-description-body, | |||
.mw-ge-help-panel-home-button-text-subheader, | |||
.mw-ge-help-panel-processdialog label > strong, | |||
.mw-ge-help-panel-processdialog h2, | |||
.ext-discussiontools-init-timestamplink, .ext-discussiontools-init-timestamplink:visited, .ext-discussiontools-init-timestamplink:active, | |||
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section.mw-heading2-metaitem, .ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section-metaitem, | |||
.ext-discussiontools-ui-targetWidget > .ve-init-target > .ve-ui-surface .ve-ui-completionWidget-header > .oo-ui-labelElement-label, | |||
.mw-ge-help-panel-popup-search-search-result div, | |||
.ext-discussiontools-ui-replyWidget-preview::before, | |||
.mw-body-content .mw-echo-ui-datedSubGroupListWidget-title-secondary, | |||
.mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title, | |||
.mw-rcfilters-ui-itemMenuOptionWidget-label-desc, | |||
.mw-rcfilters-ui-tagItemWidget.oo-ui-flaggedElement-muted.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-labelElement-label, | |||
.mw-widget-dateInputWidget-empty .mw-widget-dateInputWidget-handle, | |||
.growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module h3, | |||
.growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module-mentor-tools .growthexperiments-mentor-dashboard-module-mentor-tools-other-actions .growthexperiments-mentor-dashboard-module-mentor-tools-claim-mentee-footer, | |||
.growthexperiments-mentor-dashboard-module-mentee-overview h4, | |||
.growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module-mentor-tools h4, | |||
.suggested-edits-task-explanation-wrapper .suggested-edits-short-description, | |||
.growthexperiments-homepage-mentorship-editcount, .growthexperiments-homepage-module-mentorship-optin-editcount, .growthexperiments-homepage-mentorship-lastactive, .growthexperiments-homepage-module-mentorship-optin-lastactive, | |||
.cdx-field:not(.cdx-field--disabled) .cdx-field__help-text, | |||
.cdx-label:not(.cdx-label--disabled) .cdx-label__label__optional-flag, .cdx-label:not(.cdx-label--disabled) .cdx-label__description, | |||
.cdx-tabs:not(.cdx-tabs--framed) > .cdx-tabs__header .cdx-tabs__list__item[aria-selected=false], | |||
.ve-ui-mwHelpListToolGroup-version-link, .ve-ui-mwHelpListToolGroup-version-date, | |||
.mw-ge-help-panel-home-button-preheader-text, | |||
.mw-body-content .recent-questions-growthexperiments-help-questions h3, .overlay-content .recent-questions-growthexperiments-help-questions h3, .content .recent-questions-growthexperiments-help-questions h3, .mw-body-content .recent-questions-growthexperiments-mentor-questions h3, .overlay-content .recent-questions-growthexperiments-mentor-questions h3, .content .recent-questions-growthexperiments-mentor-questions h3, | |||
.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, | |||
.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); | |||
} | } | ||
. | .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-highlighted, | ||
.mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-single-column, | |||
.oo-ui-searchWidget-results, | |||
.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-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, | ||
.ace_searchbtn, | |||
.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-searchWidget-query, | |||
.mw-ge-startediting-dialog-difficulty-banner, | |||
.mw-ge-help-panel-popup .oo-ui-dialog, | |||
.ve-ui-targetWidget:not(.oo-ui-pendingElement-pending), | |||
.ace_editor.ace_autocomplete, | |||
.ext-growthExperiments-CPopper__popover, | |||
.mw-rcfilters-ui-tagItemWidget-popup-content, | |||
span. | .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip, | ||
#ace_settingsmenu, #kbshortcutmenu, | |||
.growthexperiments-homepage-module-suggested-edits .growthexperiments-homepage-module-footer, | |||
.mw-twocolconflict-split-editable .mw-twocolconflict-split-editor, | |||
.cdx-message, | |||
.mw-message-box, | |||
.wikiEditor-ui-toolbar .booklet > .index, | |||
.ace_searchbtn.prev:after, | |||
.ace_searchbtn.next:after, | |||
.wikiEditor-ui-toolbar .group .tool-select .label, | |||
.mw-special-Contribute .mw-contribute-card-content, | |||
.wikiEditor-ui-toolbar .tabs span.tab a.current, .wikiEditor-ui-toolbar .tabs span.tab a.current:visited, | |||
.ext-templatewizard-templateform .oo-ui-menuLayout-menu .ext-templatewizard-parameter-list-inner .oo-ui-buttonElement.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive .oo-ui-labelElement-label, .ext-templatewizard-templateform .oo-ui-menuLayout-menu .ext-templatewizard-parameter-list-inner .oo-ui-buttonElement.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive .oo-ui-labelElement-label, | |||
.wikiEditor-ui-toolbar .page-table th, | |||
.wikiEditor-ui-toolbar .page-table td, | |||
#ca-nstab-mediawiki.a, | |||
.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label, | |||
.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget, | |||
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover, | |||
.mw-widget-calendarWidget-day-heading, | |||
. | .mw-widget-calendarWidget-day, | ||
.mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label, | |||
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button, | |||
.oo-ui-messageDialog-message, | |||
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active, | |||
.mw-rcfilters-ui-savedLinksListWidget-placeholder.oo-ui-optionWidget .oo-ui-labelElement-label, | |||
. | .oo-ui-tabOptionWidget, | ||
.mw-echo-ui-notificationItemWidget-content-message-header, | |||
.growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .se-card-no-results .se-card-title, .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .se-card-error .se-card-title, .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .se-card-end-of-queue .se-card-title, .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .se-card-no-results .se-card-text, .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .se-card-error .se-card-text, .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .se-card-end-of-queue .se-card-text, | |||
p.mw-ge-homepage-taskTypeSelectionWidget-difficulty-level-desc, | |||
. | .suggested-edits-topic-filters-topic-selector h4, .suggested-edits-topic-filters-topic-selector p, | ||
.mw-ge-startediting-dialog-intro-general-title, .mw-ge-startediting-dialog-intro-general-header, | |||
.mw-ge-startediting-dialog-difficulty-header, | |||
.mw-ge-startediting-dialog-difficulty-legend-description-header, | |||
. | .mw-ge-help-panel-processdialog .oo-ui-window-head .oo-ui-processDialog-title, | ||
.mw-ge-help-panel-processdialog .mw-ge-help-panel-home-button h2, | |||
.mw-ge-help-panel-popup .oo-ui-dialog, | |||
.oo-ui-toolbar-bar, | |||
.ext-discussiontools-ui-targetWidget > .ve-init-target > .ve-ui-surface .ve-ui-completionWidget-header > .oo-ui-labelElement-label > 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, | ||
.ace_search, | |||
.ace_search_field, | |||
#pagehistory li.selected, | |||
.oo-ui-popupWidget-popup, | |||
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget, | |||
.mw-rcfilters-ui-itemMenuOptionWidget-label-title, | |||
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select, | |||
span. | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover, | ||
.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, | |||
.ui-widget-header, | |||
.ui-widget-content, | |||
.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label, | |||
#mw-scribunto-input, | |||
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget, | |||
.search-types .current a, | |||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-datatable, | |||
.growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module .growthexperiments-mentor-dashboard-module-header, | |||
.cdx-select-vue--enabled .cdx-select-vue__handle, | |||
.cdx-menu-item--enabled, .cdx-menu-item--enabled .cdx-menu-item__content, | |||
.oo-ui-tagItemWidget.oo-ui-widget-disabled, | |||
.suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-time-estimate .suggested-edits-difficulty-level, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-time-estimate .suggested-edits-difficulty-level, | |||
.growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper .se-card-content .se-card-text, | |||
.growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-pager, | |||
.suggested-edits-mobile-peek-content .suggested-edits-header-text h4, .suggested-edits-panel-header .suggested-edits-header-text h4, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-main, .mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-main-multiple, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-footer-text, | |||
.suggested-edits-taskexplanation-difficulty-and-time p, .suggested-edits-taskexplanation-additional-info p, | |||
.growthexperiments-homepage-mentorship-intro, .growthexperiments-homepage-module-mentorship-optin-intro, | |||
.cdx-input-chip, | |||
.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-example-text, | |||
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark, | |||
.wikiEditor-ui-toolbar .page-characters div span, | |||
.cdx-toggle-button--framed:enabled, | |||
.cdx-info-chip--text, | |||
.mw-twocolconflict-single-column, .mw-twocolconflict-split-column { | |||
color: var(--ooui-text-color); | |||
} | } | ||
. | .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover, | ||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover, | |||
.wikiEditor-ui-toolbar .booklet > .index > .current, | |||
.wikiEditor-ui-toolbar .group, .wikiEditor-ui-toolbar .section-secondary .group, | |||
. | .oo-ui-processDialog-errors-title, | ||
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label, | |||
.mw-echo-ui-notificationItemWidget-content-actions-timestamp, | |||
.growthexperiments-homepage-module .growthexperiments-homepage-module-header, .growthexperiments-homepage-module h2.growthexperiments-homepage-module-header, | |||
. | .mw-ge-startediting-dialog-progress-indicator-completed, | ||
.oo-ui-messageDialog-title, | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover, | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:active, | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected, | |||
form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active, | |||
. | span.fileinput-button:hover, | ||
.ace_optionsMenuEntry button:hover, | |||
.ace_button.checked, | |||
.ace_editor.ace_autocomplete .ace_line-hover, | |||
.mw-rcfilters-ui- | .ui-state-default:hover, | ||
.wikiEditor-ui-toolbar, | |||
.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input, | |||
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle, | |||
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget, | |||
.oo-ui-buttonElement-framed.oo-ui-widget- | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover, | ||
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, | |||
.oo-ui-tagMultiselectWidget-handle .oo-ui-tagMultiselectWidget-group > input, | |||
.oo-ui- | .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted, | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover, | |||
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover, | |||
.editOptions, .mw-editform .editOptions, | |||
.mw- | .oo-ui-textInputWidget .oo-ui-inputWidget-input, | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button, | |||
form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'], | |||
#wpDestFile, | |||
#wpUploadDescription, | |||
.mw-widgets-datetime-dateTimeInputWidget-handle, | |||
.ui-widget input, | |||
.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context, | |||
.mw-widget-dateInputWidget-handle, | |||
.ext-growthExperiments-NumberInput__input:enabled, | |||
.cdx-select-vue--enabled .cdx-select-vue__handle:hover, | |||
.cdx-menu-item--enabled.cdx-menu-item--highlighted .cdx-menu-item__content, .cdx-menu-item--enabled.cdx-menu-item--highlighted .cdx-menu-item__text__description, | |||
.suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-medium, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-medium, | |||
.suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-hard, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-hard, | |||
.suggested-edits-taskexplanation-difficulty-and-time .suggested-edits-difficulty-indicator-easy, .suggested-edits-taskexplanation-additional-info .suggested-edits-difficulty-indicator-easy, | |||
.cdx-chip-input__input, | |||
.cdx-select:enabled, | |||
.cdx-select:enabled:hover, | |||
.cdx-text-input__input:enabled, | |||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link, | |||
.ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-optionWidget-highlighted, | |||
.wikiEditor-ui-toolbar .page-characters div span:hover, | |||
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover, | |||
.cdx-toggle-button--framed:enabled:hover, | |||
.cdx-button:enabled.cdx-button--weight-quiet.cdx-button--action-destructive:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet.cdx-button--action-destructive:hover, | |||
.cdx-toggle-button--framed.cdx-toggle-button--toggled-on:enabled { | |||
color: var(--ooui-text-color-light); | |||
} | } | ||
. | .wikiEditor-ui-toolbar .tabs span.tab a, | ||
.mw-special-Contribute .mw-contribute-card-action, | |||
ul.fileupload-results li.ful-success a { | |||
color: var(--text-color-link); | |||
} | } | ||
. | .ext-WikiEditor-realtimepreview-button.oo-ui-toggleWidget-on .oo-ui-labelElement-label, | ||
.ext-growthExperiments-ScoreCards__link:visited, | |||
.ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage, .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage.oo-ui-optionWidget-highlighted { | |||
color: var(--color-progressive); | |||
} | } | ||
. | .cdx-button:enabled.cdx-button--weight-quiet.cdx-button--action-destructive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet.cdx-button--action-destructive { | ||
color: var(--text-color-link-new); | |||
} | } | ||
.oo-ui- | /* border-radius */ | ||
.oo-ui-tagMultiselectWidget-handle, .oo-ui-panelLayout-padded, | |||
} | .oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button, | ||
.mw-widgets-datetime-dateTimeInputWidget-handle, | |||
.cdx-input-chip { | |||
border-radius: var(--border-radius-low); | |||
} | |||
.oo-ui- | .oo-ui-tagItemWidget, | ||
.cdx-info-chip { | |||
border-radius: var(--border-radius-medium); | |||
} | } | ||
.oo-ui- | .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget, | ||
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { | |||
border-radius: var(--border-radius-high) var(--border-radius-high) 0 0; | |||
} | } | ||
. | /* Остальное */ | ||
.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)); | |||
} | } | ||
. | .mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark { | ||
mix-blend-mode: unset; | |||
} | } | ||
. | .ve-ce-branchNode-blockSlug, html body p.ve-ce-branchNode-newSlug { | ||
border- | outline-color: var(--border-color-hr); | ||
} | } | ||
.oo-ui- | .oo-ui-toolbar, .ve-init-mw-editSwitch .oo-ui-toolbar-bar, .ve-init-mw-editSwitch .oo-ui-popupToolGroup, .ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-iconElement .oo-ui-popupToolGroup-handle { | ||
height: 100%; | |||
} | } | ||
. | .growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module-mentor-tools .oo-ui-dropdownWidget { | ||
display: inline-block; | |||
padding- | padding-top: 0; | ||
} | } | ||
.mw- | .client-js .mw-changeslist ul, .client-js .mw-changeslist table.mw-enhanced-rc { | ||
margin-left: 6px; | |||
} | } | ||
. | .ace_optionsMenuEntry input, .ace_optionsMenuEntry button { | ||
margin: 0.35em 0.2em 0.25em 0; | |||
} | } | ||
#footer-poweredbyico a { | |||
background-image: url(https://commons.wiki.gg/images/1/1c/MediaWiki_footer_badge_dark.svg?12ec0a); | |||
background-position: 50% 50%; | |||
background-size: 88px 31px; | |||
background-repeat: no-repeat; | |||
} | } | ||
. | body:not(.wgl-theme-light) #footer-poweredbyico a img { | ||
visibility: hidden; | |||
} | } | ||
. | .ace_search { | ||
padding: 6px 4px 2px 4px; | |||
} | } | ||
. | .ace_search_field { | ||
margin: 0 2px 0 0 !important; | |||
} | } | ||
. | .oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input, | ||
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle { | |||
text-shadow: none; | |||
} | } | ||
.mw- | .mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget { | ||
padding: 0.6em; | |||
} | } | ||
.mw-changeslist-legend { | |||
max-width: 300px; | |||
} | } | ||
.oo-ui- | .mw-changeslist-legend, | ||
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-iconWidget { | |||
display: none; | |||
} | } | ||
.oo-ui- | .mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget > .mw-changeslist-legend { | ||
display: block; | |||
} | } | ||
.oo-ui- | .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget, | ||
.mw-rcfilters-ui-itemMenuOptionWidget-label-title, | |||
.mw-rcfilters-ui-itemMenuOptionWidget-label-desc { | |||
cursor: pointer; | |||
} | } | ||
.oo-ui- | .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio'] { | ||
margin: 0; | margin: 0; | ||
} | } | ||
.oo-ui- | .oo-ui-layout.oo-ui-panelLayout.oo-ui-panelLayout-padded.mw-prefs-fieldset-wrapper { | ||
padding: 1em; | |||
} | } | ||
.ui- | .oo-ui-pendingElement-pending { | ||
background: | --background-color-interactive: var(--ooui-bg-color); | ||
--background-color-base: var(--ooui-border-color-light); | |||
} | } | ||
.ui-widget- | .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, | ||
border: | .cdx-radio__input:enabled:checked+.cdx-radio__icon { | ||
border-width: 2px; | |||
} | } | ||
. | .mw-prefs-search-highlight { | ||
background: transparent !important; | |||
outline: 2px solid var(--bg-color-emerald-50) !important; | |||
border-radius: 0 !important; | |||
} | } | ||
.wikiEditor- | .wikiEditor-ui-text textarea#wpTextbox1 { | ||
border: none; | |||
border: none | |||
background: var(--theme-bg-color-base); | background: var(--theme-bg-color-base); | ||
} | } | ||
. | .ace_search_form.ace_nomatch { | ||
outline: 1px solid #922626 | |||
} | } | ||
. | .wikiEditor-ui-toolbar .section-secondary .group.empty { | ||
display: none; | |||
} | } | ||
. | .mw-collapsibleFieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon { | ||
top: 2px; | |||
} | } | ||
. | #pagehistory li.selected { | ||
outline: none; | |||
} | } | ||
#mw-subcategories, #mw-pages, #mw-category-media, #filehistory, #wikiPreview, #wikiDiff { | |||
clear: both; | clear: both; | ||
} | } | ||
. | .mw-tag-markers { | ||
font-style: italic; | |||
font-size: 90% | |||
} | } | ||
/* #endregion */ | |||
. | /* ============ */ | ||
/* #region Неотсортированные */ | |||
/* ============ */ | |||
form.createbox:invalid .cdx-button { | |||
background-color: var(--theme-bg-color-200) !important; | |||
color: var(--theme-text-color) !important; | |||
border-color: var(--theme-bg-color-200) !important; | |||
} | } | ||
. | .noExternal>.external { | ||
padding-right: 0px !important; | |||
background-image: none !important; | |||
} | } | ||
. | .mw-mmv-image>*, .fullImageLink>*>* { | ||
image-rendering: auto !important; | |||
} | } | ||
. | .mw-parser-output a[href$=".pdf"].external,.mw-parser-output a[href*=".pdf?"].external,.mw-parser-output a[href*=".pdf#"].external,.mw-parser-output a[href$=".PDF"].external,.mw-parser-output a[href*=".PDF?"].external,.mw-parser-output a[href*=".PDF#"].external { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right; | |||
padding-right: 18px | |||
} | } | ||
. | .nounderlines a,.IPA a:link,.IPA a:visited { | ||
text-decoration: none !important | |||
} | } | ||
. | .nowrap,.nowraplinks a { | ||
white-space: nowrap | |||
} | } | ||
. | .wrap,.wraplinks a { | ||
white-space: normal | |||
} | } | ||
. | .thumbinner { | ||
min-width: 100px; | |||
border-color: var(--ooui-border-color); | |||
} | } | ||
. | .thumbinner .thumbimage, .thumbborder { | ||
border: solid 1px var(--ooui-border-color); | |||
} | } | ||
. | ul.permissions-errors>li { | ||
list-style: none none | |||
} | } | ||
. | ul.permissions-errors { | ||
margin: 0 | |||
} | } | ||
. | span.texhtml { | ||
font-family: "Nimbus Roman No9 L","Times New Roman",Times,serif; | |||
font-size: 118%; | |||
line-height: 1; | |||
white-space: nowrap; | |||
-moz-font-feature-settings: "lnum","tnum","kern" 0; | |||
-webkit-font-feature-settings: "lnum","tnum","kern" 0; | |||
font-feature-settings: "lnum","tnum","kern" 0; | |||
font-variant-numeric: lining-nums tabular-nums; | |||
font-kerning: none | |||
} | } | ||
. | span.texhtml span.texhtml { | ||
font-size: 100% | |||
} | } | ||
span.mwe-math-mathml-inline { | |||
font-size: 118% | |||
} | } | ||
.mwe-math-fallback-image-display,.mwe-math-mathml-display { | |||
margin-left: 1.6em !important; | |||
margin-top: 0.6em; | |||
margin-bottom: 0.6em | |||
} | } | ||
.mwe-math-mathml-display math { | |||
display: inline | |||
} | } | ||
.k-player .k-attribution { | |||
visibility: hidden | |||
} | } | ||
.PopUpMediaTransform a .play-btn-large { | |||
margin: 0; | |||
top: auto; | |||
right: auto; | |||
bottom: 0; | |||
left: 0 | |||
} | } | ||
.flaggedrevs_draft_synced,.flaggedrevs_stable_synced,#t-upload,.mw-special-Book #coll-downloadbox { | |||
# | display: none | ||
} | } | ||
# | #site-tools { | ||
display: none !important | |||
} | } | ||
span.comment { | |||
overflow-wrap: break-word | |||
} | } | ||
.mw-content-ltr .tocnumber { | |||
color: grey | |||
} | } | ||
.quickbox { | |||
border: 1px solid var(--ooui-border-color); | |||
border: 1px solid var(-- | |||
} | } | ||
.quickboxhead { | |||
background: var(--bg-color- | border-bottom: 1px solid var(--ooui-border-color); | ||
background: var(--theme-bg-color-base); | |||
text-align: center | |||
} | } | ||
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { | |||
color: var(--ooui-bg-color); | |||
} | } | ||
.mw-rcfilters-ui-changesListWrapperWidget:not(.mw-rcfilters-ui-changesListWrapperWidget-highlighted) .mw-changeslist-watchedseen div.mw-rcfilters-ui-highlights-color-none { | |||
background: var(--ooui-border-color-light); | |||
border- | border: 1px solid var(--color-contrast); | ||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button { | |||
border-color: var(--ooui-bg-color-light); | |||
} | } | ||
.oo-ui-processDialog-content > .oo-ui-window-head, .oo-ui-processDialog-content > .oo-ui-window-foot { | |||
outline-color: var(--ooui-border-color); | |||
} | } | ||
.mw-templateData-template-add-map-button-panel.oo-ui-layout.oo-ui-panelLayout.oo-ui-panelLayout-padded.oo-ui-panelLayout-expanded.tdg-templateDataDialog-addNewMapButtonPanel { | |||
display: flex; | |||
align-items: center; | |||
} | } | ||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected { | |||
outline: 1px solid var(--ooui-border-color); | |||
} | } | ||
.mw-rcfilters-ui-itemMenuOptionWidget .mw-rcfilters-ui-table { | |||
font-size: 0.9em; | |||
} | } | ||
.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget.oo-ui-textInputWidget > .oo-ui-inputWidget-input, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-dropdownWidget-handle, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-tagMultiselectWidget-handle { | |||
margin: 0; | |||
} | } | ||
.oo-ui-layout.oo-ui-fieldLayout.oo-ui-fieldLayout-align-top.oo-ui-actionFieldLayout { | |||
margin: 0.5em 0; | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | |||
font-weight: bold; | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button { | |||
display: flex; | |||
align-items: center; | |||
} | } | ||
.group.group-search { | |||
border: none; | |||
border | |||
} | } | ||
.editOptions, .mw-editform .editOptions { | |||
border-top: none; | |||
} | } | ||
.oo-ui-tagMultiselectWidget-input.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-iconElement.oo-ui-textInputWidget.oo-ui-textInputWidget-type-text { | |||
background: var(--ooui-border-color); | |||
} | } | ||
# | .mw-rcfilters-ui-filterMenuHeaderWidget-header-highlight { | ||
background: var(--bg-color- | padding-right: 0.3em; | ||
} | padding-left: 0.3em; | ||
} | |||
# | |||
# | .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { | ||
position: relative; | padding: 0; | ||
background: var(--bg-color- | } | ||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: | .mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { | ||
} | border-color: var(--ooui-border-color); | ||
display: flex; | |||
# | align-items: center; | ||
# | padding: 0; | ||
border-left: 3px solid var(--color-darkened-border); | gap: 2px; | ||
} | } | ||
# | @media screen { | ||
background: var(--bg-color- | .mw-body-content .recipeimg a > img { | ||
} | padding: 0; | ||
margin: 0; | |||
/* | border: 0; | ||
# | width: 32px !important; | ||
border: 1px solid var(--bg-color- | max-width: 32px !important; | ||
} | height: 32px !important; | ||
max-height: 32px !important | |||
# | } | ||
background: var(--bg-color- | } | ||
} | |||
.positive { | |||
# | color: #00FF00; | ||
# | font-weight: bold | ||
position: relative; | } | ||
background: var(--bg-color- | |||
border-bottom: 3px solid var(--color-darkened-border); | .negative { | ||
box-shadow: | color: #FF0000; | ||
} | font-weight: bold | ||
} | |||
# | |||
# | .anglerect { | ||
border-left: 3px solid var(--color-darkened-border); | --angle-rect-clip-size: 16px; | ||
} | clip-path: polygon(0 0,calc(100% - var(--angle-rect-clip-size)) 0,100% var(--angle-rect-clip-size),100% 100%,var(--angle-rect-clip-size) 100%,0 calc(100% - var(--angle-rect-clip-size))) | ||
} | |||
#SEC.wikitable tr | |||
background: var(--bg-color-red- | .flex { | ||
} | display: flex | ||
} | |||
/* BOTANY */ | |||
#BOTANY.wikitable { | .mw-body dd { | ||
border: 1px solid var(--bg-color-emerald- | margin: 0.2em; | ||
} | margin-left: 1.6em | ||
} | |||
#BOTANY.wikitable th { | |||
background: var(--bg-color-emerald- | ol.references li:target,sup.reference:target { | ||
} | background: var(--ooui-bg-color-light); | ||
padding: 0px 1px 3px 1px; | |||
#BOTANY.wikitable thead tr th, | } | ||
.oo-ui-messageDialog-content > .oo-ui-window-foot { | |||
outline-color: var(--ooui-border-color); | |||
} | |||
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover { | |||
z-index: 1; | |||
} | |||
.oo-ui-comboBoxInputWidget-field { | |||
display: flex; | |||
align-items: center; | |||
} | |||
.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 { | |||
margin: 0; | |||
} | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus { | |||
box-shadow: inset var(--box-shadow-medium); | |||
} | |||
.ui-widget-overlay { | |||
background: #000000; | |||
} | |||
.ui-widget-header { | |||
border: none !important; | |||
} | |||
.ui-widget-content { | |||
border: 1px solid var(--ooui-border-color) !important; | |||
} | |||
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane, | |||
.wikiEditor-toolbar-dialog .ui-dialog-content { | |||
border: none !important; | |||
} | |||
.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context { | |||
background: var(--theme-bg-color-base); | |||
border-color: var(--theme-bg-color-base); | |||
} | |||
.diff-addedline .diffchange, .diff-deletedline .diffchange { | |||
border-radius: var(--border-radius-low); | |||
padding: 0.2em 0; | |||
} | |||
.diff-deletedline .diffchange { | |||
background: var(--bg-color-yellow-subtle); | |||
} | |||
.diff-addedline .diffchange { | |||
background: var(--bg-color-azure-subtle); | |||
} | |||
.diff-deletedline { | |||
border-color: var(--bg-color-yellow-150) !important; | |||
} | |||
.diff-addedline { | |||
border-color: var(--bg-color-blue-150) !important; | |||
} | |||
.codeEditor-status { | |||
clear: both; | |||
width: 100%; | |||
background: var(--theme-bg-color-100); | |||
border-top: 1px solid var(--ooui-border-color-light); | |||
display: table | |||
} | |||
.codeEditor-status-message { | |||
border-left: 1px solid var(--ooui-border-color-light); | |||
border-right: 1px solid var(--ooui-border-color-light); | |||
padding: 0 0.3em; | |||
width: 100%; | |||
display: table-cell | |||
} | |||
.overflowed { | |||
margin: 0; | |||
} | |||
.scroll-left.overflowed .content-table-left, | |||
.scroll-right.overflowed .content-table-right { | |||
border-left: solid 1px rgba(var(--color-lighter--rgb), 0.4); | |||
z-index: 9999; | |||
} | |||
.scroll-left.overflowed .content-table-left { | |||
box-shadow: 1px 0px 2px 2px rgba(0, 0, 0, 0.2); | |||
} | |||
.scroll-right.overflowed .content-table-right { | |||
box-shadow: -1px 0px 2px 2px rgba(0, 0, 0, 0.2); | |||
} | |||
.style-for-sub-numbered-lists ol { | |||
counter-reset: item | |||
} | |||
.style-for-sub-numbered-lists li { | |||
display: block | |||
} | |||
.style-for-sub-numbered-lists li:before { | |||
content: counters(item,".") ". "; | |||
counter-increment: item | |||
} | |||
.section { | |||
display: flex; | |||
flex-wrap: wrap | |||
} | |||
.section .col { | |||
flex: 1 1 auto | |||
} | |||
.section .line-break { | |||
flex-basis: 100%; | |||
width: 0px; | |||
height: 0px; | |||
overflow: hidden | |||
} | |||
.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label { | |||
font-weight: bold; | |||
} | |||
.mw-datatable th { | |||
background: var(--theme-bg-color-100) | |||
} | |||
.pretoclip-copy-button { | |||
float: right | |||
} | |||
.mw-scribunto-message { | |||
color: var(--se-cm--xml-tag-color); | |||
} | |||
/*Цвета таблиц для разных отделов*/ | |||
/* COM */ | |||
#COM.wikitable { | |||
border: 1px solid var(--bg-color-blue-100); | |||
} | |||
#COM.wikitable th { | |||
background: var(--bg-color-blue-100); | |||
} | |||
#COM.wikitable thead tr th, | |||
#COM.wikitable:not(:has(thead)) tr:first-of-type th { | |||
position: relative; | |||
background: var(--bg-color-blue-50); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: var(--box-shadow-medium); | |||
} | |||
#COM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child, | |||
#COM.wikitable thead + tbody > tr th:first-child { | |||
border-left: 3px solid var(--color-darkened-border); | |||
} | |||
/* MED */ | |||
#MED.wikitable { | |||
border: 1px solid var(--bg-color-sky-blue-100); | |||
} | |||
#MED.wikitable th { | |||
background: var(--bg-color-sky-blue-100); | |||
} | |||
#MED.wikitable thead tr th, | |||
#MED.wikitable:not(:has(thead)) tr:first-of-type th { | |||
position: relative; | |||
background: var(--bg-color-sky-blue-50); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: var(--box-shadow-medium); | |||
} | |||
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child, | |||
#MED.wikitable thead + tbody > tr th:first-child { | |||
border-left: 3px solid var(--color-darkened-border); | |||
} | |||
/* SRV */ | |||
#SRV.wikitable { | |||
border: 1px solid var(--bg-color-green-100); | |||
} | |||
#SRV.wikitable th { | |||
background: var(--bg-color-green-100); | |||
} | |||
#SRV.wikitable thead tr th, | |||
#SRV.wikitable:not(:has(thead)) tr:first-of-type th { | |||
position: relative; | |||
background: var(--bg-color-green-50); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: var(--box-shadow-medium); | |||
} | |||
#SRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child, | |||
#SRV.wikitable thead + tbody > tr th:first-child { | |||
border-left: 3px solid var(--color-darkened-border); | |||
} | |||
/* ENG */ | |||
#ENG.wikitable { | |||
border: 1px solid var(--bg-color-yellow-100); | |||
} | |||
#ENG.wikitable th { | |||
background: var(--bg-color-yellow-100); | |||
} | |||
#ENG.wikitable thead tr th, | |||
#ENG.wikitable:not(:has(thead)) tr:first-of-type th { | |||
position: relative; | |||
background: var(--bg-color-yellow-50); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: var(--box-shadow-medium); | |||
} | |||
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child, | |||
#ENG.wikitable thead + tbody > tr th:first-child { | |||
border-left: 3px solid var(--color-darkened-border); | |||
} | |||
/* RND */ | |||
#RND.wikitable { | |||
border: 1px solid var(--bg-color-purple-100); | |||
} | |||
#RND.wikitable th { | |||
background: var(--bg-color-purple-100); | |||
} | |||
#RND.wikitable thead tr th, | |||
#RND.wikitable:not(:has(thead)) tr:first-of-type th { | |||
position: relative; | |||
background: var(--bg-color-purple-50); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: var(--box-shadow-medium); | |||
} | |||
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child, | |||
#RND.wikitable thead + tbody > tr th:first-child { | |||
border-left: 3px solid var(--color-darkened-border); | |||
} | |||
/* SUP */ | |||
#SUP.wikitable { | |||
border: 1px solid var(--bg-color-brown-100); | |||
} | |||
#SUP.wikitable th { | |||
background: var(--bg-color-brown-100); | |||
} | |||
#SUP.wikitable thead tr th, | |||
#SUP.wikitable:not(:has(thead)) tr:first-of-type th { | |||
position: relative; | |||
background: var(--bg-color-brown-50); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: var(--box-shadow-medium); | |||
} | |||
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child, | |||
#SUP.wikitable thead + tbody > tr th:first-child { | |||
border-left: 3px solid var(--color-darkened-border); | |||
} | |||
/* SEC */ | |||
#SEC.wikitable { | |||
border: 1px solid var(--bg-color-red-100); | |||
} | |||
#SEC.wikitable th { | |||
background: var(--bg-color-red-100); | |||
} | |||
#SEC.wikitable thead tr th, | |||
#SEC.wikitable:not(:has(thead)) tr:first-of-type th { | |||
position: relative; | |||
background: var(--bg-color-red-50); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
box-shadow: var(--box-shadow-medium); | |||
} | |||
#SEC.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child, | |||
#SEC.wikitable thead + tbody > tr th:first-child { | |||
border-left: 3px solid var(--color-darkened-border); | |||
} | |||
/* BOTANY */ | |||
#BOTANY.wikitable { | |||
border: 1px solid var(--bg-color-emerald-100); | |||
} | |||
#BOTANY.wikitable th { | |||
background: var(--bg-color-emerald-100); | |||
} | |||
#BOTANY.wikitable thead tr th, | |||
#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); | ||
} | } | ||
| Строка 5231: | Строка 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); | ||
} | } | ||
| Строка 5249: | Строка 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); | ||
} | } | ||
| Строка 5257: | Строка 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); | ||
} | } | ||
| Строка 5270: | Строка 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); | ||
} | } | ||
| Строка 5287: | Строка 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); | ||
} | } | ||
| Строка 5298: | Строка 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); | ||
} | } | ||
| Строка 5308: | Строка 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); | ||
} | } | ||
| Строка 5316: | Строка 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); | ||
} | } | ||
| Строка 5328: | Строка 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); | ||
} | } | ||
| Строка 5337: | Строка 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); | ||
| Строка 5348: | Строка 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); | ||
} | } | ||
| Строка 5561: | Строка 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 */ | |||
} | |||
} | } | ||