mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
6ec34a3dee
Objectives: * Use widgets to render toolbar actions * Remove labels next to help notices and edit notices buttons * Add a close button to the help notices and edit notices Overview: * ve.ui.ButtonWidget is now abstract, use ve.ui.PushButtonWidget instead * ve.ui.IconButtonWidget now inherits from ve.ui.ButtonWidget * ve.ui.PopupWidget's display method no longer takes x and y arguments * Fixup naming issues in MWCategoryPopupWidget * Fixup naming issues with some ve-init-mw CSS classes * Rename ve-mw/ui/styles/ve.ui.Widget.css to ve.ui.MWWidget.css * Change uses of "callout" to "tail" * Add hyperlink functionality to buttons * Make buttons accessible through focusing, but make unfocusable by clicking * Add head option to popup for rendering a title and close button Bug: 52386 Change-Id: Iea2c8df1be64d40f9c039873d89ee540cc56e687
91 lines
1.7 KiB
CSS
91 lines
1.7 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface Dialog styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* ve.ui.MWTransclusionDialog */
|
|
|
|
.ve-ui-mwTransclusionDialog-input {
|
|
width: 100%;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-input textarea {
|
|
height: 10em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .ve-ui-widget {
|
|
display: inline-block;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .ve-ui-pushButtonWidget {
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-placeholder-label {
|
|
font-style: italic;
|
|
}
|
|
|
|
.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 .ve-ui-searchWidget-results {
|
|
position: relative;
|
|
padding-bottom: 5em;
|
|
}
|
|
|
|
/* 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;
|
|
}
|