-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathEmojiPicker.css
More file actions
60 lines (51 loc) · 993 Bytes
/
EmojiPicker.css
File metadata and controls
60 lines (51 loc) · 993 Bytes
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
.emoji-picker {
.react-aria-Button {
width: 40px;
height: 40px;
font-size: 22px;
line-height: 1em;
}
}
.emoji-picker-popover {
display: flex;
flex-direction: column;
gap: 8px;
width: 280px;
height: 350px;
box-sizing: border-box;
.react-aria-SearchField {
width: 100%;
}
}
.emoji-list {
flex: 1;
width: 100%;
max-height: 100%;
overflow: auto;
scroll-padding-top: 4px;
scroll-padding-bottom: 4px;
}
.emoji-item {
width: 100%;
height: 100%;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
cursor: default;
font-size: 24px;
&[data-hovered] {
background-color: var(--highlight-hover);
}
&[data-pressed] {
background-color: var(--highlight-pressed);
}
&[data-focus-visible] {
outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
}
&[data-selected] {
background-color: var(--highlight-background);
color: var(--highlight-foreground);
}
}