()
| 8 | |
| 9 | |
| 10 | def get_report_style(): |
| 11 | if hasattr(Saved, "report_style"): |
| 12 | return Saved.report_style |
| 13 | # Uses caching to prevent extra method calls |
| 14 | REPORT_FAVICON = constants.Report.get_favicon() |
| 15 | title = """<meta id="OGTitle" property="og:title" content="SeleniumBase"> |
| 16 | <title>Test Report</title> |
| 17 | <link rel="SHORTCUT ICON" |
| 18 | href="%s" />""" % REPORT_FAVICON |
| 19 | style = ( |
| 20 | title |
| 21 | + """<style type="text/css"> |
| 22 | html { |
| 23 | background-color: #9988ad; |
| 24 | } |
| 25 | html, body { |
| 26 | font-size: 100%; |
| 27 | box-sizing: border-box; |
| 28 | } |
| 29 | body { |
| 30 | background-image: none; |
| 31 | background-origin: padding-box; |
| 32 | background-color: #c6d6f0; |
| 33 | padding: 30; |
| 34 | margin: 10; |
| 35 | font-family: "Proxima Nova","proxima-nova", |
| 36 | "Helvetica Neue",Helvetica,Arial,sans-serif !important; |
| 37 | text-rendering: optimizelegibility; |
| 38 | -moz-osx-font-smoothing: grayscale; |
| 39 | box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.24), |
| 40 | 1px 2px 12px 0px rgba(0, 0, 0, 0.18) !important; |
| 41 | } |
| 42 | table { |
| 43 | width: 100%; |
| 44 | border-collapse: collapse; |
| 45 | border-spacing: 0; |
| 46 | box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.27), |
| 47 | 1px 2px 12px 0px rgba(0, 0, 0, 0.21) !important; |
| 48 | transition: all 0.15s ease-out 0s; |
| 49 | transition-property: all; |
| 50 | transition-duration: 0.1s; |
| 51 | transition-timing-function: ease-out; |
| 52 | transition-delay: 0s; |
| 53 | } |
| 54 | table:hover { |
| 55 | box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.35), |
| 56 | 1px 2px 12px 0px rgba(0, 0, 0, 0.28) !important; |
| 57 | } |
| 58 | thead th, thead td { |
| 59 | padding: 0.5rem 0.625rem 0.625rem; |
| 60 | font-weight: bold; |
| 61 | text-align: left; |
| 62 | } |
| 63 | thead { |
| 64 | text-align: center; |
| 65 | border: 1px solid #e1e1e1; |
| 66 | width: 150%; |
| 67 | color: #0C8CDF; |
no test coverage detected
searching dependent graphs…