@import "../default-skin.less";
@import "../../global/mixin.less";
@import "../component/msg.less";

// 手机自动适应
.s_phone {
	.l_query {
		top:(1+2*@gap)*1.1667; position:absolute; left:0; right:0; bottom:0; z-index:1;
		.l_queryFn {
			.c_fn {
				.right { display:none;}
				.left {
					display:none; position:absolute; top:0; right:0; z-index:2; background:@bg; border:1px solid @fg-light-8-5; box-shadow:0 0.07em 0.29em rgba(0,0,0,0.1);
					button {
						font-size:114%; height:3em;
						border:0 none; display:block; text-align:left; float:none;
						&.active { background:@bg-dark-0-6;}
						width:100%;
					}
					.e_select { border:0 none; background:none; width:100%;}
					.e_select.active { background:@bg-dark-0-6;}
					.e_space { display:none;}
				}
			}
		}
		.l_queryResult {
			position:absolute; bottom:1+2*@gap; width:100%; top:0;
			.c_table { height:100%;}
		}
		.l_queryPage {
			position:absolute; bottom:0; right:0; left:0;
			.c_page { border-bottom:0 none; border-left:0 none; border-right:0 none;}
		}
		.l_queryMsg {
			top:0; left:0; right:0; bottom:0;
			.c_msg { .c_msg-full;}
		}
	}



	// 不预留分页区域
	.l_query-nopage {
		> div > .l_queryMsg,
		> div > .l_queryResult,
		> .l_queryMsg,
		> .l_queryResult { bottom:0;}
	}



	// 预留提交区域
	.l_query-submit {
		.l_queryMsg,
		.l_queryResult {
			bottom:(1+2*@gap)*1.1667+(1+2*@gap);
		}
		.l_querySubmit {
			position:absolute; bottom:0; width:100%; left:0; margin-left:0; text-align:center;
			.c_submit {
				button { border-radius:0; margin:0;}
			}
		}
		.l_queryPage {
			bottom:(1+2*@gap)*1.1667;
		}
	}
	.l_query-submit.l_query-nopage {
		.l_queryMsg,
		.l_queryResult {
			bottom:(1+2*@gap)*1.1667;
		}
	}
}