4 Commits

Author SHA1 Message Date
Nathan DECHER 52a2e41e05 added hover to menu icon 2020-04-14 11:16:21 +02:00
Nathan DECHER 17ab288b63 added hover to buttons 2020-04-14 11:10:42 +02:00
Nathan DECHER f607034a33 added hover to links 2020-04-14 11:07:49 +02:00
Nathan DECHER a934d5537b changed progressbar colors 2020-04-14 10:59:27 +02:00
3 changed files with 24 additions and 2 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ cvs.classList.add('progressBar');
cvs.classList.add('hiddenBottom');
const bar=new ProgressBar(assetSpecs.length*2+tasks.reduce((a, t) => a+t.steps, 0));
bar.addUpdateListener(() => bar.draw(cvs));
bar.draw(cvs);
bar.addUpdateListener(() => bar.draw(cvs, '#930a16', '#23090d'));
bar.draw(cvs, '#930a16', '#23090d');
document.body.appendChild(cvs);
setTimeout(() => cvs.classList.remove('hiddenBottom'), 0);
+10
View File
@@ -108,10 +108,20 @@
background: @accentbg;
font-weight: bold;
cursor: pointer;
border-radius: 1rem;
border: 0;
padding: 2rem;
margin: 1rem;
transition: box-shadow .5s;
&:hover {
color: @fg;
text-decoration: underline;
box-shadow: black 0 0 2rem;
}
}
}
}
+12
View File
@@ -40,6 +40,11 @@ a {
display: contents;
}
a:hover {
color: @fg;
text-decoration: underline;
}
em {
font-style: italic;
}
@@ -71,6 +76,9 @@ header img, footer img {
}
header img {
height: 8rem;
&:hover {
border-color: @fg;
}
}
footer img {
height: 4rem;
@@ -86,6 +94,10 @@ header ul {
a {
color: @fg;
&:hover {
color: @accentfg;
}
}
}
}