Skip to content

Commit

Permalink
Update CSS to pre-split version
Browse files Browse the repository at this point in the history
There were some fixes to CSS sting in html.py that were not reflected to 
behave.css. Add missing definitions, as without them failed HTML is too 
green and links are not underlined (thus not visually clickable unless 
mouse 
hovered).
  • Loading branch information
fpokryvk authored and bittner committed Jun 30, 2022
1 parent e8d79f3 commit b61bf3f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
24 changes: 22 additions & 2 deletions behave_html_formatter/behave.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ body {
color: black;
}
.behave a, td a, th a {
text-decoration: none;
color: #be5c00;
margin-right: 0.5em;
}
.behave a:hover, td a:hover, th a:hover {
text-decoration: underline;
text-decoration: none;
}
.behave a:visited, td a:visited, th a:visited {
font-weight: normal;
Expand Down Expand Up @@ -252,3 +252,23 @@ td table td.pending {
.behave #summary #totals, td #summary #totals, th #summary #totals {
font-size: 1.2em;
}
.behave .scenario h3.failed, td .scenario h3.failed, th .scenario h3.failed, .background h3.failed {
background: #c20000;
}
.behave #behave-header.failed, td #behave-header.failed, th #behave-header.failed {
background: #c20000;
}
.behave .scenario h3.undefined, td .scenario h3.undefined, th .scenario h3.undefined, .background h3.undefined {
background: #faf834;
color: black;
}
.behave #behave-header.undefined, td #behave-header.undefined, th #behave-header.undefined {
background: #faf834;
color: black;
}
#behave-header.failed a {
color: white;
}
pre {
white-space: pre-wrap;
}
2 changes: 1 addition & 1 deletion behave_html_formatter/behave.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def read_file(filename):

setup(
name="behave-html-formatter",
version="0.9.9",
version="0.9.10",
author="Petr Schindler",
author_email="pschindl@redhat.com",
description="HTML formatter for Behave",
Expand Down

0 comments on commit b61bf3f

Please sign in to comment.