mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
ac26f5fc69
Objectives: * Allow reordering items in outline widgets using an outline control widget * Use an outline control widget to reorder transclusion parts Changes: ve.ui.SelectWidget.js * Emit add and remove events ve.ui.OutlineItemWidget.js * Add movable config options * Add isMovable method ve.ui.OutlineControlsWidget.js * New class * Displays move up/down buttons which are synchronized with an outline widget * Doesn't actually move items (since an outline widget is probably data-driven) just emits events ve.ui.Widget.css * Add disabled style for icon button widgets * Add styles for outline controls widget ve.ui.Icons*.css * Add missing icon styles ve.ui.Dialog.css * Add styles for outline and controls in editable paged dialogs ve.ui.GroupElement.js * Fix bug where items are insertions are in the wrong place when "moving" them ve.ui.PagedDialog.js * Add editable config option which shows outline controls under the outline * Pass through movable config option when creating pages ve.ui.MWTranclusionDialog.js * Configure paged dialog outline as editable * Add initialize method to connect outline controls widget events * Make addPart method automatically add parameters when templates are added * Add handler for outline controls move event which re-orders parts * Make parts movable (params are automatically ordered, so they aren't movable) ve.dm.MWTransclusionModel.js * Add addPart method and use it within the addContent and addTemplate methods * Fix documentation lies * Add getPartFromId method *.php * Add links to new files and messages Change-Id: I919d4c3e9b85d07a97a99c0b2e8739a859bdf2b1
252 lines
4.6 KiB
CSS
252 lines
4.6 KiB
CSS
/*!
|
|
* VisualEditor UserInterface raster icon styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-icon-menu {
|
|
/* @embed */
|
|
background-image: url(images/icons/menu.png);
|
|
}
|
|
|
|
.ve-ui-icon-reference {
|
|
/* @embed */
|
|
background-image: url(images/icons/reference.png);
|
|
}
|
|
|
|
.ve-ui-icon-picture {
|
|
/* @embed */
|
|
background-image: url(images/icons/picture.png);
|
|
}
|
|
|
|
.ve-ui-icon-close {
|
|
/* @embed */
|
|
background-image: url(images/icons/close.png);
|
|
}
|
|
|
|
.ve-ui-icon-language-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/language-big.png);
|
|
}
|
|
|
|
.ve-ui-icon-language {
|
|
/* @embed */
|
|
background-image: url(images/icons/language.png);
|
|
}
|
|
|
|
.ve-ui-icon-tag-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/tag-big.png);
|
|
}
|
|
|
|
.ve-ui-icon-tag {
|
|
/* @embed */
|
|
background-image: url(images/icons/tag.png);
|
|
}
|
|
|
|
.ve-ui-icon-settings {
|
|
/* @embed */
|
|
background-image: url(images/icons/settings.png);
|
|
}
|
|
|
|
.ve-ui-icon-remove {
|
|
/* @embed */
|
|
background-image: url(images/icons/remove.png);
|
|
}
|
|
|
|
.ve-ui-icon-previous {
|
|
/* @embed */
|
|
background-image: url(images/icons/move-rtl.png);
|
|
}
|
|
|
|
.ve-ui-icon-next {
|
|
/* @embed */
|
|
background-image: url(images/icons/move-ltr.png);
|
|
}
|
|
|
|
.ve-ui-icon-window {
|
|
/* @embed */
|
|
background-image: url(images/icons/window.png);
|
|
}
|
|
|
|
.ve-ui-icon-alert {
|
|
/* @embed */
|
|
background-image: url(images/icons/alert.png);
|
|
}
|
|
|
|
.ve-ui-icon-check {
|
|
/* @embed */
|
|
background-image: url(images/icons/check.png);
|
|
}
|
|
|
|
.ve-ui-icon-comment {
|
|
/* @embed */
|
|
background-image: url(images/icons/comment.png);
|
|
}
|
|
|
|
.ve-ui-icon-template {
|
|
/* @embed */
|
|
background-image: url(images/icons/template.png);
|
|
}
|
|
|
|
.ve-ui-icon-template-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/template-big.png);
|
|
}
|
|
|
|
.ve-ui-icon-parameter {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter.png);
|
|
}
|
|
|
|
.ve-ui-icon-parameter-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter-big.png);
|
|
}
|
|
|
|
.ve-ui-icon-parameter-set {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter-set.png);
|
|
}
|
|
|
|
.ve-ui-icon-source {
|
|
/* @embed */
|
|
background-image: url(images/icons/source.png);
|
|
}
|
|
|
|
.ve-ui-icon-source-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/source-big.png);
|
|
}
|
|
|
|
.ve-ui-icon-up {
|
|
/* @embed */
|
|
background-image: url(images/icons/up.png);
|
|
}
|
|
|
|
.ve-ui-icon-down {
|
|
/* @embed */
|
|
background-image: url(images/icons/down.png);
|
|
}
|
|
|
|
.ve-ui-icon-undo {
|
|
/* @embed */
|
|
background-image: url(images/icons/arched-arrow-rtl.png);
|
|
}
|
|
|
|
.ve-ui-icon-redo {
|
|
/* @embed */
|
|
background-image: url(images/icons/arched-arrow-ltr.png);
|
|
}
|
|
|
|
.ve-ui-icon-bold-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-a.png);
|
|
}
|
|
|
|
.ve-ui-icon-bold-b {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-b.png);
|
|
}
|
|
|
|
.ve-ui-icon-bold-f {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-f.png);
|
|
}
|
|
|
|
.ve-ui-icon-italic-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-a.png);
|
|
}
|
|
|
|
.ve-ui-icon-italic-i {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-i.png);
|
|
}
|
|
|
|
.ve-ui-icon-italic-k {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-k.png);
|
|
}
|
|
|
|
.ve-ui-icon-link {
|
|
/* @embed */
|
|
background-image: url(images/icons/link.png);
|
|
}
|
|
|
|
.ve-ui-icon-clear {
|
|
/* @embed */
|
|
background-image: url(images/icons/clear.png);
|
|
}
|
|
|
|
.ve-ui-icon-number-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/number-list-ltr.png);
|
|
}
|
|
|
|
.ve-ui-icon-bullet-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/bullet-list-ltr.png);
|
|
}
|
|
|
|
.ve-ui-icon-indent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/indent-list-ltr.png);
|
|
}
|
|
|
|
.ve-ui-icon-outdent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/outdent-list-ltr.png);
|
|
}
|
|
|
|
.ve-ui-icon-strikethrough-s {
|
|
/* @embed */
|
|
background-image: url(images/icons/strikethrough-s.png);
|
|
}
|
|
|
|
.ve-ui-icon-strikethrough-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/strikethrough-a.png);
|
|
}
|
|
|
|
.ve-ui-icon-underline-u {
|
|
/* @embed */
|
|
background-image: url(images/icons/underline-u.png);
|
|
}
|
|
|
|
.ve-ui-icon-underline-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/underline-a.png);
|
|
}
|
|
|
|
.ve-ui-icon-subscript {
|
|
/* @embed */
|
|
background-image: url(images/icons/subscript.png);
|
|
}
|
|
|
|
.ve-ui-icon-superscript {
|
|
/* @embed */
|
|
background-image: url(images/icons/superscript.png);
|
|
}
|
|
|
|
.ve-ui-icon-search {
|
|
/* @embed */
|
|
background-image: url(images/icons/search.png);
|
|
}
|
|
|
|
.ve-ui-icon-search-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/search-big.png);
|
|
}
|
|
|
|
.ve-ui-icon-expand {
|
|
/* @embed */
|
|
background-image: url(images/icons/expand.png);
|
|
}
|
|
|
|
.ve-ui-icon-collapse {
|
|
/* @embed */
|
|
background-image: url(images/icons/collapse.png);
|
|
}
|