Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
3d6dd546 | 4 | |
5 | /* ==== smileys.css ==================================================== | |
6 | == Style rules to bind smiley image types generated by editor and the mozTxtToHTMLConv | |
7 | == into skinnable images. | |
8 | ========================================================================== */ | |
9 | ||
d84b9613 | 10 | @namespace url("http://www.w3.org/1999/xhtml"); |
11 | ||
3d6dd546 | 12 | /* ::::: we also represent smilies inside of spans ::::: */ |
13 | ||
8f5d5e21 RK |
14 | .moz-smiley-s1, |
15 | .moz-smiley-s2, | |
16 | .moz-smiley-s3, | |
17 | .moz-smiley-s4, | |
18 | .moz-smiley-s5, | |
19 | .moz-smiley-s6, | |
20 | .moz-smiley-s7, | |
21 | .moz-smiley-s8, | |
22 | .moz-smiley-s9, | |
23 | .moz-smiley-s10, | |
24 | .moz-smiley-s11, | |
25 | .moz-smiley-s12, | |
26 | .moz-smiley-s13, | |
27 | .moz-smiley-s14, | |
28 | .moz-smiley-s15, | |
29 | .moz-smiley-s16 | |
3d6dd546 | 30 | { |
466aa5b2 RK |
31 | display: inline-block; |
32 | vertical-align: middle; | |
3d6dd546 | 33 | -moz-user-select: all; |
3d6dd546 | 34 | } |
35 | ||
8f5d5e21 RK |
36 | .moz-smiley-s1 > span, |
37 | .moz-smiley-s2 > span, | |
38 | .moz-smiley-s3 > span, | |
39 | .moz-smiley-s4 > span, | |
40 | .moz-smiley-s5 > span, | |
41 | .moz-smiley-s6 > span, | |
42 | .moz-smiley-s7 > span, | |
43 | .moz-smiley-s8 > span, | |
44 | .moz-smiley-s9 > span, | |
45 | .moz-smiley-s10 > span, | |
46 | .moz-smiley-s11 > span, | |
47 | .moz-smiley-s12 > span, | |
48 | .moz-smiley-s13 > span, | |
49 | .moz-smiley-s14 > span, | |
50 | .moz-smiley-s15 > span, | |
51 | .moz-smiley-s16 > span | |
3d6dd546 | 52 | { |
53 | display: none; | |
54 | } | |
55 | ||
56 | /* smile */ | |
8f5d5e21 | 57 | .moz-smiley-s1:before { |
aeb317b8 | 58 | content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png"); |
3d6dd546 | 59 | } |
60 | ||
61 | /* frown */ | |
8f5d5e21 | 62 | .moz-smiley-s2:before { |
aeb317b8 | 63 | content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png"); |
3d6dd546 | 64 | } |
65 | ||
66 | /* wink */ | |
8f5d5e21 | 67 | .moz-smiley-s3:before { |
aeb317b8 | 68 | content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png"); |
3d6dd546 | 69 | } |
70 | ||
71 | /* tongue */ | |
8f5d5e21 | 72 | .moz-smiley-s4:before { |
aeb317b8 | 73 | content: url("chrome://communicator/skin/icons/smileys/smiley-tongue.png"); |
3d6dd546 | 74 | } |
75 | ||
76 | /* laughing */ | |
8f5d5e21 | 77 | .moz-smiley-s5:before { |
aeb317b8 | 78 | content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png"); |
3d6dd546 | 79 | } |
80 | ||
aeb317b8 | 81 | /* embarrassed */ |
8f5d5e21 | 82 | .moz-smiley-s6:before { |
aeb317b8 | 83 | content: url("chrome://communicator/skin/icons/smileys/smiley-embarrassed.png"); |
3d6dd546 | 84 | } |
85 | ||
86 | /* undecided */ | |
8f5d5e21 | 87 | .moz-smiley-s7:before { |
aeb317b8 | 88 | content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png"); |
3d6dd546 | 89 | } |
90 | ||
8c976b60 | 91 | /* surprise */ |
8f5d5e21 | 92 | .moz-smiley-s8:before { |
aeb317b8 | 93 | content: url("chrome://communicator/skin/icons/smileys/smiley-surprise.png"); |
3d6dd546 | 94 | } |
95 | ||
96 | /* kiss */ | |
8f5d5e21 | 97 | .moz-smiley-s9:before { |
aeb317b8 | 98 | content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png"); |
3d6dd546 | 99 | } |
100 | ||
101 | /* yell */ | |
8f5d5e21 | 102 | .moz-smiley-s10:before { |
aeb317b8 | 103 | content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png"); |
3d6dd546 | 104 | } |
105 | ||
106 | /* cool */ | |
8f5d5e21 | 107 | .moz-smiley-s11:before { |
aeb317b8 | 108 | content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png"); |
3d6dd546 | 109 | } |
110 | ||
111 | /* money */ | |
8f5d5e21 | 112 | .moz-smiley-s12:before { |
aeb317b8 | 113 | content: url("chrome://communicator/skin/icons/smileys/smiley-money.png"); |
3d6dd546 | 114 | } |
115 | ||
116 | /* foot */ | |
8f5d5e21 | 117 | .moz-smiley-s13:before { |
aeb317b8 | 118 | content: url("chrome://communicator/skin/icons/smileys/smiley-foot.png"); |
3d6dd546 | 119 | } |
120 | ||
121 | /* innocent */ | |
8f5d5e21 | 122 | .moz-smiley-s14:before { |
aeb317b8 | 123 | content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png"); |
3d6dd546 | 124 | } |
125 | ||
126 | /* cry */ | |
8f5d5e21 | 127 | .moz-smiley-s15:before { |
aeb317b8 | 128 | content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png"); |
3d6dd546 | 129 | } |
130 | ||
131 | /* sealed */ | |
8f5d5e21 | 132 | .moz-smiley-s16:before { |
aeb317b8 | 133 | content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png"); |
3d6dd546 | 134 | } |