| 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/scrollbarBindings.xml#scrollbar"); |
| 8 | cursor : default; |
| 9 | } |
| 10 | |
| 11 | /********* XP Scrollbar *********/ |
| 12 | |
| 13 | thumb |
| 14 | { |
| 15 | -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#thumbh"); |
| 16 | background-color : #CCCCCC; |
| 17 | border : 1px outset #CCCCCC; |
| 18 | list-style-image : url("chrome://global/skin/scroll-thumb-horiz.gif"); |
| 19 | -moz-box-pack : center; |
| 20 | -moz-box-align : center; |
| 21 | } |
| 22 | |
| 23 | thumb[disabled="true"] { |
| 24 | list-style-image : url("chrome://global/skin/scroll-thumb-horiz-disabled.gif"); |
| 25 | } |
| 26 | |
| 27 | scrollbar[orient="vertical"] > slider > thumb { |
| 28 | -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#thumbv"); |
| 29 | list-style-image : url("chrome://global/skin/scroll-thumb-vert.gif") |
| 30 | } |
| 31 | |
| 32 | scrollbar[orient="vertical"] > slider > thumb[disabled="true"] { |
| 33 | list-style-image : url("chrome://global/skin/scroll-thumb-vert-disabled.gif") |
| 34 | } |
| 35 | |
| 36 | thumb:active { |
| 37 | background-color: #DDDDDD; |
| 38 | } |
| 39 | |
| 40 | |
| 41 | /** |
| 42 | * Scrollbar button |
| 43 | **/ |
| 44 | scrollbarbutton |
| 45 | { |
| 46 | -moz-binding : url("chrome://global/skin/scrollbarBindings.xml#scrollbarbutton"); |
| 47 | border : 1px outset white; |
| 48 | background-color : #CCCCCC; |
| 49 | } |
| 50 | |
| 51 | .scrollbarbutton-box |
| 52 | { |
| 53 | padding : 1px; |
| 54 | } |
| 55 | |
| 56 | scrollbarbutton:hover:active |
| 57 | { |
| 58 | border-style : inset; |
| 59 | } |
| 60 | |
| 61 | scrollbarbutton:hover:active > .scrollbarbutton-box |
| 62 | { |
| 63 | padding : 2px 0px 0px 2px; |
| 64 | } |
| 65 | |
| 66 | scrollbarbutton[type="decrement"] |
| 67 | { |
| 68 | list-style-image : url("chrome://global/skin/scroll-left.gif") |
| 69 | } |
| 70 | |
| 71 | scrollbarbutton[type="decrement"][disabled="true"] |
| 72 | { |
| 73 | list-style-image : url("chrome://global/skin/scroll-left-disabled.gif") |
| 74 | } |
| 75 | |
| 76 | scrollbarbutton[type="increment"] |
| 77 | { |
| 78 | list-style-image : url("chrome://global/skin/scroll-right.gif") |
| 79 | } |
| 80 | |
| 81 | |
| 82 | scrollbarbutton[type="increment"][disabled="true"] |
| 83 | { |
| 84 | list-style-image : url("chrome://global/skin/scroll-right-disabled.gif") |
| 85 | } |
| 86 | |
| 87 | |
| 88 | scrollbarbutton[type="decrement"][sborient="vertical"] |
| 89 | { |
| 90 | list-style-image : url("chrome://global/skin/scroll-up.gif") |
| 91 | } |
| 92 | |
| 93 | scrollbarbutton[type="decrement"][disabled="true"][sborient="vertical"] |
| 94 | { |
| 95 | list-style-image : url("chrome://global/skin/scroll-up-disabled.gif") |
| 96 | } |
| 97 | |
| 98 | scrollbarbutton[type="increment"][sborient="vertical"] |
| 99 | { |
| 100 | list-style-image : url("chrome://global/skin/scroll-down.gif") |
| 101 | } |
| 102 | |
| 103 | scrollbarbutton[type="increment"][disabled="true"][sborient="vertical"] |
| 104 | { |
| 105 | list-style-image : url("chrome://global/skin/scroll-down-disabled.gif") |
| 106 | } |
| 107 | |
| 108 | slider |
| 109 | { |
| 110 | background-color : #999999; |
| 111 | } |
| 112 | |
| 113 | |
| 114 | |