зеркало из https://github.com/mozilla/pjs.git
169 строки
4.8 KiB
CSS
169 строки
4.8 KiB
CSS
/* ***** BEGIN LICENSE BLOCK *****
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
* the License. You may obtain a copy of the License at
|
|
* http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the
|
|
* License.
|
|
*
|
|
* The Original Code is smiley style rules.
|
|
*
|
|
* The Initial Developer of the Original Code is
|
|
* Mozilla.
|
|
* Portions created by the Initial Developer are Copyright (C) 2004
|
|
* the Initial Developer. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
* the provisions above, a recipient may use your version of this file under
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
*
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
/* ==== smileys.css ====================================================
|
|
== Style rules to bind smiley image types generated by editor and the mozTxtToHTMLConv
|
|
== into skinnable images.
|
|
========================================================================== */
|
|
|
|
/* ::::: we also represent smilies inside of spans ::::: */
|
|
|
|
span.moz-smiley-s1,
|
|
span.moz-smiley-s2,
|
|
span.moz-smiley-s3,
|
|
span.moz-smiley-s4,
|
|
span.moz-smiley-s5,
|
|
span.moz-smiley-s6,
|
|
span.moz-smiley-s7,
|
|
span.moz-smiley-s8,
|
|
span.moz-smiley-s9,
|
|
span.moz-smiley-s10,
|
|
span.moz-smiley-s11,
|
|
span.moz-smiley-s12,
|
|
span.moz-smiley-s13,
|
|
span.moz-smiley-s14,
|
|
span.moz-smiley-s15,
|
|
span.moz-smiley-s16
|
|
{
|
|
font-size: 17px;
|
|
padding-left: 20px;
|
|
margin-left: 2px;
|
|
margin-top: 2px;
|
|
background-repeat: no-repeat;
|
|
-moz-user-select: all;
|
|
background-position: center center;
|
|
}
|
|
|
|
span.moz-smiley-s1 > span,
|
|
span.moz-smiley-s2 > span,
|
|
span.moz-smiley-s3 > span,
|
|
span.moz-smiley-s4 > span,
|
|
span.moz-smiley-s5 > span,
|
|
span.moz-smiley-s6 > span,
|
|
span.moz-smiley-s7 > span,
|
|
span.moz-smiley-s8 > span,
|
|
span.moz-smiley-s9 > span,
|
|
span.moz-smiley-s10 > span,
|
|
span.moz-smiley-s11 > span,
|
|
span.moz-smiley-s12 > span,
|
|
span.moz-smiley-s13 > span,
|
|
span.moz-smiley-s14 > span,
|
|
span.moz-smiley-s15 > span,
|
|
span.moz-smiley-s16 > span
|
|
{
|
|
display: none;
|
|
}
|
|
|
|
/* smile */
|
|
span.moz-smiley-s1{
|
|
background-image: url("chrome://communicator/skin/icons/smileys/smile_n.gif");
|
|
}
|
|
|
|
/* frown */
|
|
span.moz-smiley-s2 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/frown_n.gif");
|
|
}
|
|
|
|
/* wink */
|
|
span.moz-smiley-s3 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/wink_n.gif");
|
|
}
|
|
|
|
/* tongue */
|
|
span.moz-smiley-s4 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/tongue_n.gif");
|
|
}
|
|
|
|
/* laughing */
|
|
span.moz-smiley-s5 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/laughing_n.gif");
|
|
}
|
|
|
|
/* embarassed */
|
|
span.moz-smiley-s6 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/embarrassed_n.gif");
|
|
}
|
|
|
|
/* undecided */
|
|
span.moz-smiley-s7 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/undecided_n.gif");
|
|
}
|
|
|
|
/* suprise */
|
|
span.moz-smiley-s8 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/surprise_n.gif");
|
|
}
|
|
|
|
/* kiss */
|
|
span.moz-smiley-s9 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/kiss_n.gif");
|
|
}
|
|
|
|
/* yell */
|
|
span.moz-smiley-s10 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/yell_n.gif");
|
|
}
|
|
|
|
/* cool */
|
|
span.moz-smiley-s11 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/cool_n.gif");
|
|
}
|
|
|
|
/* money */
|
|
span.moz-smiley-s12 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/money_n.gif");
|
|
}
|
|
|
|
/* foot */
|
|
span.moz-smiley-s13 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/foot_n.gif");
|
|
}
|
|
|
|
/* innocent */
|
|
span.moz-smiley-s14 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/innocent_n.gif");
|
|
}
|
|
|
|
/* cry */
|
|
span.moz-smiley-s15 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/cry_n.gif");
|
|
}
|
|
|
|
/* sealed */
|
|
span.moz-smiley-s16 {
|
|
background-image: url("chrome://communicator/skin/icons/smileys/sealed_n.gif");
|
|
}
|