You are here

demoStyles.css in JScrollPane 5

/* Stylesheet for my demo pages for jScrollPane - these styles aren't necessary for using jScrollPane and aren't specific to any particular example */

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 80%;
}

a.jScrollArrowUp {
  background: url(../images/basic_arrow_up.gif) repeat-x 0 0;
}
a.jScrollArrowUp:hover {
  background-position: 0 -15px;
}
a.jScrollArrowDown {
  background: url(../images/basic_arrow_down.gif) repeat-x 0 0;
}
a.jScrollArrowDown:hover {
  background-position: 0 -15px;
}
a.jScrollActiveArrowButton, a.jScrollActiveArrowButton:hover {
  background-position: 0 -30px;
}


.orange-bar .jScrollPaneTrack {
  background: #f60;
}
.orange-bar .jScrollPaneDrag {
  background: #00f url(../images/drag_grab.gif) no-repeat 50% 50%;
}
.orange-bar .scroll-pane {
  background: #69f;
}
      
.holder {
  float: left;
  margin: 10px;
}

.scroll-pane {
  width: 200px;
  height: 200px;
  overflow: auto;
  background: #ccc;
  float: left;
}

.wide {
  width: 400px;
}

.super-wide {
  width: 700px;
}

.tall {
  height: 400px;
}

#pane1 {
}
#pane2 {
  height: 150px;
}
#pane3 {
  height: 190px;
}
#pane4 {
  height: 190px;
}

File

demo/demoStyles.css
View source
  1. /* Stylesheet for my demo pages for jScrollPane - these styles aren't necessary for using jScrollPane and aren't specific to any particular example */
  2. body {
  3. font-family: Arial, Helvetica, sans-serif;
  4. font-size: 80%;
  5. }
  6. a.jScrollArrowUp {
  7. background: url(../images/basic_arrow_up.gif) repeat-x 0 0;
  8. }
  9. a.jScrollArrowUp:hover {
  10. background-position: 0 -15px;
  11. }
  12. a.jScrollArrowDown {
  13. background: url(../images/basic_arrow_down.gif) repeat-x 0 0;
  14. }
  15. a.jScrollArrowDown:hover {
  16. background-position: 0 -15px;
  17. }
  18. a.jScrollActiveArrowButton, a.jScrollActiveArrowButton:hover {
  19. background-position: 0 -30px;
  20. }
  21. .orange-bar .jScrollPaneTrack {
  22. background: #f60;
  23. }
  24. .orange-bar .jScrollPaneDrag {
  25. background: #00f url(../images/drag_grab.gif) no-repeat 50% 50%;
  26. }
  27. .orange-bar .scroll-pane {
  28. background: #69f;
  29. }
  30. .holder {
  31. float: left;
  32. margin: 10px;
  33. }
  34. .scroll-pane {
  35. width: 200px;
  36. height: 200px;
  37. overflow: auto;
  38. background: #ccc;
  39. float: left;
  40. }
  41. .wide {
  42. width: 400px;
  43. }
  44. .super-wide {
  45. width: 700px;
  46. }
  47. .tall {
  48. height: 400px;
  49. }
  50. #pane1 {
  51. }
  52. #pane2 {
  53. height: 150px;
  54. }
  55. #pane3 {
  56. height: 190px;
  57. }
  58. #pane4 {
  59. height: 190px;
  60. }