| 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[disabled] { |
| 17 | -moz-image-region: rect(0px 50px 21px 25px); |
| 18 | } |
| 19 | |
| 20 | toolbar[iconsize="small"] > #button-security, |
| 21 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-security { |
| 22 | list-style-image: url("chrome://messenger/skin/smime/icons/smimeicons-small.png"); |
| 23 | -moz-image-region: rect(0 16px 16px 0px); |
| 24 | } |
| 25 | |
| 26 | toolbar[iconsize="small"] > #button-security[disabled] { |
| 27 | -moz-image-region: rect(0 32px 16px 16px); |
| 28 | } |
| 29 | |
| 30 | #msgcomposeWindow #signing-status { |
| 31 | list-style-image: none; |
| 32 | visibility: collapse; |
| 33 | } |
| 34 | |
| 35 | #msgcomposeWindow[signing="ok"] #signing-status { |
| 36 | list-style-image: url("chrome://messenger/skin/smime/icons/sbSignOk.gif"); |
| 37 | visibility: visible; |
| 38 | } |
| 39 | |
| 40 | #msgcomposeWindow[signing="notok"] #signing-status { |
| 41 | list-style-image: url("chrome://messenger/skin/smime/icons/sbSignNotOk.gif"); |
| 42 | visibility: visible; |
| 43 | } |
| 44 | |
| 45 | |
| 46 | #msgcomposeWindow #encryption-status { |
| 47 | list-style-image: none; |
| 48 | visibility: collapse; |
| 49 | } |
| 50 | |
| 51 | #msgcomposeWindow[crypto="ok"] #encryption-status { |
| 52 | list-style-image: url("chrome://messenger/skin/smime/icons/sbCryptoOk.gif"); |
| 53 | visibility: visible; |
| 54 | } |
| 55 | |
| 56 | #msgcomposeWindow[crypto="notok"] #encryption-status { |
| 57 | list-style-image: url("chrome://messenger/skin/smime/icons/sbCryptoNotOk.gif"); |
| 58 | visibility: visible; |
| 59 | } |