110 lines
No EOL
2.5 KiB
CSS
110 lines
No EOL
2.5 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
|
|
|
|
.session-tracker {
|
|
position: absolute;
|
|
z-index: 100;
|
|
font-family: 'Outfit', sans-serif;
|
|
pointer-events: all;
|
|
user-select: none;
|
|
cursor: move;
|
|
}
|
|
|
|
.session-tracker-content {
|
|
background: rgba(0, 0, 0, 0);
|
|
backdrop-filter: blur(0px);
|
|
-webkit-backdrop-filter: blur(0px);
|
|
border: 1px solid rgba(255, 255, 255, 0);
|
|
border-radius: 12px;
|
|
padding: 10px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0);
|
|
transition: all 0.3s ease;
|
|
transform: scale(var(--scale, 1));
|
|
transform-origin: center center;
|
|
}
|
|
|
|
.session-tracker-content:hover {
|
|
background: rgba(0, 0, 0, 0.45);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
|
|
}
|
|
|
|
.session-label {
|
|
text-transform: uppercase;
|
|
font-size: 10px;
|
|
letter-spacing: 2px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
font-weight: 700;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.session-tracker-content:hover .session-label {
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.session-number {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
|
margin-top: -4px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.session-tracker-content:hover .session-number {
|
|
color: #fff;
|
|
text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.session-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 0px;
|
|
height: 0;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
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 {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
border-radius: 6px;
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.session-controls button:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.session-controls button:active {
|
|
transform: translateY(0);
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.session-controls button i {
|
|
font-size: 12px;
|
|
} |