home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / mozilla / skin / MozCurveBlue-1.4-0.99.jar / navigator / navigator.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-12-06  |  10.8 KB  |  421 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.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. @import url("chrome://navigator/content/navigator.css");
  39. @import url("chrome://communicator/skin/");
  40. @import url("chrome://communicator/skin/sidebar/sidebar.css");
  41. @import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
  42.  
  43. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  44.  
  45. /* ::::: primary toolbar buttons ::::: */
  46.  
  47. .toolbarbutton-1 {
  48.   list-style-image: url("chrome://navigator/skin/icons/btn1.png");
  49. }
  50.  
  51. #back-button {
  52.   -moz-image-region: rect(0px 22px 22px 0px);
  53. }
  54.  
  55. #back-button[buttonover="true"] {
  56.   -moz-image-region: rect(0px 44px 22px 22px);
  57. }
  58.  
  59. #back-button[buttondown="true"] {
  60.   -moz-image-region: rect(0px 66px 22px 44px);
  61. }
  62.  
  63. #back-button[disabled="true"] {
  64.   -moz-image-region: rect(0px 88px 22px 66px) !important;
  65. }
  66.  
  67. #forward-button {
  68.   -moz-image-region: rect(22px 22px 44px 0px);
  69. }
  70.  
  71. #forward-button[buttonover="true"] {
  72.   -moz-image-region: rect(22px 44px 44px 22px);
  73. }
  74.  
  75. #forward-button[buttondown="true"] {
  76.   -moz-image-region: rect(22px 66px 44px 44px);
  77. }
  78.  
  79. #forward-button[disabled="true"] {
  80.   -moz-image-region: rect(22px 88px 44px 66px) !important;
  81. }
  82.  
  83. #reload-button {
  84.   -moz-image-region: rect(44px 22px 66px 0px);
  85. }
  86.   
  87. #reload-button:hover {
  88.   -moz-image-region: rect(44px 44px 66px 22px);
  89. }
  90.  
  91. #reload-button:hover:active {
  92.   -moz-image-region: rect(44px 66px 66px 44px);
  93. }
  94.  
  95. #reload-button[disabled="true"] {
  96.   -moz-image-region: rect(44px 88px 66px 66px) !important;
  97. }
  98.  
  99. #stop-button {
  100.   list-style-image: url("chrome://communicator/skin/icons/btn1.png");
  101.   -moz-image-region: rect(22px 22px 44px 0px);
  102. }
  103.  
  104. #stop-button:hover {
  105.   -moz-image-region: rect(22px 44px 44px 22px);
  106.  
  107. #stop-button:hover:active {
  108.   -moz-image-region: rect(22px 66px 44px 44px);
  109. }
  110.  
  111. #stop-button[disabled="true"] {
  112.   -moz-image-region: rect(22px 88px 44px 66px) !important;
  113. }
  114.  
  115.  
  116.  
  117. /* ::::: home button toolbar addon support ::::: */
  118. #home {
  119.   list-style-image: url("chrome://navigator/skin/icons/home.png") !important;
  120. }
  121.  
  122. #home:hover {
  123.   list-style-image: url("chrome://navigator/skin/icons/home-hov.png") !important;
  124. }
  125.  
  126. #home:hover:active {
  127.   list-style-image: url("chrome://communicator/skin/help/home-act.gif") !important;
  128. }
  129.  
  130. #home[disabled="true"] {
  131.   list-style-image: url("chrome://communicator/skin/help/home-dis.gif") !important;
  132. }
  133.  
  134. #home[toolbarmode="small"] {
  135.   list-style-image: url("chrome://navigator/skin/icons/home.png");
  136. }
  137.  
  138. #home[toolbarmode="small"]:hover {
  139.   list-style-image: url("chrome://navigator/skin/icons/home-hov.png");
  140. }
  141.  
  142. #home[toolbarmode="small"]:hover:active {
  143.   list-style-image: url("chrome://navigator/skin/icons/home-act.png");
  144. }
  145.  
  146. #home[toolbarmode="small"][disabled="true"] {
  147.   list-style-image: url("chrome://navigator/skin/icons/home-dis.png") !important;
  148. }
  149. /* ::::: end home button toolbar addon support ::::: */
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156. #print-button {
  157.   list-style-image: url("chrome://communicator/skin/icons/btn1.png");
  158.   -moz-image-region: rect(0px 22px 22px 0px);
  159. }
  160.  
  161. #print-button[buttonover="true"] {
  162.   -moz-image-region: rect(0px 44px 22px 22px);
  163. }
  164.  
  165. #print-button[buttondown="true"] {
  166.   -moz-image-region: rect(0px 66px 22px 44px);
  167. }
  168.  
  169. #print-button[disabled="true"] {
  170.   -moz-image-region: rect(0px 88px 22px 66px) !important;
  171. }
  172.  
  173. #fullscreen-exit-button {
  174.   list-style-image: url("chrome://navigator/skin/icons/window-nofullscreen.png");
  175. }
  176.  
  177. /* ::::: small primary toolbar buttons ::::: */
  178.  
  179. .toolbarbutton-1[toolbarmode="small"] {
  180.   min-width: 0;
  181. }
  182.  
  183. .toolbarbutton-text[toolbarmode="small"] {
  184.   display: none;
  185. }
  186.  
  187. #search-button[toolbarmode="small"] > .button-box > .button-text {
  188.   display: none;
  189. }
  190.  
  191. .toolbarbutton-icon[toolbarmode="small"] {
  192.   display: inline;
  193. }
  194.  
  195. #nav-bar[toolbarmode="small"] > .toolbar-primary-grippy {
  196.   display: none;
  197. }
  198.  
  199. /* ::::: fullscreen window controls ::::: */
  200.  
  201. #window-controls {
  202.   -moz-box-align: center;
  203.   padding: 0 2px 0 4px;
  204.   border-left: 2px solid;
  205.   -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
  206. }
  207.  
  208. #minimize-button {
  209.   list-style-image: url("chrome://navigator/skin/icons/minimize.png");
  210.  
  211. #restore-button {
  212.   list-style-image: url("chrome://navigator/skin/icons/restore.png");
  213.  
  214. #close-button {
  215.   list-style-image: url("chrome://navigator/skin/icons/close.png");
  216.   
  217. /* ::::: nav-bar-inner ::::: */
  218.   
  219. #nav-bar-inner {
  220.   -moz-box-align: center;
  221.   min-width: 0px;
  222. }
  223.  
  224. #urlbar {  
  225.   border: 2px solid;
  226.   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  227.   -moz-border-right-colors: ThreeDHighlight ThreeDFace;
  228.   -moz-border-bottom-colors: ThreeDHighlight ThreeDFace;
  229.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  230. }
  231.  
  232. /* ::::: page proxy icon ::::: */
  233.  
  234. #page-proxy-deck,
  235. #page-proxy-favicon,
  236. #page-proxy-button {
  237.   width: 16px;
  238.   height: 16px;
  239. }
  240.  
  241. #page-proxy-deck {
  242.   cursor: -moz-grab;
  243.   margin: 2px 3px;
  244. }
  245.  
  246. #page-proxy-button {
  247.   list-style-image: url("chrome://communicator/skin/bookmarks/location.png"); 
  248.  
  249. #page-proxy-favicon {
  250.   list-style-image: none;
  251.  
  252. #page-proxy-button[pageproxystate="valid"]:hover  {
  253.   list-style-image: url("chrome://communicator/skin/bookmarks/location-hov.png");
  254. }
  255.   
  256. #page-proxy-button[pageproxystate="valid"]:hover:active {
  257.   list-style-image: url("chrome://communicator/skin/bookmarks/location-act.png");
  258. }
  259.  
  260. #page-proxy-button[pageproxystate="invalid"] {
  261.   cursor: default;
  262.   list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.png");
  263. }
  264.  
  265. /* ::::: autocomplete ::::: */
  266.  
  267. .autocomplete-history-dropmarker {
  268.   border-right-width: 1px;
  269.   border-bottom-width: 1px;
  270.   -moz-border-right-colors: ThreeDShadow;
  271.   -moz-border-bottom-colors: ThreeDShadow;
  272. }
  273.  
  274. .autocomplete-treebody:-moz-tree-cell-text(value) {
  275.   padding-left: 15px;
  276. }
  277.  
  278. .autocomplete-treebody:-moz-tree-cell-text(comment) {
  279.   color: ThreeDShadow;
  280. }
  281.  
  282. .autocomplete-search-box {
  283.   border-top: 2px groove -moz-Dialog;
  284.   background-color: -moz-Dialog;
  285.   color: ButtonText;
  286. }
  287.  
  288. .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
  289.   border-top: 1px solid ThreeDHighlight;
  290. }
  291.  
  292. .autocomplete-search-engine {
  293.   padding: 2px;
  294. }
  295.  
  296. .autocomplete-search-engine[menuactive="true"] {
  297.   background-color: Highlight;
  298.   color: HighlightText;
  299. }
  300.  
  301. .autocomplete-search-engine-img {
  302.   margin-right: 4px;
  303. }
  304.  
  305. /* ::::: go and searchbuttons ::::: */
  306. #search-button,
  307. #go-button {
  308.   margin: 0px 4px 0px 0px;
  309.   font: message-box;
  310. }
  311.  
  312. #go-button {
  313.   list-style-image: url("chrome://communicator/skin/icons/go.png");
  314.   font-weight: bold;
  315.   -moz-border-top-colors: transparent;
  316.   -moz-border-right-colors: transparent;
  317.   -moz-border-bottom-colors: transparent;
  318.   -moz-border-left-colors: transparent;
  319. }
  320.  
  321. #go-button:hover {
  322.   list-style-image: url("chrome://communicator/skin/icons/go-hov.png");
  323.   -moz-border-top-colors: ThreeDHighlight;
  324.   -moz-border-right-colors: ThreeDShadow;
  325.   -moz-border-bottom-colors: ThreeDShadow;
  326.   -moz-border-left-colors: ThreeDHighlight;
  327. }
  328.  
  329. #go-button:active {
  330.   list-style-image: url("chrome://communicator/skin/icons/go-act.png");
  331. }
  332.  
  333. #search-button {
  334.   list-style-image: url("chrome://communicator/skin/icons/search.png");
  335. }
  336.  
  337. #search-button:hover {
  338.   list-style-image: url("chrome://communicator/skin/icons/search-hov.png");
  339. }
  340.  
  341. #search-button:hover:active {
  342.   list-style-image: url("chrome://communicator/skin/icons/search-act.png");
  343. }
  344.  
  345. /* ::::: personal toolbar ::::: */
  346.  
  347. #bookmarks-button {
  348.   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.png");
  349. }
  350.  
  351. #bookmarks-button:hover {
  352.   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-hov.png");
  353. }
  354.  
  355.  
  356. #bookmarks-button[open="true"] {
  357.   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.png");
  358. }
  359.  
  360. #bookmarks-button[open="true"]:hover {
  361.   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-hov.png");
  362. }
  363.  
  364. /* ::::: sidebar splitter ::::: */
  365.  
  366. #sidebar-splitter {
  367.   border-left: none;
  368.   border-right: none;
  369.   min-width: 5px;
  370. }
  371.  
  372. /* ::::: content area ::::: */
  373.  
  374. #content {
  375.   border-top: 1px solid ThreeDDarkShadow;
  376.   border-bottom: 1px solid ThreeDLightShadow;
  377.   border-left: 2px solid;
  378.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  379. }
  380.  
  381. #status-bar {
  382.   border-top: none;
  383. }
  384.  
  385. #security-button {
  386.   list-style-image: url("chrome://communicator/skin/icons/lock-insecure.png");
  387. }
  388.  
  389. #security-button[level="high"] {
  390.   list-style-image: url("chrome://communicator/skin/icons/lock-secure.png");
  391. }
  392.  
  393. #security-button[level="low"] {
  394.   list-style-image: url("chrome://communicator/skin/icons/lock-secure.png");
  395. }
  396.  
  397. #security-button[level="broken"] {
  398.   list-style-image: url("chrome://communicator/skin/icons/lock-broken.png");
  399. }
  400.  
  401. /* ::::: personal toolbar ::::: */
  402.  
  403. #home-button {
  404.   list-style-image: url("chrome://communicator/skin/bookmarks/home.png");
  405. }
  406.   
  407. #home-button:hover {
  408.   list-style-image: url("chrome://communicator/skin/bookmarks/home-hover.png");
  409. }
  410.   
  411. #home-button:hover:active {
  412.   list-style-image: url("chrome://communicator/skin/bookmarks/home-active.png");
  413. }
  414.  
  415.