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.

282 lines
8.4 KiB

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