-/* ::::: primary toolbar buttons ::::: */
-
-#button-send
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/send.gif");
- }
-
-#button-send[disabled="true"],
-#button-send[disabled="true"]:hover,
-#button-send[disabled="true"]:hover:active
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/send-disabled.gif");
- }
-
-#button-send[offline="true"]
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif");
- }
-
-#button-send[offline="true"][disabled="true"],
-#button-send[offline="true"][disabled="true"]:hover,
-#button-send[offline="true"][disabled="true"]:hover:active
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif");
- }
-
-#button-address
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/address.gif");
- }
-
-#button-address[disabled="true"],
-#button-address[disabled="true"]:hover,
-#button-address[disabled="true"]:hover:active
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif");
- }
-
-#button-attach
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif");
- }
-
-#button-attach[disabled="true"],
-#button-attach[disabled="true"]:hover,
-#button-attach[disabled="true"]:hover:active
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif");
- }
-
-#button-quote
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif");
- }
-
-#button-quote[disabled="true"],
-#button-quote[disabled="true"]:hover,
-#button-quote[disabled="true"]:hover:active
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif");
- }
-
-#spellingButton
- {
- list-style-image : url("chrome://editor/skin/images/spell.gif");
- }
-
-#spellingButton[disabled="true"],
-#spellingButton[disabled="true"]:hover,
-#spellingButton[disabled="true"]:hover:active
- {
- list-style-image : url("chrome://editor/skin/images/spell-disabled.gif");
- }
-
-#button-save
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif");
- }
-
-#button-save[disabled="true"],
-#button-save[disabled="true"]:hover,
-#button-save[disabled="true"]:hover:active
- {
- list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif");
- }
-
-#button-stop
- {
- list-style-image : url("chrome://global/skin/stop.gif");
- }
-
-#button-stop[disabled="true"],
-#button-stop[disabled="true"]:hover,
-#button-stop[disabled="true"]:hover:active
- {
- list-style-image : url("chrome://global/skin/stop-disabled.gif");
- }
-
-/* addressing widget */
-
-#addressingWidgetTree
- {
- height : 80px;
- width : 0px;
- margin : 0px;
- -moz-user-focus : none;
- background-color : #FFFFFF;
- }
-
-#listcol-addressingWidget
- {
- width : 9em;
- border-right : 1px solid #CCD0DD;
- }
-
-#addressingWidgetTree > treechildren > treeitem > treerow,
-#addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow {
- border : none;
- background-color : inherit;
- color : inherit;
-}
-
-.treecell-addressingWidget
- {
- border-bottom : 1px solid #CCD0DD;
- padding : 0px !important;
- }
-
-.treecell-addressingWidget:first-child
- {
- border-bottom : none;
- }
-
-.dummy-row-cell:first-child
- {
- border-bottom : 1px solid #CCD0DD;
- }
-
-.person-icon
- {
- list-style-image : url("chrome://messenger/skin/abcard.gif");
- margin : 0px 3px 0px 3px;
- }
-
-outlinerbody:-moz-outliner-cell-text(default-match)
- {
- margin: 2px -3px 2px 15px;
- border: none;
- }
-
-outlinerbody:-moz-outliner-image(local-abook)
- {
- margin: 2px -1px 2px 4px;
- border: none;
- list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");
- }
-
-outlinerbody:-moz-outliner-image(remote-abook)
- {
- margin: 2px -3px 2px 2px;
- border: none;
- list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif");
- }
-
-outlinerbody:-moz-outliner-image(remote-err)
- {
- margin: 2px -3px 2px 2px;
- border: none;
- list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif");
- }
-
-#msgheaderstoolbar-box
- {
-/* padding-top : 2px; */
- }
-
-/* this applies to two boxes to left and right of attachmentbucket-sizer */
-#msgheaderstoolbar-box > vbox
- {
- padding : 3px;
- }
-
-#compose-toolbar-sizer
- {
- height : 5px;
- border-top : 1px solid #CCD0DD;
- border-bottom : 1px solid #CCD0DD;
- }
-
-#content-frame
- {
- border : 1px inset #CCD0DD;
- }
-
-#appcontent
- {
-/* border-left : 1px solid ThreeDShadow;
- border-right : 1px solid ThreeDHighlight;
- border-top : 1px solid ThreeDShadow; */
- }
-
-#attachmentbucket-sizer
- {
- width : 5px;
- }
-
-#msgIdentity, #msgSubject
- {
- margin-right : 0px;
- }
-
-#msgSubject
- {
- margin-top : 2px;
- }
-
-#attachmentBucket
- {
- margin : 0px;
- -moz-user-focus : normal !important;
- }
-
-#attachmentBucketText
- {
- margin-bottom : 2px;
- -moz-user-focus : none;
- }
-
-
-/* askSendFormat dialog */
-
-#askSendFormat {
- width: 40em;
-}
-
-#askImageBox {
- -moz-box-align: start;
-}
-
-#convertYes {
- list-style-image:url("chrome://global/skin/question-icon.gif");
-}
-
-#convertAltering {
- list-style-image:url("chrome://global/skin/question-icon.gif");
-}
-
-#convertNo {
- list-style-image:url("chrome://global/skin/alert-icon.gif");
-}
-
-#convertDefault {
- list-style-image:url("chrome://global/skin/question-icon.gif");
-} /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */
+#button-send[disabled="true"] {
+ -moz-image-region: rect(231px 50px 252px 25px);
+}
+
+#button-send[offline="true"] {
+ -moz-image-region: rect(273px 25px 294px 0px);
+}
+
+#button-send[offline="true"][disabled="true"] {
+ -moz-image-region: rect(273px 50px 294px 25px);
+}
+
+#button-address {
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(189px 25px 210px 0px);
+}
+
+#button-address[disabled="true"] {
+ -moz-image-region: rect(189px 50px 210px 25px);
+}
+
+#button-attach {
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(210px 25px 231px 0px);
+}
+
+#button-attach[disabled="true"] {
+ -moz-image-region: rect(210px 50px 231px 25px);
+}
+
+#spellingButton {
+ list-style-image: url("chrome://editor/skin/icons/editoricons.png");
+ -moz-image-region: rect(168px 25px 189px 0px);
+}
+
+#spellingButton[disabled="true"] {
+ -moz-image-region: rect(168px 50px 189px 25px);
+}
+
+#button-save {
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(294px 25px 315px 0px);
+}
+
+#button-save[disabled="true"] {
+ -moz-image-region: rect(294px 50px 315px 25px);
+}
+
+/* ::::: 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[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-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-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"] > #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"] > #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);
+}
+
+toolbar[iconsize="small"] > #button-save[disabled="true"] {
+ -moz-image-region: rect(224px 32px 140px 16px);
+}
+
+#MsgHeadersToolbar {
+ min-height: 0px; /* this undoes the min-height in toolbar.css */
+}
+
+/* ::::: autocomplete icons ::::: */
+
+treechildren::-moz-tree-cell-text(default-match) {
+ margin-top: 2px;
+ margin-bottom: 2px;
+ margin-inline-start: 15px;
+ margin-inline-end: -3px;
+ border: none;
+}
+
+treechildren::-moz-tree-image(local-abook) {
+ margin-top: 2px;
+ margin-bottom: 2px;
+ margin-inline-start: 4px;
+ margin-inline-end: -1px;
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
+}
+
+treechildren::-moz-tree-image(remote-abook) {
+ margin: 2px;
+ margin-inline-end: -3px;
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
+}
+
+treechildren::-moz-tree-image(remote-err) {
+ margin: 2px;
+ margin-inline-end: -3px;
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
+}
+
+/* ::::: EarlyBlue layout corrections ::::: */
+
+#addresses-box,
+#attachments-box {
+ padding: 1px 5px;
+}
+
+#addresses-box > hbox > label,
+#attachments-box > label {
+ margin-inline-start: 0px;
+}
+
+#msgIdentity{
+ margin-inline-end: 0px;
+}
+
+#msgSubject {
+ margin-inline-end: 0px;
+}
+
+#attachmentBucket {
+ margin: 3px 0px 2px;
+}
+
+#compose-toolbar-sizer {
+ border-top: none;
+}
+
+treechildren::-moz-tree-image(subscribed-news) {
+ margin-inline-start: 2px;
+ margin-inline-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;
+ border: 1px outset #CCD0DD;
+ color: #000000;
+ list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+}
+
+.menulist-compact > .menulist-label-box {
+ border: 1px solid transparent;
+}
+
+.menulist-compact > .menulist-label-box > .menulist-label {
+ margin: 0 3px !important;
+ text-align: end;
+}
+
+.menulist-compact > .menulist-label-box > .menulist-icon {
+ margin-inline-start: 2px;
+}
+
+.menulist-compact[open="true"] {
+ border: 1px inset #CCD0DD;
+ /* color: ThreeDHighlight; */
+}
+
+.menulist-compact[disabled="true"] {
+ list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
+}
+
+.menulist-compact:-moz-focusring:not([open="true"]) > .menulist-label-box {
+ border: 1px dotted #999999;
+}
+
+#FontFaceSelect {
+ max-width: 35ch;
+}
+
+/* ::::: 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;
+}