-
Notifications
You must be signed in to change notification settings - Fork 0
/
angular-unicode-emoticons.scss
118 lines (117 loc) · 3.2 KB
/
angular-unicode-emoticons.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
$emoticons-color: #FF9800 !default;
$screen-emoticon-sm: 767px;
$screen-emoticon-xs: 479px;
.angular-emotions-container {
font-family: Arial, Helvetica, sans-serif;
outline: none;
width: 360px;
position: absolute;
left: -200px;
opacity: .8;
box-shadow: 0 5px 10px rgba(0, 0, 0, .12);
border-radius: 4px;
z-index: 100;
background-color: #fafafa;
box-sizing: border-box;
border: 1px solid rgba(0, 0, 0, .15);
.angular-emoticons-input-container {
position: relative;
padding: 10px;
input.emoticon-input {
padding-left: 10px;
font-size: 12px;
margin: 0;
outline: none;
box-sizing: border-box;
border: 1px solid rgba(0, 0, 0, 0.25);
height: 28px;
width: 100%;
box-shadow: none;
border-radius: 4px;
&:hover {
border-color: $emoticons-color;
}
&:hover~.emoticon-input-icon {
color: $emoticons-color;
}
}
}
.angular-emoticons-list {
padding: 10px;
height: 250px;
overflow: auto;
background-color: #ffffff;
box-sizing: border-box;
border-top: 1px solid rgba(0, 0, 0, .15);
.angular-emoticon {
font-size: 20px;
display: inline-block;
cursor: pointer;
box-sizing: border-box;
margin: 0 1px -1px 0;
text-align: center;
line-height: 36px;
width: 36px;
height: 32px;
border-radius: 6px;
&.active {
background: lighten($emoticons-color, 40%);
}
}
}
.angular-emoticons-footer {
box-sizing: border-box;
height: 56px;
border-top: 1px solid rgba(0, 0, 0, .15);
padding: 10px 15px;
width: 100%;
text-align: left;
.angular-big-emoticon {
display: inline-block;
box-sizing: border-box;
font-size: 35px;
vertical-align: middle;
line-height: 35px;
}
.angular-emoticon-text {
font-size: 14px;
max-width: 75%;
box-sizing: border-box;
vertical-align: middle;
display: inline-block;
margin-left: 8px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
@media (max-width: $screen-emoticon-sm) {
width: 288px;
.angular-emoticons-list {
height: 220px;
}
.angular-emoticons-footer {
height: 51px;
.angular-big-emoticon {
font-size: 30px;
line-height: 30px;
}
.angular-emoticon-text {
font-size: 12px;
}
}
}
@media (max-width: $screen-emoticon-xs) {
width: 245px;
.angular-emoticons-list {
height: 180px;
}
.angular-emoticons-footer {
height: 49px;
.angular-big-emoticon {
font-size: 28px;
line-height: 28px;
}
}
}
}