blob: 6e80621a4b639e6aaeeaccbf169d3f2e5f549b0b (
plain) (
blame)
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
|
/*!
* # Fomantic UI - Emoji
* https://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* https://github.com/fomantic/Fomantic-UI/blob/master/LICENSE.md
*
*/
/*******************************
Theme
*******************************/
@type : 'element';
@element : 'emoji';
@import (multiple) '../../theme.config';
/*******************************
Emoji
*******************************/
em[data-emoji] {
opacity: @opacity;
speak: none;
backface-visibility: hidden;
}
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;
}
}
/*******************************
States
*******************************/
em[data-emoji].disabled {
opacity: @disabledOpacity;
}
/*******************************
Variations
*******************************/
em[data-emoji].loading:before {
animation: loader @loadingDuration linear infinite;
}
/*-------------------
Link
--------------------*/
em[data-emoji].link:not(.disabled) {
cursor: pointer;
}
.loadUIOverrides();
|