mediawiki-extensions-Visual.../modules/oojs-ui/styles/OO.ui.Dialog.css

173 lines
4 KiB
CSS
Raw Normal View History

/*!
* ObjectOriented UserInterface Dialog styles.
*
* @copyright 2011-2013 OOJS Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.oo-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);
-webkit-animation: oo-ui-fade-in 250ms ease-in-out 0 1 normal;
-moz-animation: oo-ui-fade-in 250ms ease-in-out 0 1 normal;
-o-animation: oo-ui-fade-in 250ms ease-in-out 0 1 normal;
animation: oo-ui-fade-in 250ms ease-in-out 0 1 normal;
}
.oo-ui-dialog-closing {
-webkit-animation: oo-ui-fade-in 250ms ease-in-out 0 1 reverse;
-moz-animation: oo-ui-fade-in 250ms ease-in-out 0 1 reverse;
-o-animation: oo-ui-fade-in 250ms ease-in-out 0 1 reverse;
animation: oo-ui-fade-in 250ms ease-in-out 0 1 reverse;
}
.oo-ui-dialog .oo-ui-window-frame {
position: fixed;
top: 1em;
right: 0;
bottom: 1em;
left: 0;
margin: auto;
width: 800px;
min-height: 12em;
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;
-webkit-animation: oo-ui-zoom-in 250ms ease-in-out 0 1 normal;
-moz-animation: oo-ui-zoom-in 250ms ease-in-out 0 1 normal;
-o-animation: oo-ui-zoom-in 250ms ease-in-out 0 1 normal;
animation: oo-ui-zoom-in 250ms ease-in-out 0 1 normal;
}
.oo-ui-dialog .oo-ui-window-frame.oo-ui-window-frame-small {
max-width: 600px;
max-height: 400px;
}
.oo-ui-dialog-closing .oo-ui-window-frame {
-webkit-animation: oo-ui-zoom-in 250ms ease-in-out 0 1 reverse;
-moz-animation: oo-ui-zoom-in 250ms ease-in-out 0 1 reverse;
-o-animation: oo-ui-zoom-in 250ms ease-in-out 0 1 reverse;
animation: oo-ui-zoom-in 250ms ease-in-out 0 1 reverse;
}
.oo-ui-dialog .oo-ui-frame {
width: 100%;
height: 100%;
}
.oo-ui-dialog-content .oo-ui-window-head,
.oo-ui-dialog-content .oo-ui-window-body,
.oo-ui-dialog-content .oo-ui-window-foot {
position: absolute;
left: 0;
right: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
.oo-ui-dialog-content .oo-ui-window-head {
top: 0;
height: 3.8em;
padding: 0.5em;
}
.oo-ui-dialog-content .oo-ui-window-foot {
bottom: 0;
height: 4.8em;
padding: 1em;
}
.oo-ui-dialog-content .oo-ui-window-body {
box-shadow: 0 0 0.66em rgba(0,0,0,0.25);
top: 3.8em;
bottom: 4.8em;
}
.oo-ui-dialog-content-footless .oo-ui-window-body {
bottom: 0;
}
.oo-ui-dialog-content-footless .oo-ui-window-foot {
display: none;
}
.oo-ui-dialog-content .oo-ui-window-icon {
width: 2.4em;
height: 2.8em;
line-height: 2.8em;
}
.oo-ui-dialog-content .oo-ui-window-title {
line-height: 2.8em;
}
.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-pushButtonWidget {
float: left;
margin: 0.125em 0.25em;
}
.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-pushButtonWidget.oo-ui-flaggableElement-primary,
.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-pushButtonWidget.oo-ui-flaggableElement-constructive,
.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-pushButtonWidget.oo-ui-flaggableElement-destructive {
float: right;
}
.oo-ui-dialog-content .oo-ui-window-closeButton {
float: right;
margin: 0.25em 0.25em;
}
/* OO.ui.PagedLayout */
.oo-ui-pagedLayout-pagesPanel .oo-ui-panelLayout {
padding: 1.5em;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.oo-ui-pagedLayout-pagesPanel .oo-ui-panelLayout-scrollable {
overflow-y: auto;
}
.oo-ui-pagedLayout-pagesPanel .oo-ui-panelLayout-padded {
padding: 2em;
}
/* OO.ui.PagedOutlineLayout */
.oo-ui-pagedOutlineLayout-outlinePanel {
border-right: solid 1px #ddd;
}
.oo-ui-pagedOutlineLayout-outlinePanel-editable .oo-ui-outlineWidget {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 3em;
overflow-y: auto;
}
.oo-ui-pagedOutlineLayout-outlinePanel .oo-ui-outlineControlsWidget {
position: absolute;
bottom: 0;
left: 0;
right: 0;
box-shadow: 0 0 0.25em rgba(0,0,0,0.25);
}