Skip to content

Commit

Permalink
feat: update main result graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanzavisic committed Oct 1, 2024
1 parent cfd57d4 commit 4d28717
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions packages/lib/src/main-result/main-result.wc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@

{#if show}
<div class="main">
<div class="glycanage" style="color: {getColor()};">
{glycanage}
</div>
<div class="graph-container">
<div class="colorBoxShort" style="background-color: #015566;"></div>
<div class="colorBox" style="background-color: #015566;"></div>
Expand Down Expand Up @@ -134,12 +137,11 @@
.graph-container {
width: 100%;
height: 100%;
height: 30%;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
flex: 1;
}
.colorBox {
Expand Down Expand Up @@ -184,8 +186,8 @@
width: 24%;
color: #09341F80;
font-weight: 500;
z-index: 99;}
z-index: 99;
}
.text-left {
position: absolute;
Expand Down Expand Up @@ -230,19 +232,19 @@
}
.msg-parent {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
color: #09341FCC;
flex-direction: column;
height: 20%;
}
.result-text {
width: 100%;
text-align: center;
height: 28%;
height: 35%;
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -251,9 +253,18 @@
.chrono-text {
width: 100%;
text-align: center;
height: 28%;
height: 35%;
display: flex;
align-items: center;
justify-content: center;
}
.glycanage {
display: flex;
font-size: 15rem;
justify-content: center;
align-items: center;
height: 50%;
margin-bottom: 1rem;
}
</style>

0 comments on commit 4d28717

Please sign in to comment.