mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
87fd3b7756
Add rtl/ltr-related classes to the toolbar based on cursor context, so certain icons can change based on inline and block directions. Change-Id: I1b6e450226bf8da820fb622f28c1c3062c534bb0
202 lines
4 KiB
CSS
202 lines
4 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
|
|
*/
|
|
/*csslint duplicate-background-images:false */
|
|
|
|
.oo-ui-icon-bold-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-a.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-b {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-b.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-cyrl-be {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-cyrl-be.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-cyrl-te {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-cyrl-te.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-cyrl-zhe {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-cyrl-zhe.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-f {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-f.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-g {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-g.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-geor-man {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-geor-man.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-l {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-l.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-n {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-n.png);
|
|
}
|
|
|
|
.oo-ui-icon-bold-v {
|
|
/* @embed */
|
|
background-image: url(images/icons/bold-v.png);
|
|
}
|
|
|
|
.oo-ui-icon-bullet-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/bullet-list-ltr.png);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-bullet-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/bullet-list-rtl.png);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-bullet-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/bullet-list-ltr.png);
|
|
}
|
|
|
|
.oo-ui-icon-indent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/indent-list-ltr.png);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-indent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/indent-list-rtl.png);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-indent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/indent-list-ltr.png);
|
|
}
|
|
|
|
.oo-ui-icon-italic-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-a.png);
|
|
}
|
|
|
|
.oo-ui-icon-italic-c {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-c.png);
|
|
}
|
|
|
|
.oo-ui-icon-italic-d {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-d.png);
|
|
}
|
|
|
|
.oo-ui-icon-italic-e {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-e.png);
|
|
}
|
|
|
|
.oo-ui-icon-italic-geor-kan {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-geor-kan.png);
|
|
}
|
|
|
|
.oo-ui-icon-italic-i {
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-i.png);
|
|
}
|
|
|
|
.oo-ui-icon-italic-k,
|
|
.oo-ui-icon-italic-cyrl-ka {
|
|
/* Latin K and Cyrillic Ka use same glyph */
|
|
/* @embed */
|
|
background-image: url(images/icons/italic-k.png);
|
|
}
|
|
|
|
.oo-ui-icon-language {
|
|
/* @embed */
|
|
background-image: url(images/icons/language.png); }
|
|
|
|
.oo-ui-icon-number-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/number-list-ltr.png);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-number-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/number-list-rtl.png);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-number-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/number-list-ltr.png);
|
|
}
|
|
|
|
.oo-ui-icon-outdent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/outdent-list-ltr.png);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-rtl .oo-ui-icon-outdent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/outdent-list-rtl.png);
|
|
}
|
|
|
|
/* @noflip */
|
|
.ve-ui-dir-block-ltr .oo-ui-icon-outdent-list {
|
|
/* @embed */
|
|
background-image: url(images/icons/outdent-list-ltr.png);
|
|
}
|
|
|
|
.oo-ui-icon-strikethrough-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/strikethrough-a.png);
|
|
}
|
|
|
|
.oo-ui-icon-strikethrough-s {
|
|
/* @embed */
|
|
background-image: url(images/icons/strikethrough-s.png);
|
|
}
|
|
|
|
.oo-ui-icon-subscript {
|
|
/* @embed */
|
|
background-image: url(images/icons/subscript.png);
|
|
}
|
|
|
|
.oo-ui-icon-superscript {
|
|
/* @embed */
|
|
background-image: url(images/icons/superscript.png);
|
|
}
|
|
|
|
.oo-ui-icon-underline-a {
|
|
/* @embed */
|
|
background-image: url(images/icons/underline-a.png);
|
|
}
|
|
|
|
.oo-ui-icon-underline-u {
|
|
/* @embed */
|
|
background-image: url(images/icons/underline-u.png);
|
|
}
|