mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
5876014c8f
When this dialog is not isolated, MediaWiki's overflow: hidden; rules for headings cut off part of the text in the <h3>s. Compensates for Id425c56d9d24 in VE core. Change-Id: Id9f6bd2bdbed0c6fe57e897c2415c3eceff900a6
104 lines
2.3 KiB
CSS
104 lines
2.3 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization ViewPageTarget styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* VisualEditor */
|
|
|
|
.ve-init-mw-viewPageTarget-transform {
|
|
-webkit-transition: opacity 200ms ease-out;
|
|
-moz-transition: opacity 200ms ease-out;
|
|
-o-transition: opacity 200ms ease-out;
|
|
transition: opacity 200ms ease-out;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-transform-muted {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-pageTitle {
|
|
cursor: default;
|
|
}
|
|
|
|
/* Toolbar */
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-utilites,
|
|
.ve-init-mw-viewPageTarget-toolbar-actions {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-actions {
|
|
font-size: 0.8em;
|
|
vertical-align: top;
|
|
padding: 0.25em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-utilites > .oo-ui-buttonElement-frameless {
|
|
margin-right: 0.2em;
|
|
margin-top: 0.2em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-actions > .oo-ui-buttonElement-framed {
|
|
margin-left: 0.25em;
|
|
margin-right: 0.25em;
|
|
margin-top: 0.2em;
|
|
}
|
|
|
|
/* Needs to override .oo-ui.widget.oo-ui-widget-disabled */
|
|
.ve-init-mw-viewPageTarget-waiting.oo-ui-widget.oo-ui-widget-disabled {
|
|
cursor: progress;
|
|
}
|
|
|
|
/* Tools */
|
|
|
|
.ve-ui-mwNoticesPopupTool-items,
|
|
.ve-ui-mwHelpPopupTool-items {
|
|
padding: 0.5em 1em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar .oo-ui-popupButtonWidget .oo-ui-popupWidget-popup,
|
|
.ve-init-mw-viewPageTarget-toolbar .oo-ui-popupButtonWidget .oo-ui-popupWidget-tail {
|
|
z-index: 4;
|
|
}
|
|
|
|
.ve-ui-mwNoticesPopupTool-items > div:not(:first-child),
|
|
.ve-ui-mwHelpPopupTool-item:not(:first-child) {
|
|
border-top: solid 1px #ddd;
|
|
padding-top: 0.8em;
|
|
margin-top: 0.8em;
|
|
}
|
|
|
|
.ve-ui-mwHelpPopupTool-item > .oo-ui-buttonElement-frameless {
|
|
display: block;
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.ve-ui-mwHelpPopupTool-item > .oo-ui-buttonElement-frameless:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.ve-ui-mwHelpPopupTool-version-label,
|
|
.ve-ui-mwHelpPopupTool-version-link,
|
|
.ve-ui-mwHelpPopupTool-version-date {
|
|
font-size: 0.9em;
|
|
color: #555;
|
|
}
|
|
|
|
/*
|
|
* Bidi-isolate the version number,
|
|
* so it won't mess up the date after it.
|
|
* Bug 68688
|
|
*/
|
|
.ve-ui-mwHelpPopupTool-version-link {
|
|
unicode-bidi: embed;
|
|
}
|
|
|
|
/* Dialogs */
|
|
|
|
/* Override overflow: hidden; from MW styles */
|
|
.ve-ui-commandHelpDialog-section h3 {
|
|
overflow: visible;
|
|
} |