-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmini-timer-styles.css
More file actions
89 lines (80 loc) · 1.76 KB
/
mini-timer-styles.css
File metadata and controls
89 lines (80 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* Mini Timer Widget */
.mini-timer-widget {
position: fixed;
bottom: 2rem;
right: 2rem;
width: 180px;
background: rgba(0, 0, 0, 0.95);
border: 2px solid var(--primary-color);
border-radius: 12px;
padding: 12px;
z-index: 9999;
box-shadow: 0 8px 32px rgba(138, 43, 226, 0.4);
font-family: 'Libre Franklin', sans-serif;
cursor: move;
user-select: none;
animation: slideIn 0.3s ease;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(20px) translateX(20px);
}
to {
opacity: 1;
transform: translateY(0) translateX(0);
}
}
.mini-timer-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}
.mini-timer-label {
color: var(--primary-color);
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.mini-timer-close {
background: none;
border: none;
color: var(--primary-color);
font-size: 16px;
cursor: pointer;
padding: 0;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.2s ease;
}
.mini-timer-close:hover {
transform: scale(1.2);
}
.mini-timer-display {
color: var(--primary-color);
font-size: 32px;
font-weight: bold;
text-align: center;
font-family: 'Monaco', 'Courier New', monospace;
letter-spacing: 2px;
}
@media (max-width: 768px) {
.mini-timer-widget {
width: 150px;
bottom: 1rem;
right: 1rem;
}
.mini-timer-display {
font-size: 28px;
}
.mini-timer-label {
font-size: 10px;
}
}