home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Mars.jar / messenger / primaryToolbar.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-03-25  |  14.3 KB  |  532 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. }
  35.  
  36. .toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
  37.   display: none;
  38. }
  39.  
  40. toolbar[mode="icons"] .toolbarbutton-text {
  41.   display: none;
  42. }
  43.  
  44. toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
  45. toolbar[mode="text"] .toolbarbutton-icon {
  46.   display: none;
  47. }
  48.  
  49. toolbar[mode="text"] .toolbarbutton-text {
  50.   padding: 0 !important;
  51.   margin: 3px 5px !important;
  52. }
  53.  
  54. #button-getmsg {
  55.  list-style-image: url('chrome://messenger/skin/icons/get_msgs.png');
  56.  -moz-image-region: rect(0px 32px 32px 0px);
  57. }
  58.  
  59. #button-getmsg:hover {
  60.  -moz-image-region: rect(32px 32px 64px 0px);
  61.  
  62. #button-getmsg[disabled] {
  63.  -moz-image-region: rect(64px 32px 96px 0px);
  64.  
  65. #button-newmsg {
  66.  list-style-image: url('chrome://messenger/skin/icons/compose.png');
  67.  -moz-image-region: rect(0px 32px 32px 0px);
  68. }
  69.  
  70. #button-newmsg:hover {
  71.  -moz-image-region: rect(32px 32px 64px 0px);
  72.  
  73. #button-newmsg[disabled] {
  74.  -moz-image-region: rect(64px 32px 96px 0px);
  75.  
  76. #button-address {
  77.  list-style-image: url('chrome://messenger/skin/icons/address.png');
  78.  -moz-image-region: rect(0px 32px 32px 0px);
  79. }
  80.  
  81. #button-address:hover {
  82.  -moz-image-region: rect(32px 32px 64px 0px);
  83.  
  84. #button-address[disabled="true"] {
  85.  -moz-image-region: rect(64px 32px 96px 0px);
  86.  
  87. #button-reply {
  88.  list-style-image: url('chrome://messenger/skin/icons/reply.png');
  89.  -moz-image-region: rect(0px 32px 32px 0px);
  90. }
  91.  
  92. #button-reply:hover {
  93.  -moz-image-region: rect(32px 32px 64px 0px);
  94.  
  95. #button-reply[disabled] {
  96.  -moz-image-region: rect(64px 32px 96px 0px);
  97.  
  98. #button-replyall {
  99.  list-style-image: url('chrome://messenger/skin/icons/reply_all.png');
  100.  -moz-image-region: rect(0px 32px 32px 0px);
  101. }
  102.  
  103. #button-replyall:hover {
  104.  -moz-image-region: rect(32px 32px 64px 0px);
  105.  
  106. #button-replyall[disabled] {
  107.  -moz-image-region: rect(64px 32px 96px 0px);
  108.  
  109. #button-forward {
  110.  list-style-image: url('chrome://messenger/skin/icons/forward.png');
  111.  -moz-image-region: rect(0px 32px 32px 0px);
  112. }
  113.  
  114. #button-forward:hover {
  115.  -moz-image-region: rect(32px 32px 64px 0px);
  116.  
  117. #button-forward[disabled] {
  118.  -moz-image-region: rect(64px 32px 96px 0px);
  119.  
  120. #button-delete {
  121.  list-style-image: url('chrome://messenger/skin/icons/delete.png');
  122.  -moz-image-region: rect(0px 32px 32px 0px);
  123. }
  124.  
  125. #button-delete:hover {
  126.  -moz-image-region: rect(32px 32px 64px 0px);
  127.  
  128. #button-delete[disabled] {
  129.  -moz-image-region: rect(64px 32px 96px 0px);
  130.  
  131. #button-junk{
  132.  list-style-image: url('chrome://messenger/skin/icons/junk.png');
  133.  -moz-image-region: rect(0px 32px 32px 0px);
  134. }
  135.  
  136. #button-junk:hover {
  137.  -moz-image-region: rect(32px 32px 64px 0px);
  138. }
  139.  
  140. #button-junk[disabled="true"] {
  141.  -moz-image-region: rect(64px 32px 96px 0px);
  142. }
  143.  
  144. #button-print {
  145.  list-style-image: url('chrome://messenger/skin/icons/print.png');
  146.  -moz-image-region: rect(0px 32px 32px 0px);
  147. }
  148.  
  149. #button-print[buttonover] {
  150.  -moz-image-region: rect(32px 32px 64px 0px);
  151. }
  152.  
  153. #button-print[buttondown] {
  154.  -moz-image-region: rect(32px 32px 64px 0px);
  155. }
  156.  
  157. #button-print[disabled] {
  158.  -moz-image-region: rect(64px 32px 96px 0px);
  159. }
  160.  
  161. #button-stop {
  162.  list-style-image: url('chrome://messenger/skin/icons/stop.png');
  163.  -moz-image-region: rect(0px 32px 32px 0px);
  164. }
  165.  
  166. #button-stop:hover {
  167.  -moz-image-region: rect(32px 32px 64px 0px);
  168.  
  169. #button-stop[disabled="true"] {
  170.  -moz-image-region: rect(64px 32px 96px 0px);
  171. }
  172.  
  173. #button-file {
  174.  list-style-image: url('chrome://messenger/skin/icons/file.png');
  175.  -moz-image-region: rect(0px 32px 32px 0px);
  176. }
  177.  
  178. #button-file:hover {
  179.  -moz-image-region: rect(32px 32px 64px 0px);
  180.  
  181. #button-file:hover:active,
  182. #button-file[open] {
  183.  -moz-image-region: rect(32px 32px 64px 0px);
  184.  
  185. #button-file[disabled] {
  186.  -moz-image-region: rect(64px 32px 96px 0px);
  187.  
  188. #button-next {
  189.  list-style-image: url('chrome://messenger/skin/icons/next.png');
  190.  -moz-image-region: rect(0px 32px 32px 0px);
  191. }
  192.  
  193. #button-next:hover {
  194.  -moz-image-region: rect(32px 32px 64px 0px);
  195.  
  196. #button-next[disabled] {
  197.  -moz-image-region: rect(64px 32px 96px 0px);
  198.  
  199. #button-previous {
  200.  list-style-image: url('chrome://messenger/skin/icons/previous.png');
  201.  -moz-image-region: rect(0px 32px 32px 0px);
  202. }
  203.  
  204. #button-previous:hover {
  205.  -moz-image-region: rect(32px 32px 64px 0px);
  206.  
  207. #button-previous[disabled] {
  208.  -moz-image-region: rect(64px 32px 96px 0px);
  209.  
  210. #button-mark {
  211.  list-style-image: url('chrome://messenger/skin/icons/mark.png');
  212.  -moz-image-region: rect(0px 32px 32px 0px);
  213. }
  214.  
  215. #button-mark:hover {
  216.  -moz-image-region: rect(32px 32px 64px 0px);
  217.  
  218. #button-mark[disabled] {
  219.  -moz-image-region: rect(64px 32px 96px 0px);
  220.  
  221. /* ::::: small primary toolbar buttons ::::: */
  222.  
  223.  
  224. toolbar[iconsize="small"] #button-getmsg {
  225.   list-style-image: url('chrome://messenger/skin/icons/get_msgs-small.png');
  226.   -moz-image-region: rect(0px 24px 24px 0px);
  227. }
  228.  
  229. toolbar[iconsize="small"] #button-getmsg[buttonover] {
  230.   -moz-image-region: rect(24px 24px 48px 0px);
  231.  
  232. toolbar[iconsize="small"] #button-getmsg[disabled] {
  233.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  234.  
  235. toolbar[iconsize="small"] #button-newmsg {
  236.   list-style-image: url('chrome://messenger/skin/icons/compose-small.png');
  237.   -moz-image-region: rect(0px 24px 24px 0px);
  238. }
  239.  
  240. toolbar[iconsize="small"] #button-newmsg:hover {
  241.   -moz-image-region: rect(24px 24px 48px 0px);
  242.  
  243. toolbar[iconsize="small"] #button-newmsg[disabled] {
  244.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  245.  
  246. toolbar[iconsize="small"] #button-address {
  247.   list-style-image: url('chrome://messenger/skin/icons/address-small.png');
  248.   -moz-image-region: rect(0px 24px 24px 0px);
  249. }
  250.  
  251. toolbar[iconsize="small"] #button-address:hover {
  252.   -moz-image-region: rect(24px 24px 48px 0px);
  253.  
  254. toolbar[iconsize="small"] #button-address[disabled="true"] {
  255.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  256.  
  257. toolbar[iconsize="small"] #button-reply {
  258.   list-style-image: url('chrome://messenger/skin/icons/reply-small.png');
  259.   -moz-image-region: rect(0px 24px 24px 0px);
  260. }
  261.  
  262. toolbar[iconsize="small"] #button-reply:hover {
  263.   -moz-image-region: rect(24px 24px 48px 0px);
  264.  
  265. toolbar[iconsize="small"] #button-reply[disabled] {
  266.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  267.  
  268. toolbar[iconsize="small"] #button-replyall {
  269.   list-style-image: url('chrome://messenger/skin/icons/reply_all-small.png');
  270.   -moz-image-region: rect(0px 24px 24px 0px);
  271. }
  272.  
  273. toolbar[iconsize="small"] #button-replyall:hover {
  274.   -moz-image-region: rect(24px 24px 48px 0px);
  275.  
  276. toolbar[iconsize="small"] #button-replyall[disabled] {
  277.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  278.  
  279. toolbar[iconsize="small"] #button-forward {
  280.   list-style-image: url('chrome://messenger/skin/icons/forward-small.png');
  281.   -moz-image-region: rect(0px 24px 24px 0px);
  282. }
  283.  
  284. toolbar[iconsize="small"] #button-forward:hover {
  285.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  286.  
  287. toolbar[iconsize="small"] #button-forward[disabled] {
  288.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  289.  
  290. toolbar[iconsize="small"] #button-delete {
  291.   list-style-image: url('chrome://messenger/skin/icons/delete-small.png');
  292.   -moz-image-region: rect(0px 24px 24px 0px);
  293. }
  294.  
  295. toolbar[iconsize="small"] #button-delete:hover {
  296.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  297.  
  298. toolbar[iconsize="small"] #button-delete[disabled] {
  299.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  300.  
  301. toolbar[iconsize="small"] #button-junk{
  302.   list-style-image: url('chrome://messenger/skin/icons/junk-small.png');
  303.   -moz-image-region: rect(0px 24px 24px 0px);
  304. }
  305.  
  306. toolbar[iconsize="small"] #button-junk:hover {
  307.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  308. }
  309.  
  310. toolbar[iconsize="small"] #button-junk[disabled="true"] {
  311.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  312. }
  313.  
  314. toolbar[iconsize="small"] #button-print {
  315.   list-style-image: url('chrome://messenger/skin/icons/print-small.png');
  316.   -moz-image-region: rect(0px 24px 24px 0px);
  317. }
  318.  
  319. toolbar[iconsize="small"] #button-print[buttonover] {
  320.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  321. }
  322.  
  323. toolbar[iconsize="small"] #button-print[buttondown] {
  324.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  325. }
  326.  
  327. toolbar[iconsize="small"] #button-print[disabled] {
  328.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  329. }
  330.  
  331. toolbar[iconsize="small"] #button-stop {
  332.   list-style-image: url('chrome://messenger/skin/icons/stop-small.png');
  333.   -moz-image-region: rect(0px 24px 24px 0px);
  334. }
  335.  
  336. toolbar[iconsize="small"] #button-stop:hover {
  337.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  338.  
  339. toolbar[iconsize="small"] #button-stop[disabled="true"] {
  340.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  341. }
  342.  
  343. toolbar[iconsize="small"] #button-file {
  344.   list-style-image: url('chrome://messenger/skin/icons/file-small.png');
  345.   -moz-image-region: rect(0px 24px 24px 0px);
  346. }
  347.  
  348. toolbar[iconsize="small"] #button-file:hover {
  349.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  350.  
  351. toolbar[iconsize="small"] #button-file:hover:active,
  352. toolbar[iconsize="small"] #button-file[open] {
  353.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  354.  
  355. toolbar[iconsize="small"] #button-file[disabled] {
  356.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  357.  
  358. toolbar[iconsize="small"] #button-next {
  359.   list-style-image: url('chrome://messenger/skin/icons/next-small.png');
  360.   -moz-image-region: rect(0px 24px 24px 0px);
  361. }
  362.  
  363. toolbar[iconsize="small"] #button-next:hover {
  364.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  365.  
  366. toolbar[iconsize="small"] #button-next[disabled] {
  367.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  368.  
  369. toolbar[iconsize="small"] #button-previous {
  370.   list-style-image: url('chrome://messenger/skin/icons/previous-small.png');
  371.   -moz-image-region: rect(0px 24px 24px 0px);
  372. }
  373.  
  374. toolbar[iconsize="small"] #button-previous:hover {
  375.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  376.  
  377. toolbar[iconsize="small"] #button-previous[disabled] {
  378.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  379. }
  380.  
  381. toolbar[iconsize="small"] #button-mark {
  382.   list-style-image: url('chrome://messenger/skin/icons/mark-small.png');
  383.   -moz-image-region: rect(0px 24px 24px 0px);
  384. }
  385.  
  386. toolbar[iconsize="small"] #button-mark:hover {
  387.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  388.  
  389. toolbar[iconsize="small"] #button-mark[disabled] {
  390.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  391.  
  392. toolbar[iconsize="small"] #button-enigmail-decrypt {
  393.   list-style-image: url('chrome://messenger/skin/icons/security-small.png')!important;
  394.   -moz-image-region: rect(0px 24px 24px 0px) !important;
  395. }
  396.  
  397. toolbar[iconsize="small"] #button-enigmail-decrypt[buttonover] {
  398.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  399. }
  400.  
  401. toolbar[iconsize="small"] #button-enigmail-decrypt[buttondown] {
  402.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  403. }
  404.  
  405. toolbar[iconsize="small"] #button-enigmail-decrypt[disabled] {
  406.   -moz-image-region: rect(48px 42px 72px 0px) !important;
  407. }
  408.  
  409.  
  410. /* ::::: end small icons ::::: */
  411.  
  412. #junkBarImage {
  413.   list-style-image: url('chrome://messenger/skin/icons/junkBar.png');
  414. }
  415.  
  416. #junkBarMessage {
  417.   font-weight: bold;
  418. }
  419.  
  420. #junkBar {
  421.   border-bottom: 1px solid;
  422.   -moz-border-bottom-colors: #000000;
  423.   background-color: #C7BC8F;
  424. }
  425.  
  426.  
  427. #junkIcon {
  428.   list-style-image: url('chrome://messenger/skin/icons/folder-trash.png');
  429. }
  430.  
  431. /*Calendar Extension Support*/
  432. #calendar-button { 
  433.   list-style-image: url("chrome://communicator/skin/calendar/multiweek.png") !important;
  434.  -moz-image-region: rect(0px 32px 32px 0px) !important;
  435. }
  436.  
  437. #calendar-button[disabled="true"],
  438. #calendar-button[disabled="true"]:hover,
  439. #calendar-button[disabled="true"]:hover:active  {
  440.  -moz-image-region: rect(64px 32px 96px 0px) !important;
  441. }
  442.  
  443. #calendar-button:hover, #calendar-button:hover:active { 
  444.  -moz-image-region: rect(32px 32px 64px 0px) !important;
  445. }
  446.  
  447. toolbar[iconsize="small"] #calendar-button {
  448.   list-style-image: url("chrome://communicator/skin/calendar/multiweek-small.png") !important; 
  449.  -moz-image-region: rect(0px 24px 24px 0px) !important;
  450. }
  451.  
  452. toolbar[iconsize="small"] #calendar-button[disabled="true"],
  453. toolbar[iconsize="small"] #calendar-button[disabled="true"]:hover,
  454. toolbar[iconsize="small"] #calendar-button[disabled="true"]:hover:active  {
  455.   -moz-image-region: rect(48px 24px 72px 0px) !important;
  456. }
  457.  
  458. toolbar[iconsize="small"] #calendar-button:hover { 
  459.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  460. }
  461.  
  462. toolbar[iconsize="small"] #calendar-button:hover:active {
  463.   -moz-image-region: rect(24px 24px 48px 0px) !important;
  464. }  
  465.  
  466. #mini-cal {                                                           
  467.   list-style-image: url("chrome://communicator/skin/calendar/calendar.png") !important;    
  468. }                                                                     
  469.  
  470. #mini-cal:hover:active {                                              
  471.   list-style-image: url("chrome://communicator/skin/calendar/calendar-hov.png") !important;    
  472. }                                                                     
  473.  
  474. #mini-cal[BiffState="Alarm"] {
  475.   list-style-image: url("chrome://communicator/skin/calendar/calendar-alarm.png") !important;    
  476. }
  477.  
  478. #mini-cal[BiffState="Alarm"]:hover:active {
  479.   list-style-image: url("chrome://communicator/skin/calendar/calendar-alarm-hov.png") !important;    
  480. }
  481.  
  482. .icon-calendar16 {
  483.   list-style-image: url("chrome://communicator/skin/calendar/calendar.png") !important;    
  484. }
  485.