MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 506: | Line 506: | ||
.wikiEditor-ui .wikiEditor-ui-view { | |||
margin-left: -1em; | |||
margin-right: -1em; | |||
border: 0 | |||
} | |||
.client-js #editform > .wikiEditor-ui .wikiEditor-ui-view { | |||
margin-left: 0; | |||
margin-right: 0 | |||
} | |||
.client-js #editform { | |||
margin-left: -1em; | |||
margin-right: -1em | |||
} | |||
@media screen and (min-width: 982px) { | |||
.wikiEditor-ui .wikiEditor-ui-view { | |||
margin-left:-1.7em; | |||
margin-right: -1.7em | |||
} | |||
.client-js #editform { | |||
margin-left: -1.7em; | |||
margin-right: -1.7em | |||
} | |||
} | |||
.wikiEditor-ui .wikiEditor-ui-top { | |||
border-bottom: 0 | |||
} | |||
.wikiEditor-ui-toolbar .sections .section .section-advanced .section-visible { | |||
border-bottom: 0 | |||
} | |||
.oo-ui-toolbar-bar .oo-ui-toolbar-actions .oo-ui-toolbar .oo-ui-toolbar-bar { | |||
border-bottom: 0; | |||
box-shadow: none | |||
} | |||
.wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon { | |||
left: 10px; | |||
} | |||
.wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button { | .wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button { | ||
min-width: 42px; | min-width: 42px; | ||
min-height: 42px; | min-height: 42px; | ||
text-align: center | text-align: center; | ||
} | |||
.wikiEditor-ui-toolbar .group .tool-select,.wikiEditor-ui-toolbar .group .tool-select .label:after { | |||
height: 42px | |||
} | |||
.wikiEditor-ui-toolbar .group .label { | |||
line-height: 39px | |||
} | |||
.wikiEditor-ui-toolbar .group .tool-select .label { | |||
line-height: 42px; | |||
height: 42px | |||
} | |||
.wikiEditor-ui-toolbar .tabs span.tab { | |||
line-height: 42px | |||
} | |||
.wikiEditor-ui-toolbar .tabs span.tab a:before { | |||
height: 42px; | |||
left: 6px | |||
} | |||
.wikiEditor-ui-toolbar .tabs span.tab a { | |||
height: 42px; | |||
padding-left: 22px | |||
} | |||
.wikiEditor-ui-toolbar .tabs { | |||
margin: 0 | |||
} | |||
.ve-init-mw-editSwitch .oo-ui-popupToolGroup { | |||
height: 42px | |||
} | |||
.ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-iconElement .oo-ui-popupToolGroup-handle { | |||
padding-top: 42px | |||
} | |||
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar { | |||
border-bottom: 1px solid #eaecf0; | |||
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2) | |||
} | |||
.ve-activated .vector-menu-tabs .selected { | |||
box-shadow: none | |||
} | |||
.oo-ui-messageDialog-title { | |||
color: #1e1e1e; | |||
font-weight: bold | |||
} | |||
.ve-ui-specialCharacterPage h3,.ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout h3 { | |||
font-weight: bold | |||
} | |||
.wikiEditor-ui-toolbar .page-characters div span { | |||
border: 1px solid #cbcbcb | |||
} | |||
.wikiEditor-ui-toolbar .page-table th,.wikiEditor-ui-toolbar .page-table td { | |||
padding: 4px | |||
} | |||
.wikiEditor-ui-toolbar .page-table td { | |||
border-top: 1px solid #cbcbcb | |||
} | |||
.mw-editform #wpTextbox1 { | |||
padding-left: 0.8em | |||
} | |||
.mw-editTools,.templatesUsed,.hiddencats,.limitreport { | |||
padding-left: 1.5em; | |||
padding-right: 1.5em | |||
} | |||
.editOptions { | |||
border-top: 0; | |||
border-left: 0; | |||
border-right: 0; | |||
padding: 1.5em | |||
} | |||
.mw-editform #wpSummaryLabel { | |||
margin: 0 1em | |||
} | |||
.editOptions > #wpSummaryLabel { | |||
margin: 0 | |||
} | |||
.mw-summary-preview { | |||
margin: 0 1em | |||
} | } | ||
.editOptions > .mw-summary-preview { | |||
margin: 0 | |||
} | |||
.mw-editform #editpage-copywarn { | |||
line-height: 1.4; | |||
margin-top: 5px | |||
} | |||
#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt,.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button { | |||
border: 1px solid #c0c2c5; | |||
padding: 0.3em; | |||
border-radius: 3px | |||
} | |||
body .ui-dialog .ui-widget-header { | |||
background: #ebe9e9 !important; | |||
border: 0; | |||
font-size: 120%; | |||
padding: 0.6em 1.4em 0.6em !important; | |||
margin: 0.5em 0.5em 0 | |||
} | |||
.wikieditor-toolbar-field-wrapper { | |||
display: flex; | |||
gap: 6px; | |||
align-items: center; | |||
flex-wrap: wrap | |||
} | |||
.wikieditor-toolbar-file-alt-help { | |||
background: #f7f7f7; | |||
border: 1px solid #c3c3c3; | |||
font-size: 110%; | |||
padding: 0.4em 1em 0.4em; | |||
border-radius: 2px; | |||
cursor: pointer | |||
} | |||
.wikieditor-toolbar-file-alt-help:is(:hover,:focus-within) { | |||
background: #eef4ff !important; | |||
border-color: #afc4db !important | |||
} | |||
.ui-dialog .ui-dialog-buttonpane button { | |||
background: #f7f7f7 !important; | |||
border-color: #c3c3c3 !important; | |||
font-weight: bold; | |||
font-size: 110%; | |||
color: #222222; | |||
padding: 0.3em; | |||
border-radius: 2px; | |||
box-shadow: none | |||
} | |||
.ui-dialog .ui-dialog-buttonpane button:is(:hover,:focus-within) { | |||
background: #eef4ff !important; | |||
border-color: #afc4db !important | |||
} | |||
#wikieditor-toolbar-replace-nomatch { | |||
background-color: #f3cece; | |||
border-radius: 4px; | |||
padding: 10px; | |||
margin-bottom: 16px | |||
} | |||
#wikieditor-toolbar-replace-emptysearch { | |||
background-color: #e5e7bf; | |||
border-radius: 4px; | |||
padding: 10px; | |||
margin-bottom: 16px | |||
} | |||
#wikieditor-toolbar-replace-success { | |||
background-color: #d6ebd2; | |||
border-radius: 4px; | |||
padding: 10px; | |||
margin-bottom: 16px | |||
} | |||
#wikieditor-toolbar-replace-invalidregex { | |||
background-color: #efd6f1; | |||
border-radius: 4px; | |||
padding: 10px; | |||
margin-bottom: 16px | |||
} | |||
.ve-ui-mwSaveDialog-options { | |||
background-color: transparent; | |||
border: 0 | |||
} | |||
.ve-ui-mwSaveDialog-summary { | |||
background-color: transparent | |||
} | |||
.ve-ui-changeDescriptionsSelectWidget > .oo-ui-optionWidget { | |||
padding: 0.3em 0.6em; | |||
border-radius: 3px | |||
} | |||
.cm-mw-toggle-wikieditor .oo-ui-labelElement-label { | |||
display: none | |||
} | |||
/* | |||
#preferences .mw-htmlform-submit-buttons { | |||
background-color: var(--content-background-color) | |||
} | |||
.ext-discussiontools-ui-replyWidget-footer,.ext-discussiontools-init-timestamplink,.ext-discussiontools-init-timestamplink:visited,.ext-discussiontools-init-timestamplink:active,.ext-discussiontools-init-pageframe-latestcomment,.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section-metaitem { | |||
color: var(--content-secondary-text-color) | |||
} | |||
.mcwiki-header-grass .ext-discussiontools-init-section-subscribe > * { | |||
color: inherit !important | |||
} | |||
.ext-discussiontools-replytool-enabled:not(.ns-4) dl,.ext-discussiontools-visualenhancements-enabled dl,.ns-10008 dl,.ns-talk dl { | |||
border-left: 1px dotted #a2a9b1 | |||
} | |||
.ext-discussiontools-replytool-enabled:not(.ns-4) dl:has(+ dl),.ext-discussiontools-replytool-enabled:not(.ns-4) dl dl,.ext-discussiontools-visualenhancements-enabled dl:has(+ dl),.ext-discussiontools-visualenhancements-enabled dl dl,.ns-10008 dl:has(+ dl),.ns-10008 dl dl,.ns-talk dl:has(+ dl),.ns-talk dl dl { | |||
margin-bottom: -0.5em; | |||
padding-bottom: 0.5em | |||
} | |||
body:is(.ext-discussiontools-replytool-enabled:not(.ns-4),.ext-discussiontools-visualenhancements-enabled,.ns-10008,.ns-talk) :is(dl:has(+ dl),dd) dd:last-child { | |||
margin-bottom: 0 | |||
} | |||
body:is(.ext-discussiontools-replytool-enabled:not(.ns-4),.ext-discussiontools-visualenhancements-enabled,.ns-10008,.ns-talk) dd:first-child:not(:has(> dl:first-child)) { | |||
margin-top: 0.5em; | |||
padding-top: 0.5em; | |||
border-top: 1px dotted #a2a9b1 | |||
} | |||
body:is(.ext-discussiontools-replytool-enabled:not(.ns-4),.ext-discussiontools-visualenhancements-enabled,.ns-10008,.ns-talk) dd:not(:last-child):has([data-mw-comment-end]) { | |||
margin-bottom: 0.5em; | |||
padding-bottom: 0.5em; | |||
border-bottom: 1px dotted #a2a9b1 | |||
} | |||
.vector-body blockquote { | |||
border-left-color: var(--infobox-header-background-color) | |||
} | |||
*/ | |||
/** Оформление WikiEditor **/ | /** Оформление WikiEditor **/ | ||