Revision control

Copy as Markdown

Other Tools

/* 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.
======================================================================= */
/* ::::: primary toolbar buttons ::::: */
#button-send {
-moz-image-region: rect(330px 29px 359px 0);
}
#button-send:hover {
-moz-image-region: rect(330px 59px 359px 30px);
}
#button-send:hover:active {
-moz-image-region: rect(330px 89px 359px 60px);
}
#button-send[disabled="true"] {
-moz-image-region: rect(330px 119px 359px 90px) !important;
}
#button-address {
-moz-image-region: rect(270px 29px 299px 0);
}
#button-address:hover {
-moz-image-region: rect(270px 59px 299px 30px);
}
#button-address:hover:active {
-moz-image-region: rect(270px 89px 299px 60px);
}
#button-address[disabled="true"] {
-moz-image-region: rect(270px 119px 299px 90px) !important;
}
#button-attach {
-moz-image-region: rect(300px 29px 329px 0);
}
#button-attach:hover {
-moz-image-region: rect(300px 59px 329px 30px);
}
#button-attach:hover:active {
-moz-image-region: rect(300px 89px 329px 60px);
}
#button-attach[disabled="true"] {
-moz-image-region: rect(300px 119px 329px 90px) !important;
}
#spellingButton {
list-style-image: url("chrome://editor/skin/icons/editoricons.png");
-moz-image-region: rect(240px 29px 269px 0);
}
#spellingButton:hover {
-moz-image-region: rect(240px 59px 269px 30px);
}
#spellingButton:hover:active {
-moz-image-region: rect(240px 89px 269px 60px);
}
#spellingButton[disabled="true"] {
-moz-image-region: rect(240px 119px 269px 90px) !important;
}
#button-save {
list-style-image: url("chrome://editor/skin/icons/editoricons.png");
-moz-image-region: rect(210px 29px 239px 0);
}
#button-save:hover {
-moz-image-region: rect(210px 59px 239px 30px);
}
#button-save:hover:active {
-moz-image-region: rect(210px 89px 239px 60px);
}
#button-save[disabled="true"] {
-moz-image-region: rect(210px 119px 239px 90px) !important;
}
/* ::::: small primary toolbar buttons ::::: */
toolbar[iconsize="small"] > #button-send,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-send {
-moz-image-region: rect(220px 19px 239px 0);
}
toolbar[iconsize="small"] > #button-send:hover {
-moz-image-region: rect(220px 39px 239px 20px);
}
toolbar[iconsize="small"] > #button-send:hover:active {
-moz-image-region: rect(220px 59px 239px 40px);
}
toolbar[iconsize="small"] > #button-send[disabled="true"] {
-moz-image-region: rect(220px 79px 239px 60px) !important;
}
toolbar[iconsize="small"] > #button-address,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-address {
-moz-image-region: rect(180px 19px 199px 0);
}
toolbar[iconsize="small"] > #button-address:hover {
-moz-image-region: rect(180px 39px 199px 20px);
}
toolbar[iconsize="small"] > #button-address:hover:active {
-moz-image-region: rect(180px 59px 199px 40px);
}
toolbar[iconsize="small"] > #button-address[disabled="true"] {
-moz-image-region: rect(180px 79px 199px 60px) !important;
}
toolbar[iconsize="small"] > #button-attach,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-attach {
-moz-image-region: rect(200px 19px 219px 0);
}
toolbar[iconsize="small"] > #button-attach:hover {
-moz-image-region: rect(200px 39px 219px 20px);
}
toolbar[iconsize="small"] > #button-attach:hover:active {
-moz-image-region: rect(200px 59px 219px 40px);
}
toolbar[iconsize="small"] > #button-attach[disabled="true"] {
-moz-image-region: rect(200px 79px 219px 60px) !important;
}
toolbar[iconsize="small"] > #spellingButton,
toolbar[iconsize="small"] > toolbarpaletteitem > #spellingButton {
-moz-image-region: rect(160px 19px 179px 0);
}
toolbar[iconsize="small"] > #spellingButton:hover {
-moz-image-region: rect(160px 39px 179px 20px);
}
toolbar[iconsize="small"] > #spellingButton:hover:active {
-moz-image-region: rect(160px 59px 179px 40px);
}
toolbar[iconsize="small"] > #spellingButton[disabled="true"] {
-moz-image-region: rect(160px 79px 179px 60px) !important;
}
toolbar[iconsize="small"] > #button-save,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-save {
-moz-image-region: rect(140px 19px 159px 0);
}
toolbar[iconsize="small"] > #button-save:hover {
-moz-image-region: rect(140px 39px 159px 20px);
}
toolbar[iconsize="small"] > #button-save:hover:active {
-moz-image-region: rect(140px 59px 159px 40px);
}
toolbar[iconsize="small"] > #button-save[disabled="true"] {
-moz-image-region: rect(140px 79px 159px 60px) !important;
}
/* ::::: special toolbar colors ::::: */
#content-frame {
border-left: 1px solid ThreeDDarkShadow;
border-right: 1px solid ThreeDLightShadow;
}
#appcontent {
border-left: 1px solid ThreeDShadow;
border-right: 1px solid ThreeDHighlight;
}
#attachmentbucket-sizer {
border-top: none;
border-bottom: none;
}
#compose-toolbar-sizer {
border-top-width: 1px;
border-left: none;
border-right: none;
border-top-color: ThreeDHighlight;
}
#msgSubject {
margin-top: 0px;
margin-bottom: 4px;
}
#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;
}
treechildren::-moz-tree-image(remote-abook) {
margin-top: 2px;
margin-bottom: 2px;
margin-inline-start: 2px;
margin-inline-end: -3px;
}
treechildren::-moz-tree-image(remote-err) {
margin-top: 2px;
margin-bottom: 2px;
margin-inline-start: 2px;
margin-inline-end: -3px;
}
treechildren::-moz-tree-image(subscribed-news) {
margin-inline-start: 2px;
margin-inline-end: -3px;
}
/* ::::: compact menulists ::::: */
.menulist-compact {
-moz-appearance: none;
-moz-box-align: center;
-moz-box-pack: center;
margin: 0;
border: 1px solid;
border-top-color: ThreeDLightShadow;
border-right-color: ThreeDDarkShadow;
border-bottom-color: ThreeDDarkShadow;
border-left-color: ThreeDLightShadow;
background-color: ThreeDFace;
color: ButtonText;
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}
.menulist-compact[open="true"] {
border-top-color: ThreeDDarkShadow;
border-right-color: ThreeDDarkShadow;
border-bottom-color: ThreeDDarkShadow;
border-left-color: ThreeDDarkShadow;
}
.menulist-compact[disabled="true"] {
}
.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 > .menulist-label-box,
.menulist-compact[open="true"]:focus > .menulist-label-box {
-moz-appearance: none;
border: 1px solid transparent;
background: transparent;
color: inherit;
}
.menulist-compact:-moz-focusring > .menulist-label-box {
border: 1px dotted;
}
#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;
}