home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temafire / PixelZilla.jar / browser / browser.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-11-11  |  22.5 KB  |  864 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Netscape Public License
  5.  * Version 1.1 (the "License"); you may not use this file except in
  6.  * compliance with the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/NPL/
  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.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * Netscape Communications Corporation.
  18.  * Portions created by the Initial Developer are Copyright (C) 1998-1999
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *   Joe Hewitt (hewitt@netscape.com)
  23.  *   Jason Kersey (kerz@netscape.com)
  24.  *   Pierre Chanial (chanial@noos.fr)
  25.  *   Dean Tessman (dean_tessman@hotmail.com)
  26.  *   Roman Joost (romanjoost@gmx.de)
  27.  *   Victor Nilsson (vervex@home.se)
  28.  *
  29.  * Alternatively, the contents of this file may be used under the terms of
  30.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  31.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  32.  * in which case the provisions of the GPL or the LGPL are applicable instead
  33.  * of those above. If you wish to allow use of your version of this file only
  34.  * under the terms of either the GPL or the LGPL, and not to allow others to
  35.  * use your version of this file under the terms of the NPL, indicate your
  36.  * decision by deleting the provisions above and replace them with the notice
  37.  * and other provisions required by the GPL or the LGPL. If you do not delete
  38.  * the provisions above, a recipient may use your version of this file under
  39.  * the terms of any one of the NPL, the GPL or the LGPL.
  40.  *
  41.  * ***** END LICENSE BLOCK ***** */
  42.  
  43. @import url("chrome://global/skin/");
  44.  
  45. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  46.  
  47. #PersonalToolbar {
  48.   min-height: 26px;
  49. }
  50.  
  51. /* ::::: bookmark buttons ::::: */
  52.  
  53. toolbarbutton.bookmark-item {
  54.   margin: 0;
  55.   min-width: 0;
  56.   max-width: 13em;
  57.   padding: 2px 3px;
  58.   color: -moz-DialogText !important;
  59. }
  60.  
  61. toolbarbutton.bookmark-item:hover:active,
  62. toolbarbutton.bookmark-item[open="true"] {
  63.   padding: 3px 2px 1px 4px;
  64. }
  65.  
  66. .bookmark-item > .toolbarbutton-icon {
  67.   width: 16px;
  68.   height: 16px;
  69. }
  70.  
  71. /* Prevent [mode="icons"] from hiding the label */
  72. .bookmark-item > .toolbarbutton-text {
  73.   display: -moz-box !important;
  74. }
  75.  
  76. .bookmark-item > .toolbarbutton-menu-dropmarker {
  77.   display: none;
  78. }
  79.  
  80. .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
  81.   width: 32px;
  82.   height: 32px;
  83.   background: url("chrome://browser/skin/Bookmarks-folder.png") no-repeat;
  84. }
  85.  
  86. .bookmarks-toolbar-customize {
  87.   display: none;
  88.   max-width: 15em !important;
  89. }
  90.  
  91. toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
  92.   display: -moz-box;
  93. }
  94.  
  95. toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
  96.   visibility: hidden;
  97. }
  98.  
  99. toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
  100.   visibility: hidden;
  101. }
  102.  
  103. /* ::::: bookmark menus ::::: */
  104.  
  105. menu.bookmark-item,
  106. menuitem.bookmark-item {
  107.   min-width: 0;
  108.   max-width: 26em;
  109.   border-top: 1px solid transparent !important;
  110.   border-bottom: 1px solid transparent !important;
  111.   padding: 1px 3px 1px 2px;
  112.   margin-top: 1px;
  113. }
  114.  
  115. .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
  116.   width: 16px;
  117.   height: 16px;
  118. }
  119.  
  120. /* ..... drag and drop styles ..... */
  121.  
  122. .bookmark-item[dragover-left="true"] {
  123.   -moz-border-left-colors: #000000;
  124. }
  125. .bookmark-item[dragover-right="true"] {
  126.   -moz-border-right-colors: #000000;
  127. }
  128. .bookmark-item[dragover-top="true"] {
  129.   -moz-border-top-colors: #000000;
  130. }
  131. .bookmark-item[dragover-bottom="true"] {
  132.   -moz-border-bottom-colors: #000000;
  133. }
  134.  
  135. /* ::::: bookmark items ::::: */
  136.  
  137. .bookmark-item  {
  138.   list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
  139.   -moz-image-region: rect(0px, 16px, 16px, 0px)
  140. }
  141.  
  142. .bookmark-item[container="true"] {
  143.   -moz-image-region: rect(0px, 32px, 16px, 16px) !important;
  144. }
  145. .bookmark-item[open="true"],
  146. .bookmark-item[container="true"][open="true"] {
  147.   -moz-image-region: rect(16px, 32px, 32px, 16px) !important;
  148. }
  149.  
  150. /* ::::: primary toolbar buttons ::::: */
  151.  
  152. .toolbarbutton-1 {
  153.   -moz-box-orient: vertical;
  154.   min-width: 0px;
  155.   list-style-image: url("chrome://browser/skin/toolbar.png");
  156. }
  157.  
  158. .toolbarbutton-1, .toolbarbutton-menubutton-button  {
  159.   padding: 8px 4px 8px 4px;
  160. }
  161.  
  162. .toolbarbutton-1:hover:active,
  163. .toolbarbutton-1[open="true"],
  164. .toolbarbutton-menubutton-button:hover:active,
  165. .toolbarbutton-menubutton-button[open="true"] {
  166.   padding: 9px 3px 7px 5px
  167. }
  168.  
  169. .toolbarbutton-1[disabled="true"],
  170. .toolbarbutton-1[disabled="true"]:hover,
  171. .toolbarbutton-1[disabled="true"]:hover:active,
  172. .toolbarbutton-1[disabled="true"][open="true"],
  173. .toolbarbutton-menubutton-button[disabled="true"],
  174. .toolbarbutton-menubutton-button[disabled="true"]:hover,
  175. .toolbarbutton-menubutton-button[disabled="true"]:hover:active,
  176. .toolbarbutton-menubutton-button[disabled="true"][open="true"] {
  177.   padding: 8px 4px 8px 4px;
  178. }
  179.  
  180. .toolbarbutton-1[checked="true"],
  181. .toolbarbutton-menubutton-button[checked="true"] {
  182.   padding: 9px 3px 7px 5px !important;
  183. }
  184.  
  185. .toolbarbutton-menubutton-button,
  186. .toolbarbutton-menubutton-button:hover,
  187. .toolbarbutton-menubutton-button[buttonover="true"] {
  188.   padding-left: 8px;
  189. }
  190.  
  191. .toolbarbutton-menubutton-button:hover:active,
  192. .toolbarbutton-menubutton-button[open="true"],
  193. .toolbarbutton-menubutton-button[checked="true"] {
  194.   padding-left: 9px;
  195. }
  196.  
  197.  
  198. .toolbarbutton-menubutton-button[disabled="true"],
  199. .toolbarbutton-menubutton-button[disabled="true"]:hover,
  200. .toolbarbutton-menubutton-button[disabled="true"]:hover:active,
  201. .toolbarbutton-menubutton-button[disabled="true"][open="true"] {
  202.   padding-left: 8px;
  203. }
  204.  
  205. toolbarbutton:not([disabled="true"]):hover,
  206. menubutton:not([disabled="true"]):hover,
  207. toolbarbutton:not([disabled="true"]):hover:active,
  208. menubutton:not([disabled="true"]):hover:active {
  209.   color: ButtonText !important;
  210. }
  211.  
  212. .toolbarbutton-menubutton-stack,
  213. .toolbarbutton-menubutton-button,
  214. .toolbarbutton-menubutton-stack:hover,
  215. .toolbarbutton-menubutton-button:hover,
  216. .toolbarbutton-menubutton-stack:hover:active,
  217. .toolbarbutton-menubutton-button:hover:active {
  218.   margin: 0 !important;
  219.   display: -moz-box;
  220. }
  221.  
  222. toolbar[mode="icons"] .toolbarbutton-text {
  223.   display: none;
  224. }
  225.  
  226. toolbar[mode="text"] .toolbarbutton-icon {
  227.   display: none;
  228. }
  229.  
  230. toolbar[mode="text"] .toolbarbutton-text {
  231.   padding: 0 !important;
  232.   margin: 3px 5px !important;
  233. }
  234.  
  235. /* workaround */
  236. toolbar[mode="text"] toolbarbutton[type="menu"] .toolbarbutton-text {
  237.   margin: 2px 5px 4px 5px !important;
  238. }
  239.  
  240. /* Smaller padding on toolbar buttons in text mode */
  241.  
  242. toolbar[mode="text"] .toolbarbutton-1,
  243. toolbar[mode="text"] .toolbarbutton-menubutton-button  {
  244.   padding: 3px;
  245. }
  246.  
  247. toolbar[mode="text"] .toolbarbutton-1:hover:active,
  248. toolbar[mode="text"] .toolbarbutton-1[open="true"],
  249. toolbar[mode="text"] .toolbarbutton-menubutton-button:hover:active,
  250. toolbar[mode="text"] .toolbarbutton-menubutton-button[open="true"] {
  251.   padding: 4px 2px 2px 4px;
  252. }
  253.  
  254. toolbar[mode="text"] .toolbarbutton-1[disabled="true"],
  255. toolbar[mode="text"] .toolbarbutton-1[disabled="true"]:hover,
  256. toolbar[mode="text"] .toolbarbutton-1[disabled="true"]:hover:active,
  257. toolbar[mode="text"] .toolbarbutton-1[disabled="true"][open="true"],
  258. toolbar[mode="text"] .toolbarbutton-menubutton-button[disabled="true"],
  259. toolbar[mode="text"] .toolbarbutton-menubutton-button[disabled="true"]:hover,
  260. toolbar[mode="text"] .toolbarbutton-menubutton-button[disabled="true"]:hover:active,
  261. toolbar[mode="text"] .toolbarbutton-menubutton-button[disabled="true"][open="true"] {
  262.   padding: 3px;
  263. }
  264.  
  265. toolbar[mode="text"] .toolbarbutton-1[checked="true"],
  266. toolbar[mode="text"] .toolbarbutton-menubutton-button[checked="true"] {
  267.   padding: 4px 2px 2px 4px !important;
  268. }
  269.  
  270. #back-button {
  271.   -moz-image-region: rect(0px 20px 20px 0px);
  272. }
  273. #back-button[buttonover="true"] {
  274.   -moz-image-region: rect(20px 20px 40px 0px);
  275. }
  276. #back-button[disabled="true"] {
  277.   -moz-image-region: rect(40px 20px 60px 0px);
  278. }
  279.  
  280. #forward-button {
  281.   -moz-image-region: rect(0px 40px 20px 20px);
  282. }
  283. #forward-button[buttonover="true"] {
  284.   -moz-image-region: rect(20px 40px 40px 20px);
  285. }
  286.  #forward-button[disabled="true"] {
  287.   -moz-image-region: rect(40px 40px 60px 20px) !important;
  288. }
  289.  
  290.  #reload-button {
  291.   -moz-image-region: rect(0px 80px 20px 60px);
  292. }
  293.  #reload-button:hover {
  294.   -moz-image-region: rect(20px 80px 40px 60px);
  295. }
  296. #reload-button[disabled="true"] {
  297.   -moz-image-region: rect(40px 80px 60px 60px) !important;
  298. }
  299.  
  300. #stop-button {
  301.   -moz-image-region: rect(0px 60px 20px 40px);
  302. }
  303. #stop-button:hover {
  304.   -moz-image-region: rect(20px 60px 40px 40px);
  305. }
  306. #stop-button[disabled="true"] {
  307.   -moz-image-region: rect(40px 60px 60px 40px) !important;
  308. }
  309.  
  310. #home-button {
  311.   -moz-image-region: rect(0px 100px 20px 80px);
  312. }
  313. #home-button:hover {
  314.   -moz-image-region: rect(20px 100px 40px 80px);
  315. }
  316.  
  317. #print-button {
  318.   -moz-image-region: rect(0px 180px 20px 160px);
  319. }
  320. #print-button:hover {
  321.   -moz-image-region: rect(20px 180px 40px 160px);
  322. }
  323. #print-button[disabled="true"] {
  324.   -moz-image-region: rect(40px 180px 60px 160px);
  325. }
  326.  
  327. #downloads-button {
  328.   -moz-image-region: rect(0px 120px 20px 100px);
  329. }
  330. #downloads-button:hover,
  331. #downloads-button[checked="true"] {
  332.   -moz-image-region: rect(20px 120px 40px 100px);
  333. }
  334. #downloads-button[disabled="true"] {
  335.   -moz-image-region: rect(40px 120px 60px 100px) !important;
  336. }
  337.  
  338. #new-tab-button {
  339.   -moz-image-region: rect(0px 200px 20px 180px);
  340. }
  341. #new-tab-button:hover,
  342. #new-tab-button[checked="true"] {
  343.   -moz-image-region: rect(20px 200px 40px 180px);
  344. }
  345. #new-tab-button[disabled="true"] {
  346.   -moz-image-region: rect(40px 200px 60px 180px) !important;
  347. }
  348.  
  349. #new-window-button {
  350.   -moz-image-region: rect(0px 220px 20px 200px);
  351. }
  352. #new-window-button:hover,
  353. #new-window-button[checked="true"] {
  354.   -moz-image-region: rect(20px 220px 40px 200px);
  355. }
  356. #new-window-button[disabled="true"] {
  357.   -moz-image-region: rect(40px 220px 60px 200px) !important;
  358. }
  359.  
  360. #bookmarks-button {
  361.   -moz-image-region: rect(0px 160px 20px 140px);
  362. }
  363. #bookmarks-button:hover,
  364. #bookmarks-button[checked="true"] {
  365.   -moz-image-region: rect(20px 160px 40px 140px);
  366. }
  367. #bookmarks-button[disabled="true"] {
  368.   -moz-image-region: rect(40px 160px 60px 140px) !important;
  369. }
  370.  
  371. #history-button {
  372.   -moz-image-region: rect(0px 140px 20px 120px);
  373. }
  374. #history-button:hover,
  375. #history-button[checked="true"] {
  376.   -moz-image-region: rect(20px 140px 40px 120px);
  377. }
  378. #history-button[disabled="true"] {
  379.   -moz-image-region: rect(40px 140px 60px 120px) !important;
  380. }
  381.  
  382. #cut-button {
  383.   -moz-image-region: rect(0px 240px 20px 220px);
  384. }
  385. #cut-button:hover,
  386. #cut-button[checked="true"] {
  387.   -moz-image-region: rect(20px 240px 40px 220px);
  388. }
  389. #cut-button[disabled="true"] {
  390.   -moz-image-region: rect(40px 240px 60px 220px) !important;
  391. }
  392.  
  393. #copy-button {
  394.   -moz-image-region: rect(0px 260px 20px 240px);
  395. }
  396. #copy-button:hover,
  397. #copy-button[checked="true"] {
  398.   -moz-image-region: rect(20px 260px 40px 240px);
  399. }
  400. #copy-button[disabled="true"] {
  401.   -moz-image-region: rect(40px 260px 60px 240px) !important;
  402. }
  403.  
  404. #paste-button {
  405.   -moz-image-region: rect(0px 280px 20px 260px);
  406. }
  407. #paste-button:hover,
  408. #paste-button[checked="true"] {
  409.   -moz-image-region: rect(20px 280px 40px 260px);
  410. }
  411. #paste-button[disabled="true"] {
  412.   -moz-image-region: rect(40px 280px 60px 260px) !important;
  413. }
  414.  
  415. #mail-button {
  416.   -moz-image-region: rect(0px 300px 20px 280px);
  417. }
  418. #mail-button:hover,
  419. #mail-button[checked="true"] {
  420.   -moz-image-region: rect(20px 300px 40px 280px);
  421. }
  422. #mail-button[disabled="true"] {
  423.   -moz-image-region: rect(40px 300px 60px 280px);
  424. }
  425.  
  426. /* ::::: small primary toolbar buttons ::::: */
  427.  
  428. /* Smaller padding on small toolbar buttons */
  429.  
  430. toolbar[iconsize="small"] .toolbarbutton-1,
  431. toolbar[iconsize="small"] .toolbarbutton-menubutton-button  {
  432.   padding: 1px;
  433. }
  434.  
  435. toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
  436. toolbar[iconsize="small"] .toolbarbutton-1[open="true"],
  437. toolbar[iconsize="small"] .toolbarbutton-menubutton-button:hover:active,
  438. toolbar[iconsize="small"] .toolbarbutton-menubutton-button[open="true"] {
  439.   padding: 4px 2px 2px 4px;
  440. }
  441.  
  442. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"],
  443. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover,
  444. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active,
  445. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"],
  446. toolbar[iconsize="small"] .toolbarbutton-menubutton-button[disabled="true"],
  447. toolbar[iconsize="small"] .toolbarbutton-menubutton-button[disabled="true"]:hover,
  448. toolbar[iconsize="small"] .toolbarbutton-menubutton-button[disabled="true"]:hover:active,
  449. toolbar[iconsize="small"] .toolbarbutton-menubutton-button[disabled="true"][open="true"] {
  450.   padding: 1px;
  451. }
  452.  
  453. toolbar[iconsize="small"] .toolbarbutton-1[checked="true"],
  454. toolbar[iconsize="small"] .toolbarbutton-menubutton-button[checked="true"] {
  455.   padding: 4px 2px 2px 4px !important;
  456. }
  457.  
  458. .toolbarbutton-1[type="menu-button"],
  459. .toolbarbutton-1[type="menu-button"]:hover,
  460. .toolbarbutton-1[type="menu-button"]:hover:active,
  461. .toolbarbutton-1[type="menu-button"][open="true"],
  462. .toolbarbutton-1[type="menu-button"][disabled="true"],
  463. .toolbarbutton-1[type="menu-button"][disabled="true"]:hover,
  464. .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active {
  465.   padding: 0 !important;
  466. }
  467.  
  468. /* ::::: fullscreen window controls ::::: */
  469.  
  470. #window-controls {
  471.   -moz-box-align: center;
  472.   padding: 0 2px 0 4px;
  473.   border-left: 2px solid;
  474.   -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
  475. }
  476.  
  477. #minimize-button {
  478.   list-style-image: url("chrome://global/skin/icons/window-controls.gif");
  479.   -moz-image-region: rect(0px, 10px, 9px, 0px);
  480. #restore-button {
  481.   list-style-image: url("chrome://global/skin/icons/window-controls.gif");
  482.   -moz-image-region: rect(0px, 20px, 9px, 10px);
  483. #close-button {
  484.   list-style-image: url("chrome://global/skin/icons/window-controls.gif");
  485.   -moz-image-region: rect(0px, 30px, 9px, 20px);
  486. }
  487.  
  488. /* ::::: nav-bar-inner ::::: */
  489.  
  490. #urlbar {
  491.   margin: 2px 3px;
  492. }
  493.  
  494. #search-bar {
  495.   width: 12em;
  496. }
  497.  
  498. /* ::::: page proxy icon ::::: */
  499.  
  500. #page-proxy-deck,
  501. #page-proxy-favicon,
  502. #page-proxy-button {
  503.   width: 16px;
  504.   height: 16px;
  505. }
  506.  
  507. #page-proxy-deck {
  508.   cursor: -moz-grab;
  509.   margin: 2px 3px;
  510. }
  511.  
  512. #page-proxy-favicon {
  513.   list-style-image: none;
  514. }
  515.  
  516. #page-proxy-button {
  517.   list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
  518.   -moz-image-region: rect(0px, 16px, 16px, 0px);}
  519.  
  520. #page-proxy-button[pageproxystate="invalid"] {
  521.   cursor: default;
  522.   -moz-image-region: rect(32px, 16px, 48px, 0px) !important;
  523. }
  524.  
  525.  
  526. statusbarpanel#statusbar-display {
  527.   padding-left: 0;
  528. }
  529.  
  530. /* ::::: search-bar :::::
  531.  * Only for 0.8-0.9.1+ back compatibility, searchbar.css is now used instead */
  532.  
  533. #search-proxy-button {
  534.   margin-top: 2px;
  535.   margin-bottom: 1px;
  536. }
  537.  
  538. .search-proxy-button-image {
  539.   margin: 0px;
  540.   list-style-image: url("chrome://browser/skin/search-bar.png");
  541. }
  542.  
  543. .search-proxy-button-dropmarker {
  544.   margin-left: 12px;
  545.   margin-top: 8px;
  546.   list-style-image: url("chrome://browser/skin/search-arrow.gif");
  547. }
  548.  
  549. /* for 0.8-0.9 back compatibility */
  550. #__PhoenixFindInPage {
  551.   list-style-image: url("chrome://browser/skin/search-bar.png");
  552. }
  553.  
  554. /* ::::: autocomplete ::::: */
  555.  
  556. .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
  557.   color: #555566;
  558. }
  559.  
  560.  
  561. /* ::::: go button ::::: */
  562.  
  563. /* In Firefox 0.9.1+ the go button became a "toolbarbutton" (instead of a 
  564.    "button"), which makes most of this code unnecessary, but it's still there
  565.      for back compatibility */
  566.  
  567. #go-button,
  568. #go-container {
  569.   -moz-appearance: none;
  570.   background-color: transparent;
  571.   margin: 0;
  572.   padding: 2px;
  573.   min-width: 0;
  574.   list-style-image: url("chrome://browser/skin/Go.png");
  575.   -moz-image-region: rect(0px, 20px, 20px, 0px);
  576. }
  577.  
  578. #go-button {
  579.   -moz-appearance: toolbarbutton;
  580.   border-width: 1px !important;
  581.   -moz-border-top-colors: transparent;
  582.   -moz-border-right-colors: transparent;
  583.   -moz-border-bottom-colors: transparent;
  584.   -moz-border-left-colors: transparent;
  585.   -moz-appearance: toolbarbutton;
  586. }
  587.  
  588. #go-button:hover {
  589.   -moz-border-top-colors: ThreeDHighlight;
  590.   -moz-border-right-colors: ThreeDShadow;
  591.   -moz-border-bottom-colors: ThreeDShadow;
  592.   -moz-border-left-colors: ThreeDHighlight;
  593.   -moz-image-region: rect(0px, 40px, 20px, 20px);
  594. }
  595.  
  596. #go-button:hover:active {
  597.   -moz-border-top-colors: ThreeDShadow;
  598.   -moz-border-right-colors: ThreeDHighlight;
  599.   -moz-border-bottom-colors: ThreeDHighlight;
  600.   -moz-border-left-colors: ThreeDShadow;
  601. }
  602.  
  603. #go-button[disabled="true"] {
  604.   -moz-image-region: rect(0px, 60px, 20px, 40px);
  605.   border-color: transparent;
  606. }
  607.  
  608. #go-button > .button-box > .button-text {
  609.   margin-left: 5px !important;
  610.     display: inline !important;
  611. }
  612.  
  613. #go-button > .button-box {
  614.   border: none;
  615. }
  616.  
  617. #go-button > .toolbarbutton-text {
  618.   display: -moz-box !important;
  619. }
  620.  
  621. #sidebar {
  622.   background-color: Window;
  623. }
  624.  
  625. /* ::::: content area ::::: */
  626.  
  627. #status-bar {
  628.   border-top: none;
  629. }
  630.  
  631. #security-button {
  632.   display: none;
  633. }
  634.  
  635. #security-button[level="high"], #security-button[level="low"] {
  636.   list-style-image: url("chrome://browser/skin/lock-secure.png");
  637.   display: -moz-box;
  638.     padding: 0px 3px 0px 3px;
  639. }
  640.  
  641. #security-button[level="broken"] {
  642.   list-style-image: url("chrome://browser/skin/lock-broken.png");
  643.   display: -moz-box;
  644.     padding: 0px 3px 0px 3px;
  645. }
  646.  
  647. #page-report-button {
  648.   display: none;
  649. }
  650.  
  651. #page-report-button[blocked] {
  652.   list-style-image: url("chrome://browser/skin/popup-blocked.png");
  653.     display: -moz-box;
  654.   padding: 0px 3px 0px 3px;
  655. }
  656.  
  657. #page-theme-button {
  658.   display: none;
  659. }
  660.  
  661. #page-theme-button[themes] {
  662.   display: -moz-box;
  663.     padding: 0px 3px 0px 3px;
  664.   list-style-image: url("chrome://browser/skin/page-themes.png");
  665. }
  666.  
  667. #livemark-button {
  668.   display: none;
  669. }
  670.  
  671. #livemark-button[livemarks] {
  672.   display: -moz-box;
  673.   list-style-image: url("chrome://browser/skin/page-livemarks.png");
  674.   padding: 0px 3px 0px 3px;
  675. }
  676.  
  677.  
  678. /* ::::: throbber ::::: */
  679.  
  680. #navigator-throbber {
  681.   -moz-appearance: none;
  682.   -moz-user-focus: ignore;
  683.   margin: 0 !important;
  684.   border: none !important;
  685.   padding: 0px !important;
  686.   min-width: 0;
  687.   background-color: transparent;
  688.   list-style-image: url("chrome://browser/skin/throbber16-single.gif");
  689. }
  690.  
  691. #navigator-throbber[busy="true"] {
  692.   list-style-image: url("chrome://browser/skin/throbber16-anim.gif");
  693. }
  694.  
  695. toolbar[iconsize="small"] #navigator-throbber,
  696. toolbar[mode="text"] #navigator-throbber {
  697.   list-style-image: url("chrome://browser/skin/throbber16-single.gif");
  698. }
  699. toolbar[iconsize="small"] #navigator-throbber[busy="true"],
  700. toolbar[mode="text"] #navigator-throbber[busy="true"] {
  701.   list-style-image: url("chrome://browser/skin/throbber16-anim.gif");
  702. }
  703.  
  704. .tabs-closebutton {
  705.   list-style-image: url("chrome://global/skin/icons/close-button.gif");
  706. }
  707.  
  708. #content .tabs-closebutton {
  709.   list-style-image: url("chrome://browser/skin/tab-close.png");
  710.   -moz-image-region: rect(0px, 16px, 14px, 0px);
  711. }
  712. #content .tabs-closebutton:hover {
  713.   -moz-image-region: rect(0px, 32px, 14px, 16px);
  714. }
  715.  
  716. .tabs-newbutton {
  717.   list-style-image: url("chrome://browser/skin/tab-new.png") !important;
  718.     -moz-image-region: rect(0px, 16px, 14px, 0px) !important;
  719.     margin: 2px 3px 2px 3px;
  720. }
  721. .tabs-newbutton:hover {
  722.   -moz-image-region: rect(0px, 32px, 14px, 16px) !important;
  723. }
  724.  
  725. toolbarbutton.chevron {
  726.   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
  727. }
  728.  
  729. toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
  730.   display: none;
  731. }
  732.  
  733. toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
  734.   display: -moz-box;
  735. }
  736.  
  737. toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
  738.    display: none;
  739. }
  740.  
  741. #sidebar-throbber[loading="true"] {
  742.   list-style-image: url(chrome://global/skin/icons/loading.gif);
  743. }
  744.  
  745.  
  746. #find-previous 
  747. {
  748.   list-style-image: url("chrome://browser/skin/find.png");
  749.   -moz-image-region: rect(0px 16px 16px 0px);
  750. }
  751.  
  752. #find-previous[disabled="true"]
  753. {
  754.   -moz-image-region: rect(0px 48px 16px 32px) !important;
  755. }
  756.     
  757. #find-previous:hover
  758. {
  759.   -moz-image-region: rect(0px 32px 16px 16px);
  760. }
  761.  
  762. #find-next 
  763. {
  764.   list-style-image: url("chrome://browser/skin/find.png");
  765.   -moz-image-region: rect(16px 16px 32px 0px);
  766. }
  767.  
  768. #find-next[disabled="true"]
  769. {
  770.   -moz-image-region: rect(16px 48px 32px 32px) !important;
  771. }
  772.  
  773. #find-next:hover
  774. {
  775.   -moz-image-region: rect(16px 32px 32px 16px);
  776. }
  777.  
  778. #find-status-icon
  779. {
  780.   list-style-image: none;
  781.   margin: 1px 0px 0px 12px;
  782.   width: 16px;
  783.   height: 16px;
  784. }
  785.  
  786. #find-status
  787. {
  788.   margin: 1px 0px 0px 5px;
  789. }
  790.  
  791. #find-status-icon[status="notfound"]
  792. {
  793.   list-style-image: url("chrome://mozapps/skin/shared/extensionalert.png");
  794.   -moz-image-region: rect(0px 48px 16px 32px);
  795. }
  796.  
  797. #find-field {
  798.   -moz-appearance: none;
  799.   border: none;
  800.   margin: 0px;
  801. }
  802.  
  803. #find-field[status="notfound"]
  804. {
  805.   background-color: #FF6666;
  806.   color: #FFFFFF;
  807. }
  808.  
  809. #find-status-icon[status="wrapped"]
  810. {
  811.   list-style-image: url("chrome://mozapps/skin/shared/extensionalert.png");
  812.   -moz-image-region: rect(0px 32px 16px 16px);
  813. }
  814.  
  815. #highlight
  816. {
  817.   list-style-image: url("chrome://browser/skin/highlight.png");
  818.   -moz-image-region: rect(0px 16px 16px 0px);
  819. }
  820.  
  821. #highlight:hover
  822. {
  823.   -moz-image-region: rect(0px 32px 16px 16px);
  824. }
  825.  
  826. #highlight[disabled="true"]
  827. {
  828.   -moz-image-region: rect(0px 48px 16px 32px) !important;
  829. }
  830.  
  831. #highlight:active, #highlight[checked="true"] {
  832.     -moz-image-region: rect(0px 32px 16px 16px);
  833. }
  834.  
  835. #FindToolbar {
  836.   border: none;
  837.   border-top: 1px solid ThreeDShadow;
  838. }
  839.  
  840. #find-field-container {
  841.   -moz-appearance: textfield;
  842. }
  843.  
  844. #FindToolbar[flash="true"] > #find-field-container > #find-field {
  845.   background-color: yellow;
  846. }
  847.  
  848. /* ::::: web developer toolbar ::::: */
  849. .webdeveloper-toolbar-button
  850. {
  851.   list-style-image: url("chrome://mozapps/skin/webdeveloper/webdev-toolbar.png") !important;
  852. }
  853. .webdeveloper-statusbar-button
  854.   list-style-image: url("chrome://mozapps/skin/webdeveloper/webdev-statusbar.png") !important; 
  855. }
  856. .webdeveloper-sidebar-button
  857. {
  858.  list-style-image: url("chrome://mozapps/skin/webdeveloper/webdev-sidebar.png") !important;
  859. }
  860.  
  861.