/
_emojiinput.scss
97 lines (83 loc) 路 1.7 KB
/
_emojiinput.scss
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
.emoji-dialog {
@include elegant-card;
background: $color-white;
box-sizing: content-box;
position: absolute;
right: 0;
top: -22rem;
width: 28.6rem;
&::before {
@include arrow(bottom, $color-white, $space-slab);
bottom: -$space-slab;
position: absolute;
right: $space-two;
}
.emojione {
@include margin($zero);
font-size: $font-size-medium;
}
.emoji-row {
@include padding($space-small);
box-sizing: border-box;
height: 180px;
overflow-y: auto;
.emoji {
border-radius: 4px;
display: inline-block;
padding: 5px;
}
.emojione {
cursor: pointer;
float: left;
margin: .6rem;
}
}
.emoji-category-title {
color: $color-heading;
font-size: $font-size-small;
font-weight: $font-weight-medium;
margin: 0;
text-transform: capitalize;
}
.emoji-category-heading-decoration {
text-align: right;
}
}
.emoji-dialog-header {
@include padding($zero $space-smaller);
background-color: $light-gray;
border-top-left-radius: $space-small;
border-top-right-radius: $space-small;
ul {
list-style: none;
margin: 0;
padding: $space-smaller 0 0;
> li {
@include padding($space-smaller $space-small);
box-sizing: border-box;
cursor: pointer;
display: inline-block;
height: 3.4rem;
text-align: center;
}
> .active {
background: $white;
border-top-left-radius: $space-small;
border-top-right-radius: $space-small;
}
img,
svg {
filter: grayscale(100%);
}
}
.active {
img,
svg {
filter: grayscale(0);
}
}
> * {
display: table-cell;
vertical-align: middle;
}
}