sync both themes with suite classic theme changes in SeaMonkey 2.32 cycle
[themes.git] / LCARStrek / messenger / messengercompose / messengercompose.css
index eafeb459f59faa2035e2f78d146fc9106e73e193..b5768e87c58415805910407d7b3df7b9f859b337 100644 (file)
@@ -1,40 +1,6 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Netscape 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/NPL/
- *
- * 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.org code.
- *
- * The Initial Developer of the Original Code is 
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   Joe Hewitt (hewitt@netscape.com)
- *   Robert Kaiser <KaiRo@KaiRo.at>
- *
- * 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 NPL, 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 NPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* ===== messengercompose.css ===========================================
   == Styles for the main Messenger Compose window.
 
 /* ===== messengercompose.css ===========================================
   == Styles for the main Messenger Compose window.
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: primary toolbar buttons ::::: */
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: primary toolbar buttons ::::: */
+
 #button-send {
 #button-send {
-  list-style-image: url("chrome://messenger/skin/messengercompose/send.gif");
+  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+  -moz-image-region: rect(231px 25px 252px 0px);
 }
 
 }
 
-#button-send:hover,
-#button-send:hover:active {
-  list-style-image: url("chrome://messenger/skin/messengercompose/send-hover.gif");
-} 
-
 #button-send[disabled="true"] {
 #button-send[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/messengercompose/send-disabled.gif") !important;
-} 
+  -moz-image-region: rect(231px 50px 252px 25px);
+}
 
 
-#button-send[offline="true"] {
-  list-style-image: url("chrome://messenger/skin/messengercompose/sendlater.gif");
+#button-send:not([disabled="true"]):hover,
+#button-send:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(231px 75px 252px 50px);
 }
 
 }
 
-#button-send[offline="true"]:hover,
-#button-send[offline="true"]:hover:active {
-  list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-hover.gif");
+#button-send[offline="true"] {
+  -moz-image-region: rect(273px 25px 294px 0px);
 }
 
 #button-send[offline="true"][disabled="true"] {
 }
 
 #button-send[offline="true"][disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif") !important;
+  -moz-image-region: rect(273px 50px 294px 25px);
 }
 
 }
 
-#button-address {
-  list-style-image: url("chrome://messenger/skin/messengercompose/address.gif");
+#button-send[offline="true"]:not([disabled="true"]):hover,
+#button-send[offline="true"]:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(273px 75px 294px 50px);
 }
 
 }
 
-#button-address:hover,
-#button-address:hover:active {
-  list-style-image: url("chrome://messenger/skin/messengercompose/address-hover.gif");
-} 
+#button-address {
+  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+  -moz-image-region: rect(189px 25px 210px 0px);
+}
 
 #button-address[disabled="true"] {
 
 #button-address[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/messengercompose/address-disabled.gif") !important;
-} 
+  -moz-image-region: rect(189px 50px 210px 25px);
+}
 
 
-#button-attach {
-  list-style-image: url("chrome://messenger/skin/messengercompose/attach.gif");
+#button-address:not([disabled="true"]):hover,
+#button-address:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(189px 75px 210px 50px);
 }
 
 }
 
-#button-attach:hover,
-#button-attach:hover:active {
-  list-style-image: url("chrome://messenger/skin/messengercompose/attach-hover.gif");
-} 
+#button-attach {
+  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+  -moz-image-region: rect(210px 25px 231px 0px);
+}
 
 #button-attach[disabled="true"] {
 
 #button-attach[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/messengercompose/attach-disabled.gif") !important;
-} 
-
-#button-quote {
-  list-style-image: url("chrome://messenger/skin/messengercompose/quote.gif");
+  -moz-image-region: rect(210px 50px 231px 25px);
 }
 
 }
 
-#button-quote:hover,
-#button-quote:hover:active {
-  list-style-image: url("chrome://messenger/skin/messengercompose/quote-hover.gif");
-} 
-
-#button-quote[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/messengercompose/quote-disabled.gif") !important;
-} 
+#button-attach:not([disabled="true"]):hover,
+#button-attach:not([disabled="true"]):hover:active,
+#button-attach[open="true"] {
+  -moz-image-region: rect(210px 75px 231px 50px);
+}
 
 #spellingButton {
 
 #spellingButton {
-  list-style-image: url("chrome://editor/skin/icons/spell.gif");
+  list-style-image: url("chrome://editor/skin/icons/editoricons.png");
+  -moz-image-region: rect(168px 25px 189px 0px);
 }
 
 }
 
-#spellingButton:hover,
-#spellingButton:hover:active {
-  list-style-image: url("chrome://editor/skin/icons/spell-hover.gif");
+#spellingButton[disabled="true"] {
+  -moz-image-region: rect(168px 50px 189px 25px);
 }
 
 }
 
-#spellingButton[disabled="true"] {
-  list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important;
+#spellingButton:not([disabled="true"]):hover,
+#spellingButton:not([disabled="true"]):hover:active,
+#spellingButton[open="true"] {
+  -moz-image-region: rect(168px 75px 189px 50px);
 }
 
 #button-save {
 }
 
 #button-save {
-  list-style-image: url("chrome://messenger/skin/messengercompose/savemsg.gif");
+  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+  -moz-image-region: rect(294px 25px 315px 0px);
 }
 
 }
 
-#button-save:hover,
-#button-save:hover:active {
-  list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-hover.gif");
-} 
-
 #button-save[disabled="true"] {
 #button-save[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif") !important;
-} 
+  -moz-image-region: rect(294px 50px 315px 25px);
+}
+
+#button-save:not([disabled="true"]):hover,
+#button-save:not([disabled="true"]):hover:active,
+#button-save[open="true"] {
+  -moz-image-region: rect(294px 75px 315px 50px);
+}
+
+/* ::::: small primary toolbar buttons ::::: */
+
+toolbar[iconsize="small"] > #button-send,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-send {
+  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
+  -moz-image-region: rect(176px 16px 192px 0);
+}
+
+toolbar[iconsize="small"] > #button-send[disabled="true"] {
+  -moz-image-region: rect(176px 32px 192px 16px);
+}
+
+toolbar[iconsize="small"] > #button-send:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #button-send:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(176px 48px 192px 32px);
+}
+
+toolbar[iconsize="small"] > #button-send[offline="true"] {
+  -moz-image-region: rect(208px 16px 224px 0);
+}
+
+toolbar[iconsize="small"] > #button-send[offline="true"][disabled="true"] {
+  -moz-image-region: rect(208px 32px 224px 16px);
+}
+
+toolbar[iconsize="small"] > #button-send[offline="true"]:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #button-send[offline="true"]:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(208px 48px 2224px 32px);
+}
+
+toolbar[iconsize="small"] > #button-address,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-address {
+  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
+  -moz-image-region: rect(144px 16px 160px 0);
+}
+
+toolbar[iconsize="small"] > #button-address[disabled="true"] {
+  -moz-image-region: rect(144px 32px 160px 16px);
+}
+
+toolbar[iconsize="small"] > #button-address:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #button-address:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(144px 48px 160px 32px);
+}
+
+toolbar[iconsize="small"] > #button-attach,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-attach {
+  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
+  -moz-image-region: rect(160px 16px 176px 0);
+}
+
+toolbar[iconsize="small"] > #button-attach[disabled="true"] {
+  -moz-image-region: rect(160px 32px 176px 16px);
+}
+
+toolbar[iconsize="small"] > #button-attach:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #button-attach:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-attach[open="true"] {
+  -moz-image-region: rect(160px 48px 176px 32px);
+}
+
+toolbar[iconsize="small"] > #spellingButton,
+toolbar[iconsize="small"] > toolbarpaletteitem > #spellingButton {
+  list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
+  -moz-image-region: rect(128px 16px 144px 0);
+}
+
+toolbar[iconsize="small"] > #spellingButton[disabled="true"] {
+  -moz-image-region: rect(128px 32px 144px 16px);
+}
+
+toolbar[iconsize="small"] > #spellingButton:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #spellingButton:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #spellingButton[open="true"] {
+  -moz-image-region: rect(128px 48px 144px 32px);
+}
+
+toolbar[iconsize="small"] > #button-save,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-save {
+  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
+  -moz-image-region: rect(224px 16px 240px 0);
+}
 
 
-#button-stop {
-  list-style-image: url("chrome://global/skin/icons/stop.gif");
+toolbar[iconsize="small"] > #button-save[disabled="true"] {
+  -moz-image-region: rect(224px 32px 240px 16px);
 }
 
 }
 
-#button-stop:hover,
-#button-stop:hover:active {
-  list-style-image: url("chrome://global/skin/icons/stop-hover.gif");
-} 
+toolbar[iconsize="small"] > #button-save:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #button-save:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-save[open="true"] {
+  -moz-image-region: rect(224px 48px 240px 32px);
+}
+
+#MsgHeadersToolbar {
+  min-height: 0px; /* this undoes the min-height in toolbar.css */
+}
 
 
-#button-stop[disabled="true"] {
-  list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
-} 
+#MsgHeadersToolbar > .toolbar-box > .toolbar-holder {
+  -moz-padding-end: 0; /* this undoes the padding in toolbar.css */
+}
 
 /* ::::: autocomplete icons ::::: */
 
 
 /* ::::: autocomplete icons ::::: */
 
-treechildren:-moz-tree-cell-text(default-match) {
-  margin: 2px -3px 2px 15px;
+treechildren::-moz-tree-cell-text(default-match) {
+  margin-top: 2px;
+  margin-bottom: 2px;
+  -moz-margin-start: 15px;
+  -moz-margin-end: -3px;
   border: none;
 }
 
   border: none;
 }
 
-treechildren:-moz-tree-image(local-abook) {
-  margin: 2px -1px 2px 4px;
+treechildren::-moz-tree-image(local-abook) {
+  margin-top: 2px;
+  margin-bottom: 2px;
+  -moz-margin-start: 4px;
+  -moz-margin-end: -1px;
   list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
 }
 
   list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
 }
 
-treechildren:-moz-tree-image(remote-abook) {
-  margin: 2px -3px 2px 2px;
+treechildren::-moz-tree-image(remote-abook) {
+  margin: 2px;
+  -moz-margin-end: -3px;
   list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
 }
 
   list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
 }
 
-treechildren:-moz-tree-image(remote-err) {
-  margin: 2px -3px 2px 2px;
+treechildren::-moz-tree-image(remote-err) {
+  margin: 2px;
+  -moz-margin-end: -3px;
   list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
 }
 
   list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
 }
 
-.identity-popup-item {
-  -moz-binding: url("chrome://messenger/content/messengercompose/mailComposeBindings.xml#fromMenuitem");
-}
-
-.composemenu-text-2 {
-  font-style: italic;
-  color: #8050B0;
-}
-
 /* ::::: LCARStrek layout corrections ::::: */
 
 #msgheaderstoolbar-box {
   background-color: #E7ADE7;
   color: #000000;
 /* ::::: LCARStrek layout corrections ::::: */
 
 #msgheaderstoolbar-box {
   background-color: #E7ADE7;
   color: #000000;
-}  
+}
 
 #addresses-box,
 #attachments-box {
 
 #addresses-box,
 #attachments-box {
@@ -195,16 +243,19 @@ treechildren:-moz-tree-image(remote-err) {
 
 #addresses-box > hbox > label,
 #attachments-box > label {
 
 #addresses-box > hbox > label,
 #attachments-box > label {
-  margin-left: 0px;
+  -moz-margin-start: 0px;
+}
+
+#msgIdentity {
+  -moz-margin-end: 0px;
 }
 
 }
 
-#msgIdentity,
 #msgSubject {
 #msgSubject {
-  margin-right: 0px;
+  -moz-margin-end: 0px;
 }
 
 #attachmentBucket {
 }
 
 #attachmentBucket {
-  margin: 3px 0px 2px 0px;
+  margin: 3px 0px 2px;
   color: #FF9F00;
 }
 
   color: #FF9F00;
 }
 
@@ -219,3 +270,58 @@ treechildren:-moz-tree-image(remote-err) {
   margin-top: 0px;
   border: none;
 }
   margin-top: 0px;
   border: none;
 }
+
+treechildren::-moz-tree-image(subscribed-news) {
+  -moz-margin-start: 2px;
+  -moz-margin-end: -3px;
+  list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.png");
+}
+
+/* ::::: compact menulists ::::: */
+
+.menulist-compact {
+  -moz-box-align: center;
+  -moz-box-pack: center;
+  margin: 0px;
+  color: #E7ADE7;
+  border: 1px solid #9C9CFF;
+  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+}
+
+.menulist-compact > .menulist-label-box > .menulist-label {
+  margin: 0 3px !important;
+  text-align: end;
+}
+
+.menulist-compact > .menulist-label-box > .menulist-icon {
+  -moz-margin-start: 2px;
+}
+
+.menulist-compact[open="true"] {
+  border: 1px solid #FFCF00;
+}
+
+.menulist-compact:hover,
+.menulist-compact[open="true"] {
+  list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
+}
+
+.menulist-compact[disabled="true"] {
+  list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
+}
+
+/* ::::: lightweight themes ::::: */
+
+#MsgHeadersToolbar:-moz-lwtheme,
+#FormatToolbar:-moz-lwtheme,
+#compose-toolbar-sizer:-moz-lwtheme {
+  text-shadow: none;
+  /* color: -moz-dialogtext;
+  background-color: -moz-dialog; */
+}
+
+#MsgHeadersToolbar textbox:-moz-lwtheme,
+#MsgHeadersToolbar menulist:-moz-lwtheme,
+.formatting-button menulist:-moz-lwtheme {
+  opacity: 1;
+}