Sharepoint 2013列表样式 - 更改列表标题中的字体

时间:2016-12-01 11:57:43

标签: sharepoint sharepoint-2010 sharepoint-2013

你好我在我的列表中写了一些css,但是当我在列标题中设置白色字体时我遇到了问题 - 问题出在过滤器弹出窗口中:

在这个屏幕上你可以看到究竟是什么问题 - 我什么都没看到:

Here is the screen where you can see what exactly is the problem - I don't see anything

我的css:

`/* ---------- Table Rows ----------*/
.ms-vh, .ms-vh2-nofilter, .ms-vh2-nograd, .ms-vh2, .ms-vb
{
	white-space: normal;
	text-align:center; 
	vertical-align:text-bottom;
}

#onetIDListForm .ms-formtable .ms-formlabel,
#onetIDListForm .ms-formtable .ms-formbody
{
    border-bottom: 5px solid red;
}

/* Set background for every row */
.ms-listviewtable > tbody > tr 
{
	background: white;
}

/* Set border for every row */
.ms-listviewtable > tbody > tr td{
	border-bottom: 1px solid white !important; /*#AFAFAF !important needed over override SharePoint inline style */
}

/* Set background for every alternating row */
.ms-listviewtable > tbody > tr.ms-alternating {
	background: white;
}

/* ---------- Table Header Row ----------*/

/* Remove background set in SharePoint's general data table style */
.ms-listviewtable tr.ms-viewheadertr {
	background: transparent;
}

/* Modify background color */
tr.ms-viewheadertr > th.ms-vh-icon, /* Input box and attachment icon */
tr.ms-viewheadertr > th.ms-vh, /* Text */
		
tr.ms-viewheadertr > th.ms-vh2 ,/* Text */
tr.ms-viewheadertr > th.ms-vh2-nofilter /* Text #2E4C70 */
{
	background: #0072c6;
}	

/* Modify background color on hover #273C51*/
tr.ms-viewheadertr > th.ms-vh:hover,
tr.ms-viewheadertr > th.ms-vh2:hover,
tr.ms-viewheadertr > th.ms-vh2-nofilter:hover
{
	background-color: #00A8FF;
	border-color: #00A8FF;
}

/* Modify font color */
.ms-viewheadertr a,
.ms-viewheadertr div {
	color: white;
}

/* Modify font color on hover */
.ms-viewheadertr a:hover,
.ms-viewheadertr div:hover {
	color: white;
}`

0 个答案:

没有答案