home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / skinclas.xpi / bin / chrome / classic.jar / skin / classic / global / scrollbars.css < prev    next >
Cascading Style Sheet File  |  2001-08-04  |  3KB  |  118 lines

  1. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */
  2.  
  3. /********* XP Scrollbar *********/
  4.  
  5. scrollbar 
  6.   {
  7.     -moz-binding          : url("chrome://global/skin/classicBindings.xml#scrollbar");
  8.     cursor                : default;
  9.   }
  10.   
  11. /********* XP Scrollbar *********/
  12.  
  13. thumb 
  14.   {
  15.     -moz-binding          : url(chrome://global/skin/classicBindings.xml#thumb);
  16.     border-left           : 1px solid ThreeDLightShadow;
  17.     border-top            : 1px solid ThreeDLightShadow;
  18.     border-right          : 1px solid ThreeDDarkShadow;
  19.     border-bottom         : 1px solid ThreeDDarkShadow;
  20.     background-color      : -moz-Dialog;
  21.   }
  22.  
  23. .thumb-box
  24.   {
  25.     border-left           : 1px solid ThreeDHighlight;
  26.     border-top            : 1px solid ThreeDHighlight;
  27.     border-right          : 1px solid ThreeDShadow;
  28.     border-bottom         : 1px solid ThreeDShadow;
  29.   }
  30.   
  31. .thumb-spring
  32.   {
  33.       min-width              : 4px;
  34.       min-height              : 4px;
  35.   } 
  36.   
  37. /**
  38.  * Scrollbar button
  39.  **/  
  40. scrollbarbutton 
  41.   {
  42.     -moz-binding          : url("chrome://global/skin/classicBindings.xml#scrollbarbutton");
  43.     border-left           : 1px solid ThreeDLightShadow;
  44.     border-top            : 1px solid ThreeDLightShadow;
  45.     border-right          : 1px solid ThreeDDarkShadow;
  46.     border-bottom         : 1px solid ThreeDDarkShadow;
  47.     background-color      : -moz-Dialog;
  48.   }
  49.  
  50. .scrollbarbutton-box
  51.   {
  52.     border-left           : 1px solid ThreeDHighlight;
  53.     border-top            : 1px solid ThreeDHighlight;
  54.     border-right          : 1px solid ThreeDShadow;
  55.     border-bottom         : 1px solid ThreeDShadow;
  56.     padding               : 1px;
  57.   }
  58.  
  59. scrollbarbutton:hover:active 
  60.   {
  61.     border                : 1px solid ThreeDShadow;
  62.   }
  63.   
  64. scrollbarbutton:hover:active > .scrollbarbutton-box
  65.   {
  66.     border                : 1px solid ThreeDFace;
  67.     padding               : 2px 0px 0px 2px;
  68.   }   
  69.  
  70. scrollbarbutton[type="decrement"] 
  71.   {
  72.     list-style-image      : url("chrome://global/skin/scroll-left.gif")
  73.   }
  74.  
  75. scrollbarbutton[type="decrement"][disabled="true"] 
  76.   {
  77.     list-style-image      : url("chrome://global/skin/scroll-left-disabled.gif") 
  78.   }
  79.  
  80. scrollbarbutton[type="increment"] 
  81.   {
  82.     list-style-image      : url("chrome://global/skin/scroll-right.gif")
  83.   }
  84.  
  85.  
  86. scrollbarbutton[type="increment"][disabled="true"] 
  87.   {
  88.     list-style-image      : url("chrome://global/skin/scroll-right-disabled.gif") 
  89.   }
  90.  
  91.  
  92. scrollbarbutton[type="decrement"][sborient="vertical"]
  93.   {
  94.     list-style-image      : url("chrome://global/skin/scroll-up.gif")
  95.   }
  96.  
  97. scrollbarbutton[type="decrement"][disabled="true"][sborient="vertical"]
  98.   {
  99.     list-style-image      : url("chrome://global/skin/scroll-up-disabled.gif") 
  100.   }
  101.  
  102. scrollbarbutton[type="increment"][sborient="vertical"]
  103.   {
  104.     list-style-image      : url("chrome://global/skin/scroll-down.gif")
  105.   }
  106.  
  107. scrollbarbutton[type="increment"][disabled="true"][sborient="vertical"]
  108.   {
  109.     list-style-image      : url("chrome://global/skin/scroll-down-disabled.gif") 
  110.   }
  111.  
  112. slider 
  113.   {
  114.     background-color      : Scrollbar;                
  115.     background-image      : url("chrome://global/skin/scrollbar-slider-bg.gif");
  116.   }
  117.   
  118.