mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Land new mail compose icons from Arvid.
This commit is contained in:
parent
4c58e28c88
commit
7b8d2b8534
@ -1,5 +1,7 @@
|
||||
classic.jar:
|
||||
+ skin/classic/messenger/messengercompose/messengercompose.css (skin/messengercompose.css)
|
||||
skin/classic/messenger/messengercompose/compose-toolbar.png (skin/compose-toolbar.png)
|
||||
skin/classic/messenger/messengercompose/compose-toolbar-small.png (skin/compose-toolbar-small.png)
|
||||
|
||||
messenger.jar:
|
||||
*+ content/messenger/messengercompose/messengercompose.xul (content/messengercompose.xul)
|
||||
|
BIN
mail/components/compose/skin/compose-toolbar-small.png
Normal file
BIN
mail/components/compose/skin/compose-toolbar-small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
mail/components/compose/skin/compose-toolbar.png
Normal file
BIN
mail/components/compose/skin/compose-toolbar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
@ -42,92 +42,141 @@
|
||||
/* ::::: primary toolbar buttons ::::: */
|
||||
|
||||
.toolbarbutton-1 {
|
||||
list-style-image: url("chrome://messenger/skin/icons/btn1.gif");
|
||||
list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
|
||||
}
|
||||
|
||||
#button-send {
|
||||
-moz-image-region: rect(294px 23px 315px 0px);
|
||||
-moz-image-region: rect(0px 32px 32px 0px);
|
||||
}
|
||||
|
||||
#button-send:hover {
|
||||
-moz-image-region: rect(294px 46px 315px 23px);
|
||||
}
|
||||
|
||||
#button-send:hover:active {
|
||||
-moz-image-region: rect(294px 69px 315px 46px);
|
||||
-moz-image-region: rect(32px 32px 64px 0px);
|
||||
}
|
||||
|
||||
#button-send[disabled="true"] {
|
||||
-moz-image-region: rect(294px 92px 315px 69px) !important;
|
||||
-moz-image-region: rect(64px 32px 96px 0px) !important;
|
||||
}
|
||||
|
||||
#button-address {
|
||||
-moz-image-region: rect(231px 23px 252px 0px);
|
||||
-moz-image-region: rect(0px 64px 32px 32px);
|
||||
}
|
||||
|
||||
#button-address:hover {
|
||||
-moz-image-region: rect(231px 46px 252px 23px);
|
||||
}
|
||||
|
||||
#button-address:hover:active {
|
||||
-moz-image-region: rect(231px 69px 252px 46px);
|
||||
-moz-image-region: rect(32px 64px 64px 32px);
|
||||
}
|
||||
|
||||
#button-address[disabled="true"] {
|
||||
-moz-image-region: rect(231px 92px 252px 69px) !important;
|
||||
}
|
||||
|
||||
#button-attach {
|
||||
-moz-image-region: rect(252px 23px 273px 0px);
|
||||
}
|
||||
|
||||
#button-attach[buttonover="true"] {
|
||||
-moz-image-region: rect(252px 46px 273px 23px);
|
||||
}
|
||||
|
||||
#button-attach[buttondown="true"] {
|
||||
-moz-image-region: rect(252px 69px 273px 46px);
|
||||
}
|
||||
|
||||
#button-attach[disabled="true"] {
|
||||
-moz-image-region: rect(252px 92px 273px 69px) !important;
|
||||
-moz-image-region: rect(64px 64px 96px 32px) !important;
|
||||
}
|
||||
|
||||
#spellingButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/btn1.gif");
|
||||
-moz-image-region: rect(96px 16px 112px 0);
|
||||
}
|
||||
|
||||
#spellingButton > .toolbarbutton-icon {
|
||||
padding: 3px 0px 2px 4px;
|
||||
-moz-image-region: rect(0px 96px 32px 64px);
|
||||
}
|
||||
|
||||
#spellingButton:hover {
|
||||
-moz-image-region: rect(96px 32px 112px 16px);
|
||||
}
|
||||
|
||||
#spellingButton:hover:active {
|
||||
-moz-image-region: rect(96px 48px 112px 32px);
|
||||
-moz-image-region: rect(32px 96px 64px 64px);
|
||||
}
|
||||
|
||||
#spellingButton[disabled="true"] {
|
||||
-moz-image-region: rect(96px 64px 112px 48px) !important;
|
||||
-moz-image-region: rect(64px 96px 96px 64px) !important;
|
||||
}
|
||||
|
||||
#button-attach {
|
||||
-moz-image-region: rect(0px 128px 32px 96px);
|
||||
}
|
||||
|
||||
#button-attach[buttonover="true"] {
|
||||
-moz-image-region: rect(32px 128px 64px 96px);
|
||||
}
|
||||
|
||||
#button-attach[buttondown="true"] {
|
||||
-moz-image-region: rect(32px 128px 64px 96px);
|
||||
}
|
||||
|
||||
#button-attach[disabled="true"] {
|
||||
-moz-image-region: rect(64px 128px 96px 96px) !important;
|
||||
}
|
||||
|
||||
#button-save {
|
||||
-moz-image-region: rect(273px 23px 294px 0px);
|
||||
-moz-image-region: rect(0px 192px 32px 160px);
|
||||
}
|
||||
|
||||
#button-save[buttonover="true"] {
|
||||
-moz-image-region: rect(273px 46px 294px 23px);
|
||||
-moz-image-region: rect(32px 192px 64px 160px);
|
||||
}
|
||||
|
||||
#button-save[buttondown="true"] {
|
||||
-moz-image-region: rect(273px 69px 294px 46px);
|
||||
-moz-image-region: rect(32px 192px 64px 160px);
|
||||
}
|
||||
|
||||
#button-save[disabled="true"] {
|
||||
-moz-image-region: rect(273px 92px 294px 69px) !important;
|
||||
-moz-image-region: rect(64px 192px 96px 160px) !important;
|
||||
}
|
||||
|
||||
/* ::::: small primary toolbar buttons ::::: */
|
||||
|
||||
toolbar[iconsize="small"] .toolbarbutton-1 {
|
||||
list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-send {
|
||||
-moz-image-region: rect(0px 20px 20px 0px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-send[buttonover] {
|
||||
-moz-image-region: rect(20px 20px 40px 0px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-send[disabled] {
|
||||
-moz-image-region: rect(40px 20px 60px 0px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-address {
|
||||
-moz-image-region: rect(0px 40px 20px 20px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-address:hover {
|
||||
-moz-image-region: rect(20px 40px 40px 20px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-address[disabled] {
|
||||
-moz-image-region: rect(40px 40px 60px 20px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #spellingButton {
|
||||
-moz-image-region: rect(0px 60px 20px 40px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #spellingButton:hover {
|
||||
-moz-image-region: rect(20px 60px 40px 40px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #spellingButton[disabled="true"] {
|
||||
-moz-image-region: rect(40px 60px 60px 40px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-attach {
|
||||
-moz-image-region: rect(0px 80px 20px 60px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-attach:hover {
|
||||
-moz-image-region: rect(20px 80px 40px 60px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-attach[disabled] {
|
||||
-moz-image-region: rect(40px 80px 60px 60px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-save {
|
||||
-moz-image-region: rect(0px 120px 20px 100px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-save:hover {
|
||||
-moz-image-region: rect(20px 120px 40px 100px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-save[disabled] {
|
||||
-moz-image-region: rect(40px 120px 60px 100px) !important;
|
||||
}
|
||||
|
||||
/* ::::: special toolbar colors ::::: */
|
||||
|
@ -3,4 +3,7 @@ messenger.jar:
|
||||
*+ content/messenger-smime/msgCompSMIMEOverlay.xul (content/msgCompSMIMEOverlay.xul)
|
||||
*+ content/messenger-smime/msgHdrViewSMIMEOverlay.js (content/msgHdrViewSMIMEOverlay.js)
|
||||
|
||||
classic.jar:
|
||||
+ skin/classic/messenger/smime/msgCompSMIMEOverlay.css (skin/msgCompSMIMEOverlay.css)
|
||||
|
||||
|
||||
|
103
mail/extensions/smime/skin/msgCompSMIMEOverlay.css
Normal file
103
mail/extensions/smime/skin/msgCompSMIMEOverlay.css
Normal file
@ -0,0 +1,103 @@
|
||||
/* ***** 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 Mozilla Communicator.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2002
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either 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 ***** */
|
||||
|
||||
/* ===== msgCompSMIMEOverlay.css ========================================
|
||||
== Styles for the S/Mime in composer window.
|
||||
======================================================================= */
|
||||
|
||||
@import url("chrome://messenger/skin/");
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
#button-security {
|
||||
-moz-image-region: rect(0px 160px 32px 128px);
|
||||
}
|
||||
|
||||
#button-security[buttonover] {
|
||||
-moz-image-region: rect(32px 160px 64px 128px);
|
||||
}
|
||||
|
||||
#button-security[buttondown] {
|
||||
-moz-image-region: rect(32px 160px 64px 128px);
|
||||
}
|
||||
|
||||
#button-security[disabled] {
|
||||
-moz-image-region: rect(64px 160px 96px 128px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-security {
|
||||
-moz-image-region: rect(0px 100px 20px 80px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-security:hover {
|
||||
-moz-image-region: rect(20px 100px 40px 80px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-security[disabled] {
|
||||
-moz-image-region: rect(40px 100px 60px 80px) !important;
|
||||
}
|
||||
|
||||
#msgcomposeWindow #signing-status {
|
||||
list-style-image: none;
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
#msgcomposeWindow[signing="ok"] #signing-status {
|
||||
list-style-image: url("chrome://messenger/skin/smime/icons/sbSignOk.gif");
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
#msgcomposeWindow[signing="notok"] #signing-status {
|
||||
list-style-image: url("chrome://messenger/skin/smime/icons/sbSignNotOk.gif");
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
||||
#msgcomposeWindow #encryption-status {
|
||||
list-style-image: none;
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
#msgcomposeWindow[crypto="ok"] #encryption-status {
|
||||
list-style-image: url("chrome://messenger/skin/smime/icons/sbCryptoOk.gif");
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
#msgcomposeWindow[crypto="notok"] #encryption-status {
|
||||
list-style-image: url("chrome://messenger/skin/smime/icons/sbCryptoNotOk.gif");
|
||||
visibility: visible;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user