home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / qute.jar / skin / classic / messenger / primaryToolbar.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-01-29  |  12.1 KB  |  481 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *
  22.  */
  23.  
  24. /* ===== primaryToolbar.css =============================================
  25.   == Images for the Mail primary toolbar.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: primary toolbar buttons ::::: */
  31.  
  32. .toolbarbutton-1 {
  33.   -moz-box-orient: vertical;
  34.   min-width: 47px;
  35.   list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.png");
  36. }
  37.  
  38. .toolbarbutton-1[type="menu-button"]
  39. {
  40.   min-width: 57px;
  41. }
  42.  
  43. .toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
  44.   display: none;
  45. }
  46.  
  47. toolbar[mode="icons"] .toolbarbutton-text {
  48.   display: none;
  49. }
  50.  
  51. toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
  52. toolbar[mode="text"] .toolbarbutton-icon {
  53.   display: none;
  54. }
  55.  
  56. toolbar[mode="text"] .toolbarbutton-text {
  57.   padding: 0 !important;
  58.   margin: 3px 5px !important;
  59. }
  60.  
  61. #button-getmsg {
  62.   -moz-image-region: rect(0px 30px 30px 0px);
  63. }
  64.  
  65. #button-getmsg:hover {
  66.   -moz-image-region: rect(30px 30px 60px 0px);
  67.  
  68. #button-getmsg[disabled] {
  69.   -moz-image-region: rect(60px 30px 90px 0px) !important;
  70.  
  71. #button-newmsg {
  72.   -moz-image-region: rect(0px 60px 30px 30px);
  73. }
  74.  
  75. #button-newmsg:hover {
  76.   -moz-image-region: rect(30px 60px 60px 30px);
  77.  
  78. #button-newmsg[disabled] {
  79.    -moz-image-region: rect(60px 60px 90px 30px) !important;
  80.  
  81. #button-address {
  82.   -moz-image-region: rect(0px 90px 30px 60px);
  83. }
  84.  
  85. #button-address:hover {
  86.   -moz-image-region: rect(30px 90px 60px 60px);
  87.  
  88. #button-address[disabled="true"] {
  89.   -moz-image-region: rect(60px 90px 90px 60px) !important;
  90.  
  91. #button-reply {
  92.   -moz-image-region: rect(0px 120px 30px 90px);
  93. }
  94.  
  95. #button-reply:hover {
  96.   -moz-image-region: rect(30px 120px 60px 90px);
  97.  
  98. #button-reply[disabled] {
  99.   -moz-image-region: rect(60px 120px 90px 90px) !important;
  100.  
  101. #button-replyall {
  102.   -moz-image-region: rect(0px 150px 30px 120px);
  103. }
  104.  
  105. #button-replyall:hover {
  106.   -moz-image-region: rect(30px 150px 60px 120px);
  107.  
  108. #button-replyall[disabled] {
  109.   -moz-image-region: rect(60px 150px 90px 120px) !important;
  110.  
  111. #button-forward {
  112.   -moz-image-region: rect(0px 180px 30px 150px);
  113. }
  114.  
  115. #button-forward:hover {
  116.   -moz-image-region: rect(30px 180px 60px 150px);
  117.  
  118. #button-forward[disabled] {
  119.   -moz-image-region: rect(60px 180px 90px 150px) !important;
  120.  
  121. #button-delete {
  122.   -moz-image-region: rect(0px 210px 30px 180px);
  123. }
  124.  
  125. #button-delete:hover {
  126.   -moz-image-region: rect(30px 210px 60px 180px);
  127.  
  128. #button-delete[disabled] {
  129.   -moz-image-region: rect(60px 210px 90px 180px) !important;
  130.  
  131. #button-junk{
  132.   -moz-image-region: rect(0px 240px 30px 210px);
  133. }
  134.  
  135. #button-junk:hover {
  136.   -moz-image-region: rect(30px 240px 60px 210px);
  137. }
  138.  
  139. #button-junk[disabled="true"] {
  140.   -moz-image-region: rect(60px 240px 90px 210px) !important;
  141. }
  142.  
  143. #button-print {
  144.   -moz-image-region: rect(0px 270px 30px 240px);
  145. }
  146.  
  147. #button-print[buttonover] {
  148.   -moz-image-region: rect(30px 270px 60px 240px);
  149. }
  150.  
  151. #button-print[buttondown] {
  152.   -moz-image-region: rect(30px 270px 60px 240px);
  153. }
  154.  
  155. #button-print[disabled] {
  156.   -moz-image-region: rect(60px 270px 90px 240px) !important;
  157. }
  158.  
  159. #button-stop {
  160.   -moz-image-region: rect(0px 300px 30px 270px);
  161. }
  162.  
  163. #button-stop:hover {
  164.   -moz-image-region: rect(30px 300px 60px 270px);
  165.  
  166. #button-stop[disabled="true"] {
  167.   -moz-image-region: rect(60px 300px 90px 270px) !important;
  168. }
  169.  
  170. #button-file {
  171.   -moz-image-region: rect(0px 330px 30px 300px);
  172. }
  173.  
  174. #button-file:hover {
  175.   -moz-image-region: rect(30px 330px 60px 300px);
  176.  
  177. #button-file:hover:active,
  178. #button-file[open] {
  179.   -moz-image-region: rect(30px 330px 60px 300px);
  180.  
  181. #button-file[disabled] {
  182.   -moz-image-region: rect(60px 330px 90px 300px) !important;
  183.  
  184. #button-next {
  185.   -moz-image-region: rect(0px 360px 30px 330px);
  186. }
  187.  
  188. #button-next:hover {
  189.   -moz-image-region: rect(30px 360px 60px 330px);
  190.  
  191. #button-next[disabled] {
  192.   -moz-image-region: rect(60px 360px 90px 330px) !important;
  193.  
  194. #button-previous {
  195.   -moz-image-region: rect(0px 390px 30px 360px);
  196. }
  197.  
  198. #button-previous:hover {
  199.   -moz-image-region: rect(30px 390px 60px 360px);
  200.  
  201. #button-previous[disabled] {
  202.   -moz-image-region: rect(60px 390px 90px 360px) !important;
  203.  
  204. #button-mark {
  205.   -moz-image-region: rect(0px 420px 30px 390px);
  206. }
  207.  
  208. #button-mark[buttonover] {
  209.   -moz-image-region: rect(30px 420px 60px 390px);
  210.  
  211. #button-mark[buttondown] {
  212.   -moz-image-region: rect(30px 420px 60px 390px);
  213.  
  214. #button-mark[disabled] {
  215.   -moz-image-region: rect(60px 420px 90px 390px) !important;
  216.  
  217.  
  218. /* ::::: small primary toolbar buttons ::::: */
  219.  
  220. toolbar[iconsize="small"] .toolbarbutton-1 {
  221.   list-style-image: url("chrome://messenger/skin/icons/mail-toolbar-small.png");
  222.   min-width: 30px;
  223. }
  224.  
  225. toolbar[iconsize="small"] #button-getmsg {
  226.   -moz-image-region: rect(0px 20px 20px 0px);
  227. }
  228.  
  229. toolbar[iconsize="small"] #button-getmsg:hover { 
  230.   -moz-image-region: rect(20px 20px 40px 0px);
  231.  
  232. toolbar[iconsize="small"] #button-getmsg[disabled] {
  233.   -moz-image-region: rect(40px 20px 60px 0px) !important;
  234.  
  235. toolbar[iconsize="small"] #button-newmsg {
  236.   -moz-image-region: rect(0px 40px 20px 20px);
  237. }
  238.  
  239. toolbar[iconsize="small"] #button-newmsg:hover {
  240.   -moz-image-region: rect(20px 40px 40px 20px);
  241.  
  242. toolbar[iconsize="small"] #button-newmsg[disabled] {
  243.    -moz-image-region: rect(40px 40px 60px 20px) !important;
  244.  
  245. toolbar[iconsize="small"] #button-address {
  246.   -moz-image-region: rect(0px 60px 20px 40px);
  247. }
  248.  
  249. toolbar[iconsize="small"] #button-address:hover {
  250.   -moz-image-region: rect(20px 60px 40px 40px);
  251.  
  252. toolbar[iconsize="small"] #button-address[disabled="true"] {
  253.   -moz-image-region: rect(40px 60px 60px 40px) !important;
  254.  
  255. toolbar[iconsize="small"] #button-reply {
  256.   -moz-image-region: rect(0px 80px 20px 60px);
  257. }
  258.  
  259. toolbar[iconsize="small"] #button-reply:hover {
  260.   -moz-image-region: rect(20px 80px 40px 60px);
  261.  
  262. toolbar[iconsize="small"] #button-reply[disabled] {
  263.   -moz-image-region: rect(40px 80px 60px 60px) !important;
  264.  
  265. toolbar[iconsize="small"] #button-replyall {
  266.   -moz-image-region: rect(0px 100px 20px 80px);
  267. }
  268.  
  269. toolbar[iconsize="small"] #button-replyall:hover {
  270.   -moz-image-region: rect(20px 100px 40px 80px);
  271.  
  272. toolbar[iconsize="small"] #button-replyall[disabled] {
  273.   -moz-image-region: rect(40px 100px 60px 80px) !important;
  274.  
  275. toolbar[iconsize="small"] #button-forward {
  276.   -moz-image-region: rect(0px 120px 20px 100px);
  277. }
  278.  
  279. toolbar[iconsize="small"] #button-forward:hover {
  280.   -moz-image-region: rect(20px 120px 40px 100px);
  281.  
  282. toolbar[iconsize="small"] #button-forward[disabled] {
  283.   -moz-image-region: rect(40px 120px 60px 100px) !important;
  284.  
  285. toolbar[iconsize="small"] #button-delete {
  286.   -moz-image-region: rect(0px 140px 20px 120px);
  287. }
  288.  
  289. toolbar[iconsize="small"] #button-delete:hover {
  290.   -moz-image-region: rect(20px 140px 40px 120px);
  291.  
  292. toolbar[iconsize="small"] #button-delete[disabled] {
  293.   -moz-image-region: rect(40px 140px 60px 120px) !important;
  294.  
  295. toolbar[iconsize="small"] #button-junk{
  296.   -moz-image-region: rect(0px 160px 20px 140px);
  297. }
  298.  
  299. toolbar[iconsize="small"] #button-junk:hover {
  300.   -moz-image-region: rect(20px 160px 40px 140px);
  301. }
  302.  
  303. toolbar[iconsize="small"] #button-junk[disabled="true"] {
  304.   -moz-image-region: rect(40px 160px 60px 140px) !important;
  305. }
  306.  
  307. toolbar[iconsize="small"] #button-print {
  308.   -moz-image-region: rect(0px 180px 20px 160px);
  309. }
  310.  
  311. toolbar[iconsize="small"] #button-print[buttonover] {
  312.   -moz-image-region: rect(20px 180px 40px 160px);
  313. }
  314.  
  315. toolbar[iconsize="small"] #button-print[buttondown] {
  316.   -moz-image-region: rect(20px 180px 40px 160px);
  317. }
  318.  
  319. toolbar[iconsize="small"] #button-print[disabled] {
  320.   -moz-image-region: rect(40px 180px 60px 160px) !important;
  321. }
  322.  
  323. toolbar[iconsize="small"] #button-stop {
  324.   -moz-image-region: rect(0px 200px 20px 180px);
  325. }
  326.  
  327. toolbar[iconsize="small"] #button-stop:hover {
  328.   -moz-image-region: rect(20px 200px 40px 180px);
  329.  
  330. toolbar[iconsize="small"] #button-stop[disabled="true"] {
  331.   -moz-image-region: rect(40px 200px 60px 180px) !important;
  332. }
  333.  
  334. toolbar[iconsize="small"] #button-file {
  335.   -moz-image-region: rect(0px 220px 20px 200px);
  336. }
  337.  
  338. toolbar[iconsize="small"] #button-file:hover {
  339.   -moz-image-region: rect(20px 220px 40px 200px);
  340.  
  341. toolbar[iconsize="small"] #button-file:hover:active,
  342. toolbar[iconsize="small"] #button-file[open] {
  343.   -moz-image-region: rect(20px 220px 40px 200px);
  344.  
  345. toolbar[iconsize="small"] #button-file[disabled] {
  346.   -moz-image-region: rect(40px 220px 60px 200px) !important;
  347.  
  348. toolbar[iconsize="small"] #button-next {
  349.   -moz-image-region: rect(0px 240px 20px 220px);
  350. }
  351.  
  352. toolbar[iconsize="small"] #button-next:hover {
  353.   -moz-image-region: rect(20px 240px 40px 220px);
  354.  
  355. toolbar[iconsize="small"] #button-next[disabled] {
  356.   -moz-image-region: rect(40px 240px 60px 220px) !important;
  357.  
  358. toolbar[iconsize="small"] #button-previous {
  359.   -moz-image-region: rect(0px 260px 20px 240px);
  360. }
  361.  
  362. toolbar[iconsize="small"] #button-previous:hover {
  363.   -moz-image-region: rect(20px 260px 40px 240px);
  364.  
  365. toolbar[iconsize="small"] #button-previous[disabled] {
  366.   -moz-image-region: rect(40px 260px 60px 240px) !important;
  367.  
  368. toolbar[iconsize="small"] #button-mark {
  369.   -moz-image-region: rect(0px 280px 20px 260px);
  370. }
  371.  
  372. toolbar[iconsize="small"] #button-mark:hover {
  373.   -moz-image-region: rect(20px 280px 40px 260px);
  374.  
  375. toolbar[iconsize="small"] #button-mark[disabled] {
  376.   -moz-image-region: rect(40px 280px 60px 260px) !important;
  377.  
  378. /* Smaller padding on small toolbar buttons */
  379.  
  380. toolbar[iconsize="small"] .toolbarbutton-1 {
  381.   padding: 2px;
  382. }
  383.  
  384. toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
  385. toolbar[iconsize="small"] .toolbarbutton-1[open="true"] {
  386.   padding: 3px 1px 1px 3px;
  387. }
  388.  
  389. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"],
  390. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover,
  391. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active,
  392. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] {
  393.   padding: 2px;
  394. }
  395.  
  396. toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
  397.   padding: 3px 1px 1px 3px !important;
  398. }
  399.  
  400. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"],
  401. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover,
  402. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active,
  403. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"],
  404. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"],
  405. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover,
  406. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active {
  407.   padding: 0;
  408. }
  409.  
  410. /* ::::: end small primary toolbar buttons ::::: */
  411.  
  412. #junkBarImage {
  413.   list-style-image: url("chrome://messenger/skin/icons/mail-toolbar-small.png");
  414.   -moz-image-region: rect(0px 160px 20px 140px);
  415. }
  416.  
  417. #junkBarMessage {
  418.   font-weight: bold;
  419. }
  420.  
  421. #junkBar {
  422.   border-bottom: 1px solid;
  423.   -moz-border-bottom-colors: #000000;
  424.   background: url("chrome://messenger/skin/icons/junkbar.png") repeat-y bottom left white;
  425.   color: white;
  426. }
  427.  
  428.  
  429. #junkIcon {
  430.   list-style-image: url("chrome://messenger/skin/icons/folder-junk.png");
  431. }
  432.