Skip to content

Commit

Permalink
Remove background-color: blue which has no effect in generated reports
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Mar 24, 2024
1 parent 5a04824 commit 4898e2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Src/ImgMergeFrm.cpp
Expand Up @@ -2288,7 +2288,7 @@ bool CImgMergeFrame::GenerateReport(const String& sFileName, bool allPages) cons
_T("table { table-layout: fixed; width: 100%; height: 100%; border-collapse: collapse; }\n")
_T("th {position: sticky; top: 0;}\n")
_T("td,th { border: solid 1px black; }\n")
_T(".title { color: white; background-color: blue; vertical-align: top; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
_T(".title { color: white; vertical-align: top; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
_T(".img { overflow: scroll; text-align: center; }\n")
_T("</style>\n")
_T("</head>\n")
Expand Down
4 changes: 2 additions & 2 deletions Src/MergeDoc.cpp
Expand Up @@ -3210,7 +3210,7 @@ bool CMergeDoc::GenerateReport(const String& sFileName) const
_T("tr:first-child { position: sticky; top: 0; z-index: 99; }\n")
_T("td,th { word-break: break-all; padding: 0 3px; border: 1px solid #a0a0a0; }\n")
_T(".ln { position: sticky; left: 0; }\n")
_T(".title { font-weight: bold; color: white; background-color: blue; vertical-align: top; text-align: center; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
_T(".title { font-weight: bold; color: white; vertical-align: top; text-align: center; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
_T("%s")
_T("-->\n")
_T("</style>\n")
Expand Down Expand Up @@ -3342,7 +3342,7 @@ bool CMergeDoc::GenerateReport(const String& sFileName) const
_T("th { position: sticky; top: 0; }\n")
_T("td,th { word-break: break-all; font-size: %dpt; padding: 0 3px; }\n")
_T("tr { vertical-align: top; }\n")
_T(".title { font-weight: bold; color: white; background-color: blue; vertical-align: top; text-align: center; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
_T(".title { font-weight: bold; color: white; vertical-align: top; text-align: center; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
_T("%s")
_T("-->\n")
_T("</style>\n")
Expand Down
2 changes: 1 addition & 1 deletion Src/WebPageDiffFrm.cpp
Expand Up @@ -1615,7 +1615,7 @@ bool CWebPageDiffFrame::GenerateReport(const String& sFileName, std::function<vo
_T("th {position: sticky; top: 0;}\n")
_T("td,th { border: solid 1px black; }\n")
_T("embed { width: 100%; height: calc(100vh - 56px) }\n")
_T(".title { color: white; background-color: blue; vertical-align: top; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
_T(".title { color: white; vertical-align: top; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
_T("</style>\n")
_T("</head>\n")
_T("<body>\n")
Expand Down

0 comments on commit 4898e2f

Please sign in to comment.