margin: 0px !important;
}
+/* ::::: iconic menu and menuitems ::::: */
+
+menu.menu-iconic > .menu-iconic-left,
+menuitem.menuitem-iconic > .menu-iconic-left {
+ display: -moz-box;
+}
+
/* ::::: download manager ::::: */
#downloadView > treechildren::-moz-tree-image(Name) {
-moz-padding-start: 8px;
-moz-padding-end: 10px;
}
-
-/* File Field Widget */
-filefield {
- margin: 2px 4px;
- border: 1px inset #CCD0DD;
-}
-
-.fileFieldContentBox {
- background-color: #CCD0DD;
-}
-
-filefield[disabled="true"] {
- color: #CCCCCC;
- border: 1px solid #666699;
-}
-
-.fileFieldIcon[disabled="true"] {
- opacity: 0.4;
-}
-
-.fileFieldIcon {
- width: 16px;
- height: 16px;
- margin-top: 1px;
- margin-bottom: 1px;
- -moz-margin-start: 1px;
- -moz-margin-end: 4px;
-}
-
-.fileFieldLabel {
- -moz-appearance: none;
- background-color: transparent;
- border: none;
- margin: 0px;
-}
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-/* The defaults are WAY to big! */
-groupbox {
- margin: 2px 5px /* 4px 5px */;
- padding-top: 2px;
- padding-bottom: 4px;
-}
-
.MinWidth5em {
min-width: 5em;
}
font-weight: bold;
}
-/* Use this with groove-thin in dialogs
- to add margins to top and bottom
-*/
-.tb-margin {
- margin-top: 6px;
- margin-bottom: 6px;
-}
-
.color-well {
width: 20px;
height: 12px;
margin: 2px;
}
-.menu-list[focused="true"] {
- color: white;
-}
-
#ColorPicker {
-moz-user-focus: normal;
}
-moz-margin-end: 2px;
}
-/* temporary -- we need a simple box-based list defined in XBL */
-tree.list {
- border: 1px inset #CCD0DD;
- /* same as in menulist.css */
- margin: 1px 5px 2px;
- /* use rows="#" in XUL to define height */
-}
-
#ColorPreview {
border: 1px inset #CCD0DD;
-moz-margin-start: 10px;
min-height: 50px;
}
-#alignTypeSelect,
-label#alignLabel {
- -moz-margin-start: 5px;
-}
-
/* ::::: table properties dialog ::::: */
#MoreFewerButton[more="0"] {
/* ::::: spelling dialog ::::: */
-#MisspelledWord {
- font-weight: bold;
-}
-
#ReplaceWordInput {
min-width: 16em;
width: 16em;
min-width: 16px;
}
-#alignTypeSelect {
- height: 34px;
+.align-menu > .menu-iconic-left > .menu-iconic-icon {
+ height: auto;
+ width: auto;
}
.align-menu[value="top"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-top.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-top.gif") !important;
}
.align-menu[value="center"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif") !important;
}
.align-menu[value="bottom"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif") !important;
}
.align-menu[value="right"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-right.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-right.gif") !important;
}
.align-menu[value="left"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-left.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-left.gif") !important;
}
/* Don't change width/height of these without changing values in
/* ::::: select edit dialog ::::: */
-#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-false) {
- background: url("chrome://global/skin/checkbox/cbox.gif") 50% 50% no-repeat;
-}
-
#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) {
background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat;
}
.button-menu-dropmarker,
.button-menubutton-dropmarker {
margin: 1px;
- min-width: 11px;
- min-height: 11px;
+ width: 11px;
+ height: 11px;
background-color: transparent;
border: none;
}
menu.push[disabled="true"]:hover:active {
color: #999999;
}
-
-/* ::::: askSendFormat.xul ::::: */
-
-askSendFormat {
- width: 40em;
-}
-
-#askImageBox {
- -moz-box-align: start;
-}
-
-#convertYes,
-#convertAltering {
- list-style-image:url("chrome://global/skin/icons/alert-question.gif");
-}
-
-#convertNo {
- list-style-image:url("chrome://global/skin/icons/alert-exclam.gif");
-}
-
-/* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */
-#convertDefault {
- list-style-image:url("chrome://global/skin/icons/alert-question.gif");
-}
-moz-image-region: rect(294px 50px 315px 25px);
}
-#button-stop {
- list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
- -moz-image-region: rect(21px 25px 42px 0px);
+/* ::::: small primary toolbar buttons ::::: */
+
+/* TODO: correct coords!
+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(220px 19px 239px 0);
+}
+
+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 {
+ list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
+ -moz-image-region: rect(180px 19px 199px 0);
+}
+
+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 {
+ list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
+ -moz-image-region: rect(200px 19px 219px 0);
+}
+
+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 {
+ list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
+ -moz-image-region: rect(160px 19px 179px 0);
+}
+
+toolbar[iconsize="small"] > #spellingButton[disabled="true"] {
+ -moz-image-region: rect(160px 79px 179px 60px) !important;
}
-#button-stop[disabled="true"] {
- -moz-image-region: rect(21px 50px 42px 25px);
+toolbar[iconsize="small"] > #button-save,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-save {
+ list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
+ -moz-image-region: rect(140px 19px 159px 0);
}
+toolbar[iconsize="small"] > #button-save[disabled="true"] {
+ -moz-image-region: rect(140px 79px 159px 60px) !important;
+}
+*/
#MsgHeadersToolbar {
min-height: 0px; /* this undoes the min-height in toolbar.css */
}
/* ::::: 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);
}
-moz-image-region: rect(48px 32px 64px 16px);
}
-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);
}
-moz-image-region: rect(80px 32px 96px 16px);
}
-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);
}
-moz-image-region: rect(112px 32px 128px 16px);
}
-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);
}
-moz-image-region: rect(128px 32px 144px 16px);
}
-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);
}
-moz-image-region: rect(32px 32px 48px 16px);
}
-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);
}
-moz-image-region: rect(16px 32px 32px 16px);
}
-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);
}
-moz-image-region: rect(32px 32px 48px 16px);
}
-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);
}
-moz-image-region: rect(48px 32px 64px 16px);
}
-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);
}
-moz-image-region: rect(96px 32px 112px 16px);
}
-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);
}
-moz-image-region: rect(0 32px 16px 16px);
}
-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);
}
-moz-image-region: rect(64px 32px 80px 16px);
}
-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);
}
-moz-image-region: rect(192px 32px 208px 16px);
}
-toolbar[iconsize="small"] > #button-print {
+toolbar[iconsize="small"] > #button-print,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-print {
list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
-moz-image-region: rect(0 16px 16px 0);
}
-moz-image-region: rect(0 32px 16px 16px);
}
-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);
}
margin: 0px !important;
}
+/* ::::: iconic menus and menuitems ::::: */
+
+menu.menu-iconic > .menu-iconic-left,
+menuitem.menuitem-iconic > .menu-iconic-left {
+ display: -moz-box;
+}
+
/* ::::: download manager ::::: */
#downloadView > treechildren::-moz-tree-image(Name) {
dialogheader {
-moz-margin-start: 3px;
}
-
-/* File Field Widget */
-filefield {
- margin: 2px 4px;
- border: 1px solid #9C9CFF;
-}
-
-.fileFieldContentBox {
- background-color: #000000;
-}
-
-filefield[disabled="true"] {
- color: #8050B0;
- border: 1px solid #8050B0;
-}
-
-.fileFieldIcon[disabled="true"] {
- opacity: 0.4;
-}
-
-.fileFieldIcon {
- width: 16px;
- height: 16px;
- margin-top: 1px;
- margin-bottom: 1px;
- -moz-margin-start: 1px;
- -moz-margin-end: 4px;
-}
-
-.fileFieldLabel {
- -moz-appearance: none;
- background-color: transparent;
- border: none;
- margin: 0px;
-}
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-/*
- THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
- CHANGES REVIEWED BY cmanske@netscape.com.
-*/
-
-/* The defaults are WAY to big! */
-groupbox {
- margin: 2px 5px /* 4px 5px */;
- padding-top: 2px;
- padding-bottom: 4px;
-}
-
.MinWidth5em {
min-width: 5em;
}
font-weight: bold;
}
-/* Use this with groove-thin in dialogs
- to add margins to top and bottom
-*/
-.tb-margin {
- margin-top: 6px;
- margin-bottom: 6px;
-}
-
.color-well {
width: 20px;
height: 12px;
margin: 2px;
}
-.menu-list[focused="true"] {
- color: white;
-}
-
#ColorPicker {
-moz-user-focus: normal;
}
-moz-margin-end: 2px;
}
-/* temporary -- we need a simple box-based list defined in XBL */
-tree.list {
- border: 1px inset #9C9CFF;
- /* same as in menulist.css */
- margin: 1px 5px 2px;
- /* use rows="#" in XUL to define height */
-}
-
#ColorPreview {
border: 1px inset #9C9CFF;
-moz-margin-start: 10px;
min-width: 16px;
}
-#alignTypeSelect,
-label#alignLabel {
- -moz-margin-start: 5px;
-}
-
/* ::::: table properties dialog ::::: */
#MoreFewerButton[more="0"] {
/* ::::: spelling dialog ::::: */
-#MisspelledWord {
- font-weight: bold;
-}
-
#ReplaceWordInput {
min-width: 16em;
width: 16em;
min-height: 10px;
}
-#alignTypeSelect {
- height: 34px;
+.align-menu > .menu-iconic-left > .menu-iconic-icon {
+ height: auto;
+ width: auto;
}
.align-menu[value="top"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-top.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-top.gif") !important;
}
.align-menu[value="center"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif") !important;
}
.align-menu[value="bottom"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif") !important;
}
.align-menu[value="right"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-right.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-right.gif") !important;
}
.align-menu[value="left"] {
- list-style-image:url("chrome://editor/skin/icons/img-align-left.gif");
+ list-style-image:url("chrome://editor/skin/icons/img-align-left.gif") !important;
}
/* Don't change width/height of these without changing values in
/* ::::: select edit dialog ::::: */
-#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-false) {
- background: url("chrome://global/skin/checkbox/cbox.gif") 50% 50% no-repeat;
-}
-
#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) {
background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat;
}
.button-menubutton-dropmarker {
-moz-border-radius: 3px;
margin: 1px;
- min-width: 11px;
- min-height: 11px;
+ width: 11px;
+ height: 11px;
}
/* ::::: plain buttons ::::: */
menu.push[disabled="true"]:hover:active {
color: #8050B0;
}
-
-/* ::::: askSendFormat.xul ::::: */
-
-askSendFormat {
- width: 40em;
-}
-
-#askImageBox {
- -moz-box-align: start;
-}
-
-#convertYes,
-#convertAltering {
- list-style-image:url("chrome://global/skin/icons/alert-question.gif");
-}
-
-#convertNo {
- list-style-image:url("chrome://global/skin/icons/alert-exclam.gif");
-}
-
-/* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */
-#convertDefault {
- list-style-image:url("chrome://global/skin/icons/alert-question.gif");
-}
/* ::::: 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);
}
-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);
}
-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);
}
-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);
}
-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);
}
-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);
}
-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);
}
-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);
}
-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);
}
-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);
}
-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);
}
-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);
}
-moz-image-region: rect(192px 48px 208px 32px);
}
-toolbar[iconsize="small"] > #button-print {
+toolbar[iconsize="small"] > #button-print,
+toolbar[iconsize="small"] > toolbarpaletteitem > #button-print {
list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
-moz-image-region: rect(0 16px 16px 0);
}
-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);
}