/thunderbird-lightning-1.6/comm-beta/mail/themes/pinstripe/mail/compose/messengercompose.css

# · CSS · 1011 lines · 737 code · 218 blank · 56 comment · 0 complexity · ce492477f840154d2f4acee911dd4f2b MD5 · raw file

  1. /* ***** BEGIN LICENSE BLOCK *****
  2. * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3. *
  4. * The contents of this file are subject to the Mozilla Public License Version
  5. * 1.1 (the "License"); you may not use this file except in compliance with
  6. * the License. You may obtain a copy of the License at
  7. * http://www.mozilla.org/MPL/
  8. *
  9. * Software distributed under the License is distributed on an "AS IS" basis,
  10. * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11. * for the specific language governing rights and limitations under the
  12. * License.
  13. *
  14. * The Original Code is Mozilla Communicator client code, released
  15. * March 31, 1998.
  16. *
  17. * The Initial Developer of the Original Code is
  18. * Netscape Communications Corporation.
  19. * Portions created by the Initial Developer are Copyright (C) 1998-2001
  20. * the Initial Developer. All Rights Reserved.
  21. *
  22. * Contributor(s):
  23. * Joe Hewitt (hewitt@netscape.com)
  24. *
  25. * Alternatively, the contents of this file may be used under the terms of
  26. * either the GNU General Public License Version 2 or later (the "GPL"), or
  27. * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28. * in which case the provisions of the GPL or the LGPL are applicable instead
  29. * of those above. If you wish to allow use of your version of this file only
  30. * under the terms of either the GPL or the LGPL, and not to allow others to
  31. * use your version of this file under the terms of the MPL, indicate your
  32. * decision by deleting the provisions above and replace them with the notice
  33. * and other provisions required by the GPL or the LGPL. If you do not delete
  34. * the provisions above, a recipient may use your version of this file under
  35. * the terms of any one of the MPL, the GPL or the LGPL.
  36. *
  37. * ***** END LICENSE BLOCK ***** */
  38. /* ===== messengercompose.css ===========================================
  39. == Styles for the main Messenger Compose window.
  40. ======================================================================= */
  41. @import url("chrome://messenger/skin/");
  42. @import url("chrome://global/skin/toolbar.css");
  43. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  44. #msgcomposeWindow:-moz-lwtheme {
  45. background-repeat: no-repeat;
  46. background-position: top right;
  47. }
  48. #attachmentBucket {
  49. width: 15em;
  50. }
  51. /* Inactive window state */
  52. #compose-toolbox > toolbar:-moz-window-inactive {
  53. border-top-color: rgba(255,255,255,0.45);
  54. border-bottom-color: rgba(0,0,0,0.35);
  55. background-color: #cfcfcf;
  56. }
  57. #compose-toolbox > toolbar:-moz-lwtheme {
  58. background-color: transparent;
  59. }
  60. #composeToolbar2 {
  61. padding: 0 4px;
  62. }
  63. toolbar[nowindowdrag="true"] {
  64. -moz-appearance: none;
  65. }
  66. /* ::::: primary toolbar buttons ::::: */
  67. .toolbarbutton-1 {
  68. -moz-box-orient: vertical;
  69. min-width: 0px;
  70. }
  71. toolbox[labelalign="end"] .toolbarbutton-1 {
  72. -moz-box-orient: horizontal;
  73. }
  74. .toolbarbutton-1[open] > .toolbarbutton-menubutton-button {
  75. text-shadow: none;
  76. }
  77. toolbarbutton[type="menu-button"] {
  78. -moz-box-orient: horizontal;
  79. }
  80. toolbarbutton[type="menu-button"] > toolbarbutton {
  81. -moz-box-orient: vertical !important;
  82. padding: 0px;
  83. margin: 0px;
  84. }
  85. toolbox[labelalign="end"] toolbarbutton[type="menu-button"] > toolbarbutton {
  86. -moz-box-orient: horizontal !important;
  87. }
  88. toolbox[labelalign="end"] > toolbar[mode="full"] deck .toolbarbutton-text {
  89. text-align: start;
  90. }
  91. #button-send {
  92. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  93. -moz-image-region: rect(0px 32px 32px 0px);
  94. }
  95. #button-send:hover:active {
  96. -moz-image-region: rect(32px 32px 64px 0px);
  97. }
  98. #button-send[disabled="true"] {
  99. -moz-image-region: rect(64px 32px 96px 0px) !important;
  100. }
  101. #button-contacts {
  102. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  103. -moz-image-region: rect(0px 64px 32px 32px);
  104. }
  105. #button-contacts:hover:active {
  106. -moz-image-region: rect(32px 64px 64px 32px);
  107. }
  108. #button-contacts[disabled="true"] {
  109. -moz-image-region: rect(64px 64px 96px 32px) !important;
  110. }
  111. #spellingButton {
  112. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  113. -moz-image-region: rect(0px 96px 32px 64px);
  114. }
  115. #spellingButton:hover:active,
  116. #spellingButton[open] {
  117. -moz-image-region: rect(32px 96px 64px 64px);
  118. }
  119. #spellingButton[disabled="true"] {
  120. -moz-image-region: rect(64px 96px 96px 64px) !important;
  121. }
  122. #button-attach {
  123. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  124. -moz-image-region: rect(0px 128px 32px 96px);
  125. }
  126. #button-attach:hover:active,
  127. #button-attach[open="true"] {
  128. -moz-image-region: rect(32px 128px 64px 96px);
  129. }
  130. #button-attach[disabled="true"] {
  131. -moz-image-region: rect(64px 128px 96px 96px) !important;
  132. }
  133. #button-save {
  134. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  135. -moz-image-region: rect(0px 192px 32px 160px);
  136. }
  137. #button-save:hover:active,
  138. #button-save[open="true"] {
  139. -moz-image-region: rect(32px 192px 64px 160px);
  140. }
  141. #button-save[disabled="true"] {
  142. -moz-image-region: rect(64px 192px 96px 160px) !important;
  143. }
  144. #quoteButton {
  145. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  146. -moz-image-region: rect(0px 224px 32px 192px);
  147. }
  148. #quoteButton:hover:active {
  149. -moz-image-region: rect(32px 224px 64px 192px);
  150. }
  151. #quoteButton[disabled="true"] {
  152. -moz-image-region: rect(64px 224px 96px 192px) !important;
  153. }
  154. #cut-button {
  155. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  156. -moz-image-region: rect(0px 256px 32px 224px);
  157. }
  158. #cut-button:hover:active {
  159. -moz-image-region: rect(32px 256px 64px 224px);
  160. }
  161. #cut-button[disabled="true"] {
  162. -moz-image-region: rect(64px 256px 96px 224px) !important;
  163. }
  164. #copy-button {
  165. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  166. -moz-image-region: rect(0px 288px 32px 256px);
  167. }
  168. #copy-button:hover:active {
  169. -moz-image-region: rect(32px 288px 64px 256px);
  170. }
  171. #copy-button[disabled="true"] {
  172. -moz-image-region: rect(64px 288px 96px 256px) !important;
  173. }
  174. #paste-button {
  175. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar.png");
  176. -moz-image-region: rect(0px 320px 32px 288px);
  177. }
  178. #paste-button:hover:active {
  179. -moz-image-region: rect(32px 320px 64px 288px);
  180. }
  181. #paste-button[disabled="true"] {
  182. -moz-image-region: rect(64px 320px 96px 288px) !important;
  183. }
  184. /* ::::: small primary toolbar buttons ::::: */
  185. toolbar[iconsize="small"] #button-send {
  186. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  187. -moz-image-region: rect(0px 24px 24px 0px);
  188. }
  189. toolbar[iconsize="small"] #button-send:hover:active {
  190. -moz-image-region: rect(24px 24px 48px 0px);
  191. }
  192. toolbar[iconsize="small"] #button-send[disabled] {
  193. -moz-image-region: rect(48px 24px 72px 0px) !important;
  194. }
  195. toolbar[iconsize="small"] #button-contacts {
  196. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  197. -moz-image-region: rect(0px 48px 24px 24px);
  198. }
  199. toolbar[iconsize="small"] #button-contacts:hover:active {
  200. -moz-image-region: rect(24px 48px 48px 24px);
  201. }
  202. toolbar[iconsize="small"] #button-contacts[disabled] {
  203. -moz-image-region: rect(48px 48px 72px 24px) !important;
  204. }
  205. toolbar[iconsize="small"] #spellingButton {
  206. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  207. -moz-image-region: rect(0px 72px 24px 48px);
  208. }
  209. toolbar[iconsize="small"] #spellingButton:hover:active,
  210. toolbar[iconsize="small"] #spellingButton[open] {
  211. -moz-image-region: rect(24px 72px 48px 48px);
  212. }
  213. toolbar[iconsize="small"] #spellingButton[disabled="true"] {
  214. -moz-image-region: rect(48px 72px 72px 48px) !important;
  215. }
  216. toolbar[iconsize="small"] #button-attach {
  217. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  218. -moz-image-region: rect(0px 96px 24px 72px);
  219. }
  220. toolbar[iconsize="small"] #button-attach:hover:active,
  221. toolbar[iconsize="small"] #button-attach[open="true"] {
  222. -moz-image-region: rect(24px 96px 48px 72px);
  223. }
  224. toolbar[iconsize="small"] #button-attach[disabled] {
  225. -moz-image-region: rect(48px 96px 72px 72px) !important;
  226. }
  227. toolbar[iconsize="small"] #button-save {
  228. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  229. -moz-image-region: rect(0px 144px 24px 120px);
  230. }
  231. toolbar[iconsize="small"] #button-save:hover:active,
  232. toolbar[iconsize="small"] #button-save[open="true"] {
  233. -moz-image-region: rect(24px 144px 48px 120px);
  234. }
  235. toolbar[iconsize="small"] #button-save[disabled] {
  236. -moz-image-region: rect(48px 144px 72px 120px) !important;
  237. }
  238. toolbar[iconsize="small"] #quoteButton {
  239. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  240. -moz-image-region: rect(0px 168px 24px 144px);
  241. }
  242. toolbar[iconsize="small"] #quoteButton:hover:active {
  243. -moz-image-region: rect(24px 168px 48px 144px);
  244. }
  245. toolbar[iconsize="small"] #quoteButton[disabled="true"] {
  246. -moz-image-region: rect(48px 168px 72px 144px) !important;
  247. }
  248. toolbar[iconsize="small"] #cut-button {
  249. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  250. -moz-image-region: rect(0px 192px 24px 168px);
  251. }
  252. toolbar[iconsize="small"] #cut-button:hover:active {
  253. -moz-image-region: rect(24px 192px 48px 168px);
  254. }
  255. toolbar[iconsize="small"] #cut-button[disabled="true"] {
  256. -moz-image-region: rect(48px 192px 72px 168px) !important;
  257. }
  258. toolbar[iconsize="small"] #copy-button {
  259. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  260. -moz-image-region: rect(0px 216px 24px 192px);
  261. }
  262. toolbar[iconsize="small"] #copy-button:hover:active {
  263. -moz-image-region: rect(24px 216px 48px 192px);
  264. }
  265. toolbar[iconsize="small"] #copy-button[disabled="true"] {
  266. -moz-image-region: rect(48px 216px 72px 192px) !important;
  267. }
  268. toolbar[iconsize="small"] #paste-button {
  269. list-style-image: url("chrome://messenger/skin/messengercompose/compose-toolbar-small.png");
  270. -moz-image-region: rect(0px 240px 24px 216px);
  271. }
  272. toolbar[iconsize="small"] #paste-button:hover:active {
  273. -moz-image-region: rect(24px 240px 48px 216px);
  274. }
  275. toolbar[iconsize="small"] #paste-button[disabled="true"] {
  276. -moz-image-region: rect(48px 240px 72px 216px) !important;
  277. }
  278. /* ::::: special toolbar colors ::::: */
  279. #headers-box {
  280. -moz-appearance: dialog;
  281. }
  282. #MsgHeadersToolbar {
  283. color: -moz-DialogText;
  284. text-shadow: none;
  285. background-image: none;
  286. border-bottom: 0px solid;
  287. }
  288. #addresses-box {
  289. margin: 4px 6px;
  290. }
  291. #attachmentbucket-sizer {
  292. border-top: none;
  293. border-bottom: none;
  294. height: 7px;
  295. }
  296. #attachmentBucketSize {
  297. color: #888a85;
  298. }
  299. #appcontent {
  300. border-top: 1px solid #cccccc;
  301. }
  302. /* ::::: attachment reminder ::::: */
  303. #attachmentNotificationBox > notification .messageImage {
  304. width: 16px;
  305. height: 16px;
  306. background-image: url(chrome://messenger/skin/messengercompose/attachmentnotification.png);
  307. }
  308. #attachmentReminderText {
  309. -moz-margin-start: 0px;
  310. cursor: pointer;
  311. }
  312. #attachmentKeywords {
  313. font-weight: bold;
  314. -moz-margin-start: 0px;
  315. text-decoration: underline;
  316. cursor: pointer;
  317. }
  318. /* XXX I should really have a selector rule here to select just .listcell-icon objects underneath the attachmentList listbox */
  319. .listcell-icon {
  320. -moz-margin-start: 2px;
  321. margin-top: 2px;
  322. }
  323. #msgSubject {
  324. -moz-margin-start: 1px;
  325. -moz-margin-end: 1px;
  326. }
  327. /* ::::: autocomplete icons ::::: */
  328. treechildren::-moz-tree-cell-text(default-match) {
  329. margin-top: 2px;
  330. margin-bottom: 2px;
  331. -moz-margin-start: 15px;
  332. -moz-margin-end: -3px;
  333. border: none;
  334. }
  335. treechildren::-moz-tree-image(local-abook) {
  336. margin-top: 2px;
  337. margin-bottom: 2px;
  338. -moz-margin-start: 4px;
  339. -moz-margin-end: -1px;
  340. list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.png");
  341. }
  342. treechildren::-moz-tree-image(remote-abook) {
  343. margin-top: 2px;
  344. margin-bottom: 2px;
  345. -moz-margin-start: 2px;
  346. -moz-margin-end: -3px;
  347. list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.png");
  348. }
  349. treechildren::-moz-tree-image(remote-err) {
  350. margin-top: 2px;
  351. margin-bottom: 2px;
  352. -moz-margin-start: 2px;
  353. -moz-margin-end: -3px;
  354. list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.png");
  355. }
  356. /* ::::: addressing widget ::::: */
  357. #addressingWidget {
  358. -moz-user-focus: none;
  359. -moz-appearance: none;
  360. width: 0;
  361. margin: 5px 0px;
  362. border: none;
  363. background-color: transparent;
  364. }
  365. #addressingWidget listboxbody {
  366. margin: 1px 0;
  367. }
  368. #textcol-addressingWidget {
  369. border: 1px solid threedshadow;
  370. background-color: -moz-field;
  371. }
  372. .addressingWidgetItem,
  373. .dummy-row {
  374. border: none !important;
  375. background-color: inherit !important;
  376. color: inherit !important;
  377. }
  378. .addressingWidgetCell {
  379. border-bottom: 1px solid #DCDCDC;
  380. padding: 0px;
  381. }
  382. .addressingWidgetCell:first-child,
  383. .dummy-row-cell:first-child {
  384. border-bottom-color: transparent;
  385. }
  386. .person-icon {
  387. margin: 0 3px;
  388. list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
  389. }
  390. .aw-menulist:-moz-locale-dir(ltr),
  391. .aw-menulist > .menulist-label-box:-moz-locale-dir(rtl) {
  392. direction: rtl;
  393. }
  394. .aw-menulist:-moz-locale-dir(rtl),
  395. .aw-menulist > .menulist-label-box:-moz-locale-dir(ltr) {
  396. direction: ltr;
  397. }
  398. .aw-menulist {
  399. -moz-appearance: menulist;
  400. -moz-margin-start: 5px;
  401. }
  402. .aw-menulist > .menulist-label {
  403. font: icon;
  404. margin: 0 1px !important;
  405. font-size: 10px;
  406. text-align: start;
  407. }
  408. /* ::::: compose toolbar sizer ::::: */
  409. #compose-toolbar-sizer {
  410. background-color: -moz-Dialog;
  411. }
  412. /* ::::: format toolbar ::::: */
  413. #FormatToolbar {
  414. border-bottom: none;
  415. background-image: none;
  416. background-color: -moz-Dialog !important;
  417. padding-top: 2px;
  418. }
  419. toolbarbutton.formatting-button {
  420. height: 26px;
  421. padding: 3px 0px 2px;
  422. margin: 0px;
  423. border-left: 0px;
  424. border-right: 0px;
  425. list-style-image: url("chrome://messenger/skin/messengercompose/format-buttons.png");
  426. }
  427. #FontFaceSelect {
  428. max-width: 15em;
  429. }
  430. #ColorButtons {
  431. margin-top: 0px;
  432. margin-bottom: 0px;
  433. -moz-margin-start: 3px;
  434. -moz-margin-end: 5px;
  435. }
  436. #AlignPopupButton, #InsertPopupButton, #smileButtonMenu {
  437. background: url("chrome://messenger/skin/messengercompose/small-button-base.png") no-repeat;
  438. width: 32px;
  439. margin: 0px 2px;
  440. }
  441. #AlignPopupButton[disabled="true"], #InsertPopupButton[disabled="true"], #smileButtonMenu[disabled="true"] {
  442. background: url("chrome://messenger/skin/messengercompose/small-button-disabled.png") no-repeat !important;
  443. }
  444. #AlignPopupButton[open="true"], #InsertPopupButton[open="true"], #smileButtonMenu[open="true"] {
  445. background: url("chrome://messenger/skin/messengercompose/small-button-pressed.png") no-repeat;
  446. }
  447. #DecreaseFontSizeButton, #boldButton, #ulButton {
  448. background: url("chrome://messenger/skin/messengercompose/left-button-base.png") no-repeat;
  449. -moz-margin-end: 0px;
  450. width: 29px !important;
  451. -moz-padding-start: 2px !important;
  452. }
  453. #DecreaseFontSizeButton[disabled="true"], #boldButton[disabled="true"], #ulButton[disabled="true"] {
  454. background: url("chrome://messenger/skin/messengercompose/left-button-disabled.png") no-repeat !important;
  455. }
  456. #DecreaseFontSizeButton:hover:active, #boldButton:hover:active, #boldButton[checked="true"], #ulButton:hover:active, #ulButton[checked="true"] {
  457. background: url("chrome://messenger/skin/messengercompose/left-button-pressed.png") no-repeat;
  458. }
  459. #italicButton, #olButton, #outdentButton {
  460. background: url("chrome://messenger/skin/messengercompose/mid-button-base.png") no-repeat;
  461. margin: 0;
  462. width: 27px !important;
  463. }
  464. #italicButton[checked="true"], #italicButton:hover:active, #olButton[checked="true"], #olButton:hover:active, #outdentButton:hover:active {
  465. background: url("chrome://messenger/skin/messengercompose/mid-button-pressed.png") no-repeat;
  466. }
  467. #italicButton[disabled="true"], #olButton[disabled="true"], #outdentButton[disabled="true"] {
  468. background: url("chrome://messenger/skin/messengercompose/mid-button-disabled.png") no-repeat !important;
  469. }
  470. #IncreaseFontSizeButton, #underlineButton, #indentButton {
  471. background: url("chrome://messenger/skin/messengercompose/right-button-base.png") no-repeat;
  472. -moz-margin-start: 0px;
  473. width: 30px !important;
  474. }
  475. #IncreaseFontSizeButton:hover:active, #underlineButton[checked="true"], #underlineButton:hover:active, #indentButton[checked="true"], #indentButton:hover:active {
  476. background: url("chrome://messenger/skin/messengercompose/right-button-pressed.png") no-repeat;
  477. }
  478. #IncreaseFontSizeButton[disabled="true"], #underlineButton[disabled="true"], #indentButton[disabled="true"] {
  479. background: url("chrome://messenger/skin/messengercompose/right-button-disabled.png") no-repeat;
  480. }
  481. toolbarbutton.formatting-button > .toolbarbutton-menu-dropmarker {
  482. margin: 0px;
  483. padding: 0px;
  484. }
  485. toolbarbutton.formatting-button > .toolbarbutton-menubutton-icon {
  486. -moz-padding-start: 2px;
  487. }
  488. toolbarbutton.formatting-button > .toolbarbutton-menubutton-dropmarker {
  489. margin: 0px;
  490. padding: 0px;
  491. }
  492. #FormatToolbar > toolbarbutton > .toolbarbutton-text {
  493. display: none;
  494. }
  495. #IncreaseFontSizeButton {
  496. -moz-image-region: rect(0px 20px 12px 0px);
  497. }
  498. #IncreaseFontSizeButton[disabled="true"] {
  499. -moz-image-region: rect(0px 60px 12px 40px) !important;
  500. }
  501. #DecreaseFontSizeButton {
  502. -moz-image-region: rect(12px 20px 24px 0px);
  503. }
  504. #DecreaseFontSizeButton[disabled="true"] {
  505. -moz-image-region: rect(12px 60px 24px 40px) !important;
  506. }
  507. #align-justify-button {
  508. -moz-image-region: rect(24px 20px 36px 0px);
  509. }
  510. #align-justify-button[disabled="true"] {
  511. -moz-image-region: rect(24px 60px 36px 40px);
  512. }
  513. #align-left-button {
  514. -moz-image-region: rect(36px 20px 48px 0px);
  515. }
  516. #align-left-button[disabled="true"] {
  517. -moz-image-region: rect(36px 60px 48px 40px);
  518. }
  519. #align-right-button {
  520. -moz-image-region: rect(48px 20px 60px 0px);
  521. border: 1px solid red;
  522. }
  523. #align-right-button[disabled="true"] {
  524. -moz-image-region: rect(48px 60px 60px 40px);
  525. }
  526. #align-center-button {
  527. -moz-image-region: rect(60px 20px 72px 0px);
  528. }
  529. #align-center-button[disabled="true"] {
  530. -moz-image-region: rect(60px 60px 72px 40px);
  531. }
  532. #InsertPopupButton {
  533. -moz-image-region: rect(72px 20px 84px 0px);
  534. }
  535. #InsertPopupButton[disabled="true"] {
  536. -moz-image-region: rect(72px 60px 84px 40px);
  537. }
  538. #ulButton {
  539. -moz-image-region: rect(84px 20px 96px 0px);
  540. }
  541. #ulButton[disabled="true"] {
  542. -moz-image-region: rect(84px 60px 96px 40px) !important;
  543. }
  544. #olButton {
  545. -moz-image-region: rect(96px 20px 108px 0px);
  546. }
  547. #olButton[disabled="true"] {
  548. -moz-image-region: rect(96px 60px 108px 40px) !important;
  549. }
  550. #smileButtonMenu {
  551. -moz-image-region: rect(108px 20px 120px 0px);
  552. }
  553. #smileButtonMenu[disabled="true"] {
  554. -moz-image-region: rect(108px 60px 120px 40px) !important;
  555. }
  556. #boldButton {
  557. -moz-image-region: rect(120px 20px 132px 0px);
  558. }
  559. #boldButton[disabled="true"] {
  560. -moz-image-region: rect(120px 60px 132px 40px) !important;
  561. }
  562. #underlineButton {
  563. -moz-image-region: rect(132px 20px 144px 0px);
  564. }
  565. #underlineButton[disabled="true"] {
  566. -moz-image-region: rect(132px 60px 144px 40px) !important;
  567. }
  568. #italicButton {
  569. -moz-image-region: rect(144px 20px 156px 0px);
  570. }
  571. #italicButton[disabled="true"] {
  572. -moz-image-region: rect(144px 60px 156px 40px) !important;
  573. }
  574. #outdentButton {
  575. -moz-image-region: rect(156px 20px 168px 0px);
  576. }
  577. #outdentButton[disabled="true"] {
  578. -moz-image-region: rect(156px 60px 168px 40px) !important;
  579. }
  580. #indentButton {
  581. -moz-image-region: rect(168px 20px 180px 0px);
  582. }
  583. #indentButton[disabled="true"] {
  584. -moz-image-region: rect(168px 60px 180px 40px) !important;
  585. }
  586. #AlignPopupButton {
  587. -moz-image-region: rect(36px 20px 48px 0px);
  588. }
  589. #AlignPopupButton[disabled="true"] {
  590. -moz-image-region: rect(36px 59px 48px 40px) !important;
  591. }
  592. /* ..... align menu ..... */
  593. #AlignPopup > menuitem {
  594. list-style-image: url("chrome://messenger/skin/messengercompose/format-buttons.png");
  595. }
  596. #AlignLeftItem, #AlignPopupButton[state="left"] {
  597. -moz-image-region: rect(36px 20px 48px 0px);
  598. }
  599. #AlignLeftItem:hover {
  600. -moz-image-region: rect(36px 40px 48px 20px);
  601. }
  602. #AlignCenterItem, #AlignPopupButton[state="center"] {
  603. -moz-image-region: rect(60px 20px 72px 0px);
  604. }
  605. #AlignCenterItem:hover {
  606. -moz-image-region: rect(60px 40px 72px 20px);
  607. }
  608. #AlignRightItem, #AlignPopupButton[state="right"] {
  609. -moz-image-region: rect(48px 20px 60px 0px);
  610. }
  611. #AlignRightItem:hover {
  612. -moz-image-region: rect(48px 40px 60px 20px);
  613. }
  614. #AlignJustifyItem, #AlignPopupButton[state="justify"] {
  615. -moz-image-region: rect(24px 20px 36px 0px);
  616. }
  617. #AlignJustifyItem:hover {
  618. -moz-image-region: rect(24px 40px 36px 20px);
  619. }
  620. /* ..... insert menu ..... */
  621. #InsertPopup > menuitem {
  622. list-style-image: url("chrome://messenger/skin/messengercompose/insert-menu.png");
  623. }
  624. #InsertLinkItem {
  625. -moz-image-region: rect(0px 16px 16px 0px);
  626. }
  627. #InsertAnchorItem {
  628. -moz-image-region: rect(16px 16px 32px 0px);
  629. }
  630. #InsertImageItem {
  631. -moz-image-region: rect(32px 16px 48px 0px);
  632. }
  633. #InsertHRuleItem {
  634. -moz-image-region: rect(48px 16px 64px 0px);
  635. }
  636. #InsertTableItem {
  637. -moz-image-region: rect(64px 16px 80px 0px);
  638. }
  639. /* ..... smiley menu ..... */
  640. #smileySmile > .menu-iconic-left {
  641. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_smile.png");
  642. -moz-image-region: auto; /* cut off inheritance */
  643. }
  644. #smileyFrown > .menu-iconic-left {
  645. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_frown.png");
  646. -moz-image-region: auto; /* cut off inheritance */
  647. }
  648. #smileyWink > .menu-iconic-left {
  649. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_wink.png");
  650. -moz-image-region: auto; /* cut off inheritance */
  651. }
  652. #smileyTongue > .menu-iconic-left {
  653. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_tongue_out.png");
  654. -moz-image-region: auto; /* cut off inheritance */
  655. }
  656. #smileyLaughing > .menu-iconic-left {
  657. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_laughing.png");
  658. -moz-image-region: auto; /* cut off inheritance */
  659. }
  660. #smileyEmbarassed > .menu-iconic-left {
  661. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_embarrassed.png");
  662. -moz-image-region: auto; /* cut off inheritance */
  663. }
  664. #smileyUndecided > .menu-iconic-left {
  665. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_undecided.png");
  666. -moz-image-region: auto; /* cut off inheritance */
  667. }
  668. #smileySurprise > .menu-iconic-left {
  669. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_surprised.png");
  670. -moz-image-region: auto; /* cut off inheritance */
  671. }
  672. #smileyKiss > .menu-iconic-left {
  673. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_kiss.png");
  674. -moz-image-region: auto; /* cut off inheritance */
  675. }
  676. #smileyYell > .menu-iconic-left {
  677. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_yell.png");
  678. -moz-image-region: auto; /* cut off inheritance */
  679. }
  680. #smileyCool > .menu-iconic-left {
  681. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_cool.png");
  682. -moz-image-region: auto; /* cut off inheritance */
  683. }
  684. #smileyMoney > .menu-iconic-left {
  685. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_money_mouth.png");
  686. -moz-image-region: auto; /* cut off inheritance */
  687. }
  688. #smileyFoot > .menu-iconic-left {
  689. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_foot_in_mouth.png");
  690. -moz-image-region: auto; /* cut off inheritance */
  691. }
  692. #smileyInnocent > .menu-iconic-left {
  693. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_innocent.png");
  694. -moz-image-region: auto; /* cut off inheritance */
  695. }
  696. #smileyCry > .menu-iconic-left {
  697. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_cry.png");
  698. -moz-image-region: auto; /* cut off inheritance */
  699. }
  700. #smileySealed > .menu-iconic-left {
  701. list-style-image: url("chrome://messenger/skin/messengercompose/emoticon_sealed.png");
  702. -moz-image-region: auto; /* cut off inheritance */
  703. }
  704. /* ..... fg/bg color picker ..... */
  705. .ColorPickerLabel {
  706. border: 1px inset ThreeDFace;
  707. margin: 0px;
  708. padding: 2px;
  709. }
  710. .color-button {
  711. border: 1px solid #A0A0A0;
  712. padding: 0px;
  713. width: 20px;
  714. height: 13px;
  715. margin: 2px;
  716. }
  717. #TextColorButton {
  718. margin-top: 2px;
  719. margin-bottom: 9px;
  720. -moz-margin-start: 2px;
  721. -moz-margin-end: 9px;
  722. }
  723. #BackgroundColorButton {
  724. margin-top: 9px;
  725. margin-bottom: 2px;
  726. -moz-margin-start: 9px;
  727. -moz-margin-end: 2px;
  728. }
  729. #HighlightColorButton {
  730. -moz-image-region: rect(260px 16px 272px 0px);
  731. background-color: transparent;
  732. }
  733. #HighlightColorButton:hover {
  734. -moz-image-region: rect(260px 32px 272px 16px);
  735. }
  736. #HighlightColorButton:hover:active {
  737. -moz-image-region: rect(260px 48px 272px 32px);
  738. }
  739. #HighlightColorButton[disabled="true"],
  740. #HighlightColorButton[disabled="true"]:hover,
  741. #HighlightColorButton[disabled="true"]:hover:active {
  742. -moz-image-region: rect(260px 64px 272px 48px);
  743. }
  744. /* ::::: address book sidebar ::::: */
  745. .ab-closebutton {
  746. list-style-image: url("chrome://global/skin/icons/close.png") !important;
  747. -moz-image-region: rect(0, 16px, 16px, 0);
  748. }
  749. .ab-closebutton > .toolbarbutton-text {
  750. display: none;
  751. }
  752. sidebarheader {
  753. text-shadow: none;
  754. border-bottom: 1px solid #A3A3A3;
  755. }
  756. #sidebar-box {
  757. -moz-appearance: dialog;
  758. }
  759. #sidebar-splitter {
  760. border-right: 1px solid #8e8e8e;
  761. border-left: 1px solid #bebebe;
  762. background-color: #ececec;
  763. }
  764. #sidebar-title {
  765. font: icon;
  766. color: #000;
  767. }
  768. #searchInput #sidebar {
  769. -moz-appearance: textfield !important;
  770. margin: 3px;
  771. }
  772. #searchInput > .textbox-input-box #sidebar {
  773. background-image: none !important;
  774. }
  775. /* Quote Levels Colors */
  776. blockquote {
  777. margin: inherit;
  778. border-width: 2px;
  779. border-color: gray;
  780. }
  781. blockquote[type=cite] {
  782. color: blue !important;
  783. border-color: blue !important;
  784. border-width: 2px !important;
  785. }
  786. blockquote[type=cite] > blockquote {
  787. color: green !important;
  788. border-color: green !important;
  789. }
  790. blockquote[type=cite] > blockquote > blockquote {
  791. color: maroon !important;
  792. border-color: maroon !important;
  793. }