mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
f4156bd09f
New changes: * e7e2833 - Update uses of Push/IconButtonWidget to ButtonWidget * d9d9eb5 - Update OOjs UI to v0.1.0-pre (d9bab13) * d9bab13 - The Great Button Refactor of 2014 * 22b93ef - Update OOjs UI build (88b2871) * 88b2871 - Fix png transparency on required.png * 670c468 - Add i18n Also: * Update uses of Push/IconButtonWidget to ButtonWidget as there is a breaking change in new OOjs UI version. This was separated from commit I325a4dcc316d0. Change-Id: I82220d15221c52be03feafcfc85c2bd6c12ba462
129 lines
2.8 KiB
CSS
129 lines
2.8 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;
|
|
}
|
|
|
|
.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-actions {
|
|
font-size: 0.8em;
|
|
vertical-align: top;
|
|
padding: 0.25em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-utilites > .oo-ui-buttonedElement-frameless {
|
|
margin-right: 0.2em;
|
|
margin-top: 0.2em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar-actions > .oo-ui-buttonedElement-framed {
|
|
margin-left: 0.25em;
|
|
margin-right: 0.25em;
|
|
margin-top: 0.2em;
|
|
}
|
|
|
|
/* Needs to override .oo-ui.widget.oo-ui-widget-disabled */
|
|
.ve-ui-toolbar-actions .ve-init-mw-viewPageTarget-waiting.oo-ui-widget.oo-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-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-buttonedElement-frameless {
|
|
display: block;
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.ve-ui-mwHelpPopupTool-item > .oo-ui-buttonedElement-frameless: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);
|
|
}
|