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.

1312 lines
29 KiB

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