vis.js is a dynamic, browser-based visualization library
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.

236 lines
7.2 KiB

9 years ago
9 years ago
9 years ago
9 years ago
  1. div.vis-network-configuration {
  2. position:relative;
  3. display:block;
  4. float:left;
  5. font-size:12px;
  6. }
  7. div.vis-network-configuration.vis-option-container{
  8. display:block;
  9. width:495px;
  10. background-color: #ffffff;
  11. border:2px solid #f7f8fa;
  12. border-radius:4px;
  13. margin-top:20px;
  14. left:10px;
  15. padding-left:5px;
  16. }
  17. div.vis-network-configuration.button{
  18. display:block;
  19. width:495px;
  20. height:25px;
  21. vertical-align: middle;
  22. line-height:25px;
  23. background-color: #f7f8fa;
  24. border:2px solid #ceced0;
  25. border-radius:4px;
  26. margin-top:20px;
  27. left:10px;
  28. padding-left:5px;
  29. cursor: pointer;
  30. margin-bottom:30px;
  31. }
  32. div.vis-network-configuration.button.hover{
  33. background-color: #4588e6;
  34. border:2px solid #214373;
  35. color:#ffffff;
  36. }
  37. div.vis-network-configuration.item{
  38. display:block;
  39. width:495px;
  40. height:25px;
  41. vertical-align: middle;
  42. line-height:25px;
  43. }
  44. div.vis-network-configuration.item.s2{
  45. left:10px;
  46. background-color: #f7f8fa;
  47. padding-left:5px;
  48. border-radius:3px;
  49. }
  50. div.vis-network-configuration.item.s3{
  51. left:20px;
  52. background-color: #e4e9f0;
  53. padding-left:5px;
  54. border-radius:3px;
  55. }
  56. div.vis-network-configuration.item.s4{
  57. left:30px;
  58. background-color: #cfd8e6;
  59. padding-left:5px;
  60. border-radius:3px;
  61. }
  62. div.vis-network-configuration.header{
  63. font-size:18px;
  64. font-weight: bold;
  65. }
  66. div.vis-network-configuration.label{
  67. width:120px;
  68. height:25px;
  69. line-height: 25px;
  70. }
  71. div.vis-network-configuration.label.s3{
  72. width:110px;
  73. }
  74. div.vis-network-configuration.label.s4{
  75. width:100px;
  76. }
  77. div.vis-network-configuration.colorBlock{
  78. top:1px;
  79. width:30px;
  80. height:19px;
  81. border:1px solid #444444;
  82. border-radius:2px;
  83. padding:0px;
  84. margin:0px;
  85. cursor:pointer;
  86. }
  87. input.vis-network-configuration.checkbox {
  88. left:-5px;
  89. }
  90. input.vis-network-configuration.rangeinput{
  91. position:relative;
  92. top:-5px;
  93. width:60px;
  94. height:13px;
  95. padding:1px;
  96. margin:0;
  97. pointer-events:none;
  98. }
  99. input.vis-network-configuration.range{
  100. /*removes default webkit styles*/
  101. -webkit-appearance: none;
  102. /*fix for FF unable to apply focus style bug */
  103. border: 0px solid white;
  104. background-color:rgba(0,0,0,0);
  105. /*required for proper track sizing in FF*/
  106. width: 300px;
  107. height:20px;
  108. }
  109. input.vis-network-configuration.range::-webkit-slider-runnable-track {
  110. width: 300px;
  111. height: 5px;
  112. background: #dedede; /* Old browsers */
  113. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  114. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  115. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  116. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  117. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  118. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  119. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  120. border: 1px solid #999999;
  121. box-shadow: #aaaaaa 0px 0px 3px 0px;
  122. border-radius: 3px;
  123. }
  124. input.vis-network-configuration.range::-webkit-slider-thumb {
  125. -webkit-appearance: none;
  126. border: 1px solid #14334b;
  127. height: 17px;
  128. width: 17px;
  129. border-radius: 50%;
  130. background: #3876c2; /* Old browsers */
  131. background: -moz-linear-gradient(top, #3876c2 0%, #385380 100%); /* FF3.6+ */
  132. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3876c2), color-stop(100%,#385380)); /* Chrome,Safari4+ */
  133. background: -webkit-linear-gradient(top, #3876c2 0%,#385380 100%); /* Chrome10+,Safari5.1+ */
  134. background: -o-linear-gradient(top, #3876c2 0%,#385380 100%); /* Opera 11.10+ */
  135. background: -ms-linear-gradient(top, #3876c2 0%,#385380 100%); /* IE10+ */
  136. background: linear-gradient(to bottom, #3876c2 0%,#385380 100%); /* W3C */
  137. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3876c2', endColorstr='#385380',GradientType=0 ); /* IE6-9 */
  138. box-shadow: #111927 0px 0px 1px 0px;
  139. margin-top: -7px;
  140. }
  141. input.vis-network-configuration.range:focus {
  142. outline: none;
  143. }
  144. input.vis-network-configuration.range:focus::-webkit-slider-runnable-track {
  145. background: #9d9d9d; /* Old browsers */
  146. background: -moz-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* FF3.6+ */
  147. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9d9d9d), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  148. background: -webkit-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  149. background: -o-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Opera 11.10+ */
  150. background: -ms-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* IE10+ */
  151. background: linear-gradient(to bottom, #9d9d9d 0%,#c8c8c8 99%); /* W3C */
  152. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d9d9d', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  153. }
  154. input.vis-network-configuration.range::-moz-range-track {
  155. width: 300px;
  156. height: 10px;
  157. background: #dedede; /* Old browsers */
  158. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  159. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  160. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  161. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  162. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  163. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  164. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  165. border: 1px solid #999999;
  166. box-shadow: #aaaaaa 0px 0px 3px 0px;
  167. border-radius: 3px;
  168. }
  169. input.vis-network-configuration.range::-moz-range-thumb {
  170. border: none;
  171. height: 16px;
  172. width: 16px;
  173. border-radius: 50%;
  174. background: #385380;
  175. }
  176. /*hide the outline behind the border*/
  177. input.vis-network-configuration.range:-moz-focusring{
  178. outline: 1px solid white;
  179. outline-offset: -1px;
  180. }
  181. input.vis-network-configuration.range::-ms-track {
  182. width: 300px;
  183. height: 5px;
  184. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  185. background: transparent;
  186. /*leave room for the larger thumb to overflow with a transparent border */
  187. border-color: transparent;
  188. border-width: 6px 0;
  189. /*remove default tick marks*/
  190. color: transparent;
  191. }
  192. input.vis-network-configuration.range::-ms-fill-lower {
  193. background: #777;
  194. border-radius: 10px;
  195. }
  196. input.vis-network-configuration.range::-ms-fill-upper {
  197. background: #ddd;
  198. border-radius: 10px;
  199. }
  200. input.vis-network-configuration.range::-ms-thumb {
  201. border: none;
  202. height: 16px;
  203. width: 16px;
  204. border-radius: 50%;
  205. background: #385380;
  206. }
  207. input.vis-network-configuration.range:focus::-ms-fill-lower {
  208. background: #888;
  209. }
  210. input.vis-network-configuration.range:focus::-ms-fill-upper {
  211. background: #ccc;
  212. }