demo.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. /*
  2. * CSS Styles that are used on the jScrollPane demo site - these are custom to the site and
  3. * you shouldn't need to use them in your own implementations of jScrollPane.
  4. */
  5. *
  6. {
  7. margin: 0;
  8. padding: 0;
  9. }
  10. html,
  11. body
  12. {
  13. background: #aac;
  14. }
  15. body
  16. {
  17. font: 13px/1.231 arial,helvetica,clean,sans-serif
  18. }
  19. #top-nav
  20. {
  21. width: 780px;
  22. background: #50506d;
  23. padding: 0 20px 12px 0;
  24. margin: 0 auto 20px;
  25. overflow: hidden;
  26. -moz-border-radius: 5px;
  27. -webkit-border-radius: 5px;
  28. border-radius: 5px;
  29. -moz-border-radius-topleft: 0;
  30. -webkit-border-top-left-radius: 0;
  31. border-radius-topleft: 0;
  32. -moz-border-radius-topright: 0;
  33. -webkit-border-top-right-radius: 0;
  34. border-radius-topright: 0;
  35. }
  36. #top-nav img
  37. {
  38. float: left;
  39. }
  40. #top-nav ul
  41. {
  42. margin: 28px 0 0;
  43. overflow: hidden;
  44. float: right;
  45. }
  46. #top-nav ul li
  47. {
  48. float: left;
  49. padding: 0 0 0 1em;
  50. list-style: none;
  51. }
  52. #top-nav ul li a
  53. {
  54. color: #fff;
  55. }
  56. #top-nav ul li a:hover
  57. {
  58. color: #ffa;
  59. }
  60. #top-nav ul li:last-child
  61. {
  62. padding-right: 0;
  63. }
  64. #container
  65. {
  66. width: 760px;
  67. background: #eeeef4;
  68. padding: 20px;
  69. margin: 20px auto;
  70. -moz-border-radius: 5px;
  71. -webkit-border-radius: 5px;
  72. border-radius: 5px;
  73. }
  74. h1
  75. {
  76. font-size: 116%;
  77. color: #fff;
  78. background: #50506d;
  79. margin: 0 0 1em;
  80. padding:4px 8px 5px;
  81. -moz-border-radius: 3px;
  82. -webkit-border-radius: 3px;
  83. border-radius: 3px;
  84. }
  85. h2
  86. {
  87. clear: left;
  88. font-size: 100%;
  89. color: #fff;
  90. background: #8b8b9f;
  91. margin: 1em 0;
  92. padding:4px 8px 5px;
  93. -moz-border-radius: 3px;
  94. -webkit-border-radius: 3px;
  95. border-radius: 3px;
  96. }
  97. h2 span.setting-type
  98. {
  99. font-weight: normal;
  100. }
  101. p
  102. {
  103. font-size: 93%;
  104. margin: 1em 0;
  105. }
  106. p.intro
  107. {
  108. font-size: 116%;
  109. padding: 10px;
  110. background: #fff;
  111. -moz-border-radius: 3px;
  112. -webkit-border-radius: 3px;
  113. border-radius: 3px;
  114. }
  115. a
  116. {
  117. color: #7171D4;
  118. text-decoration: none;
  119. }
  120. a:hover
  121. {
  122. color: #f60;
  123. }
  124. ul
  125. {
  126. padding: 0 0 0 1em;
  127. }
  128. ul li
  129. {
  130. margin: 0 0 .5em;
  131. }
  132. ul.link-list li
  133. {
  134. margin: 0;
  135. }
  136. ul p
  137. {
  138. margin: 0;
  139. }
  140. /* For the form demo page */
  141. form
  142. {
  143. overflow: hidden;
  144. }
  145. fieldset
  146. {
  147. border: 0;
  148. overflow: hidden;
  149. }
  150. legend
  151. {
  152. font-weight: bold;
  153. margin: 1em 0;
  154. }
  155. label
  156. {
  157. clear: left;
  158. float: left;
  159. margin: .5em 6px 0 0;
  160. text-align: right;
  161. width: 100px;
  162. }
  163. input,
  164. select,
  165. textarea
  166. {
  167. float: left;
  168. border: 0;
  169. padding: 3px 5px;
  170. margin: 0 0 .5em;
  171. }
  172. input[type=button],
  173. input[type=submit]
  174. {
  175. clear: left;
  176. background: #fff;
  177. width: auto;
  178. margin: 0 0 0 106px;
  179. }
  180. pre
  181. {
  182. background: #fff;
  183. padding: 10px;
  184. font-size: 93%;
  185. width: 740px;
  186. -moz-border-radius: 3px;
  187. -webkit-border-radius: 3px;
  188. border-radius: 3px;
  189. overflow: auto;
  190. }