update both themes for changes in suite classic for SeaMonkey 2.6
[themes.git] / LCARStrek / communicator / communicator.css
index 578c394249a5fa3d5ccc268d5430194455bfdc12..5c8a3a22a8be36d6a1c0e7baf2defb1f9b247db0 100644 (file)
@@ -39,8 +39,6 @@
 @import url("chrome://communicator/content/communicator.css");
 @import url("chrome://communicator/skin/brand.css");
 @import url("chrome://communicator/skin/button.css");
-@import url("chrome://communicator/skin/formatting.css");
-/* the line below is only LCARStrek */
 @import url("chrome://communicator/skin/toolbar.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
    == Styles shared everywhere throughout the Communicator suite.
    ========================================================================== */
 
+toolbar {
+  -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar");
+}
+
+menubar,
+toolbar[type="menubar"] {
+  -moz-binding: url("chrome://global/skin/globalBindings.xml#grippymenubar");
+}
+
 .toolbar-primary {
-  -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-primary");
+  -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar-primary");
+}
+
+toolbar[xpfe="false"] {
+  -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
+}
+
+menubar[xpfe="false"] {
+  -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
 }
 
+/* ::::: autocomplete ::::: */
+
+.autocomplete-history-popup {
+  max-height: 25em;
+}
+
+/* ::::: online/offline icons ::::: */
+
 #offline-status[offline="true"] {
   list-style-image: url("chrome://communicator/skin/icons/offline.gif");
 }
   margin: 0px !important;
 }
 
-/* ::::: download manager ::::: */
+/* ::::: iconic menus and menuitems ::::: */
 
-#downloadView > treechildren::-moz-tree-image(Name) {
-  margin-right: 2px;
+menu.menu-iconic > .menu-iconic-left,
+menuitem.menuitem-iconic > .menu-iconic-left {
+  display: -moz-box;
 }
 
-/* :::::: autoscroll popup ::::: */
+/* ::::: sync notification ::::: */
 
-#autoscroller {
-  height: 28px;
-  width: 28px;
-  border: 0px;
-  margin: -14px;
-  padding: 0px;
-  background-image: url("chrome://communicator/skin/icons/autoscroll.gif");
+#sync-notifications > notification {
+  margin-top: 3px;
 }
-#autoscroller[scrolldir="NS"] {
-  background-image: url("chrome://communicator/skin/icons/autoscroll-ns.gif");
+
+#sync-notifications > notification > .notification-inner > hbox > button {
+  margin: 0;
 }
-#autoscroller[scrolldir="EW"] {
-  background-image: url("chrome://communicator/skin/icons/autoscroll-ew.gif");
+
+/******* lightweight themes *******/
+
+toolbar button:-moz-lwtheme,
+toolbar menulist:-moz-lwtheme:not([open="true"]),
+toolbar textbox:-moz-lwtheme:not([focused="true"]) {
+  opacity: .8;
+}
+
+treecols:-moz-lwtheme {
+  text-shadow: none;
+  color: #000000;
+  background-color: #9C9CFF;
+}
+
+/* ::::: toolbar print button ::::: */
+#print-button {
+  list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
+  -moz-image-region: rect(0px 25px 21px 0px);
+}
+
+#print-button[disabled="true"] {
+  -moz-image-region: rect(0px 50px 21px 25px);
+}
+
+#print-button:not([disabled="true"]):hover,
+#print-button:not([disabled="true"]):hover:active,
+#print-button[open="true"] {
+  -moz-image-region: rect(0px 75px 21px 50px);
+}
+
+toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
+toolbar[iconsize="small"] > #print-button {
+  list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
+  -moz-image-region: rect(0 16px 16px 0);
+}
+
+toolbar[iconsize="small"] > #print-button[disabled="true"] {
+  -moz-image-region: rect(0 32px 16px 16px) !important;
+}
+
+toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(0 48px 16px 32px);
 }