mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
168fcec387
ve.ui.Dialog.css * Fix issue where the use of margin auto on the outer dialog wrapper would expose parts of the underlying content - this is resolved by making the outer wrapper cover the whole screen and making the window frame use margin auto ve.ui.Icons*.css * Added missing settings icon rule ve.ui.Layout.css * Added styles for editor panel ve.ui.Window.css * Removed default height, setting it specifically in inspector now ve.ui.EditorPanelLayout.js * New layout, adds a title and icon above the content ve.ui.TitledEditorLayout.js * Similar to labeled widget, but for panels ve.ui.MetaDialog.js * Using settings icon now * Switched to using a specific layout - still hard-coded for categories ve.ui.Frame.js * Modified style loader to guarantee order of style rules, no matter what order they load in *.php * Moved layouts to be included after widgets so they can use widgets * Added links to new layouts Change-Id: I7ff5f5f095460fd4f6cf841f4182bfb92bf034da
77 lines
1.3 KiB
CSS
77 lines
1.3 KiB
CSS
/*!
|
|
* VisualEditor UserInterface Dialog styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-dialog {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 1em;
|
|
line-height: 1em;
|
|
background-color: #fff;
|
|
background-color: rgba(255,255,255,0.5);
|
|
z-index: 200;
|
|
}
|
|
|
|
.ve-ui-dialog .ve-ui-window-frame {
|
|
position: fixed;
|
|
top: 1em;
|
|
right: 0;
|
|
bottom: 1em;
|
|
left: 0;
|
|
margin: auto;
|
|
width: 800px;
|
|
min-height: 3em;
|
|
max-height: 600px;
|
|
background-color: #fff;
|
|
border: solid 1px #ccc;
|
|
border-radius: 0.5em;
|
|
box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.3);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ve-ui-dialog .ve-ui-frame {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.ve-ui-window-head {
|
|
height: 2.8em;
|
|
background-image: url(images/fade-up.png);
|
|
background-position: left bottom;
|
|
background-repeat: repeat-x;
|
|
}
|
|
|
|
.ve-ui-window-icon {
|
|
width: 2.4em;
|
|
height: 2.8em;
|
|
line-height: 2.8em;
|
|
}
|
|
|
|
.ve-ui-window-title {
|
|
line-height: 2.8em;
|
|
}
|
|
|
|
.ve-ui-window-head .ve-ui-buttonWidget {
|
|
float: right;
|
|
margin: 0.125em 0.25em;
|
|
}
|
|
|
|
.ve-ui-window-body {
|
|
position: absolute;
|
|
border-top: solid 1px #d0d0d0;
|
|
top: 3.8em;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.ve-ui-metaDialog-outlinePanel {
|
|
border-right: solid 1px #ddd;
|
|
}
|