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.

1307 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-minor {
  545. border-color: #e5e5e5;
  546. }
  547. .vis-time-axis .vis-grid.vis-major {
  548. border-color: #bfbfbf;
  549. }
  550. .vis-current-time {
  551. background-color: #FF7F6E;
  552. width: 2px;
  553. z-index: 1;
  554. }
  555. .vis-custom-time {
  556. background-color: #6E94FF;
  557. width: 2px;
  558. cursor: move;
  559. z-index: 1;
  560. }
  561. .vis-timeline {
  562. /*
  563. -webkit-transition: height .4s ease-in-out;
  564. transition: height .4s ease-in-out;
  565. */
  566. }
  567. .vis-panel {
  568. /*
  569. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  570. transition: height .4s ease-in-out, top .4s ease-in-out;
  571. */
  572. }
  573. .vis-axis {
  574. /*
  575. -webkit-transition: top .4s ease-in-out;
  576. transition: top .4s ease-in-out;
  577. */
  578. }
  579. /* TODO: get animation working nicely
  580. .vis-item {
  581. -webkit-transition: top .4s ease-in-out;
  582. transition: top .4s ease-in-out;
  583. }
  584. .vis-item.line {
  585. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  586. transition: height .4s ease-in-out, top .4s ease-in-out;
  587. }
  588. /**/
  589. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-horizontal {
  590. position: absolute;
  591. width: 100%;
  592. height: 0;
  593. border-bottom: 1px solid;
  594. }
  595. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-minor {
  596. border-color: #e5e5e5;
  597. }
  598. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-major {
  599. border-color: #bfbfbf;
  600. }
  601. .vis-data-axis .vis-y-axis.vis-major {
  602. width: 100%;
  603. position: absolute;
  604. color: #4d4d4d;
  605. white-space: nowrap;
  606. }
  607. .vis-data-axis .vis-y-axis.vis-major.vis-measure {
  608. padding: 0;
  609. margin: 0;
  610. border: 0;
  611. visibility: hidden;
  612. width: auto;
  613. }
  614. .vis-data-axis .vis-y-axis.vis-minor {
  615. position: absolute;
  616. width: 100%;
  617. color: #bebebe;
  618. white-space: nowrap;
  619. }
  620. .vis-data-axis .vis-y-axis.vis-minor.vis-measure {
  621. padding: 0;
  622. margin: 0;
  623. border: 0;
  624. visibility: hidden;
  625. width: auto;
  626. }
  627. .vis-data-axis .vis-y-axis.vis-title {
  628. position: absolute;
  629. color: #4d4d4d;
  630. white-space: nowrap;
  631. bottom: 20px;
  632. text-align: center;
  633. }
  634. .vis-data-axis .vis-y-axis.vis-title.vis-measure {
  635. padding: 0;
  636. margin: 0;
  637. visibility: hidden;
  638. width: auto;
  639. }
  640. .vis-data-axis .vis-y-axis.vis-title.vis-left {
  641. bottom: 0;
  642. -webkit-transform-origin: left top;
  643. -moz-transform-origin: left top;
  644. -ms-transform-origin: left top;
  645. -o-transform-origin: left top;
  646. transform-origin: left bottom;
  647. -webkit-transform: rotate(-90deg);
  648. -moz-transform: rotate(-90deg);
  649. -ms-transform: rotate(-90deg);
  650. -o-transform: rotate(-90deg);
  651. transform: rotate(-90deg);
  652. }
  653. .vis-data-axis .vis-y-axis.vis-title.vis-right {
  654. bottom: 0;
  655. -webkit-transform-origin: right bottom;
  656. -moz-transform-origin: right bottom;
  657. -ms-transform-origin: right bottom;
  658. -o-transform-origin: right bottom;
  659. transform-origin: right bottom;
  660. -webkit-transform: rotate(90deg);
  661. -moz-transform: rotate(90deg);
  662. -ms-transform: rotate(90deg);
  663. -o-transform: rotate(90deg);
  664. transform: rotate(90deg);
  665. }
  666. .vis-legend {
  667. background-color: rgba(247, 252, 255, 0.65);
  668. padding: 5px;
  669. border: 1px solid #b3b3b3;
  670. box-shadow: 2px 2px 10px rgba(154, 154, 154, 0.55);
  671. }
  672. .vis-legend-text {
  673. /*font-size: 10px;*/
  674. white-space: nowrap;
  675. display: inline-block
  676. }
  677. .vis-graph-group0 {
  678. fill:#4f81bd;
  679. fill-opacity:0;
  680. stroke-width:2px;
  681. stroke: #4f81bd;
  682. }
  683. .vis-graph-group1 {
  684. fill:#f79646;
  685. fill-opacity:0;
  686. stroke-width:2px;
  687. stroke: #f79646;
  688. }
  689. .vis-graph-group2 {
  690. fill: #8c51cf;
  691. fill-opacity:0;
  692. stroke-width:2px;
  693. stroke: #8c51cf;
  694. }
  695. .vis-graph-group3 {
  696. fill: #75c841;
  697. fill-opacity:0;
  698. stroke-width:2px;
  699. stroke: #75c841;
  700. }
  701. .vis-graph-group4 {
  702. fill: #ff0100;
  703. fill-opacity:0;
  704. stroke-width:2px;
  705. stroke: #ff0100;
  706. }
  707. .vis-graph-group5 {
  708. fill: #37d8e6;
  709. fill-opacity:0;
  710. stroke-width:2px;
  711. stroke: #37d8e6;
  712. }
  713. .vis-graph-group6 {
  714. fill: #042662;
  715. fill-opacity:0;
  716. stroke-width:2px;
  717. stroke: #042662;
  718. }
  719. .vis-graph-group7 {
  720. fill:#00ff26;
  721. fill-opacity:0;
  722. stroke-width:2px;
  723. stroke: #00ff26;
  724. }
  725. .vis-graph-group8 {
  726. fill:#ff00ff;
  727. fill-opacity:0;
  728. stroke-width:2px;
  729. stroke: #ff00ff;
  730. }
  731. .vis-graph-group9 {
  732. fill: #8f3938;
  733. fill-opacity:0;
  734. stroke-width:2px;
  735. stroke: #8f3938;
  736. }
  737. .vis-timeline .vis-fill {
  738. fill-opacity:0.1;
  739. stroke: none;
  740. }
  741. .vis-timeline .vis-bar {
  742. fill-opacity:0.5;
  743. stroke-width:1px;
  744. }
  745. .vis-timeline .vis-point {
  746. stroke-width:2px;
  747. fill-opacity:1.0;
  748. }
  749. .vis-timeline .vis-legend-background {
  750. stroke-width:1px;
  751. fill-opacity:0.9;
  752. fill: #ffffff;
  753. stroke: #c2c2c2;
  754. }
  755. .vis-timeline .vis-outline {
  756. stroke-width:1px;
  757. fill-opacity:1;
  758. fill: #ffffff;
  759. stroke: #e5e5e5;
  760. }
  761. .vis-timeline .vis-icon-fill {
  762. fill-opacity:0.3;
  763. stroke: none;
  764. }
  765. div.vis-network div.vis-manipulation {
  766. border-width: 0;
  767. border-bottom: 1px;
  768. border-style:solid;
  769. border-color: #d6d9d8;
  770. background: #ffffff; /* Old browsers */
  771. background: -moz-linear-gradient(top, #ffffff 0%, #fcfcfc 48%, #fafafa 50%, #fcfcfc 100%); /* FF3.6+ */
  772. 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+ */
  773. background: -webkit-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Chrome10+,Safari5.1+ */
  774. background: -o-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Opera 11.10+ */
  775. background: -ms-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* IE10+ */
  776. background: linear-gradient(to bottom, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* W3C */
  777. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
  778. padding-top:4px;
  779. position: absolute;
  780. left: 0;
  781. top: 0;
  782. width: 100%;
  783. height: 28px;
  784. }
  785. div.vis-network div.vis-edit-mode {
  786. position:absolute;
  787. left: 0;
  788. top: 5px;
  789. height: 30px;
  790. }
  791. /* FIXME: shouldn't the vis-close button be a child of the vis-manipulation div? */
  792. div.vis-network div.vis-close {
  793. position:absolute;
  794. right: 0;
  795. top: 0;
  796. width: 30px;
  797. height: 30px;
  798. background-position: 20px 3px;
  799. background-repeat: no-repeat;
  800. background-image: url("img/network/cross.png");
  801. cursor: pointer;
  802. -webkit-touch-callout: none;
  803. -webkit-user-select: none;
  804. -khtml-user-select: none;
  805. -moz-user-select: none;
  806. -ms-user-select: none;
  807. user-select: none;
  808. }
  809. div.vis-network div.vis-close:hover {
  810. opacity: 0.6;
  811. }
  812. div.vis-network div.vis-manipulation div.vis-button,
  813. div.vis-network div.vis-edit-mode div.vis-button {
  814. float:left;
  815. font-family: verdana;
  816. font-size: 12px;
  817. -moz-border-radius: 15px;
  818. border-radius: 15px;
  819. display:inline-block;
  820. background-position: 0px 0px;
  821. background-repeat:no-repeat;
  822. height:24px;
  823. margin-left: 10px;
  824. /*vertical-align:middle;*/
  825. cursor: pointer;
  826. padding: 0px 8px 0px 8px;
  827. -webkit-touch-callout: none;
  828. -webkit-user-select: none;
  829. -khtml-user-select: none;
  830. -moz-user-select: none;
  831. -ms-user-select: none;
  832. user-select: none;
  833. }
  834. div.vis-network div.vis-manipulation div.vis-button:hover {
  835. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.20);
  836. }
  837. div.vis-network div.vis-manipulation div.vis-button:active {
  838. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.50);
  839. }
  840. div.vis-network div.vis-manipulation div.vis-button.vis-back {
  841. background-image: url("img/network/backIcon.png");
  842. }
  843. div.vis-network div.vis-manipulation div.vis-button.vis-none:hover {
  844. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  845. cursor: default;
  846. }
  847. div.vis-network div.vis-manipulation div.vis-button.vis-none:active {
  848. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  849. }
  850. div.vis-network div.vis-manipulation div.vis-button.vis-none {
  851. padding: 0;
  852. }
  853. div.vis-network div.vis-manipulation div.notification {
  854. margin: 2px;
  855. font-weight: bold;
  856. }
  857. div.vis-network div.vis-manipulation div.vis-button.vis-add {
  858. background-image: url("img/network/addNodeIcon.png");
  859. }
  860. div.vis-network div.vis-manipulation div.vis-button.vis-edit,
  861. div.vis-network div.vis-edit-mode div.vis-button.vis-edit {
  862. background-image: url("img/network/editIcon.png");
  863. }
  864. div.vis-network div.vis-edit-mode div.vis-button.vis-edit.vis-edit-mode {
  865. background-color: #fcfcfc;
  866. border: 1px solid #cccccc;
  867. }
  868. div.vis-network div.vis-manipulation div.vis-button.vis-connect {
  869. background-image: url("img/network/connectIcon.png");
  870. }
  871. div.vis-network div.vis-manipulation div.vis-button.vis-delete {
  872. background-image: url("img/network/deleteIcon.png");
  873. }
  874. /* top right bottom left */
  875. div.vis-network div.vis-manipulation div.vis-label,
  876. div.vis-network div.vis-edit-mode div.vis-label {
  877. margin: 0 0 0 23px;
  878. line-height: 25px;
  879. }
  880. div.vis-network div.vis-manipulation div.vis-separator-line {
  881. float:left;
  882. display:inline-block;
  883. width:1px;
  884. height:21px;
  885. background-color: #bdbdbd;
  886. margin: 0px 7px 0 15px; /*top right bottom left*/
  887. }
  888. /* TODO: is this redundant?
  889. div.network-navigation_wrapper {
  890. position: absolute;
  891. left: 0;
  892. top: 0;
  893. width: 100%;
  894. height: 100%;
  895. }
  896. */
  897. div.vis-network-tooltip {
  898. position: absolute;
  899. visibility: hidden;
  900. padding: 5px;
  901. white-space: nowrap;
  902. font-family: verdana;
  903. font-size:14px;
  904. color:#000000;
  905. background-color: #f5f4ed;
  906. -moz-border-radius: 3px;
  907. -webkit-border-radius: 3px;
  908. border-radius: 3px;
  909. border: 1px solid #808074;
  910. box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  911. pointer-events: none;
  912. }
  913. div.vis-network div.vis-navigation div.vis-button {
  914. width:34px;
  915. height:34px;
  916. -moz-border-radius: 17px;
  917. border-radius: 17px;
  918. position:absolute;
  919. display:inline-block;
  920. background-position: 2px 2px;
  921. background-repeat:no-repeat;
  922. cursor: pointer;
  923. -webkit-touch-callout: none;
  924. -webkit-user-select: none;
  925. -khtml-user-select: none;
  926. -moz-user-select: none;
  927. -ms-user-select: none;
  928. user-select: none;
  929. }
  930. div.vis-network div.vis-navigation div.vis-button:hover {
  931. box-shadow: 0 0 3px 3px rgba(56, 207, 21, 0.30);
  932. }
  933. div.vis-network div.vis-navigation div.vis-button:active {
  934. box-shadow: 0 0 1px 3px rgba(56, 207, 21, 0.95);
  935. }
  936. div.vis-network div.vis-navigation div.vis-button.vis-up {
  937. background-image: url("img/network/upArrow.png");
  938. bottom:50px;
  939. left:55px;
  940. }
  941. div.vis-network div.vis-navigation div.vis-button.vis-down {
  942. background-image: url("img/network/downArrow.png");
  943. bottom:10px;
  944. left:55px;
  945. }
  946. div.vis-network div.vis-navigation div.vis-button.vis-left {
  947. background-image: url("img/network/leftArrow.png");
  948. bottom:10px;
  949. left:15px;
  950. }
  951. div.vis-network div.vis-navigation div.vis-button.vis-right {
  952. background-image: url("img/network/rightArrow.png");
  953. bottom:10px;
  954. left:95px;
  955. }
  956. div.vis-network div.vis-navigation div.vis-button.vis-zoomIn {
  957. background-image: url("img/network/plus.png");
  958. bottom:10px;
  959. right:15px;
  960. }
  961. div.vis-network div.vis-navigation div.vis-button.vis-zoomOut {
  962. background-image: url("img/network/minus.png");
  963. bottom:10px;
  964. right:55px;
  965. }
  966. div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends {
  967. background-image: url("img/network/zoomExtends.png");
  968. bottom:50px;
  969. right:15px;
  970. }
  971. div.vis-color-picker {
  972. position:absolute;
  973. top: 0px;
  974. left: 30px;
  975. margin-top:-140px;
  976. margin-left:30px;
  977. width:310px;
  978. height:444px;
  979. z-index: 1;
  980. padding: 10px;
  981. border-radius:15px;
  982. background-color:#ffffff;
  983. display: none;
  984. box-shadow: rgba(0,0,0,0.5) 0px 0px 10px 0px;
  985. }
  986. div.vis-color-picker div.vis-arrow {
  987. position: absolute;
  988. top:147px;
  989. left:5px;
  990. }
  991. div.vis-color-picker div.vis-arrow::after,
  992. div.vis-color-picker div.vis-arrow::before {
  993. right: 100%;
  994. top: 50%;
  995. border: solid transparent;
  996. content: " ";
  997. height: 0;
  998. width: 0;
  999. position: absolute;
  1000. pointer-events: none;
  1001. }
  1002. div.vis-color-picker div.vis-arrow:after {
  1003. border-color: rgba(255, 255, 255, 0);
  1004. border-right-color: #ffffff;
  1005. border-width: 30px;
  1006. margin-top: -30px;
  1007. }
  1008. div.vis-color-picker div.vis-color {
  1009. position:absolute;
  1010. width: 289px;
  1011. height: 289px;
  1012. cursor: pointer;
  1013. }
  1014. div.vis-color-picker div.vis-brightness {
  1015. position: absolute;
  1016. top:313px;
  1017. }
  1018. div.vis-color-picker div.vis-opacity {
  1019. position:absolute;
  1020. top:350px;
  1021. }
  1022. div.vis-color-picker div.vis-selector {
  1023. position:absolute;
  1024. top:137px;
  1025. left:137px;
  1026. width:15px;
  1027. height:15px;
  1028. border-radius:15px;
  1029. border:1px solid #ffffff;
  1030. background: #4c4c4c; /* Old browsers */
  1031. 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+ */
  1032. 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+ */
  1033. 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+ */
  1034. 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+ */
  1035. 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+ */
  1036. 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 */
  1037. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  1038. }
  1039. div.vis-color-picker div.vis-new-color {
  1040. position:absolute;
  1041. width:140px;
  1042. height:20px;
  1043. border:1px solid rgba(0,0,0,0.1);
  1044. border-radius:5px;
  1045. top:380px;
  1046. left:159px;
  1047. text-align:right;
  1048. padding-right:2px;
  1049. font-size:10px;
  1050. color:rgba(0,0,0,0.4);
  1051. vertical-align:middle;
  1052. line-height:20px;
  1053. }
  1054. div.vis-color-picker div.vis-initial-color {
  1055. position:absolute;
  1056. width:140px;
  1057. height:20px;
  1058. border:1px solid rgba(0,0,0,0.1);
  1059. border-radius:5px;
  1060. top:380px;
  1061. left:10px;
  1062. text-align:left;
  1063. padding-left:2px;
  1064. font-size:10px;
  1065. color:rgba(0,0,0,0.4);
  1066. vertical-align:middle;
  1067. line-height:20px;
  1068. }
  1069. div.vis-color-picker div.vis-label {
  1070. position:absolute;
  1071. width:300px;
  1072. left:10px;
  1073. }
  1074. div.vis-color-picker div.vis-label.vis-brightness {
  1075. top:300px;
  1076. }
  1077. div.vis-color-picker div.vis-label.vis-opacity {
  1078. top:338px;
  1079. }
  1080. div.vis-color-picker div.vis-button {
  1081. position:absolute;
  1082. width:68px;
  1083. height:25px;
  1084. border-radius:10px;
  1085. vertical-align: middle;
  1086. text-align:center;
  1087. line-height: 25px;
  1088. top:410px;
  1089. border:2px solid #d9d9d9;
  1090. background-color: #f7f7f7;
  1091. cursor:pointer;
  1092. }
  1093. div.vis-color-picker div.vis-button.vis-cancel {
  1094. /*border:2px solid #ff4e33;*/
  1095. /*background-color: #ff7761;*/
  1096. left:5px;
  1097. }
  1098. div.vis-color-picker div.vis-button.vis-load {
  1099. /*border:2px solid #a153e6;*/
  1100. /*background-color: #cb8dff;*/
  1101. left:82px;
  1102. }
  1103. div.vis-color-picker div.vis-button.vis-apply {
  1104. /*border:2px solid #4588e6;*/
  1105. /*background-color: #82b6ff;*/
  1106. left:159px;
  1107. }
  1108. div.vis-color-picker div.vis-button.vis-save {
  1109. /*border:2px solid #45e655;*/
  1110. /*background-color: #6dff7c;*/
  1111. left:236px;
  1112. }
  1113. div.vis-color-picker input.vis-range {
  1114. width: 290px;
  1115. height:20px;
  1116. }
  1117. /* TODO: is this redundant?
  1118. div.vis-color-picker input.vis-range-brightness {
  1119. width: 289px !important;
  1120. }
  1121. div.vis-color-picker input.vis-saturation-range {
  1122. width: 289px !important;
  1123. }*/