2014-12-08 23:42:19 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki Initialization Target styles.
|
|
|
|
*
|
2019-01-01 13:24:23 +00:00
|
|
|
* @copyright 2011-2019 VisualEditor Team and others; see AUTHORS.txt
|
2014-12-08 23:42:19 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Dialogs */
|
|
|
|
|
|
|
|
/* Override overflow: hidden; from MW styles */
|
|
|
|
.ve-ui-commandHelpDialog-section h3 {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2014-12-08 23:45:23 +00:00
|
|
|
|
|
|
|
/* IE hacks */
|
|
|
|
|
|
|
|
/* Undo overflow: hidden; from MW CSS to work around hasLayout issue */
|
|
|
|
.ve-init-target-ie .ve-ce-surface h1,
|
|
|
|
.ve-init-target-ie .ve-ce-surface h2,
|
|
|
|
.ve-init-target-ie .ve-ce-surface h3,
|
|
|
|
.ve-init-target-ie .ve-ce-surface h4,
|
|
|
|
.ve-init-target-ie .ve-ce-surface h5,
|
|
|
|
.ve-init-target-ie .ve-ce-surface h6 {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2018-07-05 15:32:37 +00:00
|
|
|
|
|
|
|
/* Override MediaWiki's styles that make sense in read mode only */
|
|
|
|
|
|
|
|
/* Prevent jQuery.makeCollapsible from hiding the rows, even if collapsed by default */
|
|
|
|
.client-js .ve-ce-mwTableNode.mw-collapsed:not( .mw-made-collapsible ) tr:not( :first-child ),
|
|
|
|
.client-js .ve-ui-diffElement table.mw-collapsed:not( .mw-made-collapsible ) tr:not( :first-child ) {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.client-js .ve-ce-mwTableNode.mw-collapsed:not( .mw-made-collapsible ) > thead + tbody,
|
|
|
|
.client-js .ve-ui-diffElement table.mw-collapsed:not( .mw-made-collapsible ) > thead + tbody {
|
|
|
|
display: table-row-group;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Grey out the fake toggles to make it more obvious they are not interactive.
|
|
|
|
* Don't bother trying to float the toggles, as the text they are floating around
|
|
|
|
* is now paragraph wrapped. Making these paragraphs display:inline would fix the
|
|
|
|
* rendering but causes them to be destroyed by the CE when empty (T197987).
|
|
|
|
*/
|
|
|
|
.ve-ce-mwTableNode.mw-collapsible :first-child tr:first-child th:last-child:before,
|
|
|
|
.ve-ce-mwTableNode.mw-collapsible > caption:first-child:after,
|
|
|
|
.ve-ui-diffElement table.mw-collapsible :first-child tr:first-child th:last-child:before,
|
|
|
|
.ve-ui-diffElement table.mw-collapsible > caption:first-child:after {
|
|
|
|
color: #999;
|
|
|
|
float: none;
|
|
|
|
}
|
2019-02-13 13:21:26 +00:00
|
|
|
|
|
|
|
/* Reset section node styles */
|
|
|
|
.ve-init-mw-target .ve-ce-sectionNode:before,
|
|
|
|
.ve-init-mw-target .ve-ce-sectionNode:after {
|
|
|
|
content: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-init-mw-target .ve-ce-surface-enabled .ve-ce-sectionNode:not( .ve-ce-activeNode-active ) {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-04-15 22:39:56 +00:00
|
|
|
|
|
|
|
/* Save button */
|
|
|
|
.ve-ui-toolbar-saveButton {
|
2019-06-20 18:29:52 +00:00
|
|
|
white-space: nowrap;
|
2019-04-15 22:39:56 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|