summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/src/styles/Dialog.less
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/oojs/oojs-ui/src/styles/Dialog.less')
-rw-r--r--vendor/oojs/oojs-ui/src/styles/Dialog.less35
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/oojs/oojs-ui/src/styles/Dialog.less b/vendor/oojs/oojs-ui/src/styles/Dialog.less
new file mode 100644
index 00000000..391cefda
--- /dev/null
+++ b/vendor/oojs/oojs-ui/src/styles/Dialog.less
@@ -0,0 +1,35 @@
+@import 'common';
+
+.oo-ui-dialog {
+ &-content {
+ > .oo-ui-window {
+ &-head,
+ &-body,
+ &-foot {
+ position: absolute;
+ left: 0;
+ right: 0;
+ overflow: hidden;
+ .oo-ui-box-sizing(border-box);
+ }
+
+ &-head {
+ z-index: 1;
+ top: 0;
+ }
+
+ &-body {
+ z-index: 2;
+ top: 0;
+ bottom: 0;
+ }
+
+ &-foot {
+ z-index: 1;
+ bottom: 0;
+ }
+ }
+ }
+
+ .theme-oo-ui-dialog();
+}