Content added Content deleted
(username removed) (Imported) |
Gunnar Foss (talk | contribs) (New background for wiki) |
||
Line 18: | Line 18: | ||
--theme-main-mix-color: #e98499; |
--theme-main-mix-color: #e98499; |
||
--theme-body-color: rgba(88,51,47,.8); |
--theme-body-color: rgba(88,51,47,.8); |
||
--theme-body-image: url(https:// |
--theme-body-image: url(https://static.miraheze.org/polandsmallswiki/0/02/Smallpolandballswikibackground.png); |
||
--theme-link-color: #003399; |
--theme-link-color: #003399; |
||
--theme-link-color--rgb: 0,51,153; |
--theme-link-color--rgb: 0,51,153; |
||
Line 39: | Line 39: | ||
--theme-main-invert-color--rgb: 255,255,255; |
--theme-main-invert-color--rgb: 255,255,255; |
||
--theme-body-color: rgba(88,51,47,.8); |
--theme-body-color: rgba(88,51,47,.8); |
||
--theme-body-image: url(https:// |
--theme-body-image: url(https://static.miraheze.org/polandsmallswiki/0/02/Smallpolandballswikibackground.png); |
||
--theme-link-color: #4e98d1; |
--theme-link-color: #4e98d1; |
||
--theme-link-color--rgb: 78,152,209; |
--theme-link-color--rgb: 78,152,209; |
Revision as of 16:03, 27 September 2021
/* All CSS here will be loaded for users of the Cosmos skin */
/* Exclude logo to be change with or without DarkMode */
.mw-wiki-logo {
.mw-no-invert,
}
.cosmos-header {
.mw-no-invert,
}
:root {
--theme-main-color: #fff;
--theme-main-color--rgb: 255,255,255;
--theme-main-invert-color: #000;
--theme-main-invert-color--rgb: 0,0,0;
--theme-main-bg-color: #dc143c;
--theme-main-bg-color--rgb: 220,20,60;
--theme-main-mix-color: #e98499;
--theme-body-color: rgba(88,51,47,.8);
--theme-body-image: url(https://static.miraheze.org/polandsmallswiki/0/02/Smallpolandballswikibackground.png);
--theme-link-color: #003399;
--theme-link-color--rgb: 0,51,153;
--theme-link-color--hover: #001132;
--theme-page-color: #fafafa;
--theme-page-color--rgb: 250,250,250;
--theme-page-light-color: #fff;
--theme-page-second-color: #eae7ea;
--theme-page-third-color: #c6c5c6;
--theme-text-color: #3a3a3a;
--theme-text-color--rgb: 58,58,58;
--theme-text-color--hover: #6d6d6d;
--theme-text-mix-color: #989798;
}
.client-dark-mode:root {
--theme-main-color: #000;
--theme-main-color--rgb: 0,0,0;
--theme-main-invert-color: #fff;
--theme-main-invert-color--rgb: 255,255,255;
--theme-body-color: rgba(88,51,47,.8);
--theme-body-image: url(https://static.miraheze.org/polandsmallswiki/0/02/Smallpolandballswikibackground.png);
--theme-link-color: #4e98d1;
--theme-link-color--rgb: 78,152,209;
--theme-link-color--hover: #9ec7e6;
--theme-page-color: #0d0c1a;
--theme-page-color--rgb: 13,12,26;
--theme-page-light-color: #262531;
--theme-page-second-color: #31303c;
--theme-page-third-color: #43434d;
--theme-text-color: #e6e6e6;
--theme-text-color--rgb: 230,230,230;
--theme-text-color--hover: #b3b3b3;
--theme-text-mix-color: #7a7980;
}
/* Кастомный скроллбар */
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--theme-page-third-color);
}
::-webkit-scrollbar-corner {
background: none;
}
::-webkit-resizer {
background: url(https://static.miraheze.org/polandballruwiki/6/69/Expand-solid.svg);
background-size: 75% 75%;
background-repeat: no-repeat;
}
.client-dark-mode ::-webkit-resizer {
background: url(https://static.miraheze.org/polandballruwiki/c/c9/Expand-solid-light.svg);
background-size: 75% 75%;
background-repeat: no-repeat;
}
/* Мобильная версия */
@media screen and (max-width: 850px) {
.wds-button.wds-is-secondary.wds-dropdown__toggle {
display: flex;
}
#cosmos-banner {
position: fixed;
}
.cosmos-mobile-navigation {
order: -1;
}
body > #mw-content-container {
padding-top: 55px !important;
}
.cosmos-header:before, .cosmos-header,
#cosmos-footer {
border-radius: 0 !important;
}
.cosmos-header__top-container {
display: flex;
height: 70px;
}
.cosmos-toolbar-collapsed .cosmos-toolbar-collapse-button {
margin: 0 auto;
}
}
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget .oo-ui-labelElement-label {
display: none;
}
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget .oo-ui-buttonElement-button .oo-ui-iconElement-icon {
margin-top: 2.5px !important;
}
@media only screen and (max-width: 1083px) {
.main-page-tag-lcs-exploded, .lcs-container {
width: auto !important;
}
.main-page-tag-rcs {
width: 100% !important;
}
}
@media only screen and (max-width: 1023px) {
.main-page-tag-rcs {
padding: 0;
column-count: 1;
}
.main-page-tag-lcs-exploded, .lcs-container {
width: 100% !important;
}
}
@media screen and (max-width: 850px) {
.mw-body .navblockimg a > img {
height: 137px !important;
}
}
/* Верхняя панель */
#cosmos-userButton-avatar > img {
border-radius: 50%;
background: white;
width: 22px;
height: 22px;
}
.cosmos-userButton-label {
margin-top: 0;
font-weight: 500;
font-size: 16px;
max-width: 150px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#cosmos-notification-icons li {
margin: 0 2px;
}
#pt-notifications-alert .mw-echo-notifications-badge:after, #pt-notifications-notice .mw-echo-notifications-badge:after {
border: 0;
min-width: 15px;
height: 15px;
padding: 2px;
text-align: center;
border-radius: 50px;
filter: invert(1);
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-iconWidget.oo-ui-icon-bell,
body .oo-ui-icon-bell, .mw-ui-icon-bell:before {
opacity: 1 !important;
background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Ebell%3C/title%3E%3Cpath d=%22M16 7a5.38 5.38 0 00-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 004 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 003-3H7a3 3 0 003 3z%22/%3E%3C/svg%3E");
background-size: cover;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-iconWidget.oo-ui-icon-tray,
body .oo-ui-icon-tray, .mw-ui-icon-tray:before {
opacity: 1 !important;
background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath d=%22M3 1a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V3a2 2 0 00-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22/%3E%3C/svg%3E");
background-size: cover;
}
.client-dark-mode body .oo-ui-icon-bell, .client-dark-mode body .oo-ui-icon-tray,
#cosmos-banner .oo-ui-icon-bell, #cosmos-banner .oo-ui-icon-tray {
filter: invert(1);
}
#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
width: 22px;
height: 22px;
}
.cosmos-dropdown#p-personal ul a.new {
color: #39424d;
}
#cosmos-banner-mainpage-link {
display: flex;
font-size: 20px;
text-align: center;
align-items: center;
padding-left: 10px;
font-weight: bold;
text-shadow: 0 4px 5px rgba(0,42,50,.05);
flex-basis: 220px;
}
#cosmos-banner-mainpage-link a {
color: white;
}
/* Навигация */
.cosmos-header:before, .cosmos-header {
border-radius: 15px 15px 0px 0px;
box-shadow: 0 4px 5px 0 rgba(0, 42, 50, .05);
}
.cosmos-header .wds-button.wds-is-secondary, .cosmos-header img, .cosmos-header span, .cosmos-header__sitename {
filter: drop-shadow(1px 3px 3px rgb(0 0 0 / 20%));
}
.cosmos-header__sitename a {
font-size: 22px;
}
body > #mw-content-container {
padding-top: 6.5%;
}
#mw-content-wrapper {
max-width: 1200px;
width: auto !important;
}
/* Темная тема */
.client-dark-mode,
.client-dark-mode img,
.client-dark-mode video,
.client-dark-mode svg,
.client-dark-mode iframe,
.client-dark-mode .mw-no-invert,
.client-dark-mode .mw-mmv-overlay,
.client-dark-mode .mw-mmv-pre-image,
.client-dark-mode .mw-kartographer-map,
.client-dark-mode .mw-kartographer-mapDialog-map {
background: none;
filter: none;
}
/* Основные элементы */
/* Диалоговые окна */
.oo-ui-window-content, .oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
border-color: var(--theme-page-third-color);
background: var(--theme-page-light-color);
border-radius: 5px;
}
.oo-ui-messageDialog-text label {
color: var(--theme-text-color);
}
.oo-ui-window-content .oo-ui-buttonElement-button {
border-radius: 0 !important;
color: #fff !important;
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-color: var(--theme-page-second-color) !important;
}
.oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget {
border: 0;
}
.oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 0;
}
/** Выпадающие меню **/
@media screen and (max-width: 850px) {
.mw-echo-ui-overlay .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
max-width: 100%;
}
}
.mw-echo-ui-placeholderItemWidget {
background-color: var(--theme-page-light-color);
}
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
border-bottom-color: var(--theme-page-light-color);
}
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:before {
border-bottom-color: var(--theme-page-third-color);
}
.oo-ui-popupWidget-anchored-top:last-child .oo-ui-popupWidget-anchor:after,
.oo-ui-popupWidget-anchored-top:last-child .oo-ui-popupWidget-anchor:before {
left: 0;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup *,
#cosmos-banner .wds-tabs__tab-label span {
color: var(--theme-text-color);
}
.mw-echo-ui-notificationItemWidget {
background: var(--theme-page-second-color);
border-color: var(--theme-page-third-color);
}
.mw-echo-ui-notificationItemWidget-unread {
background-color: var(--theme-page-light-color) !important;
}
.oo-ui-pendingElement-pending,
.client-js .mw-echo-special-nojs {
background-image: linear-gradient(135deg,var(--theme-page-light-color) 25%,var(--theme-page-second-color) 25%,var(--theme-page-second-color) 50%,var(--theme-page-light-color) 50%,var(--theme-page-light-color) 75%,var(--theme-page-second-color) 75%,var(--theme-page-second-color));
}
.mw-echo-ui-notificationItemWidget:hover {
background: rgba(var(--theme-link-color--rgb),.1);
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
background: none;
}
.oo-ui-popupWidget .oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
border-color: transparent;
padding-left: 30px;
max-width: 183px;
overflow: hidden;
text-overflow: ellipsis;
}
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
font-weight: 600;
}
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label * {
max-width: 50px;
}
.oo-ui-iconElement-icon {
min-height: 18px;
min-width: 18px;
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
border-color: transparent;
outline: 0;
box-shadow: none;
}
.client-dark-mode .oo-ui-buttonElement.oo-ui-iconElement .oo-ui-iconElement-icon,
.client-dark-mode .oo-ui-buttonElement.oo-ui-indicatorElement .oo-ui-indicatorElement-indicator {
filter: invert(1) hue-rotate(180deg);
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement > .oo-ui-buttonElement-button {
background: none;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
#cosmos-banner .wds-tabs__tab-label,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer {
border: 0;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child {
border-left-color: var(--theme-page-third-color);
}
.oo-ui-popupWidget-popup,
.oo-ui-menuSelectWidget,
#cosmos-banner .wds-tabs,
.cosmos-header .wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-2 .wds-dropdown-level-2__content,
.cosmos-dropdown-list,
.cosmos-header .wds-dropdown__content {
background: var(--theme-page-light-color);
border-color: var(--theme-page-third-color);
border-radius: 5px;
box-shadow: none;
}
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label,
#cosmos-banner .wds-dropdown__content .wds-list.wds-is-linked > li > a:not(.wds-button),
.cosmos-header .wds-dropdown__content .wds-list.wds-is-linked li > a:not(.wds-button),
.cosmos-dropdown#p-personal ul a.new,
.cosmos-dropdown-list > ul > *:only-child, .cosmos-dropdown-list > ul > li > *:only-child, .cosmos-dropdown-list > li > *:only-child {
color: var(--theme-link-color);
}
#cosmos-banner .wds-dropdown__content .wds-list.wds-is-linked > li:hover > a:not(.wds-button),
.cosmos-header .wds-dropdown__content .wds-list.wds-is-linked li:hover > a:not(.wds-button),
.cosmos-dropdown#p-personal ul a.new:hover,
.cosmos-dropdown-list > ul > a:only-child:hover, .cosmos-dropdown-list > ul > li > a:only-child:hover, .cosmos-dropdown-list > li > a:only-child:hover {
color: var(--theme-link-color--hover);
background: rgba(var(--theme-link-color--rgb),.1);
}
#cosmos-actionsList-list a {
color: var(--theme-link-color);
}
#cosmos-actionsList-list a:hover {
background: rgba(var(--theme-link-color--rgb),.1);
}
#cosmos-actionsList-list {
min-width: 170px;
left: 0;
}
.wds-dropdown:before, .wds-dropdown:after {
opacity: 0;
}
.mw-echo-alert {
filter: brightness(150%);
background: none;
}
/** Фон **/
body {
background: linear-gradient(to bottom, transparent, var(--theme-body-color) 80%), var(--theme-body-image) !important;
background-size: cover !important;
background-attachment: fixed !important;
}
/** Рельс **/
.CosmosRail .module {
margin: 10px;
padding: 10px 20px;
}
.CosmosRail .module h3 {
padding-bottom: 10px;
font-family: Rubik;
border-bottom: 1px solid var(--theme-page-third-color);
}
/** Контент **/
#mw-content, #catlinks {
background: var(--theme-page-color);
}
/** Текст и заголовки **/
body #mw-content-text,
body #mw-content,
body h1, body h2, body h3, body h4, body h5, body h6,
.mw-body h1.firstHeading {
color: var(--theme-text-color);
}
body h1, body h2, body h3, body h4, body h5, body h6,
.mw-body h1.firstHeading {
font-weight: 500 !important;
opacity: 1;
}
#mw-content h2 {
border-bottom-color: var(--theme-page-third-color);
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5 {
font-family: Rubik;
}
#cosmos-articleHeader-title {
overflow-wrap: break-word;
word-break: break-word;
padding: 5px 0;
}
@media screen and (min-width: 850px) {
#cosmos-articleHeader-actions,
#cosmos-header-articleHeader {
align-items: flex-start;
flex-wrap: nowrap;
}
}
/*** Помощь ***/
#cosmos-articleHeader-title {
align-items: flex-start;
}
#cosmos-articleHeader-title .mw-indicators {
margin: 0 10px;
padding: 8px 0;
}
#mw-indicator-mw-helplink a {
font-size: 0;
}
#mw-indicator-mw-helplink a:after {
content: '?';
width: 15px;
height: 15px;
margin: 0 auto;
display: inline-block;
vertical-align: middle;
text-align: center;
line-height: 15px;
color: #fff;
border-radius: 50%;
font-size: 12px;
background: var(--theme-link-color);
}
/*** Править ***/
.mw-editsection-bracket {
display: none;
}
.mw-editsection a {
font-size: 0px;
}
.mw-editsection a:after {
content: ' ';
display: inline-block;
width: 15px;
height: 15px;
background: var(--theme-link-color);
-webkit-mask-position: center;
-webkit-mask-size: contain;
-webkit-mask-repeat: no-repeat;
-webkit-mask-image: url(https://static.miraheze.org/polandballruwiki/2/22/Edit-regular.svg);
}
/** Ссылки **/
body a:not(.new),
#mw-content a:not(.new) {
color: var(--theme-link-color);
transition: .2s;
}
body a:not(.new):hover,
#mw-content a:not(.new):hover {
color: var(--theme-link-color--hover);
transition: .2s;
}
.mw-parser-output a.external, .link-https {
background: none;
padding-right: 0;
}
/* Кнопки */
/** Навигация **/
.wds-button-group > .wds-button {
padding: 7px 9px;
}
.wds-button-group > .wds-button:first-child {
border-radius: 5px 0 0 5px;
}
.wds-button-group > .wds-button:last-child {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
.wds-button-group > div:last-child .wds-button {
border-radius: 0 5px 5px 0 !important;
}
.cosmos-header .wds-button.wds-is-secondary {
background: none;
transition: .2s;
}
.cosmos-header .wds-button.wds-is-secondary:hover {
background: rgba(0,0,0,.2);
transition: .2s;
}
/*** Иконки ***/
.wds-icon-small#wds-icons-page-small {
background: #fff;
-webkit-mask-position-x: center;
-webkit-mask-size: contain;
-webkit-mask-repeat: no-repeat;
-webkit-mask-image: url(https://static.miraheze.org/polandballruwiki/d/da/File.svg);
}
.wds-icon-small#wds-icons-activity-small {
stroke-width: 3;
}
.wds-icon-small#wds-icons-dashboard-small {
stroke-width: 3;
overflow: visible;
}
.wds-icon-small#wds-icons-dashboard-small line {
display: none;
}
.wds-icon-small#wds-icons-dashboard-small path {
stroke-width: 2;
}
/** Заголовок **/
.cosmos-button {
border-radius: 10px;
font-size: 12px;
padding: 10px;
}
#cosmos-articleHeader-actions .cosmos-button {
margin-right: 10px;
margin-bottom: 5px;
margin-top: 5px;
height: 16px;
}
#cosmos-articleHeader-actions a:first-child .cosmos-button {
margin-right: -14px;
padding-right: 24px;
}
#cosmos-actionsList-button {
border-radius: 10px;
}
.cosmos-button-text {
margin: 0;
white-space: nowrap;
}
/*** Белые кнопки ***/
.cosmos-button.cosmos-button-secondary {
border-radius: 10px;
transition: .3s;
border: 1px solid var(--theme-page-third-color);
color: var(--theme-text-color);
}
.cosmos-button.cosmos-button-secondary:hover {
border-color: var(--theme-page-third-color);
background: var(--theme-page-second-color);
}
/*** Иконки ***/
.cosmos-actions-edit svg {
stroke-width: 3;
height: 18px;
}
.wds-icon-small#wds-icons-more, .cosmos-dropdown-icon {
background: #fff;
-webkit-mask-position-x: center;
-webkit-mask-size: contain;
padding: 1px;
-webkit-mask-repeat: no-repeat;
-webkit-mask-image: url(https://static.miraheze.org/polandballruwiki/e/e4/VEllipsis.svg);
}
.cosmos-dropdown-icon {
transform: none !important;
}
.cosmos-button.cosmos-button-secondary .cosmos-button-icon {
fill: inherit;
}
.client-dark-mode .cosmos-button.cosmos-button-secondary .cosmos-button-icon {
filter: invert(1);
}
#ca-talk .cosmos-button-icon {
background: #000;
overflow: visible;
-webkit-mask-position-x: center;
-webkit-mask-size: contain;
-webkit-mask-repeat: no-repeat;
-webkit-mask-image: url(https://static.miraheze.org/polandballruwiki/9/98/Comment1.svg);
}
/** Всякие **/
.mw-ui-button {
margin-bottom: 5px;
margin-top: 5px;
border-radius: 8px;
color: var(--theme-page-text-color);
border-color: var(--theme-page-third-color);
background: var(--theme-page-third-color);
}
.mw-ui-button:hover {
color: var(--theme-page-text-color);
border-color: transparent;
background: var(--theme-page-third-color);
filter: brightness(90%);
transition: .2s;
}
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
margin: 6px;
border-radius: 8px;
border: 0;
outline: none;
padding: 5px 12px;
background: var(--theme-page-third-color);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
margin-bottom: 5px;
margin-top: 5px;
border-radius: 8px;
border: 0;
background: var(--theme-page-third-color);
transition: .2s;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
background: var(--theme-page-third-color);
filter: brightness(90%);
transition: .2s;
}
.mw-ui-button:not(:disabled):active,
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active {
color: inherit;
background: var(--theme-page-second-color);
transition: .2s;
}
.mw-ui-button:not(:disabled):focus {
box-shadow: none;
}
.mw-ui-button:not(:disabled):focus:not(:active),
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus:not(:active),
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus:not(:active),
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus:not(:active) {
box-shadow: inset 0 0 0 1px #36c;
}
.mw-ui-button:not(:disabled):focus:not(:hover) {
color: inherit;
border-color: transparent;
background: var(--theme-page-third-color);
transition: .2s;
}
.cancelLink .oo-ui-buttonElement-button {
margin-bottom: 5px;
margin-top: 5px;
}
.ve-active .oo-ui-buttonElement > .oo-ui-buttonElement-button {
align-items: center;
display: inline-flex;
padding: 7px 15px;
}
.oo-ui-buttonElement-framed .oo-ui-buttonElement-button {
border-radius: 8px !important;
margin: 6px;
background: var(--theme-page-third-color);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
background: #dc143c !important;
color: #fff !important;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
background: #dc143c;
}
body .oo-ui-buttonElement-framed:not(.oo-ui-buttonElement-active) > .oo-ui-buttonElement-button {
outline: 0 !important;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active:not(:hover) {
background: #b91532;
}
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
filter: brightness(90%);
transition: .2s;
}
.oo-ui-window-head .oo-ui-buttonElement-button,
.oo-ui-actionFieldLayout-button .oo-ui-buttonElement-button,
.oo-ui-processDialog-actions-safe .oo-ui-buttonElement-button {
margin: 6px !important;
}
.ve-active .oo-ui-buttonGroupWidget .oo-ui-buttonElement .oo-ui-buttonElement-button {
margin: 6px 0 !important;
}
.oo-ui-widget.oo-ui-widget-enabled > span:last-child .oo-ui-buttonElement-button:only-child {
border-top-right-radius: 8px !important;
border-bottom-right-radius: 8px !important;
}
body .oo-ui-buttonElement-framed:not(.oo-ui-buttonElement-active) > .oo-ui-buttonElement-button {
box-shadow: none;
}
.oo-ui-buttonOptionWidget:not(:last-child):not(:first-child) .oo-ui-buttonElement-button,
.oo-ui-toggleButtonWidget:not(:last-child):not(:first-child) .oo-ui-buttonElement-button,
.oo-ui-optionWidget.oo-ui-widget-enabled:not(:last-child):not(:first-child) .oo-ui-buttonElement-button,
.mw-ui-button-group > *:not(:last-child):not(:first-child) {
margin: 0 !important;
border-radius: 0 !important;
}
.oo-ui-toggleButtonWidget:last-child .oo-ui-buttonElement-button,
.oo-ui-optionWidget.oo-ui-widget-enabled:last-child .oo-ui-buttonElement-button,
.mw-ui-button-group > *:last-child {
margin: 0;
border-top-right-radius: 8px !important;
border-bottom-right-radius: 8px !important;
}
.oo-ui-toggleButtonWidget:first-child .oo-ui-buttonElement-button,
.oo-ui-optionWidget.oo-ui-widget-enabled:first-child .oo-ui-buttonElement-button,
.mw-ui-button-group > *:first-child {
border-top-left-radius: 8px !important;
border-bottom-left-radius: 8px !important;
}
.mw-rcfilters-ui-liveUpdateButtonWidget .oo-ui-buttonElement-button {
border-radius: 8px !important;
}
.oo-ui-comboBoxInputWidget-dropdownButton.oo-ui-indicatorElement .oo-ui-buttonElement-button {
left: 6px;
}
.oo-ui-comboBoxInputWidget-dropdownButton.oo-ui-indicatorElement .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator {
right: 12px;
}
.oo-ui-flaggedElement-close .oo-ui-buttonElement-button {
margin: 0 !important;
}
.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-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
background: var(--theme-page-third-color);
}
.oo-ui-processDialog .oo-ui-actionWidget.oo-ui-labelElement > .oo-ui-buttonElement-button {
padding: 7px 15px;
}
.cosmos-toolbar-collapsed {
padding: 3.5px 5px !important;
}
.cosmos-toolbar-collapse-button {
--triangle-size: 6px;
display: block;
border-top: var(--triangle-size) solid transparent;
border-right: var(--triangle-size) solid white;
border-left: var(--triangle-size) solid transparent;
border-bottom: var(--triangle-size) solid #fff;
transform: rotate(45deg);
margin-right: 5px;
position: relative;
bottom: calc(var(--triangle-size) / 2);
cursor: pointer;
}
.cosmos-toolbar-collapsed .cosmos-tools-list {
display: none;
}
.cosmos-toolbar-collapsed .cosmos-toolbar-collapse-button {
transform: rotate(-135deg);
top: calc(var(--triangle-size) / 2);;
}
/* Редактирование настроек профиля */
.profile-tab, .profile-tab-on {
color: black;
background: none;
padding: 6px;
font-size: initial;
}
.mw-special-UpdateProfile div#mw-content-text .visualClear {
height: 0;
}
.profile-tab-on {
background: #dc143c;
border-radius: 10px 10px 0 0;
}
.profile-tab a:visited {
color: #0645ad !important;
}
.profile-tab-bar {
border-bottom: 4px solid #dc143c;
}
/* Обсуждения */
/** Убирает лишнее **/
.flow-board-header, .flow-ui-sidebarExpandWidget {
display: none;
}
.flow-board, .flow-board-navigation {
width: 100% !important;
}
/** Новая тема и ответ **/
.flow-board .oo-ui-textInputWidget .oo-ui-inputWidget-input,
.flow-component .flow-ui-editorWidget-editor > .oo-ui-toolbar > .oo-ui-toolbar-bar {
margin: 5px;
padding: 0 20px !important;
border: 0;
border-radius: 10px !important;
background: var(--theme-page-light-color);
box-shadow: 0 2px 4px rgba(var(--theme-main-invert-color--rgb),.2) !important;
}
.flow-board .oo-ui-textInputWidget .oo-ui-inputWidget-input {
width: calc(100% - 10px) !important;
}
.flow-topic .oo-ui-textInputWidget .oo-ui-inputWidget-input {
width: calc(100% - 15px) !important;
}
.flow-board .oo-ui-textInputWidget .oo-ui-inputWidget-input {
font-size: 20px !important;
padding: 25px !important;
}
.flow-topic .oo-ui-textInputWidget .oo-ui-inputWidget-input {
margin-left: 0;
}
/** Редактор **/
.flow-ui-editorWidget > .flow-ui-editorWidget-editor:not(.oo-ui-pendingElement-pending) {
width: 100%;
margin: 10px 5px;
border-radius: 10px;
border: 0;
background: var(--theme-page-light-color);
box-shadow: 0 2px 4px rgba(var(--theme-main-invert-color--rgb),.2);
}
.flow-topic .flow-ui-editorWidget > .flow-ui-editorWidget-editor:not(.oo-ui-pendingElement-pending),
.flow-topic .flow-ui-editorWidget-editor.oo-ui-pendingElement-pending {
width: calc(100% - 25px);
}
.flow-ui-editorWidget p {
margin: 10px !important;
}
.flow-ui-editorWidget-wikitextHelpLabel {
margin: 20px;
}
.flow-component .flow-ui-editorWidget-editor > .oo-ui-toolbar > .oo-ui-toolbar-bar,
.flow-component .flow-ui-editorWidget-editor > .oo-ui-toolbar {
margin: 0px !important;
}
.flow-ui-editorWidget-editor.oo-ui-pendingElement-pending {
width: 100%;
margin: 5px;
border-radius: 10px;
}
/** Пост **/
.flow-topic {
margin: 20px 5px;
padding: 5px 10px !important;
border: 0;
border-radius: 10px !important;
background: var(--theme-page-second-color);
box-shadow: 0 2px 4px rgba(var(--theme-main-invert-color--rgb),.2) !important;
}
.flow-topic-titlebar {
padding: 15px 0 !important;
border-bottom: 2px solid var(--theme-page-third-color);
background: none;
}
.flow-topic-title {
border: 0 !important;
font-weight: 500 !important;
font-family: Rubik !important;
}
.flow-topic-summary-container .flow-topic-summary, .flow-topic-summary-container .flow-ui-editTopicSummaryWidget {
border-top: 0;
}
/** Ответы **/
.flow-post {
border-left: 5px solid var(--theme-page-third-color);
padding: 5px 15px;
color: var(--theme-text-color)
}
.mw-content-ltr .flow-post .flow-replies {
margin: 0;
border: 0;
}
/** Нижняя панель **/
.flow-ui-editorControlsWidget {
margin-top: 20px;
}
/** Иконки **/
a.oo-ui-tool-link:hover,
a.oo-ui-tool-link:active,
span.oo-ui-popupToolGroup-handle,
.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover,
div > .flow-menu .flow-menu-js-drop a {
background: none !important;
border-right-color: transparent !important;
}
.client-dark-mode .oo-ui-tool .oo-ui-iconElement-icon,
.client-dark-mode.ve-active .oo-ui-popupToolGroup.oo-ui-iconElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle,
.client-dark-mode .mw-ui-icon {
filter: invert(1) hue-rotate(180deg);
border: none;
}
/** Выпадающее меню **/
div > .flow-menu ul {
padding: 7px !important;
background: var(--theme-page-second-color);
border-color: var(--theme-page-third-color);
border-radius: 5px;
box-shadow: none;
}
.flow-component .flow-list li:hover {
background: rgba(var(--theme-link-color--rgb),.1);
}
.mw-ui-button.mw-ui-quiet:hover, .mw-ui-button.mw-ui-quiet.mw-ui-progressive:hover, .mw-ui-button.mw-ui-quiet.mw-ui-destructive:hover {
background: none;
}
.flow-menu a:hover {
color: var(--theme-link-color) !important;
}
div > .flow-menu ul > section:not(:first-of-type) > li:first-of-type, div > .flow-menu ul li.flow-menu-section:not(:first-of-type) {
border-top-color: var(--theme-page-third-color);
}
/* Таблицы */
table {
background: none !important;
}
body .wikitable > tr > th, body .wikitable > tr > td, body .wikitable > * > tr > th, body .wikitable > * > tr > td,
.wikitable:not([style*='background-color']) {
color: var(--theme-text-color);
}
.wikitable:not([style*='background-color']) > * > tr > td,
body .wikitable > tr > th, body .wikitable > tr > td, body .wikitable > * > tr > th, body .wikitable > * > tr > td {
background: var(--theme-page-light-color);
border-color: var(--theme-page-third-color);
}
/* Редактор кода */
.ace_content * {
font-family: monospace !important;
}
/** Инструменты **/
.wikiEditor-ui .wikiEditor-ui-view,
.oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above {
border: 0;
}
.wikiEditor-ui-toolbar {
padding: 5px 10px;
margin: 1% 4px;
margin-bottom: 15px;
}
.wikiEditor-ui-toolbar, .oo-ui-toolbar-bar {
z-index: 100;
position: relative;
border-radius: 10px;
background: var(--theme-page-second-color);
box-shadow: 0 2px 2px rgba(var(--theme-main-invert-color--rgb),.3);
}
.wikiEditor-ui-toolbar .tabs {
margin-top: 2px;
}
.wikiEditor-ui-toolbar .page-characters div span {
color: var(--theme-text-color);
border-color: var(--theme-page-third-color);
}
.wikiEditor-ui-toolbar .sections .section {
border: 0;
color: var(--theme-text-color);
}
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
.oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled,
.oo-ui-menuToolGroup-tools .oo-ui-tool.oo-ui-tool-active {
background: rgba(var(--theme-link-color--rgb),.1);
}
.wikiEditor-ui-toolbar .booklet > .index > :hover,
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted,
.oo-ui-menuToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover,
.oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover {
background: rgba(var(--theme-link-color--rgb),.05);
}
.wikiEditor-ui-toolbar .page-characters div span:hover,
.ve-ui-specialCharacterPage-character:hover {
background: rgba(var(--theme-link-color--rgb),.1);
transition: .2s;
}
.oo-ui-processDialog-content .oo-ui-window-body,
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted,
.oo-ui-clippableElement-clippable.oo-ui-popupWidget-body.oo-ui-popupWidget-body-padded {
color: var(--theme-text-color);
}
.client-dark-mode .wikiEditor-ui-toolbar .oo-ui-iconElement-icon,
.client-dark-mode .wikiEditor-ui-toolbar .tabs span.tab a:before,
.client-dark-mode .wikiEditor-ui-toolbar .group .tool-select .label:after {
filter: invert(1) hue-rotate(180deg);
}
.wikiEditor-ui .wikiEditor-ui-top {
border-bottom: 0;
}
.wikiEditor-ui-toolbar .group .tool-select {
margin-top: 2px;
}
.wikiEditor-ui-toolbar .group {
border-right-color: var(--theme-page-third-color);
}
.wikiEditor-ui-toolbar .group .label {
color: var(--theme-text-color);
line-height: 32px;
}
.wikiEditor-ui-toolbar table * {
border-color: var(--theme-page-third-color) !important;
}
/*** Визред ***/
.ve-ce-surface .CodeMirror-lines {
color: var(--theme-text-color);
}
.client-dark-mode .cm-mw-template2-ground,
.client-dark-mode .cm-mw-template3-ground,
.client-dark-mode .cm-mw-template-ground {
color: #c98dea;
}
.oo-ui-widget.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-tool.oo-ui-tool-name-showSave.oo-ui-tool-with-label.oo-ui-widget-enabled a,
.ve-active .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link {
margin: 0 8px;
padding: 12px 5px !important;
height: 32.4px;
background: var(--theme-page-third-color);
border-radius: 8px;
cursor: pointer;
}
.oo-ui-widget.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-tool.oo-ui-tool-name-showSave.oo-ui-tool-with-label.oo-ui-widget-enabled a:hover,
.ve-active .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link:hover {
background: var(--theme-page-third-color) !important;
filter: brightness(90%);
}
.oo-ui-widget.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-tool.oo-ui-tool-name-showSave.oo-ui-tool-with-label.oo-ui-widget-enabled a:active,
.ve-active .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link:active {
background: var(--theme-page-second-color) !important;
filter: brightness(90%);
}
.oo-ui-toolbar-actions .oo-ui-tool-link.ve-ui-toolbar-saveButton .oo-ui-tool-title {
margin-top: -7px;
display: block;
max-width: 90px;
overflow: hidden;
}
.oo-ui-toolbar-actions .oo-ui-toolbar-bar {
height: auto;
text-align: right;
margin: 0;
padding: 0;
box-shadow: none !important;
}
.oo-ui-toolbar.oo-ui-toolbar-position-top.ve-ui-toolbar.ve-ui-dir-inline-ltr.ve-ui-dir-block-ltr.ve-ui-targetToolbar.ve-ui-positionedTargetToolbar.ve-init-mw-desktopArticleTarget-toolbar.ve-init-mw-desktopArticleTarget-toolbar-open.ve-init-mw-desktopArticleTarget-toolbar-opened.oo-ui-toolbar-narrow {
margin-top: -4px;
padding-top: 6px;
}
.ve-active #cosmos-articleHeader-actions {
display: flex !important;
z-index: 1;
position: relative;
}
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
border: 0;
}
.oo-ui-popupToolGroup-handle {
height: 45px;
}
.client-dark-mode .ve-ui-toolbar-group-style .oo-ui-indicatorElement-indicator.oo-ui-indicator-down,
.client-dark-mode .ve-ui-toolbar-group-structure .oo-ui-indicatorElement-indicator.oo-ui-indicator-down,
.client-dark-mode .ve-ui-toolbar-group-editMode .oo-ui-indicatorElement-indicator.oo-ui-indicator-down {
filter: none;
}
.oo-ui-toolbar * {
color: var(--theme-text-color);
}
.oo-ui-menuToolGroup,
.ve-ui-specialCharacterPage-character {
border-color: var(--theme-page-third-color);
}
.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 {
background: none;
}
.oo-ui-popupToolGroup-tools {
background: var(--theme-page-light-color);
border-radius: 5px;
border-color: var(--theme-page-third-color);
}
.oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable.oo-ui-floatableElement-floatable.oo-ui-popupToolGroup-tools.oo-ui-menuToolGroup-tools.oo-ui-toolGroup-enabled-tools.oo-ui-popupToolGroup-active-tools {
max-width: 300px;
}
.oo-ui-widget.oo-ui-tool.oo-ui-tool-name-heading1.oo-ui-widget-enabled .oo-ui-tool-title {
max-width: 245px;
overflow: hidden;
}
.oo-ui-window-head label {
color: var(--theme-text-color);
}
.oo-ui-processDialog-content .oo-ui-window-body {
background: var(--theme-page-light-color);
}
.oo-ui-window-content > * {
outline: 0 !important;
}
.oo-ui-processDialog-errors {
background: var(--theme-page-light-color);
}
.client-dark-mode .ve-ui-linkContextItem .oo-ui-iconElement-icon,
.client-dark-mode .ve-ui-fragmentInspector-form.oo-ui-layout.oo-ui-formLayout .oo-ui-iconElement-icon {
filter: invert(1)
}
.ve-ui-fragmentInspector-form.oo-ui-layout.oo-ui-formLayout .oo-ui-iconElement-icon.oo-ui-icon-error {
filter: none;
}
.oo-ui-widget.oo-ui-buttonElement.oo-ui-buttonElement-framed.oo-ui-labelElement.oo-ui-flaggedElement-progressive.oo-ui-flaggedElement-primary.oo-ui-buttonWidget.oo-ui-actionWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button {
margin: 0;
}
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover {
background: none;
}
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button {
margin: 0;
}
.oo-ui-tabSelectWidget-frameless {
box-shadow: none;
}
.ve-ce-linkAnnotation.ve-ce-annotation-active {
box-shadow: none;
background: var(--theme-page-second-color);
}
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-buttonElement.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-flaggedElement-destructive.oo-ui-buttonWidget a {
padding-top: 32px;
}
.ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label {
border-color: var(--theme-page-third-color);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
background: var(--theme-page-third-color);
filter: brightness(90%);
transition: .2s;
}
.ve-ui-targetWidget:not(.oo-ui-pendingElement-pending) {
background: var(--theme-page-light-color);
color: var(--theme-text-color);
border: 0;
border-radius: 10px;
padding: 10px;
}
.oo-ui-layout .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
.oo-ui-layout .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
margin: 0;
}
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-labelElement.oo-ui-flaggedElement-emptyGroupPlaceholder.oo-ui-optionWidget.oo-ui-decoratedOptionWidget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
border-radius: 5px;
}
.client-dark-mode .oo-ui-layout .oo-ui-iconElement-icon:not(.oo-ui-iconElement-icon.oo-ui-icon-textStyle):not(.oo-ui-checkboxInputWidget-checkIcon) {
filter: invert(1) hue-rotate(180deg) !important;
}
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-color: var(--theme-page-third-color);
}
.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input {
text-shadow: none;
}
.ve-ui-mwLanguagesPage-languages-table th, .ve-ui-mwLanguagesPage-languages-table td {
border-color: var(--theme-page-third-color);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
background: var(--theme-page-third-color);
}
.ve-ui-findAndReplaceDialog-row .oo-ui-widget.oo-ui-buttonElement.oo-ui-buttonElement-framed.oo-ui-labelElement.oo-ui-buttonWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button,
.ve-ui-findAndReplaceDialog-row .oo-ui-widget.oo-ui-buttonElement.oo-ui-buttonElement-framed.oo-ui-labelElement.oo-ui-buttonWidget.oo-ui-widget-disabled .oo-ui-buttonElement-button {
height: 32.4px !important;
}
.oo-ui-widget.oo-ui-buttonElement.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-buttonWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon {
filter: none;
}
.ve-ui-findAndReplaceDialog-cell.oo-ui-widget.oo-ui-widget-enabled.oo-ui-buttonElement.oo-ui-buttonElement-framed.oo-ui-labelElement.oo-ui-buttonWidget .oo-ui-buttonElement-button {
border-radius: 8px !important;
}
.oo-ui-toolbar-bar .oo-ui-window-content {
border-radius: 0;
background: none;
}
.ve-ui-mwNoticesPopupTool-items > div:not(:first-child), .ve-ui-mwHelpPopupTool-item:not(:first-child) {
border-color: var(--theme-page-third-color);
}
body .oo-ui-tabOptionWidget {
color: var(--theme-text-color);
}
.oo-ui-toolbar-bar .oo-ui-window-content {
background: none;
}
.ve-ui-mwCategoryPopupWidget .oo-ui-popupWidget-popup {
width: 100% !important;
}
.client-dark-mode .ve-ui-linearContextItem-title span {
filter: invert(1);
}
.ve-ui-targetWidget-focused {
box-shadow: none;
}
body .oo-ui-tabSelectWidget-framed {
background: none;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget {
transition: .2s;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
border-radius: 8px 8px 0 0;
background: var(--theme-page-third-color);
color: var(--theme-text-color)
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover {
background: var(--theme-page-third-color);
filter: brightness(90%);
color: var(--theme-text-color);
}
body .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover {
background: var(--theme-page-third-color);
border-radius: 8px 8px 0 0;
opacity: 0.6;
color: var(--theme-text-color);
transition: .2s;
}
.oo-ui-selectFileWidget.oo-ui-widget-enabled.oo-ui-selectFileWidget-dropTarget {
background: none;
border-radius: 10px;
}
.ve-ui-contextItem + .ve-ui-contextItem,
.ve-ce-tableNode-active .ve-ce-tableCaptionNode, .ve-ce-tableCaptionNode.ve-ce-activeNode-active,
.ve-ui-mwGalleryDialog-menuLayout-desktop > .oo-ui-menuLayout-menu,
.ve-ui-mwGalleryDialog-imageListMenuLayout-desktop > .oo-ui-menuLayout-menu,
.oo-ui-searchWidget-query {
border-color: var(--theme-page-third-color);
}
.mw-widget-mediaResultWidget-overlay {
box-shadow: inset 0 0 0 1px var(--theme-page-third-color);
}
.ve-ui-tableLineContext > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon,
.ve-ce-tableNodeOverlay-deactivated .ve-ui-tableLineContext > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
background-color: var(--theme-page-third-color);
}
.oo-ui-widget.oo-ui-widget-enabled.ve-ui-contextItem.ve-ui-tableLineContextItem .oo-ui-buttonElement-button {
background: none;
}
.oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor:after {
border-right-color: var(--theme-page-light-color);
}
.oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor:before {
border-right-color: var(--theme-page-third-color);
}
.ve-ce-branchNode-slug.ve-ce-branchNode-blockSlug .oo-ui-buttonElement-button {
font-size: 16px;
}
.ve-ce-branchNode-blockSlug, .ve-ce-branchNode-newSlug {
outline: 1px dashed var(--theme-page-third-color);
background-color: var(--theme-page-second-color);
}
.ve-ce-branchNode-newSlug-open {
outline-color: transparent;
background: transparent;
}
.ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget {
border-color: var(--theme-page-third-color);
border-radius: 8px;
}
.ve-ui-mwParameterResultWidget.oo-ui-optionWidget-highlighted {
background: rgba(var(--theme-link-color--rgb),.1);
}
.oo-ui-outlineControlsWidget {
background: none;
}
.oo-ui-bookletLayout-outlinePanel > .oo-ui-outlineControlsWidget {
border-color: var(--theme-page-third-color);
}
.ve-ui-mwParameterPage-removeButton .oo-ui-buttonElement-button,
.ve-ui-mwTransclusionDialog-removeButton .oo-ui-buttonElement-button {
background: transparent !important;
}
.ve-ui-mwParameterPage-info .ve-ui-mwParameterPage-label,
.ve-ui-mwTemplatePage .oo-ui-labelElement-label,
.ve-ui-mwTransclusionDialog-addParameterFieldset.oo-ui-layout .oo-ui-fieldsetLayout-header .oo-ui-labelElement-label {
max-width: 80%;
word-break: break-word;
}
.ve-ui-mwParameterPage-info {
width: 60%;
padding: 0 20px;
}
.ve-ui-mwParameterPage .ve-ui-mwParameterPage-field {
padding: 0 20px;
}
/*** Загрузка картинок ***/
#msupload-div {
background: var(--theme-page-light-color);
border-color: var(--theme-page-third-color);
margin: 4px;
margin-bottom: 10px;
padding: 5px;
border-radius: 10px;
}
#msupload-dropzone {
border-color: var(--theme-page-third-color);
border-radius: 10px;
color: var(--theme-text-color);
}
/** Основное **/
.wikiEditor-ui-text .ui-resizable {
width: 100% !important;
}
.wikiEditor-ui-text {
margin: 4px;
border-radius: 6px 6px 0 0;
background: var(--theme-page-light-color);
box-shadow: 0 0 2px rgba(var(--theme-main-invert-color--rgb),.5);
color: var(--theme-text-color);
}
.wikiEditor-ui-left > div:last-child:not(.codeEditor-status) .wikiEditor-ui-text {
padding: 10px;
border-radius: 10px;
box-shadow: 0 2px 2px rgba(var(--theme-main-invert-color--rgb),.3) !important;
}
.wikiEditor-ui-text textarea {
border-radius: 6px;
background: var(--theme-page-light-color);
color: var(--theme-text-color);
box-shadow: none;
}
.ace_editor {
border-radius: 6px 6px 0 0;
box-shadow: none;
color: var(--theme-text-color);
background: none;
}
.ace-tm .ace_print-margin {
background: var(--theme-page-third-color);
}
.ace-tm .ace_gutter {
background: var(--theme-page-second-color);
}
/*** Скроллбар ***/
.ace_scrollbar.ace_scrollbar-h {
left: 48px !important;
}
.ace_scrollbar.ace_scrollbar-v {
bottom: 0 !important;
}
.ace_editor ::-webkit-scrollbar-track {
background: var(--theme-page-second-color);
}
/*** Выделение ***/
.client-dark-mode .ace_selection {
background: rgba(0,109,176,.3) !important;
}
.ace_selected-word {
border-radius: 2px;
background: none !important;
border-color: rgba(0,109,176,.3) !important;
}
.ace-tm .ace_gutter-active-line {
background-color: var(--theme-page-third-color);
}
.ace-tm .ace_string,
.ace-tm .ace_constant.ace_numeric,
.ace-tm .ace_storage,
.ace-tm .ace_keyword,
.ace-tm .ace_constant {
filter: brightness(1.5) invert(30%);
}
/** Статус **/
.codeEditor-status {
padding: 5px;
margin: 4px;
margin-top: -5px;
width: calc(100% - 17px);
border-top: 0;
box-shadow: 0 2px 2px rgba(var(--theme-main-invert-color--rgb),.3), 0 0 2px rgba(var(--theme-main-invert-color--rgb),.3);
border-radius: 0 0 10px 10px;
background: var(--theme-page-second-color);
}
.codeEditor-status-message {
border-color: var(--theme-page-third-color);
}
/** Низ **/
div.editOptions {
padding: 10px;
border: 0;
background: none;
}
.editOptions * {
color: var(--theme-text-color) !important;
}
/* Страница уведомлений */
.mw-echo-ui-crossWikiUnreadFilterWidget {
width: auto;
border-color: var(--theme-page-third-color);
border-radius: 10px;
background: var(--theme-page-light-color);
}
.oo-ui-labelElement, .oo-ui-labelWidget.oo-ui-inline-help {
color: var(--theme-text-color);
}
.mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected {
color: var(--theme-link-color);
background: rgba(var(--theme-link-color--rgb),.1);
}
.mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-highlighted {
background: rgba(var(--theme-link-color--rgb),.05);
color: var(--theme-text-color);
}
.mw-echo-ui-pageNotificationsOptionWidget-label-count {
border-radius: 0;
background: none;
}
.mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget {
padding: 0 8px;
}
.mw-echo-ui-pageFilterWidget-title {
padding-left: 20px !important;
}
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
background: none;
}
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
border-radius: 8px !important;
height: 34.28px;
margin: 0 5px;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
background: #dc143c;
border-color: #dc143c;
color: #fff !important;
}
.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 {
background: var(--theme-page-second-color);
}
.oo-ui-pendingElement-pending {
background-image: linear-gradient(135deg,var(--theme-page-light-color) 25%,var(--theme-page-second-color) 25%,var(--theme-page-second-color) 50%,var(--theme-page-light-color) 50%,var(--theme-page-light-color) 75%,var(--theme-page-second-color) 75%,var(--theme-page-second-color));
}
.mw-echo-ui-datedSubGroupListWidget-title-primary {
padding-right: 10px;
}
.mw-echo-ui-datedSubGroupListWidget-title:first-letter {
text-transform: uppercase;
}
.mw-echo-ui-notificationItemWidget-content-message-header,
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
color: var(--theme-text-color);
}
.client-dark-mode .oo-ui-iconElement-icon.oo-ui-icon-settings {
filter: invert(1);
}
.mw-echo-ui-notificationItemWidget:last-child {
border-color: var(--theme-page-third-color);
}
/** Предупреждения **/
.messagebox, .errorbox, .warningbox, .successbox {
border-radius: 10px;
background: var(--theme-page-light-color);
color: var(--theme-text-color);
}
/* История */
.oo-ui-fieldLayout-header,
.oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-fieldsetLayout-header, .oo-ui-fieldsetLayout.oo-ui-labelElement > .oo-ui-fieldsetLayout-header {
color: var(--theme-text-color);
}
.client-dark-mode .oo-ui-fieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon {
filter: invert(1);
}
.oo-ui-panelLayout-framed {
border-color: var(--theme-page-third-color);
border-radius: 10px;
}
.mw-widget-dateInputWidget-handle {
border-radius: 8px;
border-color: var(--theme-page-third-color);
background: var(--theme-page-third-color);
transition: .2s;
}
.mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover {
border-color: var(--theme-page-second-color);
background: var(--theme-page-second-color);
transition: .2s;
}
@media screen and (max-width: 655px) {
.mw-history-revisionactions {
float: none;
}
}
#pagehistory li.selected {
border-radius: 8px;
background-color: var(--theme-page-second-color);
color: var(--theme-text-color);
outline: 0;
}
#pagehistory li {
padding: 3px;
}
.updatedmarker {
background: none;
}
/* Различия версий */
.diff {
padding: 10px;
border-radius: 10px;
background: none !important;
}
.diff-context {
color: var(--theme-text-color);
border-color: var(--theme-page-third-color);
background: var(--theme-page-second-color);
}
.diff-addedline, .diff-deletedline {
background: var(--theme-page-second-color);
}
/* Ввод текста и выбор на спец. страницах */
input.mw-autocomplete-user,
input#wpReason {
height: 34.57px;
padding: 0 10px;
border-radius: 8px !important;
border: 1px solid var(--theme-page-third-color);
background: var(--theme-page-light-color);
color: var(--theme-text-color);
transition: .2s;
}
input.mw-autocomplete-user:focus,
input#wpReason:focus {
box-shadow: inset 0 0 0 1px #36c;
}
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
background: var(--theme-page-light-color);
}
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
border-color: var(--theme-page-second-color);
}
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle {
border-radius: 8px;
border: 1px solid var(--theme-page-third-color);
background: var(--theme-page-second-color) !important;
}
.mw-widgets-datetime-dateTimeInputWidget-handle,
.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid .mw-widgets-datetime-dateTimeInputWidget-handle,
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined .oo-ui-tagMultiselectWidget-handle,
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled:not(.mw-special-Recentchanges .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled),
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled,
.oo-ui-textInputWidget .oo-ui-inputWidget-input:not(.mw-special-Recentchanges .oo-ui-textInputWidget .oo-ui-inputWidget-input),
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
min-height: 36.57px;
border-radius: 8px !important;
border-color: var(--theme-page-third-color);
background: var(--theme-page-light-color);
color: var(--theme-text-color);
outline: none;
}
.oo-ui-tagMultiselectWidget-handle .oo-ui-inputWidget-input {
margin: 0;
}
.oo-ui-tagMultiselectWidget-handle .oo-ui-tagMultiselectWidget-group > input {
color: var(--theme-text-color);
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-disabled .oo-ui-tagMultiselectWidget-handle,
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle,
.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input {
border: 1px solid var(--theme-page-third-color) !important;
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-disabled .oo-ui-tagMultiselectWidget-handle,
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle,
.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input,
.oo-ui-dropdownInputWidget.oo-ui-widget-disabled {
min-height: 36.57px;
border: 1px solid var(--theme-third-color);
border-radius: 8px;
background: var(--theme-page-second-color);
}
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle {
text-shadow: none;
}
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled {
background-color: transparent;
}
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover {
background-color: var(--theme-page-light-color);
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined .oo-ui-tagMultiselectWidget-handle:hover,
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover
.oo-ui-dropdownWidget.oo-ui-labelElement:hover,
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
border-radius: 8px;
border-color: var(--theme-page-second-color);
background: var(--theme-page-light-color);
color: var(--theme-text-color--hover);
transition: .2s;
}
.oo-ui-widget.oo-ui-widget-enabled.mw-widget-ExpiryWidget.mw-widget-ExpiryWidget-hasDatePicker div{
vertical-align: middle;
}
.client-dark-mode .oo-ui-indicatorElement-indicator {
filter: invert(1);
}
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-labelElement.oo-ui-optionWidget.oo-ui-decoratedOptionWidget.oo-ui-menuOptionWidget:first-child {
border-radius: 5px 5px 0 0;
}
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
background: var(--theme-page-light-color);
}
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
.oo-ui-menuOptionWidget.oo-ui-optionWidget:hover {
background: rgba(var(--theme-link-color--rgb),.1);
}
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-selectWidget.oo-ui-clippableElement-clippable.oo-ui-floatableElement-floatable.oo-ui-menuSelectWidget.oo-ui-selectWidget-unpressed,
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-selectWidget.oo-ui-clippableElement-clippable.oo-ui-floatableElement-floatable.oo-ui-menuSelectWidget.oo-ui-selectWidget-pressed,
.oo-ui-widget.oo-ui-selectWidget.oo-ui-selectWidget-unpressed.oo-ui-clippableElement-clippable.oo-ui-floatableElement-floatable.oo-ui-menuSelectWidget.oo-ui-widget-enabled {
max-height: 300px;
}
.oo-ui-tagItemWidget.oo-ui-widget-disabled,
.oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed) {
color: var(--theme-text-color);
background: var(--theme-page-second-color);
border-color: var(--theme-page-third-color);
text-shadow: none;
}
.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover {
background: inherit;
filter: brightness(80%)
}
.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField,
.mw-widgets-datetime-dateTimeInputWidget-fields,
.mw-widgets-datetime-dateTimeInputWidget-field,
.mw-widgets-datetime-dateTimeInputWidget-fields * {
padding: 0;
height: 34px !important;
}
.mw-widgets-datetime-dateTimeInputWidget-field[tabindex='-1'] {
padding-top: 1px;
}
.mw-widgets-datetime-dateTimeInputWidget-fields * {
margin: 0;
vertical-align: middle;
width: auto !important;
}
.mw-widgets-datetime-calendarWidget {
border-radius: 5px;
background: var(--theme-page-light-color);
border-color: var(--theme-page-third-color);
}
.mw-widgets-datetime-calendarWidget table {
background: none;
}
.oo-ui-iconElement-icon.oo-ui-icon-clear:after {
content: '✖';
display: inline-block;
margin-top: 6px;
width: 10px;
}
/* Свежие правки */
.client-js .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) {
border-color: var(--theme-page-third-color);
margin-left: 0;
border-radius: 10px;
outline: none;
}
.mw-recentchanges-toplinks .oo-ui-buttonElement-button:focus,
.mw-recentchanges-toplinks .oo-ui-buttonElement-button:active {
border-color: transparent !important;
}
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget .oo-ui-buttonElement-button {
margin-top: 1px;
}
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget .oo-ui-buttonElement-button .oo-ui-iconElement-icon {
margin-top: 1px;
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend {
background: none !important;
border-radius: 10px;
color: var(--theme-text-color);
padding: 10px 15px;
border-color: var(--theme-page-third-color);
}
body .mw-changeslist-line {
color: var(--theme-text-color);
}
.client-dark-mode .oo-ui-iconElement-icon.oo-ui-icon-menu,
.client-dark-mode .oo-ui-iconElement-icon.oo-ui-icon-search {
filter: invert(1) hue-rotate(180deg);
}
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
border-radius: 10px 10px 0 0;
border-color: var(--theme-page-third-color);
background: none;
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
background: none;
}
.mw-rcfilters-collapsed .mw-rcfilters-ui-filterTagMultiselectWidget.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
.mw-rcfilters-collapsed .mw-rcfilters-ui-filterTagMultiselectWidget {
border-radius: 10px;
}
.mw-rcfilters-ui-filterTagMultiselectWidget-hideshowButton.oo-ui-widget.oo-ui-widget-enabled.oo-ui-buttonElement.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive.oo-ui-buttonWidget.oo-ui-labelElement {
margin-top: 2px;
}
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
border-bottom-right-radius: 10px;
border-color: var(--theme-page-third-color);
background: var(--theme-page-light-color);
}
.oo-ui-tagMultiselectWidget.oo-ui-tagMultiselectWidget-outlined .oo-ui-inputWidget-input {
border-bottom-left-radius: 10px;
border-color: var(--theme-page-third-color);
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
background: var(--theme-page-light-color);
color: var(--theme-text-color);
}
.oo-ui-tagItemWidget {
color: var(--theme-text-color);
border-color: var(--theme-page-third-color);
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled {
background-color: var(--theme-page-second-color);
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled:hover {
border-color: var(--theme-page-second-color);
}
.mw-changeslist-separator:before {
content: ' ' !important;
}
.client-js .rcfilters-head {
min-height: 0;
}
.mw-special-Recentchanges span.comment {
word-break: break-word;
width: 99% !important;
}
table.mw-enhanced-rc.mw-collapsible span.mw-rc-unwatched {
font-weight: bold;
font-size: 0;
}
table.mw-enhanced-rc.mw-collapsible span.mw-rc-unwatched a {
font-size: 16px;
}
.client-js .mw-changeslist table.mw-enhanced-rc,
.page-content ul {
margin-left: 10px;
}
tr:first-child td.mw-enhanced-rc {
min-width: 97px;
text-align: right;
}
table.mw-enhanced-rc, .social-activity-list li {
position: relative;
background: none;
color: var(--theme-text-color);
word-break: break-word;
}
.mw-rcfilters-ui-changesListWrapperWidget table.mw-enhanced-rc td:last-child {
padding-right: 18px;
}
.mw-special-Recentchanges span.mw-collapsible-toggle.mw-collapsible-arrow.mw-enhancedchanges-arrow.mw-enhancedchanges-arrow-space.mw-collapsible-toggle-expanded,
.mw-special-Recentchanges .mw-icon-arrow-collapsed, .mw-special-Recentchanges
.mw-collapsible-arrow.mw-collapsible-toggle-collapsed {
margin-top: 3px !important;
background-size: cover;
}
.mw-rcfilters-ui-tagItemWidget.oo-ui-flaggedElement-muted.oo-ui-tagItemWidget.oo-ui-widget-enabled {
border-color: var(--theme-page-third-color);
}
.mw-special-Recentchanges .mw-body h4 {
width: 100%;
}
.mw-rcfilters-ui-filterWrapperWidget-showNewChanges .oo-ui-labelElement-label {
white-space: normal;
}
/** Выпадающие меню **/
.mw-rcfilters-ui-overlay {
z-index: 4;
}
.mw-rcfilters-ui-itemMenuOptionWidget:hover {
background: rgba(var(--theme-link-color--rgb),.1) !important;
cursor: pointer !important;
}
.mw-rcfilters-ui-itemMenuOptionWidget:hover * {
cursor: pointer !important;
}
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget:last-child {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.mw-rcfilters-ui-menuSelectWidget,
.mw-rcfilters-ui-row,
.mw-rcfilters-ui-menuSelectWidget-body {
z-index: auto;
width: 90% !important;
max-width: 650px !important;
}
/** Поиск **/
.mw-rcfilters-ui-filterMenuHeaderWidget-header {
background: var(--theme-page-light-color);
border-radius: 5px 5px 0 0;
border-bottom: 0;
}
.mw-rcfilters-ui-filterMenuSectionOptionWidget {
background: var(--theme-page-second-color);
}
.mw-rcfilters-ui-itemMenuOptionWidget.oo-ui-optionWidget-selected,
.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
background: var(--theme-page-light-color);
}
.mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk) {
border-color: var(--theme-page-third-color);
}
.mw-rcfilters-ui-itemMenuOptionWidget:hover {
background: rgba(var(--theme-link-color--rgb),.1);
}
.mw-rcfilters-ui-itemMenuOptionWidget-label-title {
color: var(--theme-text-color);
}
.mw-rcfilters-ui-menuSelectWidget-footer {
background: var(--theme-page-light-color);
border-radius: 0 0 5px 5px;
border-color: var(--theme-page-third-color);
}
body .oo-ui-buttonElement-framed:not(.oo-ui-flaggedElement-primary):not(.oo-ui-buttonElement-active) > .oo-ui-buttonElement-button {
color: var(--theme-text-color);
}
/** Кнопки поиска и кол-во изменений **/
.oo-ui-buttonGroupWidget .oo-ui-buttonElement-framed:last-child .oo-ui-buttonElement-button,
.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget:last-child .oo-ui-buttonElement-button {
border-radius: 0 8px 8px 0 !important;
}
.oo-ui-buttonGroupWidget .oo-ui-buttonElement-framed:first-child .oo-ui-buttonElement-button,
.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget:first-child .oo-ui-buttonElement-button {
border-radius: 8px 0 0 8px !important;
}
.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget .oo-ui-buttonElement-button {
border-radius: 0px;
}
.mw-rcfilters-ui-datePopupWidget {
border-top-color: var(--theme-page-third-color);
}
/** Настройки фильтра **/
.client-dark-mode .mw-rcfilters-ui-saveFiltersPopupButtonWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-iconWidget {
filter: invert(1);
}
.mw-rcfilters-ui-saveFiltersPopupButtonWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-iconWidget {
margin-right: 4px;
}
.client-dark-mode .oo-ui-iconElement-icon.oo-ui-icon-highlight.oo-ui-image-invert,
.client-dark-mode .oo-ui-iconElement-icon.oo-ui-image-invert.oo-ui-icon-pushPin {
filter: none;
}
/** Сохраненные фильтры */
.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
background: none;
}
.client-dark-mode .mw-rcfilters-ui-savedLinksListWidget-placeholder .oo-ui-iconElement-icon.oo-ui-icon-bookmark {
filter: invert(1);
}
/** Выделение **/
.mw-rcfilters-ui-changesListWrapperWidget-highlighted .mw-rcfilters-ui-highlights {
top: -2.3px;
}
.mw-rcfilters-ui-highlights {
margin-left: -2px;
}
.oo-ui-iconElement-icon.oo-ui-icon-highlight.mw-rcfilters-ui-filterItemHighlightButton-circle.oo-ui-iconElement-icon {
filter: none;
}
.mw-rcfilters-ui-changesListWrapperWidget td,
.mw-rcfilters-ui-changesListWrapperWidget tr {
background: none !important;
}
/** Информация о активных фильтрах **/
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after {
border-top-color: var(--theme-page-light-color);
}
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before {
border-top-color: var(--theme-page-third-color);
}
/** Кнопочки иконочки **/
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterMenuHeaderWidget-header-invert .oo-ui-labelElement-label,
.mw-rcfilters-ui-viewSwitchWidget-buttons .oo-ui-labelElement-label,
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterMenuHeaderWidget-header-highlight .oo-ui-labelElement-label,
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-cell-reset .oo-ui-labelElement-label,
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget .oo-ui-labelElement-label {
display: none;
}
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-cell-reset .oo-ui-buttonElement-button .oo-ui-iconElement-icon.oo-ui-icon-history,
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget .oo-ui-buttonElement-button .oo-ui-iconElement-icon {
margin-top: 2.5px !important;
}
.mw-rcfilters-ui-viewSwitchWidget-buttons .oo-ui-buttonElement-button,
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterMenuHeaderWidget-header-highlight .oo-ui-buttonElement-button {
padding: 0 24px !important;
}
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterMenuHeaderWidget-header-invert .oo-ui-buttonElement-button {
height: 32px;
width: 48px;
padding: 0;
}
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterMenuHeaderWidget-header-invert .oo-ui-iconElement-icon {
display: inline-block;
position: relative;
width: 21.71px;
height: 32px;
background-size: contain;
background-repeat: no-repeat !important;
background-position: center !important;
background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etrash%3C/title%3E%3Cpath d=%22M17 2h-3.5l-1-1h-5l-1 1H3v2h14zM4 17a2 2 0 002 2h8a2 2 0 002-2V5H4z%22/%3E%3C/svg%3E")
}
.client-dark-mode .mw-rcfilters-ui-cell.mw-rcfilters-ui-filterMenuHeaderWidget-header-invert .oo-ui-iconElement-icon {
filter: invert(1);
}
/** Загрузка файлов **/
.mw-htmlform {
max-width: 100%;
word-break: break-word;
overflow: hidden;
}
#mw-htmlform-description *,
#mw-htmlform-source * {
min-width: 85px;
}
fieldset {
min-width: 90%
}
#mw-upload-permitted p {
max-width: calc(100% - 200px);
display: block;
word-break: break-word;
}
.htmlform-tip {
font-size: 14px;
}
#wpUploadFile {
max-width: 50%;
white-space: normal;
}
#mw-htmlform-source, #mw-htmlform-description, #mw-htmlform-options {
background: none;
}
body code {
border-color: var(--theme-page-second-color);
background: var(--theme-page-second-color);
color: var(--theme-text-color);
}
fieldset {
border-color: var(--theme-page-third-color);
border-radius: 8px;
}
fieldset legend {
font-weight: 500;
}
#wpDestFile,
#wpUploadDescription {
border-radius: 8px;
border: 1px solid var(--theme-page-third-color);
background: var(--theme-page-light-color);
color: var(--theme-text-color);
padding: 5.44px 10px;
width: 100%;
max-width: 100%;
}
#wpDestFile {
width: 90%;
}
#wpDestFile:focus,
#wpUploadDescription:focus,
#wpDestFile:active,
#wpUploadDescription:active {
border-radius: 8px;
border: 1px solid #36c;
background: var(--theme-page-light-color);
}
select {
padding: 5px 8px;
font-weight: 600;
color: #fff;
border-radius: 8px;
border: 0;
background: var(--theme-page-third-color);
}
input[type="submit" i] {
padding: 5px 12px;
font-weight: 600;
color: #fff;
border-radius: 8px;
border: 0;
background: var(--theme-page-third-color);
}
input[type="submit" i]:hover {
filter: brightness(90%);
transition: .2s;
}
input[type="submit" i]:active {
background: var(--theme-page-second-color);
}
select:focus:not(:active),
input[type="submit" i]:focus:not(:active) {
box-shadow: inset 0 0 0 1px #36c;
}
select,
#wpDestFile:active,
#wpUploadDescription:active,
input:active,
input:focus,
textarea:active,
textarea:focus {
outline: 0;
}
/** Настройки **/
.skin-cosmos #managewiki .managewiki-submit-formfields {
background: none;
border: 0;
}
.managewiki-tabs-wrapper.oo-ui-panelLayout-framed, .managewiki-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
border-color: var(--theme-page-third-color);
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label {
border: 0;
}
/** Файлы **/
#filetoc {
background: var(--theme-page-light-color);
border-color: var(--theme-page-third-color);
border-radius: 10px;
}
.mw_metadata td {
background: none;
border: none;
}
/* Блок категорий */
/** Ссылка **/
#mw-normal-catlinks a {
font-weight: 500;
}
/** Подложка для категорий **/
#mw-normal-catlinks li {
border: none;
background-color: var(--theme-page-second-color);
padding: 5px;
margin: 0 2px;
border-radius: 5px;
margin-bottom: 3px;
font-size: 14px;
font-weight: bold;
}
#catlinks li:not(:nth-of-type(1)) {
border-left: 0;
}
/** Оформление блока **/
#catlinks {
padding: 5px 10px;
margin: 32px 4px;
border-left: 10px solid #DC143C !important;
border-radius: 5px !important;
border-right: none !important;
border-top: none !important;
border-bottom: none !important;
box-shadow: 0 2px 4px rgba(var(--theme-main-invert-color--rgb),.2);
}
/* Галереи */
li.gallerybox div.thumb {
background: var(--theme-page-second-color);
border-color: var(--theme-page-third-color);
}
/* Содержание */
.skin-cosmos .toc {
margin: 4px;
background: var(--theme-page-second-color);
border: 0;
border-radius: 10px;
box-shadow: 0 4px 4px rgba(var(--theme-main-invert-color--rgb),.2);
}
.skin-cosmos .toc .toctitle .toctogglespan .toctogglelabel {
outline: 0;
}
#mw-content .toc > ul {
border-color: var(--theme-page-third-color);
}
.skin-cosmos .toc .tocnumber {
color: var(--theme-text-color);
}
@media screen and (max-width: 850px) {
.skin-cosmos .toc {
width: calc(100% - 8px);
}
}