| 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 | /* ===== msgCompSMIMEOverlay.css ======================================== |
| 6 | == Styles for the S/Mime in composer window. |
| 7 | ======================================================================= */ |
| 8 | |
| 9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 10 | |
| 11 | #button-security { |
| 12 | list-style-image: url("chrome://messenger/skin/smime/icons/smimeicons.png"); |
| 13 | -moz-image-region: rect(0px 25px 21px 0px); |
| 14 | } |
| 15 | |
| 16 | #button-security:not([disabled="true"]):hover, |
| 17 | #button-security:not([disabled="true"]):hover:active, |
| 18 | #button-security[open="true"] { |
| 19 | -moz-image-region: rect(0px 75px 21px 50px); |
| 20 | } |
| 21 | |
| 22 | #button-security[disabled="true"] { |
| 23 | -moz-image-region: rect(0px 50px 21px 25px); |
| 24 | } |
| 25 | |
| 26 | toolbar[iconsize="small"] > #button-security, |
| 27 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-security { |
| 28 | list-style-image: url("chrome://messenger/skin/smime/icons/smimeicons-small.png"); |
| 29 | -moz-image-region: rect(0 16px 16px 0px); |
| 30 | } |
| 31 | |
| 32 | toolbar[iconsize="small"] > #button-security:not([disabled="true"]):hover, |
| 33 | toolbar[iconsize="small"] > #button-security:not([disabled="true"]):hover:active, |
| 34 | toolbar[iconsize="small"] > #button-security[open="true"] { |
| 35 | -moz-image-region: rect(0px 48px 16px 32px); |
| 36 | } |
| 37 | |
| 38 | toolbar[iconsize="small"] > #button-security[disabled="true"] { |
| 39 | -moz-image-region: rect(0 32px 16px 16px); |
| 40 | } |
| 41 | |
| 42 | #msgcomposeWindow #signing-status { |
| 43 | list-style-image: none; |
| 44 | visibility: collapse; |
| 45 | } |
| 46 | |
| 47 | #msgcomposeWindow[signing="ok"] #signing-status { |
| 48 | list-style-image: url("chrome://messenger/skin/smime/icons/sbSignOk.gif"); |
| 49 | visibility: visible; |
| 50 | } |
| 51 | |
| 52 | #msgcomposeWindow[signing="notok"] #signing-status { |
| 53 | list-style-image: url("chrome://messenger/skin/smime/icons/sbSignNotOk.gif"); |
| 54 | visibility: visible; |
| 55 | } |
| 56 | |
| 57 | |
| 58 | #msgcomposeWindow #encryption-status { |
| 59 | list-style-image: none; |
| 60 | visibility: collapse; |
| 61 | } |
| 62 | |
| 63 | #msgcomposeWindow[crypto="ok"] #encryption-status { |
| 64 | list-style-image: url("chrome://messenger/skin/smime/icons/sbCryptoOk.gif"); |
| 65 | visibility: visible; |
| 66 | } |
| 67 | |
| 68 | #msgcomposeWindow[crypto="notok"] #encryption-status { |
| 69 | list-style-image: url("chrome://messenger/skin/smime/icons/sbCryptoNotOk.gif"); |
| 70 | visibility: visible; |
| 71 | } |