更新时间:2023-12-04 10:52:34
借助Internet Explorer的开发工具,我发现了哪些CSS类控制了风格Dojo DataGrid标题行。
With the help of Internet Explorer's "Developer Tools," I discovered which CSS classes controlled the styling of the Dojo DataGrid header row.
我需要在.dojoxGridHeader前面添加.tundra,因为.tundra样式表位于层次结构的顶部。
I needed to add ".tundra" in front of .dojoxGridHeader because the .tundra stylesheet is at the top of the hierarchy.
这适用于我:
.tundra .dojoxGridHeader, .tundra .dojoxGridHeader .dojoxGridCell {
vertical-align: bottom;
color: #FFFFFF !important;
background: #530619;
border-color: #ECE2D8;
font-weight: bold;
}