Skip to content

Commit

Permalink
chore: add cover for 16ee449
Browse files Browse the repository at this point in the history
  • Loading branch information
go-coverage-action committed May 17, 2024
1 parent cbd2bf4 commit 7bd3067
Show file tree
Hide file tree
Showing 8 changed files with 492 additions and 113 deletions.
116 changes: 95 additions & 21 deletions go-test-app-01/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,23 @@
}

* {
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace !important;
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
"Liberation Mono", monospace !important;
font-size: 12px;
margin: 0;
padding: 0;
}

html, body {
html,
body {
min-height: 100vh;
overflow: hidden;
}

body {
background: var(--background) !important;
overflow-y: scroll;
opacity: 0;
transition: all 0.1s ease-in-out;
}

#topbar {
Expand All @@ -60,7 +62,8 @@ body {
align-items: center;
}

#nav, #legend span {
#nav,
#legend span {
margin-left: 15px;
color: var(--topbar-color) !important;
}
Expand All @@ -71,7 +74,7 @@ body {
}

#nav::after {
content: '▼';
content: "▼";
position: absolute;
right: 1.2em;
top: 50%;
Expand All @@ -97,6 +100,46 @@ select {
border-radius: 2px;
}

input[type="checkbox"] {
height: 0;
width: 0;
visibility: hidden;
margin-left: auto;
}

label {
cursor: pointer;
height: 20px;
width: 50px;
border-radius: 15px;
background: #afb8c133;
display: block;
position: relative;
margin-right: 15px;
}

label:after {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
aspect-ratio: 1 / 1;
background: #fff;
border-radius: 50%;
transform: scale(0.9);
transition: 0.3s;
}

input:checked + label {
background: #00000033;
}

input:checked + label:after {
left: 100%;
transform: scale(0.9) translateX(-110%);
}

#content {
position: relative;
padding: 15px 0;
Expand All @@ -108,7 +151,8 @@ pre {
background: transparent !important;
}

pre .code, pre .coverage {
pre .code,
pre .coverage {
display: flex;
flex-direction: row;
gap: 10px;
Expand Down Expand Up @@ -138,26 +182,56 @@ pre .editor {
background: transparent !important;
}

.cov0 {
.cov0 {
color: rgba(0, 0, 0, 0) !important;
background-color: color-mix(in srgb, var(--uncovered) 10%, transparent) !important;
background-color: color-mix(
in srgb,
var(--uncovered) 10%,
transparent
) !important;
}

.cov0 .ln {
color: var(--uncovered) !important;
background-color: color-mix(in srgb, var(--uncovered) 10%, transparent) !important;
}

.cov1, .cov2, .cov3,
.cov4, .cov5, .cov6,
.cov7, .cov8, .cov9, .cov10 {
background-color: color-mix(
in srgb,
var(--uncovered) 10%,
transparent
) !important;
}

.cov1,
.cov2,
.cov3,
.cov4,
.cov5,
.cov6,
.cov7,
.cov8,
.cov9,
.cov10 {
color: rgba(0, 0, 0, 0) !important;
background-color: color-mix(in srgb, var(--covered) 10%, transparent) !important;
}

.cov1 .ln, .cov2 .ln, .cov3 .ln,
.cov4 .ln, .cov5 .ln, .cov6 .ln,
.cov7 .ln, .cov8 .ln, .cov9 .ln, .cov10 .ln {
background-color: color-mix(
in srgb,
var(--covered) 10%,
transparent
) !important;
}

.cov1 .ln,
.cov2 .ln,
.cov3 .ln,
.cov4 .ln,
.cov5 .ln,
.cov6 .ln,
.cov7 .ln,
.cov8 .ln,
.cov9 .ln,
.cov10 .ln {
color: green !important;
background-color: color-mix(in srgb, var(--covered) 10%, transparent) !important;
background-color: color-mix(
in srgb,
var(--covered) 10%,
transparent
) !important;
}
Loading

0 comments on commit 7bd3067

Please sign in to comment.