mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
972c9a46b7
Major changes: * Create a MW specific save dialog class * Widgetize save dialog elements * Simplification of viewPageTarget Minor changes: * Added getWindow method to windowSet and setTitle methods to window class * Add transition css properties to dialog styles Bug: 48566 Bug: 50722 Bug: 51918 Bug: 52175 Bug: 53313 Change-Id: I8c0db01fb8477a9b3d3dfe2a6073ac67869ce40e
131 lines
2.9 KiB
CSS
131 lines
2.9 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization ViewPageTarget styles.
|
|
*
|
|
* @copyright 2011-2013 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-transform-hidden {
|
|
opacity: 0;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-pageTitle {
|
|
cursor: default;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-loading {
|
|
width: 128px;
|
|
height: 15px;
|
|
float: right;
|
|
}
|
|
|
|
/* Toolbar */
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-utilites,
|
|
.ve-init-mw-viewPageTarget-toolbar-actions {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-utilites {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-utilites > .ve-ui-iconButtonWidget {
|
|
margin-right: 0.2em;
|
|
margin-top: 0.2em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-actions > .ve-ui-pushButtonWidget {
|
|
margin-left: 0.25em;
|
|
margin-right: 0.25em;
|
|
margin-top: 0.2em;
|
|
}
|
|
|
|
/* Needs to override .ve-ui.widget.ve-ui-widget-disabled */
|
|
.ve-ui-toolbar-actions .ve-init-mw-viewPageTarget-waiting.ve-ui-widget.ve-ui-widget-disabled {
|
|
cursor: progress;
|
|
}
|
|
|
|
/* Tools */
|
|
|
|
.ve-init-mw-viewPageTarget-tool {
|
|
position: relative;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
line-height: 2.8em;
|
|
margin-right: 1em;
|
|
padding-left: 30px;
|
|
cursor: pointer;
|
|
background-repeat: no-repeat;
|
|
background-position: left center;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-tool-label {
|
|
color: #555555;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-tool-beta-label {
|
|
font-size: 120%;
|
|
font-variant: small-caps;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-tool:hover .ve-init-mw-viewPageTarget-tool-label,
|
|
.ve-init-mw-viewPageTarget-subtool-label:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-editNotices,
|
|
.ve-init-mw-viewPageTarget-betaNotices {
|
|
padding: 0.5em 1em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar .ve-ui-popupButtonWidget .ve-ui-popupWidget-popup,
|
|
.ve-init-mw-viewPageTarget-toolbar .ve-ui-popupButtonWidget .ve-ui-popupWidget-tail {
|
|
z-index: 4;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-editNotices-notice:not(:first-child),
|
|
.ve-init-mw-viewPageTarget-betaNotices-notice:not(:first-child) {
|
|
border-top: solid 1px #ddd;
|
|
padding-top: 0.8em;
|
|
margin-top: 0.8em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-betaNotices-notice > .ve-ui-iconButtonWidget {
|
|
display: block;
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-betaNotices-notice > .ve-ui-iconButtonWidget:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.ve-init-mw-ViewPageTarget-version-label,
|
|
.ve-init-mw-ViewPageTarget-version-link,
|
|
.ve-init-mw-ViewPageTarget-version-date {
|
|
font-size: 0.8em;
|
|
color: #555;
|
|
}
|
|
|
|
/* Images */
|
|
|
|
.ve-init-mw-viewPageTarget-loading,
|
|
.ve-ui-mwSaveDialog-working {
|
|
/* @embed */
|
|
background-image: url(images/loading-ltr.gif);
|
|
}
|