mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +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 vector 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.svg);
|
|
}
|
|
|
|
.ve-ui-icon-reference {
|
|
/* @embed */
|
|
background-image: url(images/icons/reference.svg);
|
|
}
|
|
|
|
.ve-ui-icon-picture {
|
|
/* @embed */
|
|
background-image: url(images/icons/picture.svg);
|
|
}
|
|
|
|
.ve-ui-icon-close {
|
|
/* @embed */
|
|
background-image: url(images/icons/close.svg);
|
|
}
|
|
|
|
.ve-ui-icon-language-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/language-big.svg);
|
|
}
|
|
|
|
.ve-ui-icon-language {
|
|
/* @embed */
|
|
background-image: url(images/icons/language.svg);
|
|
}
|
|
|
|
.ve-ui-icon-tag-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/tag-big.svg);
|
|
}
|
|
|
|
.ve-ui-icon-tag {
|
|
/* @embed */
|
|
background-image: url(images/icons/tag.svg);
|
|
}
|
|
|
|
.ve-ui-icon-settings {
|
|
/* @embed */
|
|
background-image: url(images/icons/settings.svg);
|
|
}
|
|
|
|
.ve-ui-icon-remove {
|
|
/* @embed */
|
|
background-image: url(images/icons/remove.svg);
|
|
}
|
|
|
|
.ve-ui-icon-previous {
|
|
/* @embed */
|
|
background-image: url(images/icons/move-rtl.svg);
|
|
}
|
|
|
|
.ve-ui-icon-next {
|
|
/* @embed */
|
|
background-image: url(images/icons/move-ltr.svg);
|
|
}
|
|
|
|
.ve-ui-icon-window {
|
|
/* @embed */
|
|
background-image: url(images/icons/window.svg);
|
|
}
|
|
|
|
.ve-ui-icon-alert {
|
|
/* @embed */
|
|
background-image: url(images/icons/alert.svg);
|
|
}
|
|
|
|
.ve-ui-icon-check {
|
|
/* @embed */
|
|
background-image: url(images/icons/check.svg);
|
|
}
|
|
|
|
.ve-ui-icon-comment {
|
|
/* @embed */
|
|
background-image: url(images/icons/comment.svg);
|
|
}
|
|
|
|
.ve-ui-icon-template {
|
|
/* @embed */
|
|
background-image: url(images/icons/template.svg);
|
|
}
|
|
|
|
.ve-ui-icon-template-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/template-big.svg);
|
|
}
|
|
|
|
.ve-ui-icon-parameter {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter.svg);
|
|
}
|
|
|
|
.ve-ui-icon-parameter-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter-big.svg);
|
|
}
|
|
|
|
.ve-ui-icon-parameter-set {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter-set.svg);
|
|
}
|
|
|
|
.ve-ui-icon-source {
|
|
/* @embed */
|
|
background-image: url(images/icons/source.svg);
|
|
}
|
|
|
|
.ve-ui-icon-source-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/source-big.svg);
|
|
}
|
|
|
|
.ve-ui-icon-up {
|
|
/* @embed */
|
|
background-image: url(images/icons/up.svg);
|
|
}
|
|
|
|
.ve-ui-icon-down {
|
|
/* @embed */
|
|
background-image: url(images/icons/down.svg);
|
|
}
|
|
|
|
.ve-ui-icon-undo {
|
|
/* @embed */
|
|
background-image: url(images/icons/arched-arrow-rtl.svg);
|
|
}
|
|
|
|
.ve-ui-icon-redo {
|
|
/* @embed */
|
|
background-image: url(images/icons/arched-arrow-ltr.svg);
|
|
}
|
|
|
|
.ve-ui-icon-bold-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-a.svg);
|
|
}
|
|
|
|
.ve-ui-icon-bold-b {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-b.svg);
|
|
}
|
|
|
|
.ve-ui-icon-bold-f {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-f.svg);
|
|
}
|
|
|
|
.ve-ui-icon-italic-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-a.svg);
|
|
}
|
|
|
|
.ve-ui-icon-italic-i {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-i.svg);
|
|
}
|
|
|
|
.ve-ui-icon-italic-k {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-k.svg);
|
|
}
|
|
|
|
.ve-ui-icon-link {
|
|
/* @embed */
|
|
background-image: url(images/icons/link.svg);
|
|
}
|
|
|
|
.ve-ui-icon-clear {
|
|
/* @embed */
|
|
background-image: url(images/icons/clear.svg);
|
|
}
|
|
|
|
.ve-ui-icon-number-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/number-list-ltr.svg);
|
|
}
|
|
|
|
.ve-ui-icon-bullet-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/bullet-list-ltr.svg);
|
|
}
|
|
|
|
.ve-ui-icon-indent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/indent-list-ltr.svg);
|
|
}
|
|
|
|
.ve-ui-icon-outdent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/outdent-list-ltr.svg);
|
|
}
|
|
|
|
.ve-ui-icon-strikethrough-s {
|
|
/* @embed */
|
|
background-image: url(images/icons/strikethrough-s.svg);
|
|
}
|
|
|
|
.ve-ui-icon-strikethrough-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/strikethrough-a.svg);
|
|
}
|
|
|
|
.ve-ui-icon-underline-u {
|
|
/* @embed */
|
|
background-image: url(images/icons/underline-u.svg);
|
|
}
|
|
|
|
.ve-ui-icon-underline-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/underline-a.svg);
|
|
}
|
|
|
|
.ve-ui-icon-subscript {
|
|
/* @embed */
|
|
background-image: url(images/icons/subscript.svg);
|
|
}
|
|
|
|
.ve-ui-icon-superscript {
|
|
/* @embed */
|
|
background-image: url(images/icons/superscript.svg);
|
|
}
|
|
|
|
.ve-ui-icon-search {
|
|
/* @embed */
|
|
background-image: url(images/icons/search.svg);
|
|
}
|
|
|
|
.ve-ui-icon-search-big {
|
|
/* @embed */
|
|
background-image: url(images/icons/search-big.svg);
|
|
}
|
|
|
|
.ve-ui-icon-expand {
|
|
/* @embed */
|
|
background-image: url(images/icons/expand.svg);
|
|
}
|
|
|
|
.ve-ui-icon-collapse {
|
|
/* @embed */
|
|
background-image: url(images/icons/collapse.svg);
|
|
}
|