feat: Add tracker scaling option and display session controls on hover.
This commit is contained in:
parent
44b80af3d0
commit
690c9d45c9
4 changed files with 49 additions and 10 deletions
|
|
@ -20,7 +20,9 @@
|
|||
flex-direction: column;
|
||||
align-items: center;
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
|
||||
transform: scale(var(--scale, 1));
|
||||
transform-origin: center center;
|
||||
}
|
||||
|
||||
.session-tracker-content:hover {
|
||||
|
|
@ -47,11 +49,22 @@
|
|||
.session-controls {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
margin-top: 0px;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
padding-top: 8px;
|
||||
padding-top: 0;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.session-tracker-content:hover .session-controls {
|
||||
margin-top: 8px;
|
||||
height: 36px;
|
||||
opacity: 1;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.session-controls button {
|
||||
|
|
@ -80,4 +93,4 @@
|
|||
|
||||
.session-controls button i {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue