-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (59 loc) · 1.22 KB
/
style.css
File metadata and controls
74 lines (59 loc) · 1.22 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
.perspective-1000 {
perspective: 1000px;
}
.transform-style-3d {
transform-style: preserve-3d;
}
.backface-hidden {
backface-visibility: hidden;
}
.rotate-y-180 {
transform: rotateY(180deg);
}
.card-texture {
background-image: repeating-linear-gradient(
45deg,
rgba(0, 0, 0, 0.03) 0px,
rgba(0, 0, 0, 0.03) 1px,
transparent 1px,
transparent 4px
);
}
.dark .card-texture {
background-image: repeating-linear-gradient(
45deg,
rgba(255, 255, 255, 0.03) 0px,
rgba(255, 255, 255, 0.03) 1px,
transparent 1px,
transparent 4px
);
}
/* Flip animation class */
.flipped {
transform: rotateY(180deg);
}
/* Dropdown animation */
#profile-dropdown {
transform-origin: top right;
transition: all 0.2s ease-out;
}
#profile-dropdown.hidden {
opacity: 0;
transform: scale(0.95);
pointer-events: none;
display: none; /* Keep display none for accessibility/layout, but can use class toggling for transition */
}
#profile-dropdown:not(.hidden) {
display: block;
animation: dropdownEnter 0.2s ease-out forwards;
}
@keyframes dropdownEnter {
from {
opacity: 0;
transform: scale(0.95) translateY(-10px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}