Skip to content

Commit

Permalink
chore(release): update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hamilton committed Nov 18, 2019
1 parent d5f3c21 commit 18970e2
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 34 deletions.
13 changes: 9 additions & 4 deletions definitions/elements/emoji.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,21 @@


em[data-emoji] {
display: inline-block;
opacity: @opacity;

speak: none;
backface-visibility: hidden;
}

line-height: normal;
vertical-align: middle;
em[data-emoji]:before {
content:'\00A0\00A0\00A0\00A0\00A0\00A0\00A0';
display: inline-block;
line-height: @emojiLineHeight;
background-repeat: no-repeat;
background-position: center center;
& when not (@emojiFileType = 'svg') {
background-size: contain;
}
}


Expand All @@ -51,7 +56,7 @@ em[data-emoji].disabled {
Variations
*******************************/

em[data-emoji].loading {
em[data-emoji].loading:before {
animation: loader @loadingDuration linear infinite;
}

Expand Down
15 changes: 9 additions & 6 deletions themes/default/elements/emoji.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -3076,16 +3076,19 @@

each(@size-map, {
em[data-emoji].@{key} {
width: @baseSize * @value;
height: @baseSize * @value;
background-size: 1.5em * @value 1.5em * @value;
font-size: 1.5em * @value;
vertical-align: middle;
}
});

em[data-emoji]:extend(em[data-emoji].small) {}

each(@emoji-map,{
em[data-emoji="@{value}"],em[data-emoji=":@{value}:"] {
& when (@variationEmojiColons) {
em[data-emoji=":@{value}:"]:before {
background-image: url("@{emojiPath}@{key}.@{emojiFileType}");
}
em[data-emoji="@{value}"]:before:extend(em[data-emoji=":@{value}:"]:before) when (@variationEmojiNoColons) {}
}
em[data-emoji="@{value}"]:before when (@variationEmojiNoColons) and not (@variationEmojiColons) {
background-image: url("@{emojiPath}@{key}.@{emojiFileType}");
}
});
5 changes: 1 addition & 4 deletions themes/default/elements/emoji.variables
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,4 @@
/* Emoji Variables */
@opacity: 1;
@loadingDuration: 2s;

/* Size */
@baseSize: 24px;

@emojiLineHeight: @headerLineHeight;
4 changes: 4 additions & 0 deletions themes/default/globals/variation.variables
Original file line number Diff line number Diff line change
Expand Up @@ -531,3 +531,7 @@
/* Loading */
@variationTransitionDisabled: true;
@variationTransitionLoading: true;

/* Emojis */
@variationEmojiColons: true;
@variationEmojiNoColons: true;
15 changes: 9 additions & 6 deletions themes/joypixels/elements/emoji.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -3076,16 +3076,19 @@

each(@size-map, {
em[data-emoji].@{key} {
width: @baseSize * @value;
height: @baseSize * @value;
background-size: 1.5em * @value 1.5em * @value;
font-size: 1.5em * @value;
vertical-align: middle;
}
});

em[data-emoji]:extend(em[data-emoji].small) {}

each(@emoji-map,{
em[data-emoji="@{value}"],em[data-emoji=":@{value}:"] {
& when (@variationEmojiColons) {
em[data-emoji=":@{value}:"]:before {
background-image: url("@{emojiPath}@{key}.@{emojiFileType}");
}
em[data-emoji="@{value}"]:before:extend(em[data-emoji=":@{value}:"]:before) when (@variationEmojiNoColons) {}
}
em[data-emoji="@{value}"]:before when (@variationEmojiNoColons) and not (@variationEmojiColons) {
background-image: url("@{emojiPath}@{key}.@{emojiFileType}");
}
});
5 changes: 1 addition & 4 deletions themes/joypixels/elements/emoji.variables
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@
/* Emoji Variables */
@opacity: 1;
@loadingDuration: 2s;

/* Size */
@baseSize: 24px;

@emojiLineHeight: @headerLineHeight;
15 changes: 9 additions & 6 deletions themes/twitter/elements/emoji.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -3076,16 +3076,19 @@

each(@size-map, {
em[data-emoji].@{key} {
width: @baseSize * @value;
height: @baseSize * @value;
background-size: 1.5em * @value 1.5em * @value;
font-size: 1.5em * @value;
vertical-align: middle;
}
});

em[data-emoji]:extend(em[data-emoji].small) {}

each(@emoji-map,{
em[data-emoji="@{value}"],em[data-emoji=":@{value}:"] {
& when (@variationEmojiColons) {
em[data-emoji=":@{value}:"]:before {
background-image: url("@{emojiPath}@{key}.@{emojiFileType}");
}
em[data-emoji="@{value}"]:before:extend(em[data-emoji=":@{value}:"]:before) when (@variationEmojiNoColons) {}
}
em[data-emoji="@{value}"]:before when (@variationEmojiNoColons) and not (@variationEmojiColons) {
background-image: url("@{emojiPath}@{key}.@{emojiFileType}");
}
});
5 changes: 1 addition & 4 deletions themes/twitter/elements/emoji.variables
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,4 @@
/* Emoji Variables */
@opacity: 1;
@loadingDuration: 2s;

/* Size */
@baseSize: 24px;

@emojiLineHeight: @headerLineHeight;

0 comments on commit 18970e2

Please sign in to comment.