mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
30b245ff64
Right now our system is so horrible that we need three separate CSS rules to make the icons appear in three separate places: 1. Toolbar (with contextual directionality) 2. Context menu 3. Top-left corner of dialogs Also, the icons in the context menu should use contextual directionality but are using the document directionality because the context doesn't compute and set a class for the context directionality. This is only done by the toolbar. It used to work because the context menu *was* a toolbar, but that changed recently. Change-Id: I3ebc1ba7dfcd384a2a62664e55a4a77c8dedd513
157 lines
3.9 KiB
CSS
157 lines
3.9 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface icon styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
/*csslint duplicate-background-images:false */
|
|
|
|
.oo-ui-icon-alienextension {
|
|
/* @embed */
|
|
background-image: url(images/icons/alienextension.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-gallery,
|
|
/* HACK */ .ve-ui-surface-dir-rtl .oo-ui-icon-gallery,
|
|
/* HACK */ .oo-ui-rtl .oo-ui-icon-gallery {
|
|
/* @embed */
|
|
background-image: url(images/icons/gallery-rtl.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-gallery,
|
|
/* HACK */ .ve-ui-surface-dir-ltr .oo-ui-icon-gallery,
|
|
/* HACK */ .oo-ui-ltr .oo-ui-icon-gallery {
|
|
/* @embed */
|
|
background-image: url(images/icons/gallery-ltr.svg);
|
|
}
|
|
|
|
.oo-ui-icon-image-none {
|
|
/* @embed */
|
|
background-image: url(images/icons/image-none.svg);
|
|
}
|
|
|
|
.oo-ui-icon-image-frame {
|
|
/* @embed */
|
|
background-image: url(images/icons/image-frame.svg);
|
|
}
|
|
|
|
.oo-ui-icon-image-frameless {
|
|
/* @embed */
|
|
background-image: url(images/icons/image-frameless.svg);
|
|
}
|
|
|
|
.oo-ui-icon-image-thumbnail {
|
|
/* @embed */
|
|
background-image: url(images/icons/image-thumbnail.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.oo-ui-rtl .oo-ui-icon-parameter {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter-rtl.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.oo-ui-ltr .oo-ui-icon-parameter {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter-ltr.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.oo-ui-rtl .oo-ui-icon-parameter-set {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter-set-rtl.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.oo-ui-ltr .oo-ui-icon-parameter-set {
|
|
/* @embed */
|
|
background-image: url(images/icons/parameter-set-ltr.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-reference,
|
|
/* HACK */ .ve-ui-surface-dir-rtl .oo-ui-icon-reference,
|
|
/* HACK */ .oo-ui-rtl .oo-ui-icon-reference {
|
|
/* @embed */
|
|
background-image: url(images/icons/reference-rtl.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-reference,
|
|
/* HACK */ .ve-ui-surface-dir-ltr .oo-ui-icon-reference,
|
|
/* HACK */ .oo-ui-ltr .oo-ui-icon-reference {
|
|
/* @embed */
|
|
background-image: url(images/icons/reference-ltr.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-references,
|
|
/* HACK */ .ve-ui-surface-dir-rtl .oo-ui-icon-references,
|
|
/* HACK */ .oo-ui-rtl .oo-ui-icon-references {
|
|
/* @embed */
|
|
background-image: url(images/icons/references-rtl.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-references,
|
|
/* HACK */ .ve-ui-surface-dir-ltr .oo-ui-icon-references,
|
|
/* HACK */ .oo-ui-ltr .oo-ui-icon-references {
|
|
/* @embed */
|
|
background-image: url(images/icons/references-ltr.svg);
|
|
}
|
|
|
|
.oo-ui-icon-ref-cite-book {
|
|
/* @embed */
|
|
background-image: url(images/icons/ref-cite-book.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-ref-cite-journal,
|
|
/* HACK */ .ve-ui-surface-dir-rtl .oo-ui-icon-ref-cite-journal,
|
|
/* HACK */ .oo-ui-rtl .oo-ui-icon-ref-cite-journal {
|
|
/* @embed */
|
|
background-image: url(images/icons/ref-cite-journal-rtl.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-ref-cite-journal,
|
|
/* HACK */ .ve-ui-surface-dir-ltr .oo-ui-icon-ref-cite-journal,
|
|
/* HACK */ .oo-ui-ltr .oo-ui-icon-ref-cite-journal {
|
|
/* @embed */
|
|
background-image: url(images/icons/ref-cite-journal-ltr.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-ref-cite-news,
|
|
/* HACK */ .ve-ui-surface-dir-rtl .oo-ui-icon-ref-cite-news,
|
|
/* HACK */ .oo-ui-rtl .oo-ui-icon-ref-cite-news {
|
|
/* @embed */
|
|
background-image: url(images/icons/ref-cite-news-rtl.svg);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-ref-cite-news,
|
|
/* HACK */ .ve-ui-surface-dir-ltr .oo-ui-icon-ref-cite-news,
|
|
/* HACK */ .oo-ui-ltr .oo-ui-icon-ref-cite-news {
|
|
/* @embed */
|
|
background-image: url(images/icons/ref-cite-news-ltr.svg);
|
|
}
|
|
|
|
.oo-ui-icon-ref-cite-web {
|
|
/* @embed */
|
|
background-image: url(images/icons/ref-cite-web.svg);
|
|
}
|
|
|
|
.oo-ui-icon-source {
|
|
/* @embed */
|
|
background-image: url(images/icons/source.svg);
|
|
}
|
|
|
|
.oo-ui-icon-template {
|
|
/* @embed */
|
|
background-image: url(images/icons/template.svg);
|
|
}
|