Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
902 B

  1. //
  2. // Styles for a classic scrollbar
  3. //
  4. scrollbar
  5. {
  6. layoutpos: ninebottom;
  7. }
  8. scrollbar [vertical]
  9. {
  10. layoutpos: nineright;
  11. }
  12. viewer
  13. {
  14. layoutpos: nineclient;
  15. }
  16. thumb
  17. {
  18. background: dfc(DFC_BUTTON, DFCS_BUTTONPUSH);
  19. }
  20. repeatbutton [id=atom(lineup)]
  21. {
  22. background: dfc(DFC_SCROLL, DFCS_SCROLLUP);
  23. width: sysmetric(SM_CXVSCROLL);
  24. height: sysmetric(SM_CYVSCROLL);
  25. }
  26. repeatbutton [id=atom(lineup)][pressed]
  27. {
  28. background: dfc(DFC_SCROLL, DFCS_SCROLLUP | DFCS_PUSHED);
  29. }
  30. repeatbutton [id=atom(linedown)]
  31. {
  32. background: dfc(DFC_SCROLL, DFCS_SCROLLDOWN);
  33. width: sysmetric(SM_CXVSCROLL);
  34. height: sysmetric(SM_CYVSCROLL);
  35. }
  36. repeatbutton [id=atom(linedown)][pressed]
  37. {
  38. background: dfc(DFC_SCROLL, DFCS_SCROLLDOWN | DFCS_PUSHED);
  39. }
  40. repeatbutton [class="Page"]
  41. {
  42. background: scrollbar;
  43. }
  44. repeatbutton [class="Page"][pressed]
  45. {
  46. background: buttonshadow;
  47. }