Skip to content

Commit c8b30cb

Browse files
committed
Correção marcadores em PDF
1 parent 675d519 commit c8b30cb

File tree

8 files changed

+19
-7
lines changed

8 files changed

+19
-7
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<name>pirilampo</name>
88
<modelVersion>4.0.0</modelVersion>
99
<groupId>pirilampo</groupId>
10-
<version>1.1.5</version>
10+
<version>1.1.6</version>
1111

1212
<properties>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/java/br/com/pirilampo/htmlTemplate/css/template-feature-pasta.css

+6
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,10 @@ del {
9191
#html-frame {
9292
border: 0;
9393
width: 100%;
94+
}
95+
96+
.panel-heading > h3 {
97+
font-size: inherit;
98+
font-weight: bolder;
99+
margin: 0;
94100
}

src/main/java/br/com/pirilampo/htmlTemplate/css/template-feature-pdf.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ p {
4444
display: block;
4545
}
4646

47-
h1 {
47+
h1, h2 {
4848
font-size: 16pt;
4949
margin-bottom: 10px;
5050
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
img[alt="Image"] {
22
max-width: 240px;
3+
}
4+
5+
.panel-heading > h3 {
6+
font-size: inherit;
7+
font-weight: bolder;
8+
margin: 0;
39
}

src/main/java/br/com/pirilampo/htmlTemplate/dist/feature-pasta.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/br/com/pirilampo/htmlTemplate/dist/feature-pdf.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/br/com/pirilampo/htmlTemplate/dist/feature.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/br/com/pirilampo/util/ParseDocument.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ class ParseDocument {
2222
}
2323

2424
public String getHtml(){
25-
final String HTML_TITULO = "<h1>%s</h1>\n";
25+
final String HTML_TITULO = "<h2>%s</h2>\n";
2626
final String HTML_PARAGRAFO = "<p>%s</p>\n";
2727
final String HTML_STEP = "<p><span class=\"keyword\">%s</span> %s</p>\n";
2828
final String HTML_CODE = "<pre>%s</pre>\n";
2929

3030
final String HTML_CHILDREN = "<div class=\"panel panel-default\">\n" +
31-
"<div class=\"panel-heading\" style=\"cursor: pointer;\" data-toggle=\"collapse\" data-target=\"#scenario-%s\"><strong>%s</strong></div>\n%s\n</div>\n";
31+
"<div class=\"panel-heading\" style=\"cursor: pointer;\" data-toggle=\"collapse\" data-target=\"#scenario-%s\"><h3>%s</h3></div>\n%s\n</div>\n";
3232
final String HTML_CHILDREN_BODY = "<div id=\"scenario-%s\" class=\"panel-body collapse in\">%s</div>\n";
3333
final String HTML_CHILDREN_TABLE = "<div class=\"table-responsive\">\n" +
3434
"<table class=\"table table-condensed table-bordered table-hover table-striped\">\n" +

0 commit comments

Comments
 (0)