home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / mozilla / skin / ieskin-0.0.3-IE5.5-skinVersion1.5.xpi / ieskin.jar / navigator / navigator.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-01-05  |  13.3 KB  |  516 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. /* Modified for IE Skin by Bamm Gabriana, Jan 2004 */
  39.  
  40. @import url("chrome://navigator/content/navigator.css");
  41. @import url("chrome://communicator/skin/");
  42. @import url("chrome://communicator/skin/sidebar/sidebar.css");
  43. @import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
  44.  
  45. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  46.  
  47.  
  48. /* ::::: primary toolbar ::::: */
  49.  
  50. .toolbarbutton-1,
  51. .toolbarbutton-1 > .toolbarbutton-menubutton-button {
  52.   min-width: 4.2em;
  53. }
  54.  
  55. .toolbarbutton-1 {
  56.   list-style-image: url("chrome://navigator/skin/icons/btn1.gif");
  57. }
  58.  
  59. .toolbarbutton-1 > .toolbarbutton-icon,
  60. .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
  61.   margin: 0px 0px 0px 1px;
  62.   padding: 2px 0px 0px 0px;
  63. }
  64.  
  65. .toolbarbutton-1 > .toolbarbutton-text,
  66. .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text {
  67.   margin: 0px 0px 1px 1px !important;
  68.   padding: 0;
  69. }
  70.  
  71.  
  72. /* ::::: primary toolbar buttons ::::: */
  73.  
  74. #back-button {
  75.   -moz-image-region: rect(0px 23px 21px 0px);
  76. }
  77.  
  78. #back-button:hover {
  79.   -moz-image-region: rect(0px 45px 21px 22px);
  80. }
  81.  
  82. #back-button:hover:active,
  83. #back-button[open="true"] {
  84.   -moz-image-region: rect(0px 67px 21px 44px);
  85. }
  86.  
  87. #back-button[disabled="true"] {
  88.   -moz-image-region: rect(0px 89px 21px 66px) !important;
  89. }
  90.  
  91. #forward-button {
  92.   -moz-image-region: rect(20px 23px 41px 0px);
  93. }
  94.  
  95. #forward-button:hover {
  96.   -moz-image-region: rect(20px 45px 41px 22px);
  97. }
  98.  
  99. #forward-button:hover:active,
  100. #forward-button[open="true"] {
  101.   -moz-image-region: rect(20px 67px 41px 44px);
  102. }
  103.  
  104. #forward-button[disabled="true"] {
  105.   -moz-image-region: rect(20px 89px 41px 66px) !important;
  106. }
  107.  
  108. #reload-button {
  109.   -moz-image-region: rect(40px 23px 61px 0px);
  110. }
  111.  
  112. #reload-button:hover {
  113.   -moz-image-region: rect(40px 45px 61px 22px);
  114. }
  115.  
  116. #reload-button:hover:active {
  117.   -moz-image-region: rect(40px 67px 61px 44px);
  118. }
  119.  
  120. #reload-button[disabled="true"] {
  121.   -moz-image-region: rect(40px 89px 61px 66px) !important;
  122. }
  123.  
  124. #stop-button {
  125.   list-style-image: url("chrome://navigator/skin/icons/btn2.gif");
  126.   -moz-image-region: rect(21px 23px 42px 0px);
  127. }
  128.  
  129. #stop-button:hover {
  130.   -moz-image-region: rect(21px 45px 42px 22px);
  131.  
  132. #stop-button:hover:active {
  133.   -moz-image-region: rect(21px 67px 42px 44px);
  134. }
  135.  
  136. #stop-button[disabled="true"] {
  137.   -moz-image-region: rect(21px 89px 42px 66px) !important;
  138. }
  139.  
  140. #print-button {
  141.   list-style-image: url("chrome://navigator/skin/icons/btn2.gif");
  142.   -moz-image-region: rect(0px 23px 21px 0px);
  143. }
  144.  
  145. #print-button:hover {
  146.   -moz-image-region: rect(0px 45px 21px 22px);
  147. }
  148.  
  149. #print-button:hover:active,
  150. #print-button[open="true"] {
  151.   -moz-image-region: rect(0px 67px 21px 44px);
  152. }
  153.  
  154. #print-button[disabled="true"] {
  155.   -moz-image-region: rect(0px 89px 21px 66px) !important;
  156. }
  157.  
  158.  
  159. /* ::::: support for home button package ::::: */
  160.  
  161. #home {
  162.   list-style-image: url("chrome://communicator/skin/help/home.gif") !important;
  163.   -moz-image-region: rect(0px 23px 21px 0px) !important;
  164. }
  165.  
  166. #home:hover {
  167.   list-style-image: url("chrome://communicator/skin/help/home-hov.gif") !important;
  168.   -moz-image-region: rect(0px 23px 21px 0px) !important;
  169. }
  170.  
  171. #home:hover:active {
  172.   list-style-image: url("chrome://communicator/skin/help/home-act.gif") !important;
  173.   -moz-image-region: rect(0px 23px 21px 0px) !important;
  174. }
  175.  
  176.  
  177. /* ::::: go and searchbuttons ::::: */
  178.  
  179. #go-button > .button-box > .button-icon,
  180. #search-button > .button-box > .button-icon {
  181.   margin: 0 2px 0 0;
  182. }
  183.  
  184. #go-button {
  185.   list-style-image: url("chrome://communicator/skin/icons/go.gif");
  186.   margin: 0;
  187.   padding: 1px 3px 1px 6px !important;
  188. }
  189.  
  190. #go-button:hover {
  191.   list-style-image: url("chrome://communicator/skin/icons/go-hov.gif");
  192. }
  193.  
  194. #go-button:hover:active {
  195.   list-style-image: url("chrome://communicator/skin/icons/go-act.gif");
  196. }
  197.  
  198. #search-button {
  199.   list-style-image: url("chrome://communicator/skin/icons/search.gif");
  200.   margin: 0;
  201.   padding: 1px 3px 0px 6px !important;
  202. }
  203.  
  204. #search-button:hover {
  205.   list-style-image: url("chrome://communicator/skin/icons/search-hov.gif");
  206. }
  207.  
  208. #search-button:hover:active {
  209.   list-style-image: url("chrome://communicator/skin/icons/search-act.gif");
  210. }
  211.  
  212. #go-button,
  213. #search-button {
  214.   border: 3px solid;
  215.   -moz-border-top-colors: transparent transparent transparent !important;
  216.   -moz-border-right-colors: transparent transparent transparent !important;
  217.   -moz-border-bottom-colors: transparent transparent transparent !important;
  218.   -moz-border-left-colors: transparent transparent transparent !important;
  219.   border-top-color: transparent !important;
  220.   border-right-color: transparent !important;
  221.   border-bottom-color: transparent !important;
  222.   border-left-color: transparent !important;
  223. }
  224.  
  225.  
  226. /* ::::: small primary toolbar buttons ::::: */
  227.  
  228. .toolbarbutton-1[toolbarmode="small"],
  229. .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button {
  230.   min-width: 0px;
  231. }
  232.  
  233. .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-icon,
  234. .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
  235.   margin: 0px 1px 0px 0px;
  236.   padding: 0px;
  237. }
  238.  
  239. .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text,
  240. .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text {
  241.   display: none;
  242. }
  243.  
  244. #nav-bar[toolbarmode="small"] > #nav-bar-inner {
  245.   margin: 0;
  246.   border-left: 1px solid ThreeDHighlight;
  247. }
  248.  
  249. #nav-bar[toolbarmode="small"] > .toolbar-primary-grippy {
  250.   display: none;
  251. }
  252.  
  253.  
  254. /* ::::: fullscreen window controls ::::: */
  255.  
  256. #window-controls {
  257.   -moz-box-align: top;
  258.   margin: 0px !important;
  259.   border-left: 2px solid;
  260.   -moz-border-left-colors: ThreeDShadow ThreeDHighlight;
  261.   padding-left: 34px !important;
  262.   background-color: black;
  263.   background: url("chrome://communicator/skin/brand/throbber-single-full.gif");
  264.   background-repeat: no-repeat;
  265.   background-position: 0% 25%;
  266. }
  267.  
  268. #window-controls[busy=true] {
  269.   background: url("chrome://communicator/skin/brand/throbber-anim-full.gif");
  270. }
  271.  
  272. #minimize-button {
  273.   list-style-image: url("chrome://navigator/skin/icons/minimize.gif");
  274.   min-width: 0 !important;
  275.   width: 18px;
  276.   height: 12px;
  277.   margin: 0 0 8px 0;
  278.   padding: 1px 0 0 0;
  279.  
  280. #restore-button {
  281.   list-style-image: url("chrome://navigator/skin/icons/restore.gif");
  282.   min-width: 0 !important;
  283.   width: 18px;
  284.   height: 12px;
  285.   margin: 0 0 8px 0;
  286.   padding: 1px 0 0 0;
  287.  
  288. #close-button {
  289.   list-style-image: url("chrome://navigator/skin/icons/close.gif");
  290.   min-width: 0 !important;
  291.   width: 18px;
  292.   height: 12px;
  293.   margin: 0 0 8px 0;
  294.   padding: 1px 0 0 0;
  295.  
  296.  
  297. /* ::::: personal toolbar ::::: */
  298.  
  299. #home-button {
  300.   list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
  301. }
  302.   
  303. #home-button:hover {
  304.   list-style-image: url("chrome://communicator/skin/bookmarks/home-hover.gif");
  305. }
  306.   
  307. #home-button:hover:active {
  308.   list-style-image: url("chrome://communicator/skin/bookmarks/home-active.gif");
  309. }
  310.  
  311. #bookmarks-button {
  312.   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button.gif");
  313. }
  314.  
  315. #bookmarks-button:hover {
  316.   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button-hov.gif");
  317. }
  318.  
  319. #bookmarks-button:hover:active {
  320.   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button-act.gif");
  321. }
  322.  
  323. #bookmarks-button[open="true"] {
  324.   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button-act.gif");
  325. }
  326.  
  327.   
  328. /* ::::: nav bar ::::: */
  329.   
  330. #nav-bar-buttons {
  331.   border-right: 1px solid ThreeDShadow;
  332.   padding: 0px 4px 0px 0px;
  333. }
  334.   
  335. #nav-bar-inner {
  336.   -moz-box-align: center;
  337.   margin: 0;
  338.   border-left: 1px solid ThreeDHighlight;
  339.   padding: 0 4px;
  340.   min-width: 0;
  341. }
  342.  
  343. #urlbar {
  344.   margin: 0px 2px;
  345.   border: 2px solid;
  346.   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  347.   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
  348.   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  349.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  350.   padding: 0px !important;
  351. }
  352.  
  353.  
  354. /* ::::: page proxy icon ::::: */
  355.  
  356. #page-proxy-deck,
  357. #page-proxy-favicon,
  358. #page-proxy-button {
  359.   width: 16px;
  360.   height: 16px;
  361. }
  362.  
  363. #page-proxy-deck {
  364.   margin: 1px;
  365. }
  366.  
  367. #page-proxy-button {
  368.   list-style-image: url("chrome://communicator/skin/bookmarks/location.gif"); 
  369.  
  370. #page-proxy-favicon {
  371.   list-style-image: none;
  372.  
  373. #page-proxy-button[pageproxystate="valid"]:hover  {
  374.   list-style-image: url("chrome://communicator/skin/bookmarks/location-hov.gif");
  375. }
  376.   
  377. #page-proxy-button[pageproxystate="valid"]:hover:active {
  378.   list-style-image: url("chrome://communicator/skin/bookmarks/location-act.gif");
  379. }
  380.  
  381. #page-proxy-button[pageproxystate="invalid"] {
  382.   cursor: default;
  383.   list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.gif");
  384. }
  385.  
  386.  
  387. /* ::::: autocomplete ::::: */
  388.  
  389. .autocomplete-treebody:-moz-tree-cell-text(value) {
  390.   padding-left: 15px;
  391. }
  392.  
  393. .autocomplete-treebody:-moz-tree-cell-text(comment) {
  394.   color: ThreeDShadow;
  395. }
  396.  
  397. .autocomplete-search-box {
  398.   border-top: 2px groove -moz-Dialog;
  399.   background-color: -moz-Dialog;
  400.   color: ButtonText;
  401. }
  402.  
  403. .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
  404.   border-top: 1px solid ThreeDHighlight;
  405. }
  406.  
  407. .autocomplete-search-engine {
  408.   padding: 2px;
  409.   background-color: ThreeDLightShadow;
  410. }
  411.  
  412. .autocomplete-search-engine[menuactive="true"] {
  413.   background-color: Highlight;
  414.   color: HighlightText;
  415. }
  416.  
  417. .autocomplete-search-engine-img {
  418.   margin-right: 4px;
  419. }
  420.  
  421.  
  422. /* ::::: sidebar splitter ::::: */
  423.  
  424. #sidebar-splitter {
  425.   border-left: none;
  426.   border-right: none;
  427.   min-width: 4px;
  428. }
  429.  
  430.  
  431. /* ::::: content area ::::: */
  432.  
  433. #content {
  434.   border: 2px solid;
  435.   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  436.   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
  437.   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  438.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  439. }
  440.  
  441. #status-bar {
  442.   border-top: none;
  443. }
  444.  
  445.  
  446. /* ::::: throbber ::::: */
  447.  
  448. #main-menubar {
  449.   background: url("chrome://communicator/skin/brand/throbber-single.gif") no-repeat 100% 0%;
  450. }
  451.  
  452. #main-menubar[busy=true] {
  453.   background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat 100% 0%;
  454. }
  455.  
  456.  
  457. /* ::::: statusbar display ::::: */
  458.  
  459. .statusbarpanel-text {
  460.   background: url("chrome://communicator/skin/bookmarks/location.gif") no-repeat 0% 50%;
  461.   margin: 0px 1px;
  462.   padding: 1px 1px 1px 20px;
  463.   height: 16px
  464. }
  465.  
  466. /* ::::: security overlay ::::: */
  467.  
  468. #security-button {
  469.   list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
  470. }
  471.  
  472. #security-button[level="high"] {
  473.   list-style-image: url("chrome://communicator/skin/icons/lock-securehi.gif");
  474. }
  475.  
  476. #security-button[level="low"] {
  477.   list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
  478. }
  479.  
  480. #security-button[level="broken"] {
  481.   list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
  482. }
  483.  
  484.  
  485. /* ::::: popup controls ::::: */
  486.  
  487. #popupIcon {
  488.   display: -moz-box;
  489.   list-style-image: url("chrome://navigator/skin/icons/popup-blocked.png");
  490. }
  491.  
  492. #popupIcon[hidden="true"] {
  493.   list-style-image: none;
  494. }
  495.  
  496. #popupImage {
  497.   list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
  498.   margin: 6px 0px;
  499. }
  500.  
  501. /* ::::: chevron ::::: */
  502.  
  503. toolbarbutton.chevron {
  504.   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
  505. }
  506.  
  507. toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
  508.   display: none;
  509. }
  510.