[CANCELLED], make a button for display the history of pomodoros and rests

This commit is contained in:
2021-09-19 22:39:54 -03:00
parent 7d558fd54c
commit ac140b997a
8 changed files with 119 additions and 4 deletions

View File

@@ -5,10 +5,13 @@
display: flex;
justify-content: center;
cursor: pointer;
svg {
height: 6vh;
width: 6vh;
cursor: pointer;
path {
fill: rgb(170, 170, 170);
// CREDITS TO https://stackoverflow.com/a/49627345

View File

@@ -0,0 +1,49 @@
.history-button {
@include normalizeButton;
height: 9vh;
width: 9vh;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
left: 6vh;
border-radius: 100%;
background-color: $light-color;
svg {
@include svgStyle;
path {
fill: rgba(80, 80, 80, 0.556);
}
width: 6vh;
height: 6vh;
}
&:hover {
animation: spin 0.4s ease-in-out;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
}

View File

@@ -26,6 +26,15 @@
width: 8vw;
}
@mixin svgStyle {
cursor: pointer;
path {
fill: rgb(170, 170, 170);
// CREDITS TO https://stackoverflow.com/a/49627345
}
}
$background-color: #ffffff;
$main-color: #62D2A2;
@@ -39,6 +48,7 @@ $lightest-color: #D7FBE8;
@import 'styleSelector';
@import 'goDownArrow';
@import 'aboutThis';
@import 'historyButton';
html, body {
margin: 0;