@import url(~antd/lib/drawer/style/index-pure.less);
@import '../../style/themes/index';

@btn-prefix-cls: ~'@{ant-prefix}-btn';

.@{drawer-prefix-cls} {
	&-header {
		padding: @drawer-header-padding-tb @drawer-header-padding-lr;
		border-bottom: 0px;
	}

	&-title {
		height: @drawer-header-title-height;
		line-height: @drawer-header-title-height;
	}

	&-body {
		padding: @drawer-body-padding-tb @drawer-header-padding-lr;
		color: @text-color;
	}

	&-close {
		padding: 0;
		position: absolute;
		right: 24px;
		margin-right: 0;
	}

	&-footer {
		padding: @drawer-footer-padding;
		padding-left: @drawer-footer-padding-l;
		border-top: 0px;
		display: flex;

		.@{btn-prefix-cls} + .@{btn-prefix-cls} {
			margin-left: 8px;
		}
	}

	&-footer-justify {
		justify-content: space-between;
		align-items: center;
	}

	&-footer-end {
		justify-content: flex-end;
	}

	//top和bottom时最小高度
	&-top &-content,
	&-bottom &-content {
		min-height: 260px;
	}

	//全屏下按钮样式
	&-fullscreen &-footer {
		.@{btn-prefix-cls} {
			min-width: 332px;
		}
	}
}
