mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 02:38:40 +00:00
Split out omnibus CSS files
Change-Id: I195a0e4091cf2d003c325e9c653dd634e7096779
This commit is contained in:
parent
3ce49146fe
commit
f8720326b0
|
@ -12,15 +12,28 @@
|
|||
<link rel=stylesheet href="lib/ve/modules/ve/init/sa/styles/ve.init.sa.css">
|
||||
|
||||
<!-- visualEditor.core -->
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.Node.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.AlienNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.BranchNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.DocumentNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.FocusableNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.GeneratedContentNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.ImageNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.LanguageAnnotation.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.ProtectedNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.RelocatableNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.ResizableNode.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ce/styles/ve.ce.Surface.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.CommandHelpDialog.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.DesktopContext.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.Dialog.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.FormatTool.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.Inspector.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.Inspector.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.LanguageInputWidget.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.MediaSizeWidget.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.SpecialCharacterInspector.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.Surface.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.Tool.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.SurfaceWidget.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.Toolbar.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.Widget.css">
|
||||
<link rel=stylesheet href="lib/ve/modules/ve/ui/styles/ve.ui.Icons-vector.css">
|
||||
|
||||
<!-- visualEditor.mobile -->
|
||||
|
|
|
@ -601,10 +601,11 @@ $wgResourceModules += array(
|
|||
),
|
||||
'styles' => array(
|
||||
// ui
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWDialog.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWBetaWelcomeDialog.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWExtensionInspector.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWPage.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWSaveDialog.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWTitleInputWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWTocWidget.css',
|
||||
),
|
||||
'dependencies' => array(
|
||||
'ext.visualEditor.core',
|
||||
|
@ -720,6 +721,9 @@ $wgResourceModules += array(
|
|||
'styles' => array(
|
||||
'modules/ve-mw/ce/styles/ve.ce.MWBlockImageNode.css',
|
||||
'modules/ve-mw/ce/styles/ve.ce.MWInlineImageNode.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWMediaDialog.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWMediaInsertDialog.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWMediaResultWidget.css',
|
||||
),
|
||||
'dependencies' => array(
|
||||
'ext.visualEditor.mwcore',
|
||||
|
@ -775,6 +779,7 @@ $wgResourceModules += array(
|
|||
),
|
||||
'styles' => array(
|
||||
'modules/ve-mw/ce/styles/ve.ce.MWNumberedExternalLinkNode.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWLinkTargetInputWidget.css',
|
||||
),
|
||||
'dependencies' => array(
|
||||
'ext.visualEditor.mwcore',
|
||||
|
@ -823,6 +828,14 @@ $wgResourceModules += array(
|
|||
|
||||
'modules/ve-mw/ui/tools/ve.ui.MWMetaDialogTool.js',
|
||||
),
|
||||
'styles' => array(
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWCategoriesPage.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWCategoryInputWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWCategoryItemWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWCategoryPopupWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWCategoryWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWMetaDialog.css',
|
||||
),
|
||||
'dependencies' => array(
|
||||
'ext.visualEditor.mwcore',
|
||||
'ext.visualEditor.mwlink',
|
||||
|
@ -897,6 +910,8 @@ $wgResourceModules += array(
|
|||
'styles' => array(
|
||||
'modules/ve-mw/ce/styles/ve.ce.MWReferenceListNode.css',
|
||||
'modules/ve-mw/ce/styles/ve.ce.MWReferenceNode.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWReferenceResultWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWReferenceSearchWidget.css',
|
||||
),
|
||||
'dependencies' => array(
|
||||
'ext.visualEditor.mwcore',
|
||||
|
@ -953,6 +968,12 @@ $wgResourceModules += array(
|
|||
),
|
||||
'styles' => array(
|
||||
'modules/ve-mw/ce/styles/ve.ce.MWTransclusionNode.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWParameterPage.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWParameterResultWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWParameterSearchWidget.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWTransclusionContentPage.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWTransclusionDialog.css',
|
||||
'modules/ve-mw/ui/styles/ve.ui.TemplatePage.css',
|
||||
),
|
||||
'dependencies' => array(
|
||||
'ext.visualEditor.mwcore',
|
||||
|
@ -994,6 +1015,9 @@ $wgResourceModules += array(
|
|||
'lib/ve/modules/ve/ui/tools/ve.ui.LanguageInspectorTool.js',
|
||||
'lib/ve/modules/ve/ui/widgets/ve.ui.LanguageInputWidget.js',
|
||||
),
|
||||
'styles' => array(
|
||||
'modules/ve-mw/ui/styles/ve.ui.MWLanguageInputWidget.css',
|
||||
),
|
||||
'dependencies' => array(
|
||||
'ext.visualEditor.core',
|
||||
'jquery.uls',
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* ve.ce.MWHieroNode */
|
||||
|
||||
.ve-ce-mwHieroNode {
|
||||
display: table;
|
||||
}
|
||||
|
|
11
modules/ve-mw/ui/styles/ve.ui.MWBetaWelcomeDialog.css
Normal file
11
modules/ve-mw/ui/styles/ve.ui.MWBetaWelcomeDialog.css
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWBetaWelcomeDialog styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwBetaWelcomeDialog-content {
|
||||
line-height: 1.5em;
|
||||
font-size: 1.1em;
|
||||
}
|
10
modules/ve-mw/ui/styles/ve.ui.MWCategoriesPage.css
Normal file
10
modules/ve-mw/ui/styles/ve.ui.MWCategoriesPage.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWCategoriesPage styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwCategoriesPage-defaultsort {
|
||||
width:30em;
|
||||
}
|
21
modules/ve-mw/ui/styles/ve.ui.MWCategoryInputWidget.css
Normal file
21
modules/ve-mw/ui/styles/ve.ui.MWCategoryInputWidget.css
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWCategoryInputWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwCategoryInputWidget {
|
||||
float: left;
|
||||
width: 15em;
|
||||
margin-top: 0.75em;
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryInputWidget input {
|
||||
border-radius: 2em;
|
||||
font-size: 1.05em;
|
||||
margin-top: 0;
|
||||
padding-left: 0.75em;
|
||||
padding-right: 0.75em;
|
||||
}
|
72
modules/ve-mw/ui/styles/ve.ui.MWCategoryItemWidget.css
Normal file
72
modules/ve-mw/ui/styles/ve.ui.MWCategoryItemWidget.css
Normal file
|
@ -0,0 +1,72 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWCategoryItemWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwCategoryItemWidget {
|
||||
position: relative;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget-button {
|
||||
position: relative;
|
||||
padding: 0.5em 0.75em 0.5em 1.125em;
|
||||
margin: 0.75em 0.75em 0 0;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
opacity: 0.8;
|
||||
/* Animation */
|
||||
-webkit-transition: border-color 100ms;
|
||||
-moz-transition: border-color 100ms;
|
||||
-o-transition: border-color 100ms;
|
||||
transition: border-color 100ms;
|
||||
|
||||
/* Gray */
|
||||
border-radius: 1.25em;
|
||||
border: 1px #c9c9c9 solid;
|
||||
background-color: #ffffff;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(
|
||||
GradientType=0,startColorstr=#ffffff, endColorstr=#f0f0f0
|
||||
);
|
||||
background-image: -webkit-gradient(
|
||||
linear, right top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#f0f0f0)
|
||||
);
|
||||
background-image: -webkit-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
background-image: -moz-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
background-image: -ms-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
background-image: -o-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
background-image: linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget-button:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget-label {
|
||||
display: block;
|
||||
padding-right: 1.5em;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget-button:active {
|
||||
border-color: #ddd;
|
||||
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.07);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget.oo-ui-indicatedElement .oo-ui-indicatedElement-indicator {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0.125em;
|
||||
width: 2.25em;
|
||||
height: 2.25em;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
}
|
53
modules/ve-mw/ui/styles/ve.ui.MWCategoryPopupWidget.css
Normal file
53
modules/ve-mw/ui/styles/ve.ui.MWCategoryPopupWidget.css
Normal file
|
@ -0,0 +1,53 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWCategoryPopupWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget {
|
||||
position: absolute;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-content {
|
||||
padding: 0.75em 0.5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget .oo-ui-buttonedElement-frameless {
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget label {
|
||||
opacity: .8;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-title {
|
||||
background-position: left center;
|
||||
background-repeat: no-repeat;
|
||||
padding: 0.5em 0.5em 0.5em 2.25em;
|
||||
margin: -0.4em 0 1em 0.125em;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget .ve-ui-removeButtonLabel:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-removeButton {
|
||||
position: absolute;
|
||||
margin-right: 2px;
|
||||
padding: 0.5em;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-sortKeyForm {
|
||||
padding: 0.5em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-sortKeyForm .oo-ui-labelWidget {
|
||||
padding: 0 0.125em 0.5em 0.125em;
|
||||
}
|
22
modules/ve-mw/ui/styles/ve.ui.MWCategoryWidget.css
Normal file
22
modules/ve-mw/ui/styles/ve.ui.MWCategoryWidget.css
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWCategoryWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwCategoryWidget {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryWidget-items {
|
||||
/* MDN claims we need to use word-wrap: break-word; and that it's been renamed to
|
||||
* overflow-wrap: break-word; , but the only thing that actually works in practice is
|
||||
* word-break: break-word; (which is not documented in any standard at all). So we just use
|
||||
* all three.
|
||||
*/
|
||||
/*csslint known-properties:false */
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
|
@ -1,217 +0,0 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface Dialog styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* ve.ui.MWTransclusionDialog */
|
||||
|
||||
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-widget {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-buttonedElement-framed {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 0.5em rgba(0,0,0,0.2);
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-addParameterFieldset .oo-ui-searchWidget-results {
|
||||
position: relative;
|
||||
padding-bottom: 5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-removeButton {
|
||||
position: absolute;
|
||||
right: 1.5em;
|
||||
top: 1.5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout legend,
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconedElement-icon,
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwParameterPage-more {
|
||||
-webkit-transition: all 250ms ease-in-out;
|
||||
-moz-transition: all 250ms ease-in-out;
|
||||
-o-transition: all 250ms ease-in-out;
|
||||
transition: all 250ms ease-in-out;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout legend {
|
||||
height: 1.5em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .oo-ui-fieldsetLayout legend {
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconedElement-icon,
|
||||
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
||||
.ve-ui-mwTransclusionDialog-multiple .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
||||
.ve-ui-mwTransclusionDialog-multiple .oo-ui-bookletLayout .ve-ui-mwParameterPage-more {
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* ve.ui.MWMediaDialog */
|
||||
|
||||
.ve-ui-mwMediaEditDialog-altText {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* ve.ui.MWMetaDialog */
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table {
|
||||
margin: 2em 0 0 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table th {
|
||||
border-bottom: solid 1px #ddd;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table th,
|
||||
.ve-ui-mwMetaDialog-languages-table td {
|
||||
padding: 0.75em 1em;
|
||||
border-bottom: solid 1px white;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table tr td:first-child {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table tr:nth-child(odd) td {
|
||||
background: #F0F0F0;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table tr:nth-child(even) td {
|
||||
background: #F8F8F8;
|
||||
}
|
||||
|
||||
/* ve.ui.MWBetaWelcomeDialog */
|
||||
|
||||
.ve-ui-mwBetaWelcomeDialog-content {
|
||||
line-height: 1.5em;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
/* ve.ui.MWMediaInsertDialog */
|
||||
|
||||
.ve-ui-mwMediaInsertDialog-select {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* ve.ui.MWSaveDialog */
|
||||
|
||||
.ve-ui-mwSaveDialog-panel {
|
||||
margin: 1.25em;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-summaryLabel {
|
||||
padding: 0.25em 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-summary {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
border: solid 1px #ccc;
|
||||
padding: 0.5em;
|
||||
border-radius: 0.25em 0.25em 0 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-summary textarea {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
resize: none;
|
||||
height: 80px;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-summary textarea:focus,
|
||||
.ve-ui-mwSaveDialog-summary textarea:active {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-foot {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-options {
|
||||
position: relative;
|
||||
background-color: #f7f7f7;
|
||||
border: solid 1px #ccc;
|
||||
border-top: none;
|
||||
border-radius: 0 0 0.25em 0.25em;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-checkboxes {
|
||||
margin-right: 3.25em; /* Hack to prevent overlap on edit summary count */
|
||||
line-height: 3em;
|
||||
padding: 0 0.75em;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-checkboxes label {
|
||||
padding-right: 0.75em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-checkboxes input {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-editSummary-count {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
border-left: solid 1px #eee;
|
||||
line-height: 3em;
|
||||
padding: 0 1em;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-working {
|
||||
display: none;
|
||||
float: right;
|
||||
height: 2.5em;
|
||||
width: 128px;
|
||||
margin-right: 1em;
|
||||
background-position: right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-license,
|
||||
.ve-ui-mwSaveDialog-dirtymsg,
|
||||
.ve-ui-mwSaveDialog-report-notice {
|
||||
font-size: 0.85em;
|
||||
line-height: 1.25em;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
color: #999;
|
||||
}
|
11
modules/ve-mw/ui/styles/ve.ui.MWLanguageInputWidget.css
Normal file
11
modules/ve-mw/ui/styles/ve.ui.MWLanguageInputWidget.css
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWLanguageInputWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwLangugageInputWidget-uls {
|
||||
text-align: center;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
28
modules/ve-mw/ui/styles/ve.ui.MWLinkTargetInputWidget.css
Normal file
28
modules/ve-mw/ui/styles/ve.ui.MWLinkTargetInputWidget.css
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWLinkTargetInputWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwLinkTargetInputWidget-menu {
|
||||
width: 20em;
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuWidget-item {
|
||||
padding: 0.33em 1.25em;
|
||||
color: #0645AD;
|
||||
}
|
||||
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=newPage] {
|
||||
color: #BA0000;
|
||||
}
|
||||
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=existingPage],
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=matchingPage],
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=disambigPage],
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=redirectPage],
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=externalLink] {
|
||||
color: #0645AD;
|
||||
}
|
10
modules/ve-mw/ui/styles/ve.ui.MWMediaDialog.css
Normal file
10
modules/ve-mw/ui/styles/ve.ui.MWMediaDialog.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWMediaDialog styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwMediaEditDialog-altText {
|
||||
width: auto;
|
||||
}
|
14
modules/ve-mw/ui/styles/ve.ui.MWMediaInsertDialog.css
Normal file
14
modules/ve-mw/ui/styles/ve.ui.MWMediaInsertDialog.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWMediaInsertDialog styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwMediaInsertDialog-select {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
89
modules/ve-mw/ui/styles/ve.ui.MWMediaResultWidget.css
Normal file
89
modules/ve-mw/ui/styles/ve.ui.MWMediaResultWidget.css
Normal file
|
@ -0,0 +1,89 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWMediaResultWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwMediaResultWidget {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 2px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-error {
|
||||
background-color: #f3f3f3;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-thumbnail {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 400ms;
|
||||
-moz-transition: opacity 400ms;
|
||||
-o-transition: opacity 400ms;
|
||||
transition: opacity 400ms;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-done .ve-ui-mwMediaResultWidget-thumbnail,
|
||||
.ve-ui-mwMediaResultWidget-error .ve-ui-mwMediaResultWidget-thumbnail {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-crop {
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
box-shadow: inset 0 0 0 1px #ccc;
|
||||
}
|
||||
|
||||
.ve-ui-optionWidget-highlighted .ve-ui-mwMediaResultWidget-overlay,
|
||||
.ve-ui-optionWidget-selected .ve-ui-mwMediaResultWidget-overlay {
|
||||
box-shadow: inset 0 0 0 1px #a7dcff;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget.oo-ui-optionWidget-highlighted {
|
||||
box-shadow: 0 0 0.3em #a7dcff, 0 0 0 white;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget.oo-ui-optionWidget-selected {
|
||||
box-shadow: 0 0 0.3em #a7dcff, 0 0 0 white;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-error .ve-ui-mwMediaResultWidget-thumbnail {
|
||||
/* @embed */
|
||||
background-image: url(images/broken-image.png);
|
||||
background-size: auto;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget .oo-ui-labeledElement-label {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
overflow: hidden;
|
||||
padding: 0.5em;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px #000;
|
||||
line-height: 1.125em;
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget.oo-ui-optionWidget-highlighted .oo-ui-labeledElement-label {
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget.oo-ui-optionWidget-selected .oo-ui-labeledElement-label {
|
||||
background-color: #000;
|
||||
}
|
37
modules/ve-mw/ui/styles/ve.ui.MWMetaDialog.css
Normal file
37
modules/ve-mw/ui/styles/ve.ui.MWMetaDialog.css
Normal file
|
@ -0,0 +1,37 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWMetaDialog styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table {
|
||||
margin: 2em 0 0 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table th {
|
||||
border-bottom: solid 1px #ddd;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table th,
|
||||
.ve-ui-mwMetaDialog-languages-table td {
|
||||
padding: 0.75em 1em;
|
||||
border-bottom: solid 1px white;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table tr td:first-child {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table tr:nth-child(odd) td {
|
||||
background: #F0F0F0;
|
||||
}
|
||||
|
||||
.ve-ui-mwMetaDialog-languages-table tr:nth-child(even) td {
|
||||
background: #F8F8F8;
|
||||
}
|
|
@ -1,17 +1,9 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface Inspector styles.
|
||||
* VisualEditor MediaWiki UserInterface MWParameterPage styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* ve.ui.MWCategoriesPage */
|
||||
|
||||
.ve-ui-mwCategoriesPage-defaultsort {
|
||||
width:30em;
|
||||
}
|
||||
|
||||
/* ve.ui.MWParameterPage */
|
||||
|
||||
.ve-ui-mwParameterPage.oo-ui-pageLayout {
|
||||
padding-top: 0;
|
||||
|
@ -113,29 +105,3 @@
|
|||
.ve-ui-mwParameterPage:last-child .ve-ui-mwParameterPage-more {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* ve.ui.TemplatePage */
|
||||
|
||||
.ve-ui-mwTemplatePage-more {
|
||||
display: none;
|
||||
margin: 2.25em 0 0.5em 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwTemplatePage:last-child .ve-ui-mwTemplatePage-more {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ve-ui-mwTemplatePage-description-missing {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* ve.ui.MWTransclusionContentPage */
|
||||
|
||||
.ve-ui-mwTransclusionContentPage .oo-ui-textInputWidget {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionContentPage .oo-ui-textInputWidget textarea {
|
||||
height: 2.5em;
|
||||
}
|
56
modules/ve-mw/ui/styles/ve.ui.MWParameterResultWidget.css
Normal file
56
modules/ve-mw/ui/styles/ve.ui.MWParameterResultWidget.css
Normal file
|
@ -0,0 +1,56 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWParameterResultWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwParameterResultWidget {
|
||||
padding-right: 0.25em;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget .oo-ui-optionWidget-icon {
|
||||
top: 0.25em;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget.oo-ui-widget-disabled {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-label,
|
||||
.ve-ui-mwParameterResultWidget-names,
|
||||
.ve-ui-mwParameterResultWidget-description {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
/* HACK: Based on the expected width of this widget, using % produces unreliable results*/
|
||||
max-width: 33em;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-label {
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-names {
|
||||
float: right;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-name {
|
||||
border-radius: 0.3em;
|
||||
padding: 0.125em 0.25em;
|
||||
margin-left: 0.5em;
|
||||
color: #999;
|
||||
background-color: #fff;
|
||||
border: solid 1px #ddd;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-names span:not(:first-child) {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-description {
|
||||
clear: both;
|
||||
}
|
15
modules/ve-mw/ui/styles/ve.ui.MWParameterSearchWidget.css
Normal file
15
modules/ve-mw/ui/styles/ve.ui.MWParameterSearchWidget.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWParameterSearchWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwParameterSearchWidget .oo-ui-selectWidget {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterSearchWidget .oo-ui-searchWidget-results {
|
||||
overflow-y: hidden;
|
||||
}
|
28
modules/ve-mw/ui/styles/ve.ui.MWReferenceResultWidget.css
Normal file
28
modules/ve-mw/ui/styles/ve.ui.MWReferenceResultWidget.css
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWReferenceResultWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwReferenceResultWidget {
|
||||
position: relative;
|
||||
padding: 1em;
|
||||
border-bottom: solid 1px #eee;
|
||||
}
|
||||
|
||||
.ve-ui-mwReferenceResultWidget .oo-ui-labeledElement-label {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.ve-ui-mwReferenceResultWidget-shield {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwReferenceResultWidget-divider {
|
||||
font-weight: bold;
|
||||
}
|
18
modules/ve-mw/ui/styles/ve.ui.MWReferenceSearchWidget.css
Normal file
18
modules/ve-mw/ui/styles/ve.ui.MWReferenceSearchWidget.css
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWReferenceSearchWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwReferenceSearchWidget-citation {
|
||||
float: left;
|
||||
margin-right: 0.75em;
|
||||
}
|
||||
|
||||
.ve-ui-mwReferenceSearchWidget-name {
|
||||
float: right;
|
||||
margin-left: 0.75em;
|
||||
margin-bottom: 0.75em;
|
||||
color: #777;
|
||||
}
|
96
modules/ve-mw/ui/styles/ve.ui.MWSaveDialog.css
Normal file
96
modules/ve-mw/ui/styles/ve.ui.MWSaveDialog.css
Normal file
|
@ -0,0 +1,96 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWSaveDialog styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwSaveDialog-panel {
|
||||
margin: 1.25em;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-summaryLabel {
|
||||
padding: 0.25em 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-summary {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
border: solid 1px #ccc;
|
||||
padding: 0.5em;
|
||||
border-radius: 0.25em 0.25em 0 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-summary textarea {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
resize: none;
|
||||
height: 80px;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-summary textarea:focus,
|
||||
.ve-ui-mwSaveDialog-summary textarea:active {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-foot {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-options {
|
||||
position: relative;
|
||||
background-color: #f7f7f7;
|
||||
border: solid 1px #ccc;
|
||||
border-top: none;
|
||||
border-radius: 0 0 0.25em 0.25em;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-checkboxes {
|
||||
margin-right: 3.25em; /* Hack to prevent overlap on edit summary count */
|
||||
line-height: 3em;
|
||||
padding: 0 0.75em;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-checkboxes label {
|
||||
padding-right: 0.75em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-checkboxes input {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-editSummary-count {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
border-left: solid 1px #eee;
|
||||
line-height: 3em;
|
||||
padding: 0 1em;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-working {
|
||||
display: none;
|
||||
float: right;
|
||||
height: 2.5em;
|
||||
width: 128px;
|
||||
margin-right: 1em;
|
||||
background-position: right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ve-ui-mwSaveDialog-license,
|
||||
.ve-ui-mwSaveDialog-dirtymsg,
|
||||
.ve-ui-mwSaveDialog-report-notice {
|
||||
font-size: 0.85em;
|
||||
line-height: 1.25em;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
color: #999;
|
||||
}
|
10
modules/ve-mw/ui/styles/ve.ui.MWTitleInputWidget.css
Normal file
10
modules/ve-mw/ui/styles/ve.ui.MWTitleInputWidget.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWTitleInputWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwTitleInputWidget {
|
||||
width:30em;
|
||||
}
|
28
modules/ve-mw/ui/styles/ve.ui.MWTocWidget.css
Normal file
28
modules/ve-mw/ui/styles/ve.ui.MWTocWidget.css
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWTocWidget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwTocWidget {
|
||||
/* Margin to mock the standard appearance of TOC */
|
||||
margin: 1em 0 0 0;
|
||||
}
|
||||
.ve-ui-mwTocWidget .toctoggle {
|
||||
margin: 0.25em;
|
||||
}
|
||||
.ve-ui-mwTocWidget .toctoggle:before {
|
||||
content: ' [';
|
||||
}
|
||||
.ve-ui-mwTocWidget .toctoggle:after {
|
||||
content: '] ';
|
||||
}
|
||||
|
||||
.ve-ui-mwTocWidget .tocnumber:after {
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
.ve-ui-mwTocWidget a {
|
||||
cursor: pointer;
|
||||
}
|
15
modules/ve-mw/ui/styles/ve.ui.MWTransclusionContentPage.css
Normal file
15
modules/ve-mw/ui/styles/ve.ui.MWTransclusionContentPage.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWTransclusionContentPage styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwTransclusionContentPage .oo-ui-textInputWidget {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionContentPage .oo-ui-textInputWidget textarea {
|
||||
height: 2.5em;
|
||||
}
|
67
modules/ve-mw/ui/styles/ve.ui.MWTransclusionDialog.css
Normal file
67
modules/ve-mw/ui/styles/ve.ui.MWTransclusionDialog.css
Normal file
|
@ -0,0 +1,67 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface MWTransclusionDialog styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-widget {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-buttonedElement-framed {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 0.5em rgba(0,0,0,0.2);
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-addParameterFieldset .oo-ui-searchWidget-results {
|
||||
position: relative;
|
||||
padding-bottom: 5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-removeButton {
|
||||
position: absolute;
|
||||
right: 1.5em;
|
||||
top: 1.5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout legend,
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconedElement-icon,
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwParameterPage-more {
|
||||
-webkit-transition: all 250ms ease-in-out;
|
||||
-moz-transition: all 250ms ease-in-out;
|
||||
-o-transition: all 250ms ease-in-out;
|
||||
transition: all 250ms ease-in-out;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout legend {
|
||||
height: 1.5em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .oo-ui-fieldsetLayout legend {
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconedElement-icon,
|
||||
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
||||
.ve-ui-mwTransclusionDialog-multiple .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
||||
.ve-ui-mwTransclusionDialog-multiple .oo-ui-bookletLayout .ve-ui-mwParameterPage-more {
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
|
@ -1,410 +0,0 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface Widget styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* ve.ui.MWLanguageInputWidget */
|
||||
|
||||
.ve-ui-mwLangugageInputWidget-uls {
|
||||
text-align: center;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
/* ve.ui.MWLinkTargetInputWidget */
|
||||
|
||||
.ve-ui-mwLinkTargetInputWidget-menu {
|
||||
width: 20em;
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuWidget-item {
|
||||
padding: 0.33em 1.25em;
|
||||
color: #0645AD;
|
||||
}
|
||||
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=newPage] {
|
||||
color: #BA0000;
|
||||
}
|
||||
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=existingPage],
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=matchingPage],
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=disambigPage],
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=redirectPage],
|
||||
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=externalLink] {
|
||||
color: #0645AD;
|
||||
}
|
||||
|
||||
/* ve.ui.MWCategoryWidget */
|
||||
|
||||
.ve-ui-mwCategoryWidget {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryWidget-items {
|
||||
/* MDN claims we need to use word-wrap: break-word; and that it's been renamed to
|
||||
* overflow-wrap: break-word; , but the only thing that actually works in practice is
|
||||
* word-break: break-word; (which is not documented in any standard at all). So we just use
|
||||
* all three.
|
||||
*/
|
||||
/*csslint known-properties:false */
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
/* ve.ui.MWCategoryInputWidget */
|
||||
|
||||
.ve-ui-mwCategoryInputWidget {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* ve.ui.MWCategoryItemWidget */
|
||||
|
||||
.ve-ui-mwCategoryItemWidget {
|
||||
position: relative;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget-button {
|
||||
position: relative;
|
||||
padding: 0.5em 0.75em 0.5em 1.125em;
|
||||
margin: 0.75em 0.75em 0 0;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
opacity: 0.8;
|
||||
/* Animation */
|
||||
-webkit-transition: border-color 100ms;
|
||||
-moz-transition: border-color 100ms;
|
||||
-o-transition: border-color 100ms;
|
||||
transition: border-color 100ms;
|
||||
|
||||
/* Gray */
|
||||
border-radius: 1.25em;
|
||||
border: 1px #c9c9c9 solid;
|
||||
background-color: #ffffff;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(
|
||||
GradientType=0,startColorstr=#ffffff, endColorstr=#f0f0f0
|
||||
);
|
||||
background-image: -webkit-gradient(
|
||||
linear, right top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#f0f0f0)
|
||||
);
|
||||
background-image: -webkit-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
background-image: -moz-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
background-image: -ms-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
background-image: -o-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
background-image: linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget-button:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget-label {
|
||||
display: block;
|
||||
padding-right: 1.5em;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget-button:active {
|
||||
border-color: #ddd;
|
||||
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.07);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryItemWidget.oo-ui-indicatedElement .oo-ui-indicatedElement-indicator {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0.125em;
|
||||
width: 2.25em;
|
||||
height: 2.25em;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
/* ve.ui.MWCategoryInputWidget */
|
||||
|
||||
.ve-ui-mwCategoryInputWidget {
|
||||
float: left;
|
||||
width: 15em;
|
||||
margin-top: 0.75em;
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryInputWidget input {
|
||||
border-radius: 2em;
|
||||
font-size: 1.05em;
|
||||
margin-top: 0;
|
||||
padding-left: 0.75em;
|
||||
padding-right: 0.75em;
|
||||
}
|
||||
|
||||
/* ve.ui.MWCategoryPopupWidget */
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget {
|
||||
position: absolute;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-content {
|
||||
padding: 0.75em 0.5em;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget .oo-ui-buttonedElement-frameless {
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget label {
|
||||
opacity: .8;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-title {
|
||||
background-position: left center;
|
||||
background-repeat: no-repeat;
|
||||
padding: 0.5em 0.5em 0.5em 2.25em;
|
||||
margin: -0.4em 0 1em 0.125em;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget .ve-ui-removeButtonLabel:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-removeButton {
|
||||
position: absolute;
|
||||
margin-right: 2px;
|
||||
padding: 0.5em;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-sortKeyForm {
|
||||
padding: 0.5em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ve-ui-mwCategoryPopupWidget-sortKeyForm .oo-ui-labelWidget {
|
||||
padding: 0 0.125em 0.5em 0.125em;
|
||||
}
|
||||
|
||||
/* ve.ui.MWMediaResultWidget */
|
||||
|
||||
.ve-ui-mwMediaResultWidget {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 2px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-error {
|
||||
background-color: #f3f3f3;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-thumbnail {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 400ms;
|
||||
-moz-transition: opacity 400ms;
|
||||
-o-transition: opacity 400ms;
|
||||
transition: opacity 400ms;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-done .ve-ui-mwMediaResultWidget-thumbnail,
|
||||
.ve-ui-mwMediaResultWidget-error .ve-ui-mwMediaResultWidget-thumbnail {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-crop {
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
box-shadow: inset 0 0 0 1px #ccc;
|
||||
}
|
||||
|
||||
.ve-ui-optionWidget-highlighted .ve-ui-mwMediaResultWidget-overlay,
|
||||
.ve-ui-optionWidget-selected .ve-ui-mwMediaResultWidget-overlay {
|
||||
box-shadow: inset 0 0 0 1px #a7dcff;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget.oo-ui-optionWidget-highlighted {
|
||||
box-shadow: 0 0 0.3em #a7dcff, 0 0 0 white;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget.oo-ui-optionWidget-selected {
|
||||
box-shadow: 0 0 0.3em #a7dcff, 0 0 0 white;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget-error .ve-ui-mwMediaResultWidget-thumbnail {
|
||||
/* @embed */
|
||||
background-image: url(images/broken-image.png);
|
||||
background-size: auto;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget .oo-ui-labeledElement-label {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
overflow: hidden;
|
||||
padding: 0.5em;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px #000;
|
||||
line-height: 1.125em;
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget.oo-ui-optionWidget-highlighted .oo-ui-labeledElement-label {
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
}
|
||||
|
||||
.ve-ui-mwMediaResultWidget.oo-ui-optionWidget-selected .oo-ui-labeledElement-label {
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
/* ve.ui.MWReferenceSearchWidget */
|
||||
|
||||
.ve-ui-mwReferenceSearchWidget-citation {
|
||||
float: left;
|
||||
margin-right: 0.75em;
|
||||
}
|
||||
|
||||
.ve-ui-mwReferenceSearchWidget-name {
|
||||
float: right;
|
||||
margin-left: 0.75em;
|
||||
margin-bottom: 0.75em;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
/* ve.ui.MWReferenceResultWidget */
|
||||
|
||||
.ve-ui-mwReferenceResultWidget {
|
||||
position: relative;
|
||||
padding: 1em;
|
||||
border-bottom: solid 1px #eee;
|
||||
}
|
||||
|
||||
.ve-ui-mwReferenceResultWidget .oo-ui-labeledElement-label {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.ve-ui-mwReferenceResultWidget-shield {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwReferenceResultWidget-divider {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* ve.ui.MWParameterSearchWidget */
|
||||
|
||||
.ve-ui-mwParameterSearchWidget .oo-ui-selectWidget {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterSearchWidget .oo-ui-searchWidget-results {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
/* ve.ui.MWParameterResultWidget */
|
||||
|
||||
.ve-ui-mwParameterResultWidget {
|
||||
padding-right: 0.25em;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget .oo-ui-optionWidget-icon {
|
||||
top: 0.25em;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget.oo-ui-widget-disabled {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-label,
|
||||
.ve-ui-mwParameterResultWidget-names,
|
||||
.ve-ui-mwParameterResultWidget-description {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
/* HACK: Based on the expected width of this widget, using % produces unreliable results*/
|
||||
max-width: 33em;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-label {
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-names {
|
||||
float: right;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-name {
|
||||
border-radius: 0.3em;
|
||||
padding: 0.125em 0.25em;
|
||||
margin-left: 0.5em;
|
||||
color: #999;
|
||||
background-color: #fff;
|
||||
border: solid 1px #ddd;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-names span:not(:first-child) {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-description {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* ve.ui.MWTitleInputWidget */
|
||||
.ve-ui-mwTitleInputWidget {
|
||||
width:30em;
|
||||
}
|
||||
|
||||
/* ve.ui.MWTocWidget */
|
||||
|
||||
.ve-ui-mwTocWidget {
|
||||
/* Margin to mock the standard appearance of TOC */
|
||||
margin: 1em 0 0 0;
|
||||
}
|
||||
.ve-ui-mwTocWidget .toctoggle {
|
||||
margin: 0.25em;
|
||||
}
|
||||
.ve-ui-mwTocWidget .toctoggle:before {
|
||||
content: ' [';
|
||||
}
|
||||
.ve-ui-mwTocWidget .toctoggle:after {
|
||||
content: '] ';
|
||||
}
|
||||
|
||||
.ve-ui-mwTocWidget .tocnumber:after {
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
.ve-ui-mwTocWidget a {
|
||||
cursor: pointer;
|
||||
}
|
19
modules/ve-mw/ui/styles/ve.ui.TemplatePage.css
Normal file
19
modules/ve-mw/ui/styles/ve.ui.TemplatePage.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki UserInterface TemplatePage styles.
|
||||
*
|
||||
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ui-mwTemplatePage-more {
|
||||
display: none;
|
||||
margin: 2.25em 0 0.5em 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwTemplatePage:last-child .ve-ui-mwTemplatePage-more {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ve-ui-mwTemplatePage-description-missing {
|
||||
font-style: italic;
|
||||
}
|
Loading…
Reference in a new issue