コード例 #1
0
        protected override void GenerateHeaderInformation()
        {
            AddBeginStyle();
            AddLine(ReportBase.GetStyleSheetTheme());
            Add(@"
.legend_carto 
{
	position: absolute;
	top: 65px;
	left: 0px;
}
.legend_criticalscore {
    background: #A856AA;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.legend_superhighscore {
    background: #E75351;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.legend_highscore {
    background: #FA9426;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.legend_mediumscore {
    background: #FDC334;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}

.legend_lowscore {
    background: #74C25C;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.legend_unknown {
    background: #ffffff;
    border: #a352cc;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.network-area
{
height: 100%;
min-height: 100%;
border-width:1px;
}
");
            AddLine(TemplateManager.LoadVisCss());
            AddLine(@"</style>");
        }
コード例 #2
0
        protected override void GenerateHeaderInformation()
        {
            Add(@"<script>");
            Add(TemplateManager.LoadVisJs());
            Add(@"</script>");
            Add(ReportBase.GetStyleSheetTheme());
            Add(@"<style type=""text/css"">

.modal
{
top: 50px;
}

.modal-header
{
background-color: #FA9C1A;
}
.modal-header h4 {color: #fff;}
.legend_criticalscore {
    background: #A856AA;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.legend_superhighscore {
    background: #E75351;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.legend_highscore {
    background: #FA9426;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.legend_mediumscore {
    background: #FDC334;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}

.legend_lowscore {
    background: #74C25C;
    border: #19231a;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.legend_unknown {
    background: #ffffff;
    border: #a352cc;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
");
            Add(TemplateManager.LoadVisCss());
            Add(@"</style>");
        }