css.cucumber.css Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cucumber-reporting Show documentation
Show all versions of cucumber-reporting Show documentation
Provides pretty html reports for Cucumber (Behaviour-Driven Development). It works by generating html from the
cucumber json report formatter. So can be used anywhere a json report is generated. Current use is in the
cucumber jenkins plugin and a maven mojo to generate the same report from mvn command line when running locally.
body {
/* Shifts body so navigation bar does not overlap it.
Make sure to include this after the core Bootstrap CSS. */
padding-top: 60px;
}
h2 {
font-size: 24px;
}
a {
color: #0097da;
}
a:hover {
color: #00587f;
}
.header-tag-name {
color: gray;
font-style: italic;
}
.keyword {
font-weight: bold;
}
.indention {
padding-left: 3px;
}
.inner-level {
margin-top: 5px;
margin-left: 20px;
padding-bottom: 2px;
padding-left: 1px;
}
.element {
margin-bottom: 15px;
padding-left: 3px;
}
/* left line along each section */
.element, .steps, .hooks-after, .hooks-before {
box-shadow: -1px 0 lightgray;
transition: box-shadow 0.3s;
}
.element:hover, .steps:hover, .hooks-after:hover, .hooks-before:hover {
box-shadow: -3px 0 #6ce;
}
.description {
font-style: italic;
background-color: beige;
white-space: pre;
}
.message, .output, .embedding {
background-color: #dfdfdf;
overflow: auto;
}
/* same as from bootstrap library */
.embedding-content {
display: block;
padding: 9.5px;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 10px;
font-size: 13px;
overflow-x: auto;
line-height: 1.42857143;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
white-space: nowrap;
}
.download-button {
float: right;
margin-right: 10px;
color: #333;
}
/* names of those classes must be the same as name of the statuses (to lower case) in Status class */
.passed {
background-color: #92DD96;
}
.failed {
background-color: #F2928C;
}
.skipped {
background-color: #8AF;
}
.pending {
background-color: #F5F28F;
}
.undefined {
background-color: #F5B975;
}
.lead-duration {
float: right;
padding-right: 15px;
}
table.stats-table {
background-color: white;
color: black;
margin-bottom: 20px;
width: 100%;
}
table.stats-table th, table.stats-table td {
border: 1px solid gray;
padding: 5px;
text-align: center;
}
table.stats-table tr.header {
background-color: #66CCEE;
}
table.stats-table tfoot {
font-weight: bold;
}
tfoot.total, td.total, th.total {
background-color: lightgray;
}
table.stats-table td.duration {
text-align: right;
white-space: nowrap;
}
table.stats-table td.tagname {
text-align: left;
}
table.stats-table td.location, .location {
font-family: monospace;
text-align: left;
}
table.step-arguments {
margin-bottom: 5px;
margin-left: 25px;
margin-top: 3px;
}
table.step-arguments th, table.step-arguments td {
border: 1px solid gray;
padding: 3px;
text-align: left;
}
table#tablesorter thead tr:not(.dont-sort) th {
cursor: pointer;
}
tr:hover {
transition: background-color 0.3s;
}
.collapsable-control {
cursor: pointer;
}
.chevron:after {
content: "\f078";
}
.collapsed .chevron:after {
content: "\f054";
}
.footer {
font-size: smaller;
text-align: center;
margin-top: 30px;
}
/* Custom Bootstrap CSS overloading. */
.carousel-indicators {
bottom: 0;
}
.carousel-indicators li {
border: 1px solid black;
}
.carousel-indicators .active {
background-color: black;
}
.carousel-control {
font-size: 40px;
padding-top: 150px;;
}
.carousel-control.right, .carousel-control.left {
background-image: none;
color: #eee;
}
pre {
margin-left: 10px;
margin-right: 10px;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy