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.

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