From: Robert Kaiser Date: Sun, 29 Jan 2012 19:48:13 +0000 (+0100) Subject: adjust both themes for SeaMonkey 2.7 changes, i.e. bug 576402 X-Git-Tag: LCARStrek-2.8~13 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=08682b188c6be77cf7bcbeb17df91c4879e913b2;p=themes.git adjust both themes for SeaMonkey 2.7 changes, i.e. bug 576402 --- diff --git a/EarlyBlue/messenger/addressbook/addressbook.css b/EarlyBlue/messenger/addressbook/addressbook.css index 5bf72e07..00a9dc94 100644 --- a/EarlyBlue/messenger/addressbook/addressbook.css +++ b/EarlyBlue/messenger/addressbook/addressbook.css @@ -101,6 +101,68 @@ -moz-image-region: rect(0px 50px 21px 25px); } +/* ::::: small primary toolbar buttons ::::: */ + +toolbar[iconsize="small"] > #button-newcard, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(32px 16px 48px 0); +} + +toolbar[iconsize="small"] > #button-newcard[disabled] { + -moz-image-region: rect(32px 32px 48px 16px); +} + +toolbar[iconsize="small"] > #button-newlist, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(48px 16px 64px 0); +} + +toolbar[iconsize="small"] > #button-newlist[disabled] { + -moz-image-region: rect(48px 32px 64px 16px); +} + +toolbar[iconsize="small"] > #button-editcard, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(16px 16px 32px 0); +} + +toolbar[iconsize="small"] > #button-editcard[disabled] { + -moz-image-region: rect(16px 32px 32px 16px); +} + +toolbar[iconsize="small"] > #button-newmessage, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage { + list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); + -moz-image-region: rect(80px 16px 96px 0); +} + +toolbar[iconsize="small"] > #button-newmessage[disabled="true"] { + -moz-image-region: rect(80px 32px 96px 16px); +} + +toolbar[iconsize="small"] > #button-newim, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(64px 16px 80px 0); +} + +toolbar[iconsize="small"] > #button-newim[disabled] { + -moz-image-region: rect(64px 32px 80px 16px); +} + +toolbar[iconsize="small"] > #button-abdelete, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(0 16px 16px 0); +} + +toolbar[iconsize="small"] > #button-abdelete[disabled] { + -moz-image-region: rect(0 32px 16px 16px); +} + /* CardView styles - used in the Card View Pane */ #CardViewOuterBox { diff --git a/EarlyBlue/messenger/addressbook/icons/addressbookicons-small.png b/EarlyBlue/messenger/addressbook/icons/addressbookicons-small.png new file mode 100644 index 00000000..f6b44b55 Binary files /dev/null and b/EarlyBlue/messenger/addressbook/icons/addressbookicons-small.png differ diff --git a/LCARStrek/messenger/addressbook/addressbook.css b/LCARStrek/messenger/addressbook/addressbook.css index ba402279..8f6be2b0 100644 --- a/LCARStrek/messenger/addressbook/addressbook.css +++ b/LCARStrek/messenger/addressbook/addressbook.css @@ -131,6 +131,98 @@ -moz-image-region: rect(0px 75px 21px 50px); } +/* ::::: small primary toolbar buttons ::::: */ + +toolbar[iconsize="small"] > #button-newcard, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(32px 16px 48px 0); +} + +toolbar[iconsize="small"] > #button-newcard[disabled] { + -moz-image-region: rect(32px 32px 48px 16px); +} + +toolbar[iconsize="small"] > #button-newcard:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-newcard:not([disabled="true"]):hover:active { + -moz-image-region: rect(32px 48px 48px 32px); +} + +toolbar[iconsize="small"] > #button-newlist, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(48px 16px 64px 0); +} + +toolbar[iconsize="small"] > #button-newlist[disabled] { + -moz-image-region: rect(48px 32px 64px 16px); +} + +toolbar[iconsize="small"] > #button-newlist:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-newlist:not([disabled="true"]):hover:active { + -moz-image-region: rect(48px 48px 64px 32px); +} + +toolbar[iconsize="small"] > #button-editcard, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(16px 16px 32px 0); +} + +toolbar[iconsize="small"] > #button-editcard[disabled] { + -moz-image-region: rect(16px 32px 32px 16px); +} + +toolbar[iconsize="small"] > #button-editcard:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-editcard:not([disabled="true"]):hover:active { + -moz-image-region: rect(16px 48px 32px 32px); +} + +toolbar[iconsize="small"] > #button-newmessage, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage { + list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); + -moz-image-region: rect(80px 16px 96px 0); +} + +toolbar[iconsize="small"] > #button-newmessage[disabled="true"] { + -moz-image-region: rect(80px 32px 96px 16px); +} + +toolbar[iconsize="small"] > #button-newmessage:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-newmessage:not([disabled="true"]):hover:active { + -moz-image-region: rect(80px 48px 96px 32px); +} + +toolbar[iconsize="small"] > #button-newim, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(64px 16px 80px 0); +} + +toolbar[iconsize="small"] > #button-newim[disabled] { + -moz-image-region: rect(64px 32px 80px 16px); +} + +toolbar[iconsize="small"] > #button-newim:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-newim:not([disabled="true"]):hover:active { + -moz-image-region: rect(64px 48px 80px 32px); +} + +toolbar[iconsize="small"] > #button-abdelete, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(0 16px 16px 0); +} + +toolbar[iconsize="small"] > #button-abdelete[disabled] { + -moz-image-region: rect(0 32px 16px 16px); +} + +toolbar[iconsize="small"] > #button-abdelete:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-abdelete:not([disabled="true"]):hover:active { + -moz-image-region: rect(0 48px 16px 32px); +} + /* CardView styles - used in the Card View Pane */ #CardViewOuterBox { diff --git a/LCARStrek/messenger/addressbook/icons/addressbookicons-small.png b/LCARStrek/messenger/addressbook/icons/addressbookicons-small.png new file mode 100644 index 00000000..897d23e3 Binary files /dev/null and b/LCARStrek/messenger/addressbook/icons/addressbookicons-small.png differ