mediawiki-extensions-Visual.../modules/ve/ui/styles/ve.ui.Icons-raster.css
Trevor Parscal 23b2da91fd Template and content adding
Objectives:

* Allow adding content or templates within a transclusion
* Add template placeholder to model and view which resolves to nothing
  when saving (thus disappearing if not resolved)

Changes:

*.php
* Add links to new messages and files

ve.ui.OutlineControlsWidget.js
* Organize controls into "adders" and "movers"

ve.ui.Widget.css
* Add styles for adders/movers sections of outline controls
* Make adders appear on hover to reduce clutter

ve.ui.Icons-*.css
* Add icon for "add item"

ve.ui.Dialog.css
* Add styles for add template fieldsets
* Make placeholder items in the outline italic

ve.ui.PagedDialog.js
* Pass adders config to outline controls

ve.ui.MWTransclusionDialog.js
* Add support for adding content and templates

ve.dm.MWTransclusionModel.js
* Add addPlaceholder method

ve.dm.MWTemplatePlaceholderModel.js
* New class, pretty much an empty part
* Using this makes the UI much easier to work with - no need to special
  case the outline control for new items
* Because it's not supported specifically in
  ve.dm.MWTransclusionModel.getPlainObject, it produces nothing and goes
  away naturally on apply

Change-Id: I3478560fb53ba2ccd3fb26bafb6a61e6415565eb
2013-06-18 23:37:44 +00:00

257 lines
4.7 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);
}
.ve-ui-icon-add-item {
/* @embed */
background-image: url(images/icons/add-item.png);
}