diff options
Diffstat (limited to 'vendor/oojs/oojs-ui/src/styles/dialogs/MessageDialog.less')
-rw-r--r-- | vendor/oojs/oojs-ui/src/styles/dialogs/MessageDialog.less | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/vendor/oojs/oojs-ui/src/styles/dialogs/MessageDialog.less b/vendor/oojs/oojs-ui/src/styles/dialogs/MessageDialog.less new file mode 100644 index 00000000..e50029f9 --- /dev/null +++ b/vendor/oojs/oojs-ui/src/styles/dialogs/MessageDialog.less @@ -0,0 +1,45 @@ +@import '../common'; + +.oo-ui-messageDialog { + &-actions { + &-horizontal { + display: table; + table-layout: fixed; + width: 100%; + + .oo-ui-actionWidget { + display: table-cell; + width: 1%; + } + } + + &-vertical { + display: block; + + .oo-ui-actionWidget { + display: block; + overflow: hidden; + text-overflow: ellipsis; + } + } + + .oo-ui-actionWidget { + position: relative; + text-align: center; + + .oo-ui-buttonElement-button { + display: block; + } + + .oo-ui-labelElement-label { + position: relative; + top: auto; + bottom: auto; + display: inline; + white-space: nowrap; + } + } + } + + .theme-oo-ui-messageDialog(); +} |