从Sharepoint服务器更改客户端分类选择器的样式

时间:2017-07-10 09:33:01

标签: html css sharepoint taxonomy custom-taxonomy

我正在从SP服务器开始控制Taxonomy。在设置并从SP服务器(其他员工处理)中获取数据之后,现在我必须更改其样式,以便它与系统的其他控件保持一致。

此控件来自SP,如下http://www.c-sharpcorner.com/UploadFile/93cb27/client-side-taxonomy-picker-for-sharepoint-app/

但是你可以在上一个结果中看到它的默认样式(在图像中)

enter image description here

所以我的问题是如何改变文本框的样式。

由于

1 个答案:

答案 0 :(得分:0)

我最终为这些类添加了样式

.ms-taxonomy .ms-taxonomy-fieldeditor .ms-taxonomy-writeableregion {
	position: relative;
	display: block;
	float: left;
	height: 38px;
	line-height: 1.3;
	border: 1px solid #c4c7cc;
	background-color: white;
	border-radius: 5px;
	margin: 0;
	padding: 10px;
	color: #323232;
	width: 100%;
	transition: border-color 0.25s ease;
	font-size: 12px;
    overflow: auto;
}