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.

1302 lines
29 KiB

9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. .vis .overlay {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. /* Must be displayed above for example selected Timeline items */
  8. z-index: 10;
  9. }
  10. .vis-active {
  11. box-shadow: 0 0 10px #86d5f8;
  12. }
  13. /* override some bootstrap styles screwing up the timelines css */
  14. .vis [class*="span"] {
  15. min-height: 0;
  16. width: auto;
  17. }
  18. div.vis-configuration {
  19. position:relative;
  20. display:block;
  21. float:left;
  22. font-size:12px;
  23. }
  24. div.vis-configuration-wrapper {
  25. display:block;
  26. width:700px;
  27. }
  28. div.vis-configuration.vis-config-option-container{
  29. display:block;
  30. width:495px;
  31. background-color: #ffffff;
  32. border:2px solid #f7f8fa;
  33. border-radius:4px;
  34. margin-top:20px;
  35. left:10px;
  36. padding-left:5px;
  37. }
  38. div.vis-configuration.vis-config-button{
  39. display:block;
  40. width:495px;
  41. height:25px;
  42. vertical-align: middle;
  43. line-height:25px;
  44. background-color: #f7f8fa;
  45. border:2px solid #ceced0;
  46. border-radius:4px;
  47. margin-top:20px;
  48. left:10px;
  49. padding-left:5px;
  50. cursor: pointer;
  51. margin-bottom:30px;
  52. }
  53. div.vis-configuration.vis-config-button.hover{
  54. background-color: #4588e6;
  55. border:2px solid #214373;
  56. color:#ffffff;
  57. }
  58. div.vis-configuration.vis-config-item{
  59. display:block;
  60. float:left;
  61. width:495px;
  62. height:25px;
  63. vertical-align: middle;
  64. line-height:25px;
  65. }
  66. div.vis-configuration.vis-config-item.vis-config-s2{
  67. left:10px;
  68. background-color: #f7f8fa;
  69. padding-left:5px;
  70. border-radius:3px;
  71. }
  72. div.vis-configuration.vis-config-item.vis-config-s3{
  73. left:20px;
  74. background-color: #e4e9f0;
  75. padding-left:5px;
  76. border-radius:3px;
  77. }
  78. div.vis-configuration.vis-config-item.vis-config-s4{
  79. left:30px;
  80. background-color: #cfd8e6;
  81. padding-left:5px;
  82. border-radius:3px;
  83. }
  84. div.vis-configuration.vis-config-header{
  85. font-size:18px;
  86. font-weight: bold;
  87. }
  88. div.vis-configuration.vis-config-label{
  89. width:120px;
  90. height:25px;
  91. line-height: 25px;
  92. }
  93. div.vis-configuration.vis-config-label.vis-config-s3{
  94. width:110px;
  95. }
  96. div.vis-configuration.vis-config-label.vis-config-s4{
  97. width:100px;
  98. }
  99. div.vis-configuration.vis-config-colorBlock{
  100. top:1px;
  101. width:30px;
  102. height:19px;
  103. border:1px solid #444444;
  104. border-radius:2px;
  105. padding:0px;
  106. margin:0px;
  107. cursor:pointer;
  108. }
  109. input.vis-configuration.vis-config-checkbox {
  110. left:-5px;
  111. }
  112. input.vis-configuration.vis-config-rangeinput{
  113. position:relative;
  114. top:-5px;
  115. width:60px;
  116. height:13px;
  117. padding:1px;
  118. margin:0;
  119. pointer-events:none;
  120. }
  121. input.vis-configuration.vis-config-range{
  122. /*removes default webkit styles*/
  123. -webkit-appearance: none;
  124. /*fix for FF unable to apply focus style bug */
  125. border: 0px solid white;
  126. background-color:rgba(0,0,0,0);
  127. /*required for proper track sizing in FF*/
  128. width: 300px;
  129. height:20px;
  130. }
  131. input.vis-configuration.vis-config-range::-webkit-slider-runnable-track {
  132. width: 300px;
  133. height: 5px;
  134. background: #dedede; /* Old browsers */
  135. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  136. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  137. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  138. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  139. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  140. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  141. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  142. border: 1px solid #999999;
  143. box-shadow: #aaaaaa 0px 0px 3px 0px;
  144. border-radius: 3px;
  145. }
  146. input.vis-configuration.vis-config-range::-webkit-slider-thumb {
  147. -webkit-appearance: none;
  148. border: 1px solid #14334b;
  149. height: 17px;
  150. width: 17px;
  151. border-radius: 50%;
  152. background: #3876c2; /* Old browsers */
  153. background: -moz-linear-gradient(top, #3876c2 0%, #385380 100%); /* FF3.6+ */
  154. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3876c2), color-stop(100%,#385380)); /* Chrome,Safari4+ */
  155. background: -webkit-linear-gradient(top, #3876c2 0%,#385380 100%); /* Chrome10+,Safari5.1+ */
  156. background: -o-linear-gradient(top, #3876c2 0%,#385380 100%); /* Opera 11.10+ */
  157. background: -ms-linear-gradient(top, #3876c2 0%,#385380 100%); /* IE10+ */
  158. background: linear-gradient(to bottom, #3876c2 0%,#385380 100%); /* W3C */
  159. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3876c2', endColorstr='#385380',GradientType=0 ); /* IE6-9 */
  160. box-shadow: #111927 0px 0px 1px 0px;
  161. margin-top: -7px;
  162. }
  163. input.vis-configuration.vis-config-range:focus {
  164. outline: none;
  165. }
  166. input.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track {
  167. background: #9d9d9d; /* Old browsers */
  168. background: -moz-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* FF3.6+ */
  169. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9d9d9d), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  170. background: -webkit-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  171. background: -o-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Opera 11.10+ */
  172. background: -ms-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* IE10+ */
  173. background: linear-gradient(to bottom, #9d9d9d 0%,#c8c8c8 99%); /* W3C */
  174. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d9d9d', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  175. }
  176. input.vis-configuration.vis-config-range::-moz-range-track {
  177. width: 300px;
  178. height: 10px;
  179. background: #dedede; /* Old browsers */
  180. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  181. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  182. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  183. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  184. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  185. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  186. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  187. border: 1px solid #999999;
  188. box-shadow: #aaaaaa 0px 0px 3px 0px;
  189. border-radius: 3px;
  190. }
  191. input.vis-configuration.vis-config-range::-moz-range-thumb {
  192. border: none;
  193. height: 16px;
  194. width: 16px;
  195. border-radius: 50%;
  196. background: #385380;
  197. }
  198. /*hide the outline behind the border*/
  199. input.vis-configuration.vis-config-range:-moz-focusring{
  200. outline: 1px solid white;
  201. outline-offset: -1px;
  202. }
  203. input.vis-configuration.vis-config-range::-ms-track {
  204. width: 300px;
  205. height: 5px;
  206. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  207. background: transparent;
  208. /*leave room for the larger thumb to overflow with a transparent border */
  209. border-color: transparent;
  210. border-width: 6px 0;
  211. /*remove default tick marks*/
  212. color: transparent;
  213. }
  214. input.vis-configuration.vis-config-range::-ms-fill-lower {
  215. background: #777;
  216. border-radius: 10px;
  217. }
  218. input.vis-configuration.vis-config-range::-ms-fill-upper {
  219. background: #ddd;
  220. border-radius: 10px;
  221. }
  222. input.vis-configuration.vis-config-range::-ms-thumb {
  223. border: none;
  224. height: 16px;
  225. width: 16px;
  226. border-radius: 50%;
  227. background: #385380;
  228. }
  229. input.vis-configuration.vis-config-range:focus::-ms-fill-lower {
  230. background: #888;
  231. }
  232. input.vis-configuration.vis-config-range:focus::-ms-fill-upper {
  233. background: #ccc;
  234. }
  235. .vis-configuration-popup {
  236. position: absolute;
  237. background: rgba(57, 76, 89, 0.85);
  238. border: 2px solid #f2faff;
  239. line-height:30px;
  240. height:30px;
  241. width:150px;
  242. text-align:center;
  243. color: #ffffff;
  244. font-size:14px;
  245. border-radius:4px;
  246. -webkit-transition: opacity 0.3s ease-in-out;
  247. -moz-transition: opacity 0.3s ease-in-out;
  248. transition: opacity 0.3s ease-in-out;
  249. }
  250. .vis-configuration-popup:after, .vis-configuration-popup:before {
  251. left: 100%;
  252. top: 50%;
  253. border: solid transparent;
  254. content: " ";
  255. height: 0;
  256. width: 0;
  257. position: absolute;
  258. pointer-events: none;
  259. }
  260. .vis-configuration-popup:after {
  261. border-color: rgba(136, 183, 213, 0);
  262. border-left-color: rgba(57, 76, 89, 0.85);
  263. border-width: 8px;
  264. margin-top: -8px;
  265. }
  266. .vis-configuration-popup:before {
  267. border-color: rgba(194, 225, 245, 0);
  268. border-left-color: #f2faff;
  269. border-width: 12px;
  270. margin-top: -12px;
  271. }
  272. .vis-timeline {
  273. position: relative;
  274. border: 1px solid #bfbfbf;
  275. overflow: hidden;
  276. padding: 0;
  277. margin: 0;
  278. box-sizing: border-box;
  279. }
  280. .vis-panel {
  281. position: absolute;
  282. padding: 0;
  283. margin: 0;
  284. box-sizing: border-box;
  285. }
  286. .vis-panel.vis-center,
  287. .vis-panel.vis-left,
  288. .vis-panel.vis-right,
  289. .vis-panel.vis-top,
  290. .vis-panel.vis-bottom {
  291. border: 1px #bfbfbf;
  292. }
  293. .vis-panel.vis-center,
  294. .vis-panel.vis-left,
  295. .vis-panel.vis-right {
  296. border-top-style: solid;
  297. border-bottom-style: solid;
  298. overflow: hidden;
  299. }
  300. .vis-panel.vis-center,
  301. .vis-panel.vis-top,
  302. .vis-panel.vis-bottom {
  303. border-left-style: solid;
  304. border-right-style: solid;
  305. }
  306. .vis-background {
  307. overflow: hidden;
  308. }
  309. .vis-panel > .vis-content {
  310. position: relative;
  311. }
  312. .vis-panel .vis-shadow {
  313. position: absolute;
  314. width: 100%;
  315. height: 1px;
  316. box-shadow: 0 0 10px rgba(0,0,0,0.8);
  317. /* TODO: find a nice way to ensure vis-shadows are drawn on top of items
  318. z-index: 1;
  319. */
  320. }
  321. .vis-panel .vis-shadow.vis-top {
  322. top: -1px;
  323. left: 0;
  324. }
  325. .vis-panel .vis-shadow.vis-bottom {
  326. bottom: -1px;
  327. left: 0;
  328. }
  329. .vis-labelset {
  330. position: relative;
  331. overflow: hidden;
  332. box-sizing: border-box;
  333. }
  334. .vis-labelset .vis-label {
  335. position: relative;
  336. left: 0;
  337. top: 0;
  338. width: 100%;
  339. color: #4d4d4d;
  340. box-sizing: border-box;
  341. }
  342. .vis-labelset .vis-label {
  343. border-bottom: 1px solid #bfbfbf;
  344. }
  345. .vis-labelset .vis-label.draggable {
  346. cursor: pointer;
  347. }
  348. .vis-labelset .vis-label:last-child {
  349. border-bottom: none;
  350. }
  351. .vis-labelset .vis-label .vis-inner {
  352. display: inline-block;
  353. padding: 5px;
  354. }
  355. .vis-labelset .vis-label .vis-inner.vis-hidden {
  356. padding: 0;
  357. }
  358. .vis-itemset {
  359. position: relative;
  360. padding: 0;
  361. margin: 0;
  362. box-sizing: border-box;
  363. }
  364. .vis-itemset .vis-background,
  365. .vis-itemset .vis-foreground {
  366. position: absolute;
  367. width: 100%;
  368. height: 100%;
  369. overflow: visible;
  370. }
  371. .vis-axis {
  372. position: absolute;
  373. width: 100%;
  374. height: 0;
  375. left: 0;
  376. z-index: 1;
  377. }
  378. .vis-foreground .vis-group {
  379. position: relative;
  380. box-sizing: border-box;
  381. border-bottom: 1px solid #bfbfbf;
  382. }
  383. .vis-foreground .vis-group:last-child {
  384. border-bottom: none;
  385. }
  386. .vis-overlay {
  387. position: absolute;
  388. top: 0;
  389. left: 0;
  390. width: 100%;
  391. height: 100%;
  392. z-index: 10;
  393. }
  394. .vis-item {
  395. position: absolute;
  396. color: #1A1A1A;
  397. border-color: #97B0F8;
  398. border-width: 1px;
  399. background-color: #D5DDF6;
  400. display: inline-block;
  401. /*overflow: hidden;*/
  402. }
  403. .vis-item.vis-selected {
  404. border-color: #FFC200;
  405. background-color: #FFF785;
  406. /* z-index must be higher than the z-index of custom time bar and current time bar */
  407. z-index: 2;
  408. }
  409. .vis-editable.vis-selected {
  410. cursor: move;
  411. }
  412. .vis-item.vis-point.vis-selected {
  413. background-color: #FFF785;
  414. }
  415. .vis-item.vis-box {
  416. text-align: center;
  417. border-style: solid;
  418. border-radius: 2px;
  419. }
  420. .vis-item.vis-point {
  421. background: none;
  422. }
  423. .vis-item.vis-dot {
  424. position: absolute;
  425. padding: 0;
  426. border-width: 4px;
  427. border-style: solid;
  428. border-radius: 4px;
  429. }
  430. .vis-item.vis-range {
  431. border-style: solid;
  432. border-radius: 2px;
  433. box-sizing: border-box;
  434. }
  435. .vis-item.vis-background {
  436. border: none;
  437. background-color: rgba(213, 221, 246, 0.4);
  438. box-sizing: border-box;
  439. padding: 0;
  440. margin: 0;
  441. }
  442. .vis-item .vis-item-overflow {
  443. position: relative;
  444. width: 100%;
  445. height: 100%;
  446. padding: 0;
  447. margin: 0;
  448. overflow: hidden;
  449. }
  450. .vis-item.vis-range .vis-item-content {
  451. position: relative;
  452. display: inline-block;
  453. }
  454. .vis-item.vis-background .vis-item-content {
  455. position: absolute;
  456. display: inline-block;
  457. }
  458. .vis-item.vis-line {
  459. padding: 0;
  460. position: absolute;
  461. width: 0;
  462. border-left-width: 1px;
  463. border-left-style: solid;
  464. }
  465. .vis-item .vis-item-content {
  466. white-space: nowrap;
  467. box-sizing: border-box;
  468. padding: 5px;
  469. }
  470. .vis-item .vis-delete {
  471. background: url('img/timeline/delete.png') no-repeat center;
  472. position: absolute;
  473. width: 24px;
  474. height: 24px;
  475. top: -4px;
  476. right: -24px;
  477. cursor: pointer;
  478. }
  479. .vis-item.vis-range .vis-drag-left {
  480. position: absolute;
  481. width: 24px;
  482. max-width: 20%;
  483. min-width: 2px;
  484. height: 100%;
  485. top: 0;
  486. left: -4px;
  487. cursor: w-resize;
  488. }
  489. .vis-item.vis-range .vis-drag-right {
  490. position: absolute;
  491. width: 24px;
  492. max-width: 20%;
  493. min-width: 2px;
  494. height: 100%;
  495. top: 0;
  496. right: -4px;
  497. cursor: e-resize;
  498. }
  499. .vis-range.vis-item.vis-readonly .vis-drag-left,
  500. .vis-range.vis-item.vis-readonly .vis-drag-right {
  501. cursor: auto;
  502. }
  503. .vis-time-axis {
  504. position: relative;
  505. overflow: hidden;
  506. }
  507. .vis-time-axis.vis-foreground {
  508. top: 0;
  509. left: 0;
  510. width: 100%;
  511. }
  512. .vis-time-axis.vis-background {
  513. position: absolute;
  514. top: 0;
  515. left: 0;
  516. width: 100%;
  517. height: 100%;
  518. }
  519. .vis-time-axis .vis-text {
  520. position: absolute;
  521. color: #4d4d4d;
  522. padding: 3px;
  523. overflow: hidden;
  524. box-sizing: border-box;
  525. white-space: nowrap;
  526. }
  527. .vis-time-axis .vis-text.vis-measure {
  528. position: absolute;
  529. padding-left: 0;
  530. padding-right: 0;
  531. margin-left: 0;
  532. margin-right: 0;
  533. visibility: hidden;
  534. }
  535. .vis-time-axis .vis-grid.vis-vertical {
  536. position: absolute;
  537. border-left: 1px solid;
  538. }
  539. .vis-time-axis .vis-grid.vis-minor {
  540. border-color: #e5e5e5;
  541. }
  542. .vis-time-axis .vis-grid.vis-major {
  543. border-color: #bfbfbf;
  544. }
  545. .vis-current-time {
  546. background-color: #FF7F6E;
  547. width: 2px;
  548. z-index: 1;
  549. }
  550. .vis-custom-time {
  551. background-color: #6E94FF;
  552. width: 2px;
  553. cursor: move;
  554. z-index: 1;
  555. }
  556. .vis-timeline {
  557. /*
  558. -webkit-transition: height .4s ease-in-out;
  559. transition: height .4s ease-in-out;
  560. */
  561. }
  562. .vis-panel {
  563. /*
  564. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  565. transition: height .4s ease-in-out, top .4s ease-in-out;
  566. */
  567. }
  568. .vis-axis {
  569. /*
  570. -webkit-transition: top .4s ease-in-out;
  571. transition: top .4s ease-in-out;
  572. */
  573. }
  574. /* TODO: get animation working nicely
  575. .vis-item {
  576. -webkit-transition: top .4s ease-in-out;
  577. transition: top .4s ease-in-out;
  578. }
  579. .vis-item.line {
  580. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  581. transition: height .4s ease-in-out, top .4s ease-in-out;
  582. }
  583. /**/
  584. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-horizontal {
  585. position: absolute;
  586. width: 100%;
  587. height: 0;
  588. border-bottom: 1px solid;
  589. }
  590. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-minor {
  591. border-color: #e5e5e5;
  592. }
  593. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-major {
  594. border-color: #bfbfbf;
  595. }
  596. .vis-data-axis .vis-y-axis.vis-major {
  597. width: 100%;
  598. position: absolute;
  599. color: #4d4d4d;
  600. white-space: nowrap;
  601. }
  602. .vis-data-axis .vis-y-axis.vis-major.vis-measure {
  603. padding: 0;
  604. margin: 0;
  605. border: 0;
  606. visibility: hidden;
  607. width: auto;
  608. }
  609. .vis-data-axis .vis-y-axis.vis-minor {
  610. position: absolute;
  611. width: 100%;
  612. color: #bebebe;
  613. white-space: nowrap;
  614. }
  615. .vis-data-axis .vis-y-axis.vis-minor.vis-measure {
  616. padding: 0;
  617. margin: 0;
  618. border: 0;
  619. visibility: hidden;
  620. width: auto;
  621. }
  622. .vis-data-axis .vis-y-axis.vis-title {
  623. position: absolute;
  624. color: #4d4d4d;
  625. white-space: nowrap;
  626. bottom: 20px;
  627. text-align: center;
  628. }
  629. .vis-data-axis .vis-y-axis.vis-title.vis-measure {
  630. padding: 0;
  631. margin: 0;
  632. visibility: hidden;
  633. width: auto;
  634. }
  635. .vis-data-axis .vis-y-axis.vis-title.vis-left {
  636. bottom: 0;
  637. -webkit-transform-origin: left top;
  638. -moz-transform-origin: left top;
  639. -ms-transform-origin: left top;
  640. -o-transform-origin: left top;
  641. transform-origin: left bottom;
  642. -webkit-transform: rotate(-90deg);
  643. -moz-transform: rotate(-90deg);
  644. -ms-transform: rotate(-90deg);
  645. -o-transform: rotate(-90deg);
  646. transform: rotate(-90deg);
  647. }
  648. .vis-data-axis .vis-y-axis.vis-title.vis-right {
  649. bottom: 0;
  650. -webkit-transform-origin: right bottom;
  651. -moz-transform-origin: right bottom;
  652. -ms-transform-origin: right bottom;
  653. -o-transform-origin: right bottom;
  654. transform-origin: right bottom;
  655. -webkit-transform: rotate(90deg);
  656. -moz-transform: rotate(90deg);
  657. -ms-transform: rotate(90deg);
  658. -o-transform: rotate(90deg);
  659. transform: rotate(90deg);
  660. }
  661. .vis-legend {
  662. background-color: rgba(247, 252, 255, 0.65);
  663. padding: 5px;
  664. border: 1px solid #b3b3b3;
  665. box-shadow: 2px 2px 10px rgba(154, 154, 154, 0.55);
  666. }
  667. .vis-legend-text {
  668. /*font-size: 10px;*/
  669. white-space: nowrap;
  670. display: inline-block
  671. }
  672. .vis-graph-group0 {
  673. fill:#4f81bd;
  674. fill-opacity:0;
  675. stroke-width:2px;
  676. stroke: #4f81bd;
  677. }
  678. .vis-graph-group1 {
  679. fill:#f79646;
  680. fill-opacity:0;
  681. stroke-width:2px;
  682. stroke: #f79646;
  683. }
  684. .vis-graph-group2 {
  685. fill: #8c51cf;
  686. fill-opacity:0;
  687. stroke-width:2px;
  688. stroke: #8c51cf;
  689. }
  690. .vis-graph-group3 {
  691. fill: #75c841;
  692. fill-opacity:0;
  693. stroke-width:2px;
  694. stroke: #75c841;
  695. }
  696. .vis-graph-group4 {
  697. fill: #ff0100;
  698. fill-opacity:0;
  699. stroke-width:2px;
  700. stroke: #ff0100;
  701. }
  702. .vis-graph-group5 {
  703. fill: #37d8e6;
  704. fill-opacity:0;
  705. stroke-width:2px;
  706. stroke: #37d8e6;
  707. }
  708. .vis-graph-group6 {
  709. fill: #042662;
  710. fill-opacity:0;
  711. stroke-width:2px;
  712. stroke: #042662;
  713. }
  714. .vis-graph-group7 {
  715. fill:#00ff26;
  716. fill-opacity:0;
  717. stroke-width:2px;
  718. stroke: #00ff26;
  719. }
  720. .vis-graph-group8 {
  721. fill:#ff00ff;
  722. fill-opacity:0;
  723. stroke-width:2px;
  724. stroke: #ff00ff;
  725. }
  726. .vis-graph-group9 {
  727. fill: #8f3938;
  728. fill-opacity:0;
  729. stroke-width:2px;
  730. stroke: #8f3938;
  731. }
  732. .vis-timeline .vis-fill {
  733. fill-opacity:0.1;
  734. stroke: none;
  735. }
  736. .vis-timeline .vis-bar {
  737. fill-opacity:0.5;
  738. stroke-width:1px;
  739. }
  740. .vis-timeline .vis-point {
  741. stroke-width:2px;
  742. fill-opacity:1.0;
  743. }
  744. .vis-timeline .vis-legend-background {
  745. stroke-width:1px;
  746. fill-opacity:0.9;
  747. fill: #ffffff;
  748. stroke: #c2c2c2;
  749. }
  750. .vis-timeline .vis-outline {
  751. stroke-width:1px;
  752. fill-opacity:1;
  753. fill: #ffffff;
  754. stroke: #e5e5e5;
  755. }
  756. .vis-timeline .vis-icon-fill {
  757. fill-opacity:0.3;
  758. stroke: none;
  759. }
  760. div.vis-network div.vis-manipulation {
  761. border-width: 0;
  762. border-bottom: 1px;
  763. border-style:solid;
  764. border-color: #d6d9d8;
  765. background: #ffffff; /* Old browsers */
  766. background: -moz-linear-gradient(top, #ffffff 0%, #fcfcfc 48%, #fafafa 50%, #fcfcfc 100%); /* FF3.6+ */
  767. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(48%,#fcfcfc), color-stop(50%,#fafafa), color-stop(100%,#fcfcfc)); /* Chrome,Safari4+ */
  768. background: -webkit-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Chrome10+,Safari5.1+ */
  769. background: -o-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Opera 11.10+ */
  770. background: -ms-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* IE10+ */
  771. background: linear-gradient(to bottom, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* W3C */
  772. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
  773. padding-top:4px;
  774. position: absolute;
  775. left: 0;
  776. top: 0;
  777. width: 100%;
  778. height: 28px;
  779. }
  780. div.vis-network div.vis-edit-mode {
  781. position:absolute;
  782. left: 0;
  783. top: 5px;
  784. height: 30px;
  785. }
  786. /* FIXME: shouldn't the vis-close button be a child of the vis-manipulation div? */
  787. div.vis-network div.vis-close {
  788. position:absolute;
  789. right: 0;
  790. top: 0;
  791. width: 30px;
  792. height: 30px;
  793. background-position: 20px 3px;
  794. background-repeat: no-repeat;
  795. background-image: url("img/network/cross.png");
  796. cursor: pointer;
  797. -webkit-touch-callout: none;
  798. -webkit-user-select: none;
  799. -khtml-user-select: none;
  800. -moz-user-select: none;
  801. -ms-user-select: none;
  802. user-select: none;
  803. }
  804. div.vis-network div.vis-close:hover {
  805. opacity: 0.6;
  806. }
  807. div.vis-network div.vis-manipulation div.vis-button,
  808. div.vis-network div.vis-edit-mode div.vis-button {
  809. float:left;
  810. font-family: verdana;
  811. font-size: 12px;
  812. -moz-border-radius: 15px;
  813. border-radius: 15px;
  814. display:inline-block;
  815. background-position: 0px 0px;
  816. background-repeat:no-repeat;
  817. height:24px;
  818. margin-left: 10px;
  819. /*vertical-align:middle;*/
  820. cursor: pointer;
  821. padding: 0px 8px 0px 8px;
  822. -webkit-touch-callout: none;
  823. -webkit-user-select: none;
  824. -khtml-user-select: none;
  825. -moz-user-select: none;
  826. -ms-user-select: none;
  827. user-select: none;
  828. }
  829. div.vis-network div.vis-manipulation div.vis-button:hover {
  830. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.20);
  831. }
  832. div.vis-network div.vis-manipulation div.vis-button:active {
  833. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.50);
  834. }
  835. div.vis-network div.vis-manipulation div.vis-button.vis-back {
  836. background-image: url("img/network/backIcon.png");
  837. }
  838. div.vis-network div.vis-manipulation div.vis-button.vis-none:hover {
  839. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  840. cursor: default;
  841. }
  842. div.vis-network div.vis-manipulation div.vis-button.vis-none:active {
  843. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  844. }
  845. div.vis-network div.vis-manipulation div.vis-button.vis-none {
  846. padding: 0;
  847. }
  848. div.vis-network div.vis-manipulation div.notification {
  849. margin: 2px;
  850. font-weight: bold;
  851. }
  852. div.vis-network div.vis-manipulation div.vis-button.vis-add {
  853. background-image: url("img/network/addNodeIcon.png");
  854. }
  855. div.vis-network div.vis-manipulation div.vis-button.vis-edit,
  856. div.vis-network div.vis-edit-mode div.vis-button.vis-edit {
  857. background-image: url("img/network/editIcon.png");
  858. }
  859. div.vis-network div.vis-edit-mode div.vis-button.vis-edit.vis-edit-mode {
  860. background-color: #fcfcfc;
  861. border: 1px solid #cccccc;
  862. }
  863. div.vis-network div.vis-manipulation div.vis-button.vis-connect {
  864. background-image: url("img/network/connectIcon.png");
  865. }
  866. div.vis-network div.vis-manipulation div.vis-button.vis-delete {
  867. background-image: url("img/network/deleteIcon.png");
  868. }
  869. /* top right bottom left */
  870. div.vis-network div.vis-manipulation div.vis-label,
  871. div.vis-network div.vis-edit-mode div.vis-label {
  872. margin: 0 0 0 23px;
  873. line-height: 25px;
  874. }
  875. div.vis-network div.vis-manipulation div.vis-separator-line {
  876. float:left;
  877. display:inline-block;
  878. width:1px;
  879. height:21px;
  880. background-color: #bdbdbd;
  881. margin: 0px 7px 0 15px; /*top right bottom left*/
  882. }
  883. /* TODO: is this redundant?
  884. div.network-navigation_wrapper {
  885. position: absolute;
  886. left: 0;
  887. top: 0;
  888. width: 100%;
  889. height: 100%;
  890. }
  891. */
  892. div.vis-network-tooltip {
  893. position: absolute;
  894. visibility: hidden;
  895. padding: 5px;
  896. white-space: nowrap;
  897. font-family: verdana;
  898. font-size:14px;
  899. font-color:#000000;
  900. background-color: #f5f4ed;
  901. -moz-border-radius: 3px;
  902. -webkit-border-radius: 3px;
  903. border-radius: 3px;
  904. border: 1px solid #808074;
  905. box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  906. pointer-events: none;
  907. }
  908. div.vis-network div.vis-navigation div.vis-button {
  909. width:34px;
  910. height:34px;
  911. -moz-border-radius: 17px;
  912. border-radius: 17px;
  913. position:absolute;
  914. display:inline-block;
  915. background-position: 2px 2px;
  916. background-repeat:no-repeat;
  917. cursor: pointer;
  918. -webkit-touch-callout: none;
  919. -webkit-user-select: none;
  920. -khtml-user-select: none;
  921. -moz-user-select: none;
  922. -ms-user-select: none;
  923. user-select: none;
  924. }
  925. div.vis-network div.vis-navigation div.vis-button:hover {
  926. box-shadow: 0 0 3px 3px rgba(56, 207, 21, 0.30);
  927. }
  928. div.vis-network div.vis-navigation div.vis-button:active {
  929. box-shadow: 0 0 1px 3px rgba(56, 207, 21, 0.95);
  930. }
  931. div.vis-network div.vis-navigation div.vis-button.vis-up {
  932. background-image: url("img/network/upArrow.png");
  933. bottom:50px;
  934. left:55px;
  935. }
  936. div.vis-network div.vis-navigation div.vis-button.vis-down {
  937. background-image: url("img/network/downArrow.png");
  938. bottom:10px;
  939. left:55px;
  940. }
  941. div.vis-network div.vis-navigation div.vis-button.vis-left {
  942. background-image: url("img/network/leftArrow.png");
  943. bottom:10px;
  944. left:15px;
  945. }
  946. div.vis-network div.vis-navigation div.vis-button.vis-right {
  947. background-image: url("img/network/rightArrow.png");
  948. bottom:10px;
  949. left:95px;
  950. }
  951. div.vis-network div.vis-navigation div.vis-button.vis-zoomIn {
  952. background-image: url("img/network/plus.png");
  953. bottom:10px;
  954. right:15px;
  955. }
  956. div.vis-network div.vis-navigation div.vis-button.vis-zoomOut {
  957. background-image: url("img/network/minus.png");
  958. bottom:10px;
  959. right:55px;
  960. }
  961. div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends {
  962. background-image: url("img/network/zoomExtends.png");
  963. bottom:50px;
  964. right:15px;
  965. }
  966. div.vis-color-picker {
  967. position:absolute;
  968. top: 0px;
  969. left: 30px;
  970. margin-top:-140px;
  971. margin-left:30px;
  972. width:310px;
  973. height:444px;
  974. z-index: 1;
  975. padding: 10px;
  976. border-radius:15px;
  977. background-color:#ffffff;
  978. display: none;
  979. box-shadow: rgba(0,0,0,0.5) 0px 0px 10px 0px;
  980. }
  981. div.vis-color-picker div.vis-arrow {
  982. position: absolute;
  983. top:147px;
  984. left:5px;
  985. }
  986. div.vis-color-picker div.vis-arrow::after,
  987. div.vis-color-picker div.vis-arrow::before {
  988. right: 100%;
  989. top: 50%;
  990. border: solid transparent;
  991. content: " ";
  992. height: 0;
  993. width: 0;
  994. position: absolute;
  995. pointer-events: none;
  996. }
  997. div.vis-color-picker div.vis-arrow:after {
  998. border-color: rgba(255, 255, 255, 0);
  999. border-right-color: #ffffff;
  1000. border-width: 30px;
  1001. margin-top: -30px;
  1002. }
  1003. div.vis-color-picker div.vis-color {
  1004. position:absolute;
  1005. width: 289px;
  1006. height: 289px;
  1007. cursor: pointer;
  1008. }
  1009. div.vis-color-picker div.vis-brightness {
  1010. position: absolute;
  1011. top:313px;
  1012. }
  1013. div.vis-color-picker div.vis-opacity {
  1014. position:absolute;
  1015. top:350px;
  1016. }
  1017. div.vis-color-picker div.vis-selector {
  1018. position:absolute;
  1019. top:137px;
  1020. left:137px;
  1021. width:15px;
  1022. height:15px;
  1023. border-radius:15px;
  1024. border:1px solid #ffffff;
  1025. background: #4c4c4c; /* Old browsers */
  1026. background: -moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%); /* FF3.6+ */
  1027. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(12%,#595959), color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#131313)); /* Chrome,Safari4+ */
  1028. background: -webkit-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* Chrome10+,Safari5.1+ */
  1029. background: -o-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* Opera 11.10+ */
  1030. background: -ms-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* IE10+ */
  1031. background: linear-gradient(to bottom, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* W3C */
  1032. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  1033. }
  1034. div.vis-color-picker div.vis-new-color {
  1035. position:absolute;
  1036. width:140px;
  1037. height:20px;
  1038. border:1px solid rgba(0,0,0,0.1);
  1039. border-radius:5px;
  1040. top:380px;
  1041. left:159px;
  1042. text-align:right;
  1043. padding-right:2px;
  1044. font-size:10px;
  1045. color:rgba(0,0,0,0.4);
  1046. vertical-align:middle;
  1047. line-height:20px;
  1048. }
  1049. div.vis-color-picker div.vis-initial-color {
  1050. position:absolute;
  1051. width:140px;
  1052. height:20px;
  1053. border:1px solid rgba(0,0,0,0.1);
  1054. border-radius:5px;
  1055. top:380px;
  1056. left:10px;
  1057. text-align:left;
  1058. padding-left:2px;
  1059. font-size:10px;
  1060. color:rgba(0,0,0,0.4);
  1061. vertical-align:middle;
  1062. line-height:20px;
  1063. }
  1064. div.vis-color-picker div.vis-label {
  1065. position:absolute;
  1066. width:300px;
  1067. left:10px;
  1068. }
  1069. div.vis-color-picker div.vis-label.vis-brightness {
  1070. top:300px;
  1071. }
  1072. div.vis-color-picker div.vis-label.vis-opacity {
  1073. top:338px;
  1074. }
  1075. div.vis-color-picker div.vis-button {
  1076. position:absolute;
  1077. width:68px;
  1078. height:25px;
  1079. border-radius:10px;
  1080. vertical-align: middle;
  1081. text-align:center;
  1082. line-height: 25px;
  1083. top:410px;
  1084. border:2px solid #d9d9d9;
  1085. background-color: #f7f7f7;
  1086. cursor:pointer;
  1087. }
  1088. div.vis-color-picker div.vis-button.vis-cancel {
  1089. /*border:2px solid #ff4e33;*/
  1090. /*background-color: #ff7761;*/
  1091. left:5px;
  1092. }
  1093. div.vis-color-picker div.vis-button.vis-load {
  1094. /*border:2px solid #a153e6;*/
  1095. /*background-color: #cb8dff;*/
  1096. left:82px;
  1097. }
  1098. div.vis-color-picker div.vis-button.vis-apply {
  1099. /*border:2px solid #4588e6;*/
  1100. /*background-color: #82b6ff;*/
  1101. left:159px;
  1102. }
  1103. div.vis-color-picker div.vis-button.vis-save {
  1104. /*border:2px solid #45e655;*/
  1105. /*background-color: #6dff7c;*/
  1106. left:236px;
  1107. }
  1108. div.vis-color-picker input.vis-range {
  1109. width: 290px;
  1110. height:20px;
  1111. }
  1112. /* TODO: is this redundant?
  1113. div.vis-color-picker input.vis-range-brightness {
  1114. width: 289px !important;
  1115. }
  1116. div.vis-color-picker input.vis-saturation-range {
  1117. width: 289px !important;
  1118. }*/