The button unification PR accidentally raised the button bar above the developer menu. Adjusting the z-index fixes this.
1003 lines
18 KiB
CSS
1003 lines
18 KiB
CSS
:root {
|
|
--viewport-width: 800px;
|
|
--viewport-height: 600px;
|
|
--foreground: rgb(235, 235, 235);
|
|
--foreground-alpha: rgba(235, 235, 235, 0.2);
|
|
--inactive-color: rgb(128, 128, 128);
|
|
--background: rgb(46, 51, 55);
|
|
--running-background: #f5f5f5;
|
|
--highlight: rgb(232, 79, 79);
|
|
--text-width: 650px;
|
|
--metrics-line-height: 25px;
|
|
--scrollbar-width: 10px;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--background);
|
|
color: var(--foreground);
|
|
font-family: "Helvetica Neue", Helvetica, Verdana, sans-serif;
|
|
}
|
|
|
|
::selection {
|
|
color: var(--background);
|
|
background-color: var(--foreground);
|
|
}
|
|
|
|
::-webkit-scrollbar,
|
|
::-webkit-scrollbar-track,
|
|
::-webkit-scrollbar-corner {
|
|
background-color: var(--background);
|
|
}
|
|
::-webkit-scrollbar,
|
|
::-webkit-scrollbar-track {
|
|
background-color: var(--inactive-color);
|
|
border-radius: 8px;
|
|
width: var(--scrollbar-width);
|
|
height: var(--scrollbar-width);
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: var(--foreground);
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background-color: var(--foreground);
|
|
}
|
|
|
|
thead {
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
h1,
|
|
button,
|
|
.button {
|
|
font-family: "Futura-Medium", Futura, "Helvetica Neue", Helvetica, Verdana, sans-serif;
|
|
}
|
|
.button {
|
|
text-decoration: none;
|
|
}
|
|
|
|
code {
|
|
font-family: Menlo, Monaco, monospace;
|
|
font-size: smaller;
|
|
}
|
|
|
|
hr {
|
|
border: 1px solid var(--foreground);
|
|
width: 50%;
|
|
margin: 40px auto;
|
|
}
|
|
|
|
img {
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
-webkit-user-drag: none;
|
|
}
|
|
|
|
.no-select {
|
|
user-select: none;
|
|
}
|
|
|
|
main {
|
|
}
|
|
|
|
.logo {
|
|
position: absolute;
|
|
left: -70px;
|
|
top: 155px;
|
|
width: 75px;
|
|
height: 406px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.version {
|
|
transform: rotate(-90deg);
|
|
font-size: 65px;
|
|
font-family: Futura-Medium, Futura, Roboto, "Helvetica Neue", Helvetica, Verdana, sans-serif;
|
|
font-style: italic;
|
|
letter-spacing: -0.05em;
|
|
position: absolute;
|
|
right: 0;
|
|
top: -105px;
|
|
}
|
|
|
|
.next {
|
|
right: -13px;
|
|
top: -110px;
|
|
color: var(--highlight);
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 30px;
|
|
font-size: 40px;
|
|
font-weight: normal;
|
|
color: var(--foreground);
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
font-weight: normal;
|
|
text-align: center;
|
|
color: var(--foreground);
|
|
}
|
|
|
|
h3 {
|
|
margin: 10px 0 6px 0;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
}
|
|
|
|
p {
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
li {
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
}
|
|
|
|
li + li {
|
|
margin-top: 21px;
|
|
}
|
|
|
|
li + ul > li {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.compact li {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
li + ul {
|
|
margin-bottom: 21px;
|
|
}
|
|
|
|
.buttons {
|
|
margin-top: 30px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
section#home > .buttons {
|
|
margin-top: 80px;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
margin: 5px 0px;
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
appearance: none;
|
|
border: none;
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
text-align: center;
|
|
}
|
|
|
|
.button {
|
|
box-sizing: border-box;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.buttons button,
|
|
.buttons .button {
|
|
appearance: none;
|
|
border: 2px solid var(--foreground);
|
|
border-radius: 8px;
|
|
min-width: 160px;
|
|
padding: 6px 15px;
|
|
margin: 0 10px;
|
|
font-size: 16px;
|
|
color: var(--foreground);
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.buttons button.primary-button,
|
|
.buttons .button.primary-button {
|
|
border: 3px solid var(--foreground);
|
|
border-radius: 10px;
|
|
min-width: 200px;
|
|
padding: 5px 0px;
|
|
margin: 0 20px;
|
|
font-size: 25px;
|
|
}
|
|
|
|
.buttons button:active,
|
|
.buttons .button:active {
|
|
background-color: var(--foreground);
|
|
color: var(--background);
|
|
border-color: var(--foreground) !important;
|
|
}
|
|
|
|
.buttons button:focus,
|
|
.buttons .button:focus {
|
|
outline: none;
|
|
border-color: var(--highlight);
|
|
}
|
|
|
|
.developer-mode {
|
|
border-radius: 10px;
|
|
padding: 1rem 1rem 0 1rem;
|
|
background: #602525;
|
|
border: 3px solid rgba(255, 255, 255, 0.5);
|
|
position: fixed;
|
|
z-index: 9999;
|
|
left: 10px;
|
|
top: 10px;
|
|
max-height: calc(100vh - 20px);
|
|
display: grid;
|
|
grid-template-rows: minmax(0, 1fr);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.developer-mode details {
|
|
display: grid;
|
|
grid-template-rows: min-content minmax(0, 1fr);
|
|
min-height: 0;
|
|
}
|
|
|
|
.developer-mode summary {
|
|
user-select: none;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
padding: 1rem;
|
|
margin: -1rem -1rem 0 -1rem;
|
|
}
|
|
|
|
.developer-mode-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
padding-bottom: 1rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.developer-mode .suites {
|
|
flex: 0 1 auto;
|
|
min-height: 0;
|
|
margin-right: calc(0px - var(--scrollbar-width));
|
|
padding-right: var(--scrollbar-width);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.developer-mode-content ol {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0.5em 0 0 0;
|
|
}
|
|
.developer-mode-content .button-bar {
|
|
display: flex;
|
|
flex: none;
|
|
margin-top: 5px;
|
|
gap: 3px;
|
|
}
|
|
|
|
.developer-mode-content .select-all::before {
|
|
content: "✔ ";
|
|
}
|
|
|
|
.developer-mode-content .unselect-all::after {
|
|
content: " ✘";
|
|
}
|
|
|
|
.developer-mode-content .settings {
|
|
flex: none;
|
|
display: grid;
|
|
/* Col 1: checkbox, Col 2: text, Col 3: input, Col 4: value */
|
|
grid-template-columns: min-content 1fr 1fr 5em;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.developer-mode-content .settings hr {
|
|
grid-column: 1 / -1;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.developer-mode-content .settings label {
|
|
display: contents;
|
|
}
|
|
.developer-mode-content .settings label > span:first-child {
|
|
/* Range and Select labels start here */
|
|
grid-column: 2;
|
|
}
|
|
.developer-mode-content .settings label:not(:has(input[type="checkbox"]))::before {
|
|
content: "•";
|
|
grid-column: 1;
|
|
margin-right: 0.2em; /* match checkbox margin so it visually centers */
|
|
place-self: center;
|
|
color: var(--foreground);
|
|
}
|
|
.developer-mode-content input[type="checkbox"] {
|
|
grid-column: 1;
|
|
margin: 0 0.2em 0 0;
|
|
}
|
|
.developer-mode-content .settings input[type="checkbox"] + span {
|
|
/* Checkbox text spans the rest of the row */
|
|
grid-column: 2 / -1;
|
|
}
|
|
.developer-mode-content .settings select {
|
|
/* Select spans input and value columns */
|
|
grid-column: 3 / -1;
|
|
}
|
|
.developer-mode-content .settings .range-label-data {
|
|
grid-column: 4;
|
|
text-align: right;
|
|
}
|
|
|
|
.suites li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.suites a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.developer-mode-content li + li {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.developer-mode-content button {
|
|
font-size: 16px;
|
|
background: white;
|
|
flex: auto;
|
|
padding: 4px;
|
|
appearance: button;
|
|
border: 2px solid rgba(255, 255, 255, 0.5);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.developer-mode-content button span {
|
|
padding-left: 10px;
|
|
font-size: 1.5em;
|
|
line-height: 10px;
|
|
position: relative;
|
|
top: 2px;
|
|
}
|
|
|
|
.developer-mode-content .tag {
|
|
border-radius: 100vh;
|
|
}
|
|
|
|
.developer-mode-content .step-button {
|
|
color: white;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
.developer-mode-content hr {
|
|
flex: none;
|
|
width: initial;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
section {
|
|
display: none;
|
|
--padding-width: 15px;
|
|
--border-width: 6px;
|
|
position: absolute;
|
|
width: var(--viewport-width);
|
|
height: var(--viewport-height);
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-top: calc(var(--viewport-height) / -2 - var(--padding-width) - var(--border-width));
|
|
margin-left: calc(var(--viewport-width) / -2 - var(--padding-width) - var(--border-width));
|
|
padding: var(--padding-width);
|
|
border: var(--border-width) solid var(--foreground);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
section.visible,
|
|
:root[data-visible-section="home"] #home,
|
|
:root[data-visible-section="running"] #running,
|
|
:root[data-visible-section="summary"] #summary,
|
|
:root[data-visible-section="details"] #details {
|
|
display: block;
|
|
}
|
|
|
|
section > p {
|
|
margin: 10px 20px;
|
|
}
|
|
|
|
#testContainer {
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 15px;
|
|
width: var(--viewport-width);
|
|
height: var(--viewport-height);
|
|
}
|
|
|
|
section#home p {
|
|
margin: 0 auto;
|
|
width: 70%;
|
|
text-align: center;
|
|
}
|
|
|
|
section#home .content {
|
|
margin-top: 160px;
|
|
text-align: center;
|
|
}
|
|
|
|
.fixed-footer {
|
|
position: absolute;
|
|
bottom: var(--padding-width);
|
|
left: var(--padding-width);
|
|
width: var(--viewport-width);
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 15px 20px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
background-color: var(--background);
|
|
z-index: 10;
|
|
}
|
|
|
|
.fixed-footer .button-row {
|
|
align-items: center;
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
section#about .section-content,
|
|
section#instructions .section-content {
|
|
padding-bottom: 70px;
|
|
}
|
|
|
|
section#home .buttons:not(.section-footer) {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
margin: 0;
|
|
}
|
|
|
|
button.show-about {
|
|
margin-top: 100px;
|
|
font-size: 16px;
|
|
clear: both;
|
|
}
|
|
|
|
#screen-size-warning {
|
|
display: none;
|
|
}
|
|
|
|
#progress {
|
|
position: absolute;
|
|
bottom: -6px;
|
|
left: 60px;
|
|
right: 60px;
|
|
height: 6px;
|
|
border-left: 6px solid var(--background);
|
|
border-right: 6px solid var(--background);
|
|
}
|
|
|
|
#progress-completed {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 6px;
|
|
width: 100%;
|
|
appearance: none;
|
|
border: none;
|
|
background-color: var(--inactive-color);
|
|
}
|
|
|
|
#progress-completed::-webkit-progress-value {
|
|
background-color: var(--foreground);
|
|
}
|
|
|
|
#progress-completed::-moz-progress-bar {
|
|
background-color: var(--foreground);
|
|
}
|
|
|
|
#progress .iteration-marker {
|
|
position: absolute;
|
|
width: 6px;
|
|
height: 100%;
|
|
background-color: var(--background);
|
|
}
|
|
|
|
#info {
|
|
position: absolute;
|
|
bottom: -25px;
|
|
left: 60px;
|
|
right: 60px;
|
|
height: 12px;
|
|
color: var(--inactive-color);
|
|
text-align: center;
|
|
font-size: 12px;
|
|
}
|
|
#info-label {
|
|
position: absolute;
|
|
left: 6px;
|
|
}
|
|
#info-progress {
|
|
position: absolute;
|
|
right: 6px;
|
|
text-align: right;
|
|
}
|
|
|
|
iframe.test-runner {
|
|
background: var(--running-background);
|
|
}
|
|
|
|
section#summary > #result-number,
|
|
section#summary > #confidence-number {
|
|
font-family: "Futura-CondensedMedium", Futura, "Helvetica Neue", Helvetica, Verdana, sans-serif;
|
|
}
|
|
|
|
section#summary > #result-number {
|
|
text-align: center;
|
|
font-size: 145px;
|
|
line-height: 145px;
|
|
}
|
|
|
|
section#summary > #confidence-number {
|
|
text-align: center;
|
|
font-size: 36px;
|
|
line-height: 36px;
|
|
color: var(--inactive-color);
|
|
}
|
|
|
|
section#summary.invalid h1,
|
|
section#summary.invalid .gauge,
|
|
section#summary.invalid hr {
|
|
opacity: 0.2;
|
|
}
|
|
section#summary.invalid #result-number {
|
|
color: var(--highlight);
|
|
}
|
|
section#summary.invalid .buttons {
|
|
display: none;
|
|
}
|
|
#invalid-score-text {
|
|
display: none;
|
|
text-align: center;
|
|
}
|
|
section#summary.invalid #invalid-score-text {
|
|
display: block;
|
|
}
|
|
|
|
section#details {
|
|
--viewport-height: max(600px, 90vh);
|
|
--viewport-width: max(800px, 80vw);
|
|
}
|
|
|
|
section#details .results-table {
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
|
|
.export-buttons {
|
|
justify-content: center;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.export-buttons button,
|
|
.export-buttons .button {
|
|
padding: 5px 10px;
|
|
min-width: auto;
|
|
font-size: 14px;
|
|
margin: 0 3px;
|
|
}
|
|
|
|
section#details .arithmetic-mean {
|
|
clear: both;
|
|
padding-top: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
section#details .arithmetic-mean > label {
|
|
font-weight: bold;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
section#details button.show-about {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
section#details h1 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
section#about .section-content > *,
|
|
section#instructions .section-content > * {
|
|
width: var(--text-width);
|
|
padding-left: calc((var(--viewport-width) - var(--text-width)) / 2);
|
|
}
|
|
|
|
:root[data-visible-section="details"] section#details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
section#details h1 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
section#details .non-standard-params {
|
|
display: none;
|
|
text-align: center;
|
|
margin-bottom: 2em;
|
|
/* Increase contrast a bit */
|
|
filter: brightness(1.5);
|
|
}
|
|
|
|
section#details .non-standard-params h2 {
|
|
color: var(--highlight);
|
|
}
|
|
|
|
#non-standard-params-table {
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
display: inline-block;
|
|
}
|
|
|
|
#non-standard-params-table tr {
|
|
padding: 2px;
|
|
}
|
|
|
|
#non-standard-params-table thead th {
|
|
border-bottom: 1px solid var(--foreground);
|
|
}
|
|
|
|
#non-standard-params-table tbody td {
|
|
font-weight: normal;
|
|
text-align: left;
|
|
}
|
|
|
|
#non-standard-params-table thead th,
|
|
#non-standard-params-table tbody td {
|
|
padding: 0.1em 0.3em;
|
|
}
|
|
#non-standard-params-table tbody td:nth-child(2) {
|
|
color: var(--highlight);
|
|
}
|
|
|
|
section#details .all-metric-results {
|
|
flex: auto;
|
|
overflow-y: auto;
|
|
padding: 0px 10px;
|
|
}
|
|
|
|
section#details .arithmetic-mean {
|
|
clear: both;
|
|
padding-top: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
section#details .arithmetic-mean > label {
|
|
font-weight: bold;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
section#details .metric {
|
|
margin: 0px 0 10px 0;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
section#details .metric dd {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.submetrics h3 {
|
|
font-size: medium;
|
|
}
|
|
.metrics-table thead .prefix {
|
|
text-align: center;
|
|
}
|
|
|
|
.metrics-table thead th {
|
|
font-weight: normal;
|
|
text-align: left;
|
|
border-bottom: 1px var(--foreground) solid;
|
|
padding: 0 4px 3px 0px;
|
|
}
|
|
.metrics-table thead th + th {
|
|
padding: 0 4px 3px 4px;
|
|
}
|
|
|
|
.nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
table .number {
|
|
text-align: right;
|
|
}
|
|
|
|
.chart-legend {
|
|
display: inline;
|
|
padding-left: 10px;
|
|
vertical-align: top;
|
|
margin-top: 0;
|
|
line-height: var(--metrics-line-height);
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.chart-legend td {
|
|
padding: 0 5px 0 0;
|
|
max-width: calc(var(--viewport-width) * 0.22);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
direction: rtl;
|
|
text-align: left;
|
|
}
|
|
|
|
section#details h1 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
section#about h1,
|
|
section#instructions h1 {
|
|
margin-top: 10px;
|
|
margin-bottom: 0px;
|
|
font-size: 25px;
|
|
}
|
|
|
|
section#about .note {
|
|
color: var(--inactive-color);
|
|
}
|
|
|
|
.section-grid {
|
|
display: grid;
|
|
width: 100%;
|
|
height: 100%;
|
|
grid-template-rows: auto 1fr auto;
|
|
grid-template-areas:
|
|
"header"
|
|
"content"
|
|
"footer";
|
|
}
|
|
|
|
.section-header {
|
|
grid-area: header;
|
|
}
|
|
.section-content {
|
|
grid-area: content;
|
|
overflow-y: auto;
|
|
}
|
|
.section-footer {
|
|
grid-area: footer;
|
|
}
|
|
|
|
.gauge {
|
|
position: relative;
|
|
width: 738px;
|
|
height: 78px;
|
|
background-image: -webkit-image-set(url("gauge@2x.png") 2x, url("gauge.png") 1x);
|
|
background-image: image-set(url("gauge@2x.png") 2x, url("gauge.png") 1x);
|
|
background-size: 100% 100%;
|
|
background-repeat: no-repeat;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.gauge > .window {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 33px;
|
|
bottom: 0;
|
|
right: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gauge > .window > .needle {
|
|
position: absolute;
|
|
left: 363px;
|
|
bottom: -88px;
|
|
width: 4px;
|
|
height: 400px;
|
|
background-color: rgb(247, 148, 29);
|
|
transform: rotate(-70deg);
|
|
transform-origin: 2px 400px;
|
|
}
|
|
|
|
.all-metric-results .submetrics {
|
|
display: none;
|
|
margin-left: 35px;
|
|
}
|
|
.all-metric-results .submetrics.visible {
|
|
display: block;
|
|
}
|
|
|
|
.metric-chart {
|
|
display: grid;
|
|
grid-template-columns: calc((var(--viewport-width) - 120px) / 2) 1fr;
|
|
}
|
|
|
|
.metric-chart-relative {
|
|
display: none;
|
|
}
|
|
|
|
.relative-charts .metric-chart-absolute {
|
|
display: none;
|
|
}
|
|
.relative-charts .metric-chart-relative {
|
|
display: block;
|
|
}
|
|
|
|
.details-toggle {
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
margin-left: -4px;
|
|
}
|
|
.details-toggle input {
|
|
display: inline-block;
|
|
appearance: none;
|
|
width: 1em;
|
|
height: 1em;
|
|
border: none;
|
|
background: none;
|
|
}
|
|
.details-toggle input:after {
|
|
content: "▶";
|
|
color: var(--foreground);
|
|
display: inline-block;
|
|
transform-origin: 50%;
|
|
position: relative;
|
|
transition: all 250ms ease;
|
|
}
|
|
.details-toggle input:checked:after {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
/* Charts (lib/charts.js) */
|
|
.bar-chart text,
|
|
.scatter-plot text {
|
|
font-size: 11px;
|
|
fill: var(--foreground);
|
|
dominant-baseline: hanging;
|
|
}
|
|
.bar-chart .axis,
|
|
.scatter-plot .axis {
|
|
stroke: #aaa;
|
|
}
|
|
.bar-chart .minMax {
|
|
stroke: var(--foreground);
|
|
stroke-width: 1;
|
|
stroke-opacity: 0.5;
|
|
stroke-dasharray: 2;
|
|
}
|
|
.bar-chart .mean {
|
|
stroke: var(--foreground);
|
|
stroke-width: 2;
|
|
stroke-opacity: 0.5;
|
|
}
|
|
.bar-chart .mean:hover {
|
|
stroke-opacity: 1;
|
|
}
|
|
.bar-chart g.bar {
|
|
fill: #8ad;
|
|
}
|
|
.bar-chart g.bar.large text {
|
|
display: none;
|
|
}
|
|
.bar-chart g.bar:hover {
|
|
filter: brightness(1.1);
|
|
}
|
|
.bar-chart g.bar text {
|
|
fill: #ddd;
|
|
text-anchor: middle;
|
|
text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
|
}
|
|
.bar-chart g.bar:hover text {
|
|
display: block;
|
|
fill: #fff;
|
|
text-shadow: 0 0 5px #000;
|
|
}
|
|
.bar-chart .label {
|
|
text-anchor: end;
|
|
dominant-baseline: middle;
|
|
}
|
|
|
|
.scatter-plot .marker {
|
|
stroke-width: 0px;
|
|
opacity: 0.8;
|
|
fill: currentColor;
|
|
cursor: crosshair;
|
|
}
|
|
.scatter-plot .marker:hover {
|
|
opacity: 1;
|
|
filter: drop-shadow(0 0 2px currentColor);
|
|
}
|
|
.scatter-plot .percentile {
|
|
fill: currentColor;
|
|
fill-opacity: 0.3;
|
|
stroke-width: 0px;
|
|
}
|
|
.scatter-plot .percentile line {
|
|
stroke-width: 1px;
|
|
}
|
|
.scatter-plot .percentile:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Chart colors */
|
|
.chart .blue {
|
|
color: #5b9aff;
|
|
stroke: #5b9aff;
|
|
}
|
|
|
|
.chart .blue-light {
|
|
color: #5bd6ff;
|
|
stroke: #5bd6ff;
|
|
}
|
|
|
|
.chart .green-light {
|
|
color: #73d147;
|
|
stroke: #73d147;
|
|
}
|
|
|
|
.chart .green {
|
|
color: #94bc4b;
|
|
stroke: #94bc4b;
|
|
}
|
|
|
|
.chart .yellow {
|
|
color: #ded300;
|
|
stroke: #ded300;
|
|
}
|
|
|
|
.chart .orange {
|
|
color: #fe8f06;
|
|
stroke: #fe8f06;
|
|
}
|
|
|
|
.chart .red {
|
|
color: #de4040;
|
|
stroke: #de4040;
|
|
}
|
|
|
|
.chart .magenta {
|
|
color: #cd1e90;
|
|
stroke: #cd1e90;
|
|
}
|
|
|
|
.chart .violet {
|
|
color: #a41ecd;
|
|
stroke: #a41ecd;
|
|
}
|
|
|
|
.chart .purple {
|
|
color: #7b3eff;
|
|
stroke: #7b3eff;
|
|
}
|
|
|
|
.chart .blue-dark {
|
|
color: #2d4ef7;
|
|
stroke: #2d4ef7;
|
|
}
|
|
|
|
.chart .green-dark {
|
|
color: #349a58;
|
|
stroke: #349a58;
|
|
}
|
|
|
|
.chart .ochre {
|
|
color: #cc9900;
|
|
stroke: #cc9900;
|
|
}
|
|
|
|
.chart .rust {
|
|
color: #cc5200;
|
|
stroke: #cc5200;
|
|
}
|
|
|
|
.chart .white {
|
|
color: #fff;
|
|
stroke: #fff;
|
|
}
|