SegControl.less 1.3 KB
.wev-comp-SegControl{
	position:relative;
	padding: 7px 10px;
	background-color: #fff;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	box-sizing: border-box;
}
.wev-comp-SegControl .wev-segmented-control{
	margin: 0 auto;
	display: table;
	overflow: hidden;
	font-size: @font-size-base;
	line-height: 21 * @hd;
	font-weight: 400;
	background-color: #fff;
	border: 1px solid var(--themeColor);
	border-radius: 3px;
	box-sizing: border-box;
	border-collapse: separate;
}
.wev-segmented-control .wev-control-item{
	display: table-cell;
	width: 1%;
	padding-top: 6px;
	padding-bottom: 7px;
	overflow: hidden;
	line-height: 1;
	color: var(--themeColor);
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	border-left: 1px solid var(--themeColor);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
	font-size: @font-size-base;
	font-weight: 400;
	cursor: pointer;
}
.wev-segmented-control .wev-control-item:first-child{
	border-left-width: 0;
}
.wev-segmented-control .wev-control-item.active {
	color: white;
	background-color: var(--themeColor);
}
.wev-segmented-control .wev-numremind{
	margin-left: 2px;
	display: none;
}
.wev-segmented-control .wev-numremind:before {
    content: '(';
}
.wev-segmented-control .wev-numremind:after {
    content: ')';
}