// 业务可以替换默认样式基础配置
@import './mixin.less';
@import './transition.less';
@import './layout.less';
@import './flex.less';
@import './component/index.less';
// 改成引入在线链接
@import './load/loading.less';
@import './antd.less';
body {
	height: 100%;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
		Microsoft YaHei, Arial, sans-serif;
}

html {
	height: 100%;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

div:focus {
	outline: none;
}

.clearfix {
	&:after {
		visibility: hidden;
		display: block;
		font-size: 0;
		content: ' ';
		clear: both;
		height: 0;
	}
}

// main-container global css
.app-container {
	padding: 20px;
}
.loopx( @count )when( @count > 0 ) {
	[sizew='@{count}'] {
		width: (100% * ((@count / 24)-0.01));
	}
	.loopx((@count - 1));
}
.loopx(24);

.looppt( @count )when( @count >= 0 ) {
	.p-t-@{count} {
		padding-top: (0px + @count) !important;
	}
	.m-t-@{count} {
		margin-top: (0px + @count) !important;
	}
	.looppt((@count - 5));
}
.looppt(55);
.loop-p-r( @count )when( @count >= 0 ) {
	.p-r-@{count} {
		padding-right: (0px + @count) !important;
	}
	.m-r-@{count} {
		margin-right: (0px + @count) !important;
	}
	.loop-p-r((@count - 5));
}
.loop-p-r(55);

.loop-p-b( @count )when( @count >= 0 ) {
	.p-b-@{count} {
		padding-bottom: (0px + @count) !important;
	}
	.m-b-@{count} {
		margin-bottom: (0px + @count) !important;
	}
	.loop-p-b((@count - 5));
}
.loop-p-b(55);

.loop-p-l( @count )when( @count >= 0 ) {
	.p-l-@{count} {
		padding-left: (0px + @count) !important;
	}
	.m-l-@{count} {
		margin-left: (0px + @count) !important;
	}
	.loop-p-l((@count - 5));
}
.loop-p-l(55);

.f-r {
	float: right !important;
}

.f-l {
	float: left !important;
}

.t-l {
	text-align: left;
}

.t-r {
	text-align: right;
}
.t-c {
	text-align: center;
}
.h100 {
	height: 100%;
}
.w100 {
	width: 100%;
}
.obit-oneline {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	-o-text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
	-moz-text-overflow: ellipsis;
}
.nowrap {
	white-space: nowrap;
}
.crow-left {
	> div {
		float: left;
	}
}

.obit-tips {
	font-size: 14px;
	color: #5e6d82;
	line-height: 1.5em;
	margin-top: 0;
	margin-bottom: 5px;
}
.obit-tips-text {
	text-indent: 1em;
}
.obit-tip {
	padding: 8px 16px;
	background-color: #ecf8ff;
	border-radius: 4px;
	border-left: 5px solid #50bfff;
	margin: 20px 0;
}

.obit-form-content {
	border: 1px solid #ebebeb;
	border-radius: 3px;
	transition: 0.2s;
	padding: 30px 10px;
}

.full {
	width: 100%;
	height: 100%;
}

.crow {
	position: relative;
	overflow: hidden;
	width: 100%;
	[sizew] {
		float: left;
	}

	> div {
		float: left;
	}

	> label {
		width: 120px;
	}
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left !important;
}

.text-right {
	text-align: right;
}

.obit-title {
	margin-top: 15px;
	padding-top: 15px;
	font-size: 16px;
	font-weight: 600;
	padding-bottom: 10px;
}

html {
	height: 100%;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

.no-padding {
	padding: 0px !important;
}

.padding-content {
	padding: 4px 0;
}

div:focus {
	outline: none;
}

.block {
	display: block;
}

.pointer {
	cursor: pointer;
}

.obit-link {
	color: @primary-color;
	cursor: pointer;
}

.obit-link:hover {
	color: @primary-color;
}

.inlineBlock {
	display: block;
}

.clearfix {
	&:after {
		visibility: hidden;
		display: block;
		font-size: 0;
		content: ' ';
		clear: both;
		height: 0;
	}
}

.clear {
	clear: both;
}

//refine vue-multiselect plugin
.multiselect {
	line-height: 16px;
}

.multiselect--active {
	z-index: 1000 !important;
}

.obit-line {
	border-bottom: 1px solid #dcdfe6;
	clear: both;
	float: none !important;
}

.addEditor {
	.ql-container {
		min-height: 270px;
	}
	.ql-toolbar {
		.ql-picker {
			line-height: 22px !important;
		}
	}
}

.input-md {
	width: 220px;
	vertical-align: top;
	margin: 0 20px 10px 0;
}
