summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/src/styles/widgets/PopupWidget.less
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/oojs/oojs-ui/src/styles/widgets/PopupWidget.less')
-rw-r--r--vendor/oojs/oojs-ui/src/styles/widgets/PopupWidget.less49
1 files changed, 49 insertions, 0 deletions
diff --git a/vendor/oojs/oojs-ui/src/styles/widgets/PopupWidget.less b/vendor/oojs/oojs-ui/src/styles/widgets/PopupWidget.less
new file mode 100644
index 00000000..d8fdd40c
--- /dev/null
+++ b/vendor/oojs/oojs-ui/src/styles/widgets/PopupWidget.less
@@ -0,0 +1,49 @@
+@import '../common';
+
+.oo-ui-popupWidget {
+ position: absolute;
+ /* @noflip */
+ left: 0;
+
+ &-popup {
+ position: relative;
+ overflow: hidden;
+ z-index: 1;
+ }
+
+ &-anchor {
+ display: none;
+ z-index: 1;
+ }
+
+ &-anchored {
+ .oo-ui-popupWidget-anchor {
+ display: block;
+ position: absolute;
+ top: 0;
+ /* @noflip */
+ left: 0;
+ background-repeat: no-repeat;
+ }
+ }
+
+ &-head {
+ .oo-ui-unselectable();
+
+ .oo-ui-buttonWidget {
+ float: right;
+ }
+
+ .oo-ui-labelElement-label {
+ float: left;
+ cursor: default;
+ }
+ }
+
+ &-body {
+ clear: both;
+ overflow: hidden;
+ }
+
+ .theme-oo-ui-popupWidget();
+}