UNPKG

cucumber-forge-report-generator

Version:
283 lines (272 loc) 5.5 kB
@import url('https://fonts.googleapis.com/css?family=Lato|Roboto+Mono|Roboto+Slab'); @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css'); /* Global style */ html { font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif; font-size: medium; font-style: normal; font-weight: normal; scroll-behavior: smooth; } body { background-color: #fcfcfc; margin: 0px; } /* Sidebar Style */ .sidenav { background-color: #272525; color: #f1f1f1; height: 100%; overflow-x: hidden; position: fixed; text-align: center; width: 30vw; z-index: 1; /* Disable the scroll bar */ scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE 10+ */ } /* Disable the scroll bar */ .sidenav::-webkit-scrollbar { /* WebKit */ width: 0; height: 0; } #sidenav-header { color: #3a7ca8; font-weight: bold; line-height: 1.5em; position: fixed; width: 30vw; } #sidenavTitle { background-color: #2980B9; color: #f1f1f1; padding: 1em 0.01em 1em 0.01em; } #sidenavTitle h1 { font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif; font-size: xx-large; font-weight: bold; margin: 0em; } #sidenav-subheader { background-color: #272525; padding: 0.25em 0em 0.25em 0em; } #sidenav-body { background-color: #404040; margin-bottom: 2em; margin-top: 7em; min-height: 100%; } #sidenav-body ul { display: none; list-style-type: none; padding-left: 0.5em; } #sidenav-body ul.active, #sidenav-body > ul { display: block; } #sidenav-body button { cursor: pointer; font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif; outline: none; padding: 0.25em; text-align: left; white-space: nowrap; width: 100%; } .directory-button { background-color: #404040; border: none; color: #a9a9a9; padding-left: 0em; } .directory-button.active, .directory-button:hover { color: white; } i.fa-folder, i.fa-folder-open { width: 1.5em; } .feature-button { background-color: #404040; border-bottom-left-radius: 0.85em; border-top-left-radius: 0.25em; border: none; color: #a9a9a9; } .feature-button.active, .feature-button:hover { background-color: #fcfcfc; border-bottom: solid 1px #c9c9c9; color: #404040; font-weight: bold; margin-bottom: -1px; } .feature-button:hover:not(.active) { border-bottom-left-radius: 0.25em; } i.fa-angle-right, i.fa-angle-down { width: 0.6em; } .scenario-button { background-color: #e2e2e2; border-bottom: none; border-left: none; border-right: solid 1px #c9c9c9; border-top: none; color: #404040; } .scenario-button.active, .scenario-button:hover { background-color: #ccc; } .scenario-button.last { border-bottom-left-radius: 0.85em; } .scenario-button span { margin-left: 0.25em; } #sidenavFooter { background-color: #272525; bottom: 0; padding: 0.25em 0em 0.25em 0em; position: fixed; text-align: left; width: 30vw; } #settingsDrawer { display: none; padding: 0.5em 0.5em 0.5em 0.5em; } #settingsDrawer.active { display: block; } #settingsDrawer p { color: grey; } #settingsDrawer a { color: grey; } #settingsButton { cursor: pointer; margin-left: 0.25em; padding: 0.25em; vertical-align: middle; } #footerTitle { color: #3a7ca8; margin-left: calc(15vw - 6.25em); } /* Main Content Window Style */ .main { margin-bottom: 75vh; margin-left: 30vw; padding: 0px 10px; } .main h2 { font-family: 'Roboto Slab', sans-serif; font-size: x-large; font-weight: bold; margin-bottom: 0.5em; margin-top: 0em; padding-top: 0.5em; } .feature-wrapper { display: none; } .feature-wrapper.active { display: block; } .anchor { color: transparent; padding-top: 1em; outline: none; } .title:hover + .anchor, .anchor:hover { color: -webkit-link; } .tags { color: grey; display: none; margin-bottom: -1em; } .tags.active { display: block; } .feature-body { margin-left: 1em; } .feature-body h3 { font-family: 'Roboto Slab', sans-serif; font-size: large; font-weight: bold; margin-bottom: 0em; margin-top: 1em; } .feature-body pre, .feature-body p { font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif; font-size: medium; margin-bottom: 0.5em; margin-top: 0.5em; } .feature-body pre { overflow-x: auto; } .scenario-body { margin-left: 1em; } .scenario-description { margin-bottom: 1.5em; } .docstring { margin-left: 1em; } .docstring pre { font-family: 'Roboto Mono', monospace; font-size: small; } .table-wrapper { overflow-x: auto; width: calc(70vw - 4em); } .table-wrapper table { border-collapse: collapse; margin-left: 1em; white-space: nowrap; } .table-wrapper table, th, td { padding: 5px; border: 1px solid black; } .scenario-divider { border-bottom: 1px dashed #ccc; border: 0; margin-top: 1em; } /* Dark mode support */ body.dark { background-color: #272525; } .dark .main { color: white; } .dark .feature-button, .dark .scenario-button { color: #ccc; background-color: #23272A; } .dark .feature-button.active, .dark .feature-button:hover { background-color: #272525; border-bottom-color: #23272A; color: #fff; font-weight: normal; } .dark .scenario-button.active, .dark .scenario-button:hover { color: #fff; background-color: #3c3d41; font-weight: normal; } body.dark .feature-button.active, body.dark .feature-button:hover { border-bottom-color: #23272A; } body.dark .scenario-button { border-right-color: #23272A; }