-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvoice.css
More file actions
147 lines (143 loc) · 2.68 KB
/
voice.css
File metadata and controls
147 lines (143 loc) · 2.68 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
136
137
138
139
140
141
142
143
144
145
146
147
.voiceRoom {
width: 90%;
height: 90%;
background-color: #12121294;
border-radius: 20px;
border: 1px solid #444;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
padding: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
backdrop-filter: blur(20px);
}
.voice--button img {
width: 20px;
height: 20px;
}
.closeVoice {
position: absolute;
top: 10px;
right: 10px;
}
.message-menu-right {
background-color: #3c3d37;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
color: #ecdfcc;
z-index: 1000;
position: absolute;
top: 129%;
right: -6%;
transform: translate(-50%, -50%);
width: 12%;
border-radius: 10px 0 10px 10px;
border: 0;
overflow: hidden;
}
.message-menu-left {
background-color: #3c3d37;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
color: #ecdfcc;
z-index: 1000;
position: absolute;
top: 129%;
left: 6%;
transform: translate(-50%, -50%);
width: 12%;
border-radius: 0 10px 10px 10px;
border: 0;
overflow: hidden;
}
.message-menu-right button,
.message-menu-left button {
display: block;
padding: 8px 12px;
border: none;
background: none;
cursor: pointer;
width: 100%;
text-align: left;
color: #ecdfcc;
filter: grayscale(1);
}
.message-menu-right button:hover,
.message-menu-left button:hover {
background-color: #444;
}
#edit-dialog {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
border: 1px solid #ccc;
padding: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1001;
}
.hidden {
display: none;
}
.reply-button-right {
background-color: transparent;
width: fit-content;
color: #666;
border: 0;
align-self: flex-end;
cursor: pointer;
}
.reply-button-left {
background-color: transparent;
width: fit-content;
color: #666;
border: 0;
align-self: flex-start;
cursor: pointer;
}
.reply-preview {
background-color: #3c3d3776;
color: #ddd;
padding: 10px 20px;
margin-bottom: 10px;
font-size: 0.9em;
border-radius: 10px;
position: absolute;
bottom: 10%;
display: flex;
flex-direction: column;
gap: 10px;
border: 0.5px solid #666;
}
.reply-preview button {
border: 0.5px solid #666;
background-color: #333;
color: #aaa;
padding: 6px;
border-radius: 5px;
cursor: pointer;
}
.replied-message-right {
color: #777;
align-self: flex-end;
font-size: 10px;
background: #333;
padding: 4px 10px;
border-radius: 20px;
margin-block: 4px;
}
.replied-message-left {
color: #777;
align-self: flex-start;
font-size: 10px;
background: #333;
padding: 4px 10px;
border-radius: 20px;
margin-block: 4px;
}
.hidden {
display: none;
}