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.

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