multiple-cucumber-html-reporter
Version:
Generate beautiful Cucumber.js reports for multiple instances (browsers / devices)
792 lines (663 loc) • 13.5 kB
CSS
body {
color: #73879c;
background: #f7f7f7;
font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
font-size: 13px;
font-weight: 400;
line-height: 1.471;
}
.main_container {
padding: 10px 20px 0;
}
i span {
display: none;
}
/* Navigation */
nav.navbar {
background: #ededed;
border-bottom: 1px solid #d9dee4;
margin-bottom: 0;
}
nav .navbar-brand {
border-right: 1px solid #d9dee4;
color: #5a738e;
}
nav .navbar-text {
font-size: 18px;
height: 50px;
margin-bottom: 0;
margin-top: 0;
padding: 15px 0;
float: right;
}
/* Table */
table {
width: 100%;
}
table.chart tr th:first-of-type {
width: 33.333%;
}
.table > thead > tr > th {
background: #f5f7fa;
}
table.tile h3,
table.tile h4,
table.tile span {
font-weight: bold;
vertical-align: middle ;
}
table.tile th,
table.tile td {
text-align: center;
}
table.tile th {
border-bottom: 1px solid #e6ecee;
}
table.tile td {
padding: 5px 0;
}
table.tile td ul {
text-align: left;
padding-left: 0;
}
table.tile td ul li {
list-style: none;
width: 100%;
}
table.tile td ul li a {
width: 100%;
}
table.tile td ul li a big {
right: 0;
float: right;
margin-right: 13px;
}
table.tile_info {
width: 100%;
}
table.tile_info td {
text-align: left;
padding: 1px;
font-size: 15px;
}
table.tile_info td p {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
line-height: 28px;
}
table.tile_info td i {
display: inline-block;
margin-right: 8px;
font-size: 17px;
float: left;
width: 18px;
line-height: 28px;
text-align: center;
}
table.tile_info td:first-child {
width: 65%;
}
td span {
line-height: 28px;
}
table.tile_info td.percentage {
text-align: right;
}
/* chart in table */
table td.chart {
display: inline-block;
position: relative;
}
table td.chart #feature-chart,
table td.chart #scenario-chart,
table td.chart .total {
height: 140px;
margin: 15px 10px 10px 0;
width: 140px;
}
table td.chart .total {
display: inline-block;
position: absolute;
font-size: 2em;
height: 50px;
line-height: 50px;
top: 45px;
left: 45px;
text-align: center;
vertical-align: middle;
width: 50px;
}
/* colors */
.ambiguous-color {
color: #e74c3c ;
}
.failed-color {
color: #e74c3c ;
}
.not-defined-color {
color: #f39c12 ;
}
.passed-color {
color: #1abb9c ;
}
.pending-color {
color: #ffd119 ;
}
.skipped-color {
color: #3498db ;
}
/* backgrounds */
.ambiguous-background {
background: #b73122 ;
}
.failed-background {
background: #e74c3c ;
}
.not-defined-background {
background: #f39c12 ;
}
.passed-background {
background: #1abb9c ;
}
.pending-background {
background: #ffd119 ;
}
.skipped-background {
background: #3498db ;
}
/* general */
.x_panel {
position: relative;
width: 100%;
margin-bottom: 10px;
padding: 10px 17px;
display: inline-block;
background: #fff;
border: 1px solid #e6e9ed;
-webkit-column-break-inside: avoid;
opacity: 1;
}
.x_title {
border-bottom: 2px solid #e6e9ed;
padding: 1px 5px 6px;
margin-bottom: 10px;
}
.x_title .filter {
width: 40%;
float: right;
}
.x_title h2 {
margin: 5px 0 6px;
float: left;
font-size: 24px;
font-weight: 400;
display: block;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.fixed_height_320 {
height: 320px;
}
.x_title span {
color: #bdbdbd;
}
.x_content {
padding: 0 5px 6px;
position: relative;
width: 100%;
float: left;
clear: both;
margin-top: 5px;
}
.x_content h4 {
font-size: 16px;
font-weight: 500;
}
.panel_toolbox {
float: right;
margin: 5px 0 0;
min-width: 70px;
}
.panel_toolbox > li {
float: right;
}
.panel_toolbox > li > a {
cursor: pointer;
}
.panel_toolbox > li > a {
padding: 5px;
color: #c5c7cb;
font-size: 14px;
}
.panel_toolbox > li > a:hover {
background: #f5f7fa;
}
.page-title {
width: 100%;
padding: 10px 0 30px 0;
}
.page-title {
display: block;
}
.page-title h1 {
margin: 9px 0 9px 13px;
font-size: 30px;
}
.page-title .title_right {
width: 55%;
float: left;
display: block;
}
.page-title .title_right .pull-right {
margin: 10px 0;
}
.page-title p {
margin-left: 15px;
}
.dashboard-widget-content {
padding-top: 9px;
}
.dashboard-widget-content .sidebar-widget {
width: 50%;
display: inline-block;
vertical-align: top;
background: #fff;
border: 1px solid #abd9ea;
border-radius: 5px;
text-align: center;
float: right;
padding: 2px;
margin-top: 10px;
}
ul.quick-list {
padding-left: 0;
display: inline-block;
}
ul.quick-list li,
table.quick-list tr {
padding-left: 10px;
list-style: none;
margin: 0;
padding-bottom: 6px;
padding-top: 4px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
ul.quick-list li .meta-data-title,
table.quick-list td.meta-data-title {
display: inline-block;
min-width: 75px;
font-weight: bold;
}
ul.quick-list li span,
table.quick-list td {
line-height: 28px;
}
ul.quick-list li,
table.quick-list tr {
border-bottom: 1px solid #efefef;
padding: 0.5em 0;
}
ul.quick-list li:last-child,
table.quick-list tr:last-child {
border-bottom: none;
}
ul.quick-list li i {
padding-right: 10px;
color: #757679;
}
.screenshot {
max-height: 100%;
max-width: 100%;
}
.videoCapture {
width: 50%;
height: 50%;
max-height: 100%;
max-width: 100%;
}
/* Features / Scenarios */
ul.panel_toolbox li .step {
border-radius: 50%;
color: #ffffff;
display: block;
font-size: 14px;
height: 30px;
margin-right: 5px;
padding: 5px;
text-align: center;
width: 30px;
}
.scenario-step-container {
margin-bottom: 10px;
}
.scenario-step-container .label {
display: inline-block;
text-align: center;
width: 30px;
}
.scenario-step-container .text {
display: inline;
}
.scenario-step-container .duration {
position: relative;
float: right;
}
.scenario-step-container .text .keyword.highlight {
font-size: 1.2em;
font-weight: 700;
}
.scenario-scroll-bar {
overflow-x: scroll;
}
.scenario-step-collapse,
.scenario-scroll-bar .arguments {
margin-left: 30px;
width: auto;
}
/* media */
@media (max-width: 1200px) {
.x_title h2 {
width: 70%;
}
}
@media (max-width: 640px) {
.x_title h2 {
width: 100%;
}
}
/* override */
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
background: #1abb9c;
}
table.dataTable.dtr-inline.collapsed
> tbody
> tr.parent
> td:first-child:before,
table.dataTable.dtr-inline.collapsed
> tbody
> tr.parent
> th:first-child:before {
background: #e74c3c;
}
.created-by {
padding: 50px 0;
text-align: center;
}
body.darkmode,
body.darkmode div.created-by,
body.darkmode .dropdown-menu {
background: #212121 ;
color: #b4bfca;
border-color: #2e2e2e;
}
body.darkmode .x_panel {
background: #1c1c21 ;
color: #b4bfca;
border: 1px solid #2e2e2e;
}
body.darkmode div.container-fluid {
background: #2b2b2b ;
color: #b4bfca;
border: 0 solid #2e2e2e;
}
body.darkmode nav.navbar {
background: #2b2b2b;
border-bottom: 1px solid #313a45;
margin-bottom: 0;
}
body.darkmode .x_title {
background: #1c1c21 ;
border-bottom: 2px solid #2e2e2e;
padding: 1px 5px 6px;
margin-bottom: 10px;
}
body.darkmode table.quick-list tr {
border-bottom: 1px solid #292929;
padding: 0.5em 0;
}
body.darkmode ul.quick-list li,
body.darkmode table.quick-list tr {
border-bottom: 1px solid #2e2e2e;
padding: 0.5em 0;
}
.darkModeIcon {
font-size: x-large;
float: left;
padding-top: 12px;
padding-left: 4px;
cursor: pointer;
color: #b4bfca;
border-color: #2e2e2e;
}
.darkModeIcon:before {
content: "";
}
body.darkmode a.navbar-default,
body.darkmode a.navbar-brand {
color: #b1bfcd;
background: transparent ;
border-right: 1px solid #313a45;
}
body.darkmode a {
background: transparent ;
color: #9cc2e3;
border-color: #2e2e2e;
}
body.darkmode a.collapse-link {
color: #c7c7c7;
border-color: #2e2e2e;
}
body.darkmode li:not([class]) > a[id] {
color: white;
}
body.darkmode li:not([class]) > a[id]:hover {
background: darkslateblue;
}
body.darkmode #features-table {
color: #b4bfca;
border-color: #2e2e2e;
}
body.darkmode #features-table th {
background: #212121 ;
color: #a3c2db;
border-color: #2e2e2e;
}
body.darkmode #features-table td {
border-color: #2e2e2e;
}
body.darkmode #features-table tr:nth-of-type(odd) {
background: #212121 ;
border-color: #2e2e2e;
}
body.darkmode table.dataTable > tbody > tr.child ul.dtr-details li {
border-bottom: 1px solid #2e2e2e;
padding: 0.5em 0;
}
body.darkmode .pagination,
body.darkmode .pagination > .active > a,
body.darkmode .pagination > .active > a:focus,
body.darkmode .pagination > .active > a:hover,
body.darkmode .pagination > .active > span,
body.darkmode .pagination > .active > span:focus,
body.darkmode .pagination > .active > span:hover {
background: #3a7ab7;
border-color: #3a7ab7;
}
body.darkmode .pagination > .disabled > a,
body.darkmode .pagination > .disabled > a:focus,
body.darkmode .pagination > .disabled > a:hover,
body.darkmode .pagination > .disabled > span,
body.darkmode .pagination > .disabled > span:focus,
body.darkmode .pagination > .disabled > span:hover {
background: #3a7ab7;
border-color: #3b3b3b;
color: #bfbfbf;
}
body.darkmode
table.dataTable.dtr-inline.collapsed
> tbody
> tr
> td:first-child::before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child::before {
border: 1px solid #2e2e2e;
}
body.darkmode #features-table > thead > tr {
color: #b4bfca;
border-color: #2e2e2e;
}
body.darkmode .form-control {
background: #212121 ;
color: #c3c3c3;
border-color: #2e2e2e;
}
body.darkmode li[id*="features"] > a {
background: #212121 ;
}
body.darkmode .btn-info {
color: #b4bfca;
background: #337ab7;
border-color: #337ab7;
}
body.darkmode .panel_toolbox > li > a:hover {
background: transparent;
}
body.darkmode .table-striped > tbody > tr:nth-of-type(even) {
background: #1c1c21;
}
body.darkmode div pre {
background: #212121 ;
color: #b4bfca;
}
body.darkmode span.tag {
color: #b4bfca;
}
body.darkmode .keyword {
color: #b4bfca;
}
body.darkmode div.tags ~ h1 {
color: #b4bfca;
}
body.darkmode div.tags ~ h2 {
color: #b4bfca;
}
body.darkmode div.tags ~ h1 small {
color: #bfbfbf;
}
body.darkmode div.tags ~ h2 small {
color: #bfbfbf;
}
svg#moon,
svg#sun {
width: 40px;
height: 30px;
fill: #ec6d04;
}
input#darkCheck:checked ~ label > svg#sun {
display: none;
border-color: #212121;
}
label > svg#moon {
display: none;
}
input#darkCheck:checked ~ label > svg#moon {
display: inline-block;
fill: #b4bfca;
border-color: #212121;
}
.chart-header-flex {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 0 10px;
}
body.darkmode .x_content,
body.darkmode .table,
body.darkmode .chart,
body.darkmode .tile_info,
body.darkmode .table-bordered,
body.darkmode .table-responsive,
body.darkmode .dataTables_wrapper {
background: #1c1c21 ;
color: #b4bfca ;
border-color: #2e2e2e ;
}
body.darkmode .table th,
body.darkmode .table td {
background: #212121 ;
color: #b4bfca ;
border-color: #2e2e2e ;
}
body.darkmode .x_panel {
background: #1c1c21 ;
color: #b4bfca ;
border: 1px solid #2e2e2e ;
}
body.darkmode .chart-header-flex span {
color: #b4bfca;
}
body.darkmode .darkModeIcon {
color: #b4bfca;
}
body.darkmode label > svg#moon {
fill: #b4bfca;
}
body.darkmode label > svg#sun {
fill: #ec6d04;
}
@media (max-width: 640px) {
.chart-header-flex {
flex-direction: column;
align-items: flex-start;
gap: 4px;
}
}
body.darkmode .dataTables_wrapper .dataTables_paginate .pagination,
body.darkmode .pagination {
background: #1c1c21 ;
color: #b4bfca ;
border-color: #2e2e2e ;
}
body.darkmode .pagination .page-link,
body.darkmode .pagination .page-item {
background: #212121 ;
color: #b4bfca ;
border-color: #2e2e2e ;
}
body.darkmode .pagination .page-link.active,
body.darkmode .pagination .active > .page-link {
background: #3a7ab7 ;
color: #fff ;
border-color: #3a7ab7 ;
}
body.darkmode .pagination .page-link:focus,
body.darkmode .pagination .page-link:hover {
background: #313a45 ;
color: #fff ;
border-color: #3a7ab7 ;
}
body.darkmode .dataTables_length label,
body.darkmode .dataTables_length select,
body.darkmode .dataTables_filter label,
body.darkmode .dataTables_filter input {
background: #212121 ;
color: #b4bfca ;
border-color: #2e2e2e ;
}
body.darkmode .dataTables_length select,
body.darkmode .form-select {
background: #212121 ;
color: #b4bfca ;
border-color: #2e2e2e ;
}
body.darkmode .x_title,
body.darkmode .navbar-text {
background: #1c1c21 ;
color: #b4bfca ;
}