-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobs_powerup.css
More file actions
135 lines (119 loc) · 2.08 KB
/
obs_powerup.css
File metadata and controls
135 lines (119 loc) · 2.08 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
html,
body {
margin: 0;
width: 100%;
height: 100%;
background: transparent;
overflow: hidden;
font-family: "Lato", sans-serif;
}
#debugMessage {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding: 14px 18px;
border-radius: 12px;
background: rgba(0, 0, 0, 0.65);
color: #fff;
font-size: 22px;
font-weight: 700;
letter-spacing: 0.02em;
white-space: nowrap;
}
#animation {
width: 100%;
height: 100%;
}
#anchor {
position: absolute;
left: 24px;
bottom: 24px;
display: none;
}
#box {
min-width: 360px;
max-width: 520px;
border-radius: 14px;
background: rgba(25, 25, 30, 0.88);
color: #fff;
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
border: 1px solid rgba(255, 255, 255, 0.18);
}
#img {
width: 54px;
height: 54px;
border-radius: 10px;
object-fit: cover;
}
#text {
display: flex;
flex-direction: column;
gap: 2px;
}
#nome {
margin: 0;
font-size: 16px;
font-weight: 800;
line-height: 1.15;
}
#acao {
margin: 0;
font-size: 20px;
font-weight: 900;
line-height: 1.15;
}
.anchorAniIn {
display: block;
animation: slideIn 350ms ease-out forwards;
}
.anchorAniOut {
display: block;
animation: slideOut 280ms ease-in forwards;
}
.boxAniIn {
animation: popIn 350ms ease-out forwards;
}
.boxAniOut {
animation: popOut 280ms ease-in forwards;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideOut {
from {
opacity: 1;
transform: translateX(0);
}
to {
opacity: 0;
transform: translateX(-18px);
}
}
@keyframes popIn {
from {
transform: scale(0.95);
}
to {
transform: scale(1);
}
}
@keyframes popOut {
from {
transform: scale(1);
}
to {
transform: scale(0.98);
}
}