mediawiki-extensions-Visual.../modules/ve/ui/styles/ve.ui.Window.css
Trevor Parscal 8f3e6f152f Dialog button changes
ve.ui.MetaDialog.js
* Added scrolling to outline panel

ve.ui.css
* Added reusable animation keyframes

ve.ui.Dialog.css
* Changed dialog head style
* Changed dialog cancel button to close icon button
* Added animation of dialog opening
* Increased min-height of dialog to always show a little content

ve.ui.Icons-*.css
* Added close icon (not sure why it was missing)

ve.ui.Window.css
* Moved head padding out of window and into implementations of window

ve.ui.Dialog.js
* Moved apply button to footer
* Renamed cancel button to close button
* Overrode close method with triggers a closing animation and then calls the parent close method after an animation is complete
* Added classes to close and apply buttons to make styling less ambiguous
* Converted cancel button (now the close button) to an icon button

ve.ui.Window.js
* Added footer to dialog

VisualEditor*.php
* Added close message

Change-Id: Iededbc54b287328b3047b05efad6ca3cc152caa5
2013-04-10 12:34:52 -07:00

41 lines
692 B
CSS

/*!
* VisualEditor UserInterface Window styles.
*
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-window {
display: none;
}
.ve-ui-window-head {
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ve-ui-window-body {
padding: 0 0.75em;
}
.ve-ui-window-icon {
float: left;
width: 2em;
height: 2em;
line-height: 2em;
margin-right: 0.5em;
background-position: right center;
background-repeat: no-repeat;
}
.ve-ui-window-title {
float: left;
line-height: 2em;
color: #333;
white-space: nowrap;
cursor: default;
}