-
Notifications
You must be signed in to change notification settings - Fork 1
/
EmojiPicker.css
92 lines (81 loc) · 1.6 KB
/
EmojiPicker.css
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
/*
Created on : 03.05.2015, 20:23:02
Author : Fabian Maier
*/
#emojiArea {
width: 100%;
box-sizing: border-box;
font-size: 15px;
min-height: 100px;
font-family: Arial;
padding: 10px;
border: 1px solid #cccccc;
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
}
#emojiArea:focus {
box-shadow: 0 0 2px #66ccff;
background-color: #fff;
border: 1px solid #66ccff;
outline: none;
}
.visible {
display: block;
}
.hidden {
display: none;
}
#emojiMenu {
position: absolute;
z-index: 999;
width: 180px;
margin-left: -155px;
padding: 0;
overflow: hidden;
box-sizing: border-box;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
#emojiMenu > div {
height: 200px;
background: #fff;
width: 200px;
overflow: auto;
border-radius: 3px;
box-sizing: border-box;
box-shadow: 0 1px 5px rgba(0,0,0,0.3);
padding: 0px;
overflow-x: hidden;
overflow-y: auto;
}
#emojiMenu img, #emojiArea img {
width: 25px;
height: 25px;
vertical-align: middle;
border: 0 none;
}
#emojiArea img {
width: 20px;
height: 20px;
margin-top: -5px;
}
#emojiMenu a {
margin: -1px 0 0 -1px;
border: 1px solid #f2f2f2;
padding: 5px;
display: block;
float: left;
}
#emojiMenuBtnWrapper {
float: right;
padding: 5px 5px 0px 0px;
}
#emojiMenuBtn {
background-image: url('emojis/smile.png');
background-size: 25px 25px;
background-repeat: no-repeat;
width: 25px;
height: 25px;
border: none;
padding: 0px;
background-color: transparent;
cursor: pointer;
}