@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();
}
