-
Notifications
You must be signed in to change notification settings - Fork 7
/
twemoji.input.css
147 lines (125 loc) · 5.19 KB
/
twemoji.input.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
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
._twemoji_textarea {
min-height: 150px;
width: 350px;
border: solid 1px silver;
background: #fff;
}
._twemoji_wrap{
display: inline-block;
position: relative;
}
._twemoji_box{
opacity: 0.8;
position: absolute;
z-index: 9;
top: 10px;
right: 10px;
padding: 10px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAACACAYAAAC7gW9qAAAABGdBTUEAALGPC/xhBQAAB8ZJREFUeAHtm12IVkUYx1ezLvpY7QvFj7TyxjArkLxIM7NPqciolG5KEZJCIyrqQhMjKqmITKJAUsILK5SoVCp105XKvqnuMlmCQrEgtSzNsv/Pfc969t33zMx7Zs6u0fPAf8+cmedr/mfOnDnznm1pMTEGjAFjwBgwBowBY8AYMAaMAWPAGDAGjIH/GwP9erHDrYo1UZggDBHOrkGHlj017NJxu7BN2CdULr1BwBT1YoZwiXBCYI/+lt6XwmtCW6BNKbUqCbhYGc0XxpXK7JjR1youFb46VpWuVAUBXOX7hZnp0jzqabX+PicwOpJJ6JAMDXiaFJ8Vrgs1aEJvrHQZTe3CoSbsnKopRwCdXyGMckaMb+yQi1nC/nhX4ZOSLxYjiSvPVapaBinAGOFd4UhssFS3wANKpIphX9S/4WpgxH1YpBBa3z9U0aHHbJ96wnOE62oiJrGjJAUBPOr6SqJjxxIwRT33PecP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YuwUSi1zS07E2PAGDAGjAFjwBgwBowBY8AYMAa8DPwLHfs02dyTGW4AAAAASUVORK5CYII=);
background-size: 32px 64px;
background-repeat: no-repeat;
background-position: center -6px;
cursor: pointer;
}
._twemoji_box:hover, ._twemoji_wrap.__open ._twemoji_box{
opacity: 0.8;
}
._twemoji_box:active, ._twemoji_wrap.__open ._twemoji_box:active{
opacity: 1;
background-position: center -38px;
}
._twemoji_popover{
display: none;
position: absolute;
top: 45px;
right: 10px;
width: 185px;
height: 150px;
background: rgba(0,0,0,0.8);
z-index: 9;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
text-align: center;
-webkit-border-radius: 5px 0 5px 5px;
-moz-border-radius: 5px 0 5px 5px;
border-radius: 5px 0 5px 5px;
}
._twemoji_popover::before {
content: '';
position: absolute;
border-bottom: solid 10px rgba(0,0,0,0.8);
border-right: solid 9px transparent;
border-left: solid 9px transparent;
top: -10px;
right: 0px;
}
._twemoji_wrap.__open ._twemoji_popover{
display: block;
}
._twemoji_list_wrap{
overflow: hidden;
width: 195px;
height: 150px;
}
._twemoji_popover ul{
clear: both;
margin: 0;
padding: 5px;
width: 160px;
}
._twemoji_popover li{
display: inline-block;
width: 32px;
height: 32px;
float: left;
}
._twemoji_popover li img{
width: 24px;
height: 24px;
}
textarea._twemoji_input{
display: none;
}
._twemoji_textarea .emoji{
width: 24px;
}
.scroll_wrap{
overflow: hidden;
position: relative;
}
.scroll_slave{
padding-right: 20px; /*Manually hide scrollbar*/
overflow-y: auto;
}
.scroll_slave::-webkit-scrollbar {
display: none;
}
.scroll_master{
position: absolute;
top: -10px;
right: 0;
overflow: hidden;
overflow-y: scroll;
opacity: 0;
z-index: 99;
}
.scroll_bar{
position: absolute;
right: 5px;
margin-top: 8px;
top: 0;
width: 7px;
min-height: 15px;
background: white;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
opacity: 0.6;
}
.scroll_master:hover ~ .scroll_bar{
opacity: 0.8;
}
.scroll_master:active ~ .scroll_bar{
opacity: 0.9;
}