sync both themes with suite classic theme changes in SeaMonkey 2.39-2.41 cycles
[themes.git] / LCARStrek / messenger / primaryToolbar.css
index 2c6799482ff62ebab406ff26552fc1779f054d71..c85c4157525acfb94332ce8f2a2b16a3bbc3985b 100644 (file)
@@ -1,39 +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):
- *   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/. */
 
 /* ===== primaryToolbar.css =============================================
   == Images for the Mail primary toolbar.
@@ -210,21 +177,6 @@ toolbarpaletteitem > #button-delete {
   -moz-image-region: rect(84px 75px 105px 50px);
 }
 
-#button-print {
-  list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
-  -moz-image-region: rect(0px 25px 21px 0px);
-}
-
-#button-print:not([disabled="true"]):hover,
-#button-print:not([disabled="true"]):hover:active,
-#button-print[open="true"] {
-  -moz-image-region: rect(0px 75px 21px 50px);
-}
-
-#button-print[disabled="true"] {
-  -moz-image-region: rect(0px 50px 21px 25px);
-}
-
 #button-stop {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
   -moz-image-region: rect(21px 25px 42px 0px);
@@ -253,9 +205,39 @@ toolbarpaletteitem > #button-delete {
   -moz-image-region: rect(252px 75px 273px 50px);
 }
 
+#sync-button {
+  list-style-image: url("chrome://communicator/skin/sync/sync-32.png");
+}
+
+#sync-button[status=active] {
+  list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png");
+}
+
+#locationFolders {
+  width: 22em;
+}
+
+toolbarpaletteitem[place="palette"] > #folder-location-container > #locationFolders {
+  max-width: 11em;
+}
+
+toolbarpaletteitem[place="palette"] > #search-container > #searchInput {
+  max-width: 11em;
+}
+
+toolbarpaletteitem[place="palette"] > #mailviews-container > #viewPicker {
+  max-width: 11em;
+}
+
+#viewPickerPopup > menuitem > .menu-iconic-left,
+#viewPickerPopup > menu > menupopup > menuitem > .menu-iconic-left {
+  display: -moz-box !important;
+}
+
 /* ::::: small primary toolbar buttons ::::: */
 
-toolbar[iconsize="small"] > #button-getmsg {
+toolbar[iconsize="small"] > #button-getmsg,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-getmsg {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(48px 16px 64px 0);
 }
@@ -270,7 +252,8 @@ toolbar[iconsize="small"] > #button-getmsg[open="true"] {
   -moz-image-region: rect(48px 48px 64px 32px);
 }
 
-toolbar[iconsize="small"] > #button-newmsg {
+toolbar[iconsize="small"] > #button-newmsg,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmsg {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(80px 16px 96px 0);
 }
@@ -284,7 +267,8 @@ toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover:active {
   -moz-image-region: rect(80px 48px 96px 32px);
 }
 
-toolbar[iconsize="small"] > #button-reply {
+toolbar[iconsize="small"] > #button-reply,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-reply {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(112px 16px 128px 0);
 }
@@ -299,7 +283,8 @@ toolbar[iconsize="small"] > #button-reply[open="true"] {
   -moz-image-region: rect(112px 48px 128px 32px);
 }
 
-toolbar[iconsize="small"] > #button-replyall {
+toolbar[iconsize="small"] > #button-replyall,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-replyall {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(128px 16px 144px 0);
 }
@@ -314,7 +299,8 @@ toolbar[iconsize="small"] > #button-replyall[open="true"] {
   -moz-image-region: rect(128px 48px 144px 32px);
 }
 
-toolbar[iconsize="small"] > #button-forward {
+toolbar[iconsize="small"] > #button-forward,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-forward {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(32px 16px 48px 0);
 }
@@ -329,7 +315,8 @@ toolbar[iconsize="small"] > #button-forward[open="true"] {
   -moz-image-region: rect(32px 48px 48px 32px);
 }
 
-toolbar[iconsize="small"] > #button-file {
+toolbar[iconsize="small"] > #button-file,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-file {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(16px 16px 32px 0);
 }
@@ -344,7 +331,8 @@ toolbar[iconsize="small"] > #button-file[open="true"] {
   -moz-image-region: rect(16px 48px 32px 32px);
 }
 
-toolbar[iconsize="small"] > #button-goback {
+toolbar[iconsize="small"] > #button-goback,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-goback {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
   -moz-image-region: rect(32px 16px 48px 0);
 }
@@ -359,7 +347,8 @@ toolbar[iconsize="small"] > #button-goback[open="true"] {
   -moz-image-region: rect(32px 48px 48px 32px);
 }
 
-toolbar[iconsize="small"] > #button-goforward {
+toolbar[iconsize="small"] > #button-goforward,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-goforward {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
   -moz-image-region: rect(48px 16px 64px 0);
 }
@@ -374,7 +363,8 @@ toolbar[iconsize="small"] > #button-goforward[open="true"] {
   -moz-image-region: rect(48px 48px 64px 32px);
 }
 
-toolbar[iconsize="small"] > #button-next {
+toolbar[iconsize="small"] > #button-next,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-next {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(96px 16px 112px 0);
 }
@@ -389,7 +379,8 @@ toolbar[iconsize="small"] > #button-next[open="true"] {
   -moz-image-region: rect(96px 48px 112px 32px);
 }
 
-toolbar[iconsize="small"] > #button-delete {
+toolbar[iconsize="small"] > #button-delete,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-delete {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(0 16px 16px 0);
 }
@@ -403,7 +394,8 @@ toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover:active {
   -moz-image-region: rect(0 48px 16px 32px);
 }
 
-toolbar[iconsize="small"] > #button-mark {
+toolbar[iconsize="small"] > #button-mark,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-mark {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(64px 16px 80px 0);
 }
@@ -418,7 +410,8 @@ toolbar[iconsize="small"] > #button-mark[open="true"] {
   -moz-image-region: rect(64px 48px 80px 32px);
 }
 
-toolbar[iconsize="small"] > #button-junk {
+toolbar[iconsize="small"] > #button-junk,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-junk {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(192px 16px 208px 0);
 }
@@ -432,21 +425,8 @@ toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover:active {
   -moz-image-region: rect(192px 48px 208px 32px);
 }
 
-toolbar[iconsize="small"] > #button-print {
-  list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
-  -moz-image-region: rect(0 16px 16px 0);
-}
-
-toolbar[iconsize="small"] > #button-print[disabled="true"] {
-  -moz-image-region: rect(0 32px 16px 16px);
-}
-
-toolbar[iconsize="small"] > #button-print:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-print:not([disabled="true"]):hover:active {
-  -moz-image-region: rect(0 48px 16px 32px);
-}
-
-toolbar[iconsize="small"] > #button-stop {
+toolbar[iconsize="small"] > #button-stop,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-stop {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
   -moz-image-region: rect(16px 16px 32px 0);
 }
@@ -460,34 +440,72 @@ toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover:active {
   -moz-image-region: rect(16px 48px 32px 32px);
 }
 
+toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button,
+toolbar[iconsize="small"] > #sync-button {
+  list-style-image: url("chrome://communicator/skin/sync/sync-16.png");
+}
+
+toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active],
+toolbar[iconsize="small"] > #sync-button[status=active] {
+  list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png");
+}
+
+/* ::::: Lightning icon sizes ::::: */
+
+#lightning-button-calendar > .toolbarbutton-icon,
+#lightning-button-tasks > .toolbarbutton-icon,
+#extractEventButton > .toolbarbutton-icon,
+#extractTaskButton > .toolbarbutton-icon,
+#extractEventButton > .box-inherit > .toolbarbutton-icon,
+#extractTaskButton > .box-inherit > .toolbarbutton-icon {
+  width: 29px;
+  height: 29px;
+}
+
+toolbar[iconsize="small"] > #lightning-button-calendar > .toolbarbutton-icon,
+toolbar[iconsize="small"] > #lightning-button-tasks > .toolbarbutton-icon,
+toolbar[iconsize="small"] > #extractEventButton > .box-inherit > .toolbarbutton-icon,
+toolbar[iconsize="small"] > #extractTaskButton > .box-inherit > .toolbarbutton-icon {
+  width: 19px;
+  height: 19px;
+}
+
+#lightning-button-calendar[disabled="true"] > .toolbarbutton-icon,
+#lightning-button-tasks[disabled="true"] > .toolbarbutton-icon,
+#extractEventButton[disabled="true"] > .box-inherit > .toolbarbutton-icon,
+#extractTaskButton[disabled="true"] > .box-inherit > .toolbarbutton-icon {
+  opacity: 0.3;
+}
+
 /* ::::: message notification bar style rules ::::: */
 
+#msgNotificationBar:not([collapsed="true"]) > .msgNotificationBar {
+  margin-bottom: 3px;
+}
+
 .msgNotificationBar {
-  -moz-border-radius: 7px;
+  border-radius: 7px;
   padding: 3px;
-  margin-bottom: 3px;
   background-color: #FF9F00;
   color: #000000;
 }
 
-.msgNotificationBarText {
-  font-weight: bold;
+.msgNotificationBar:-moz-lwtheme {
+  text-shadow: none;
 }
 
-#junkBarImage {
-  list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif");
+.messageImage[value="remoteContent"] {
+  list-style-image: url("chrome://messenger/skin/icons/remote-blocked.png");
 }
 
-#junkIcon {
-  -moz-margin-start: 0.5ex;
-  list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
+.messageImage[value="junkContent"] {
+  list-style-image: url("chrome://messenger/skin/icons/junk.png");
 }
 
-#remoteContentImage {
-  list-style-image: url("chrome://messenger/skin/toolbar/remote-blocked.png");
-  padding: 3px;
+.messageImage[value="phishingContent"] {
+  list-style-image: url("chrome://messenger/skin/icons/phishing.png");
 }
 
-#allowRemoteContentForAuthorDesc {
-  -moz-padding-start: 10px;
+.messageImage[value="mdnContent"] {
+  list-style-image: url("chrome://messenger/skin/icons/info.png");
 }