Pad the emoji categories

This commit is contained in:
JC Brand 2017-06-24 12:11:46 +02:00
parent 6a40b6e9aa
commit b4ff38dba7
4 changed files with 12 additions and 1 deletions

View File

@ -1697,6 +1697,9 @@
color: #818479;
text-decoration: none;
text-shadow: none; }
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar .emoji-picker,
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar .emoji-picker {
margin-bottom: 30px; }
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar .toolbar-picker-panel a,
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar .toolbar-picker-panel a {
color: #578EA9; }

View File

@ -1743,6 +1743,9 @@ body {
color: #818479;
text-decoration: none;
text-shadow: none; }
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar .emoji-picker,
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar .emoji-picker {
margin-bottom: 34px; }
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar .toolbar-picker-panel a,
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar .toolbar-picker-panel a {
color: #578EA9; }

View File

@ -272,6 +272,9 @@
text-decoration: none;
text-shadow: none;
}
.emoji-picker {
margin-bottom: $toolbar-height + 5px;
}
.toolbar-picker-panel {
a {
color: $link-color;

View File

@ -522,7 +522,9 @@
_.forEach(categories, function (cat) {
var list = _.sortBy(_.filter(emojis, ['category', cat]), ['uc_base']);
list = _.filter(list, function (item) {
return !_.includes(tones, item._shortname);
return !_.includes(tones, item._shortname) &&
!item._shortname.startsWith(':woman_') &&
!item._shortname.startsWith(':man_');
});
if (cat === 'people') {
var idx = _.findIndex(list, ['uc_base', '1f600']);