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 | ||
14 | span.moz-smiley-s1, | |
15 | span.moz-smiley-s2, | |
16 | span.moz-smiley-s3, | |
17 | span.moz-smiley-s4, | |
18 | span.moz-smiley-s5, | |
19 | span.moz-smiley-s6, | |
d84b9613 | 20 | span.moz-smiley-s7, |
21 | span.moz-smiley-s8, | |
22 | span.moz-smiley-s9, | |
23 | span.moz-smiley-s10, | |
24 | span.moz-smiley-s11, | |
25 | span.moz-smiley-s12, | |
26 | span.moz-smiley-s13, | |
27 | span.moz-smiley-s14, | |
28 | span.moz-smiley-s15, | |
29 | span.moz-smiley-s16 | |
3d6dd546 | 30 | { |
466aa5b2 RK |
31 | display: inline-block; |
32 | vertical-align: middle; | |
3d6dd546 | 33 | -moz-user-select: all; |
3d6dd546 | 34 | } |
35 | ||
36 | span.moz-smiley-s1 > span, | |
37 | span.moz-smiley-s2 > span, | |
38 | span.moz-smiley-s3 > span, | |
39 | span.moz-smiley-s4 > span, | |
40 | span.moz-smiley-s5 > span, | |
41 | span.moz-smiley-s6 > span, | |
42 | span.moz-smiley-s7 > span, | |
d84b9613 | 43 | span.moz-smiley-s8 > span, |
44 | span.moz-smiley-s9 > span, | |
45 | span.moz-smiley-s10 > span, | |
46 | span.moz-smiley-s11 > span, | |
47 | span.moz-smiley-s12 > span, | |
48 | span.moz-smiley-s13 > span, | |
49 | span.moz-smiley-s14 > span, | |
50 | span.moz-smiley-s15 > span, | |
51 | span.moz-smiley-s16 > span | |
3d6dd546 | 52 | { |
53 | display: none; | |
54 | } | |
55 | ||
56 | /* smile */ | |
466aa5b2 | 57 | span.moz-smiley-s1:before { |
aeb317b8 | 58 | content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png"); |
3d6dd546 | 59 | } |
60 | ||
61 | /* frown */ | |
466aa5b2 | 62 | span.moz-smiley-s2:before { |
aeb317b8 | 63 | content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png"); |
3d6dd546 | 64 | } |
65 | ||
66 | /* wink */ | |
466aa5b2 | 67 | span.moz-smiley-s3:before { |
aeb317b8 | 68 | content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png"); |
3d6dd546 | 69 | } |
70 | ||
71 | /* tongue */ | |
466aa5b2 | 72 | span.moz-smiley-s4:before { |
aeb317b8 | 73 | content: url("chrome://communicator/skin/icons/smileys/smiley-tongue.png"); |
3d6dd546 | 74 | } |
75 | ||
76 | /* laughing */ | |
466aa5b2 | 77 | span.moz-smiley-s5:before { |
aeb317b8 | 78 | content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png"); |
3d6dd546 | 79 | } |
80 | ||
aeb317b8 | 81 | /* embarrassed */ |
466aa5b2 | 82 | span.moz-smiley-s6:before { |
aeb317b8 | 83 | content: url("chrome://communicator/skin/icons/smileys/smiley-embarrassed.png"); |
3d6dd546 | 84 | } |
85 | ||
86 | /* undecided */ | |
466aa5b2 | 87 | span.moz-smiley-s7:before { |
aeb317b8 | 88 | content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png"); |
3d6dd546 | 89 | } |
90 | ||
8c976b60 | 91 | /* surprise */ |
466aa5b2 | 92 | span.moz-smiley-s8:before { |
aeb317b8 | 93 | content: url("chrome://communicator/skin/icons/smileys/smiley-surprise.png"); |
3d6dd546 | 94 | } |
95 | ||
96 | /* kiss */ | |
466aa5b2 | 97 | span.moz-smiley-s9:before { |
aeb317b8 | 98 | content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png"); |
3d6dd546 | 99 | } |
100 | ||
101 | /* yell */ | |
466aa5b2 | 102 | span.moz-smiley-s10:before { |
aeb317b8 | 103 | content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png"); |
3d6dd546 | 104 | } |
105 | ||
106 | /* cool */ | |
466aa5b2 | 107 | span.moz-smiley-s11:before { |
aeb317b8 | 108 | content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png"); |
3d6dd546 | 109 | } |
110 | ||
111 | /* money */ | |
466aa5b2 | 112 | span.moz-smiley-s12:before { |
aeb317b8 | 113 | content: url("chrome://communicator/skin/icons/smileys/smiley-money.png"); |
3d6dd546 | 114 | } |
115 | ||
116 | /* foot */ | |
466aa5b2 | 117 | span.moz-smiley-s13:before { |
aeb317b8 | 118 | content: url("chrome://communicator/skin/icons/smileys/smiley-foot.png"); |
3d6dd546 | 119 | } |
120 | ||
121 | /* innocent */ | |
466aa5b2 | 122 | span.moz-smiley-s14:before { |
aeb317b8 | 123 | content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png"); |
3d6dd546 | 124 | } |
125 | ||
126 | /* cry */ | |
466aa5b2 | 127 | span.moz-smiley-s15:before { |
aeb317b8 | 128 | content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png"); |
3d6dd546 | 129 | } |
130 | ||
131 | /* sealed */ | |
466aa5b2 | 132 | span.moz-smiley-s16:before { |
aeb317b8 | 133 | content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png"); |
3d6dd546 | 134 | } |