mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
cf237b882e
A tool to add special characters and diacritics to text. Also added a new button type ve.ui.GroupButtonWidget that includes a group of PushButtonWidget objects and returna the individual button's value upon click Wikis can edit <visualeditor-specialcharinspector-characterlist-insert>, a JSON string, to include their own desird special characters to insert through the tool. Bug: 50296 Change-Id: I26d1f437feef1c8b61ed3be5f74ef524b33baf49
61 lines
1.2 KiB
CSS
61 lines
1.2 KiB
CSS
/*!
|
|
* ObjectOriented UserInterface Inspector styles.
|
|
*
|
|
* @copyright 2011-2013 OOJS Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-inspector {
|
|
-webkit-transition: opacity 100ms;
|
|
-moz-transition: opacity 100ms;
|
|
-o-transition: opacity 100ms;
|
|
transition: opacity 100ms;
|
|
}
|
|
|
|
.ve-ui-inspector .oo-ui-frame {
|
|
width: 17.25em;
|
|
height: 3em;
|
|
}
|
|
|
|
.ve-ui-inspector-content .oo-ui-window-head {
|
|
height: 2em;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.ve-ui-inspector-content .oo-ui-window-icon {
|
|
padding-left: 0.5em;
|
|
margin-left: 0.25em;
|
|
border-left: solid 1px #eee;
|
|
}
|
|
|
|
.ve-ui-inspector-content .ve-ui-inspector-closeButton {
|
|
float: left;
|
|
}
|
|
|
|
.ve-ui-inspector-content .ve-ui-inspector-removeButton {
|
|
float: right;
|
|
}
|
|
|
|
.ve-ui-inspector-content .oo-ui-window-body form {
|
|
margin: 0.25em 0 0 0;
|
|
padding: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ve.ui.SpecialCharacterInspector.js */
|
|
|
|
.ve-specialchar-spinner {
|
|
/* There might be a better place for a spinner? */
|
|
/* @embed */
|
|
background-image: url(images/spinner.gif);
|
|
width: 31px;
|
|
height: 31px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.ve-specialchar-list h2 {
|
|
font-size: 1em;
|
|
text-transform: capitalize;
|
|
}
|