| 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/. */ |
| 4 | |
| 5 | /* ==== smileys.css ==================================================== |
| 6 | == Style rules to bind smiley image types generated by editor and the mozTxtToHTMLConv |
| 7 | == into skinnable images. |
| 8 | ========================================================================== */ |
| 9 | |
| 10 | @namespace url("http://www.w3.org/1999/xhtml"); |
| 11 | |
| 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, |
| 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 |
| 30 | { |
| 31 | display: inline-block; |
| 32 | vertical-align: middle; |
| 33 | -moz-user-select: all; |
| 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, |
| 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 |
| 52 | { |
| 53 | display: none; |
| 54 | } |
| 55 | |
| 56 | /* smile */ |
| 57 | span.moz-smiley-s1:before { |
| 58 | content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png"); |
| 59 | } |
| 60 | |
| 61 | /* frown */ |
| 62 | span.moz-smiley-s2:before { |
| 63 | content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png"); |
| 64 | } |
| 65 | |
| 66 | /* wink */ |
| 67 | span.moz-smiley-s3:before { |
| 68 | content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png"); |
| 69 | } |
| 70 | |
| 71 | /* tongue */ |
| 72 | span.moz-smiley-s4:before { |
| 73 | content: url("chrome://communicator/skin/icons/smileys/smiley-tongue.png"); |
| 74 | } |
| 75 | |
| 76 | /* laughing */ |
| 77 | span.moz-smiley-s5:before { |
| 78 | content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png"); |
| 79 | } |
| 80 | |
| 81 | /* embarrassed */ |
| 82 | span.moz-smiley-s6:before { |
| 83 | content: url("chrome://communicator/skin/icons/smileys/smiley-embarrassed.png"); |
| 84 | } |
| 85 | |
| 86 | /* undecided */ |
| 87 | span.moz-smiley-s7:before { |
| 88 | content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png"); |
| 89 | } |
| 90 | |
| 91 | /* surprise */ |
| 92 | span.moz-smiley-s8:before { |
| 93 | content: url("chrome://communicator/skin/icons/smileys/smiley-surprise.png"); |
| 94 | } |
| 95 | |
| 96 | /* kiss */ |
| 97 | span.moz-smiley-s9:before { |
| 98 | content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png"); |
| 99 | } |
| 100 | |
| 101 | /* yell */ |
| 102 | span.moz-smiley-s10:before { |
| 103 | content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png"); |
| 104 | } |
| 105 | |
| 106 | /* cool */ |
| 107 | span.moz-smiley-s11:before { |
| 108 | content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png"); |
| 109 | } |
| 110 | |
| 111 | /* money */ |
| 112 | span.moz-smiley-s12:before { |
| 113 | content: url("chrome://communicator/skin/icons/smileys/smiley-money.png"); |
| 114 | } |
| 115 | |
| 116 | /* foot */ |
| 117 | span.moz-smiley-s13:before { |
| 118 | content: url("chrome://communicator/skin/icons/smileys/smiley-foot.png"); |
| 119 | } |
| 120 | |
| 121 | /* innocent */ |
| 122 | span.moz-smiley-s14:before { |
| 123 | content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png"); |
| 124 | } |
| 125 | |
| 126 | /* cry */ |
| 127 | span.moz-smiley-s15:before { |
| 128 | content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png"); |
| 129 | } |
| 130 | |
| 131 | /* sealed */ |
| 132 | span.moz-smiley-s16:before { |
| 133 | content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png"); |
| 134 | } |