summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/src/styles/Window.less
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/oojs/oojs-ui/src/styles/Window.less')
-rw-r--r--vendor/oojs/oojs-ui/src/styles/Window.less32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/oojs/oojs-ui/src/styles/Window.less b/vendor/oojs/oojs-ui/src/styles/Window.less
new file mode 100644
index 00000000..34064684
--- /dev/null
+++ b/vendor/oojs/oojs-ui/src/styles/Window.less
@@ -0,0 +1,32 @@
+@import 'common';
+
+.oo-ui-window {
+ &-frame {
+ .oo-ui-box-sizing(border-box);
+ }
+
+ // Content div takes focus when opened, so hide outline
+ &-content:focus {
+ outline: none;
+ }
+
+ &-head,
+ &-foot {
+ .oo-ui-unselectable();
+ }
+
+ &-body {
+ margin: 0;
+ padding: 0;
+ background: none;
+ }
+
+ &-overlay {
+ position: absolute;
+ top: 0;
+ /* @noflip */
+ left: 0;
+ }
+
+ .theme-oo-ui-window();
+}