简体   繁体   English

在 SQL Server Reporting Services 中更改 css 类

[英]Change css clas in SQL Server Reporting Services

I want to format class in SQL SSRS, which name is sqlrv-WaitControlBackground .我想格式化 SQL SSRS 中的类,名称为sqlrv-WaitControlBackground

I want to center, and upper position:我想居中,上位:

在此处输入图片说明

I managed to create in Sharepoint CSS and add class sqlrv-WaitControlBackground with properties:我设法在 Sharepoint CSS 中创建并添加了具有属性的类sqlrv-WaitControlBackground

在此处输入图片说明

.sqlrv-WaitControlBackground{
      margin: auto;
      width: 30%;
 }

But it's not working well.但效果不佳。 I want to increase the position on top, but its not working.我想增加顶部的位置,但它不起作用。

I have my own stylesheet - from sharepoint I add to link: &rc:Stylesheet=myStyle我有自己的样式表 - 从共享点我添加到链接:&rc:Stylesheet=myStyle

I use it because parameters area is too wide:我使用它是因为参数区域太宽:

.ParametersFrame
{
    background-color:#FFFFFF;   
    border: 0px solid #a4b7d8;
    width: 830px;
}

Style of Wait control is overrided by anothed classes - you can view this in DOM Explorer (IE F12), but you could make this setting important like this:等待控件的样式被其他类覆盖 - 您可以在 DOM Explorer (IE F12) 中查看它,但您可以像这样使此设置重要:

.WaitControlBackground
{
    cursor: wait;
    padding: 15px;
    background-color: #ebf3ff;
    border: 1px solid #a4b7d8;
    left: 300px !important; 
}

I hope this will help!我希望这个能帮上忙!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM