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.

1389 lines
31 KiB

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. div.vis-color-picker {
  278. position:absolute;
  279. top: 0px;
  280. left: 30px;
  281. margin-top:-140px;
  282. margin-left:30px;
  283. width:310px;
  284. height:444px;
  285. z-index: 1;
  286. padding: 10px;
  287. border-radius:15px;
  288. background-color:#ffffff;
  289. display: none;
  290. box-shadow: rgba(0,0,0,0.5) 0px 0px 10px 0px;
  291. }
  292. div.vis-color-picker div.vis-arrow {
  293. position: absolute;
  294. top:147px;
  295. left:5px;
  296. }
  297. div.vis-color-picker div.vis-arrow::after,
  298. div.vis-color-picker div.vis-arrow::before {
  299. right: 100%;
  300. top: 50%;
  301. border: solid transparent;
  302. content: " ";
  303. height: 0;
  304. width: 0;
  305. position: absolute;
  306. pointer-events: none;
  307. }
  308. div.vis-color-picker div.vis-arrow:after {
  309. border-color: rgba(255, 255, 255, 0);
  310. border-right-color: #ffffff;
  311. border-width: 30px;
  312. margin-top: -30px;
  313. }
  314. div.vis-color-picker div.vis-color {
  315. position:absolute;
  316. width: 289px;
  317. height: 289px;
  318. cursor: pointer;
  319. }
  320. div.vis-color-picker div.vis-brightness {
  321. position: absolute;
  322. top:313px;
  323. }
  324. div.vis-color-picker div.vis-opacity {
  325. position:absolute;
  326. top:350px;
  327. }
  328. div.vis-color-picker div.vis-selector {
  329. position:absolute;
  330. top:137px;
  331. left:137px;
  332. width:15px;
  333. height:15px;
  334. border-radius:15px;
  335. border:1px solid #ffffff;
  336. background: #4c4c4c; /* Old browsers */
  337. 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+ */
  338. 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+ */
  339. 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+ */
  340. 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+ */
  341. 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+ */
  342. 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 */
  343. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  344. }
  345. div.vis-color-picker div.vis-new-color {
  346. position:absolute;
  347. width:140px;
  348. height:20px;
  349. border:1px solid rgba(0,0,0,0.1);
  350. border-radius:5px;
  351. top:380px;
  352. left:159px;
  353. text-align:right;
  354. padding-right:2px;
  355. font-size:10px;
  356. color:rgba(0,0,0,0.4);
  357. vertical-align:middle;
  358. line-height:20px;
  359. }
  360. div.vis-color-picker div.vis-initial-color {
  361. position:absolute;
  362. width:140px;
  363. height:20px;
  364. border:1px solid rgba(0,0,0,0.1);
  365. border-radius:5px;
  366. top:380px;
  367. left:10px;
  368. text-align:left;
  369. padding-left:2px;
  370. font-size:10px;
  371. color:rgba(0,0,0,0.4);
  372. vertical-align:middle;
  373. line-height:20px;
  374. }
  375. div.vis-color-picker div.vis-label {
  376. position:absolute;
  377. width:300px;
  378. left:10px;
  379. }
  380. div.vis-color-picker div.vis-label.vis-brightness {
  381. top:300px;
  382. }
  383. div.vis-color-picker div.vis-label.vis-opacity {
  384. top:338px;
  385. }
  386. div.vis-color-picker div.vis-button {
  387. position:absolute;
  388. width:68px;
  389. height:25px;
  390. border-radius:10px;
  391. vertical-align: middle;
  392. text-align:center;
  393. line-height: 25px;
  394. top:410px;
  395. border:2px solid #d9d9d9;
  396. background-color: #f7f7f7;
  397. cursor:pointer;
  398. }
  399. div.vis-color-picker div.vis-button.vis-cancel {
  400. /*border:2px solid #ff4e33;*/
  401. /*background-color: #ff7761;*/
  402. left:5px;
  403. }
  404. div.vis-color-picker div.vis-button.vis-load {
  405. /*border:2px solid #a153e6;*/
  406. /*background-color: #cb8dff;*/
  407. left:82px;
  408. }
  409. div.vis-color-picker div.vis-button.vis-apply {
  410. /*border:2px solid #4588e6;*/
  411. /*background-color: #82b6ff;*/
  412. left:159px;
  413. }
  414. div.vis-color-picker div.vis-button.vis-save {
  415. /*border:2px solid #45e655;*/
  416. /*background-color: #6dff7c;*/
  417. left:236px;
  418. }
  419. div.vis-color-picker input.vis-range {
  420. width: 290px;
  421. height:20px;
  422. }
  423. /* TODO: is this redundant?
  424. div.vis-color-picker input.vis-range-brightness {
  425. width: 289px !important;
  426. }
  427. div.vis-color-picker input.vis-saturation-range {
  428. width: 289px !important;
  429. }*/
  430. div.vis-network div.vis-manipulation {
  431. border-width: 0;
  432. border-bottom: 1px;
  433. border-style:solid;
  434. border-color: #d6d9d8;
  435. background: #ffffff; /* Old browsers */
  436. background: -moz-linear-gradient(top, #ffffff 0%, #fcfcfc 48%, #fafafa 50%, #fcfcfc 100%); /* FF3.6+ */
  437. 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+ */
  438. background: -webkit-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Chrome10+,Safari5.1+ */
  439. background: -o-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Opera 11.10+ */
  440. background: -ms-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* IE10+ */
  441. background: linear-gradient(to bottom, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* W3C */
  442. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
  443. padding-top:4px;
  444. position: absolute;
  445. left: 0;
  446. top: 0;
  447. width: 100%;
  448. height: 28px;
  449. }
  450. div.vis-network div.vis-edit-mode {
  451. position:absolute;
  452. left: 0;
  453. top: 5px;
  454. height: 30px;
  455. }
  456. /* FIXME: shouldn't the vis-close button be a child of the vis-manipulation div? */
  457. div.vis-network div.vis-close {
  458. position:absolute;
  459. right: 0;
  460. top: 0;
  461. width: 30px;
  462. height: 30px;
  463. background-position: 20px 3px;
  464. background-repeat: no-repeat;
  465. background-image: url("img/network/cross.png");
  466. cursor: pointer;
  467. -webkit-touch-callout: none;
  468. -webkit-user-select: none;
  469. -khtml-user-select: none;
  470. -moz-user-select: none;
  471. -ms-user-select: none;
  472. user-select: none;
  473. }
  474. div.vis-network div.vis-close:hover {
  475. opacity: 0.6;
  476. }
  477. div.vis-network div.vis-manipulation div.vis-button,
  478. div.vis-network div.vis-edit-mode div.vis-button {
  479. float:left;
  480. font-family: verdana;
  481. font-size: 12px;
  482. -moz-border-radius: 15px;
  483. border-radius: 15px;
  484. display:inline-block;
  485. background-position: 0px 0px;
  486. background-repeat:no-repeat;
  487. height:24px;
  488. margin-left: 10px;
  489. /*vertical-align:middle;*/
  490. cursor: pointer;
  491. padding: 0px 8px 0px 8px;
  492. -webkit-touch-callout: none;
  493. -webkit-user-select: none;
  494. -khtml-user-select: none;
  495. -moz-user-select: none;
  496. -ms-user-select: none;
  497. user-select: none;
  498. }
  499. div.vis-network div.vis-manipulation div.vis-button:hover {
  500. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.20);
  501. }
  502. div.vis-network div.vis-manipulation div.vis-button:active {
  503. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.50);
  504. }
  505. div.vis-network div.vis-manipulation div.vis-button.vis-back {
  506. background-image: url("img/network/backIcon.png");
  507. }
  508. div.vis-network div.vis-manipulation div.vis-button.vis-none:hover {
  509. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  510. cursor: default;
  511. }
  512. div.vis-network div.vis-manipulation div.vis-button.vis-none:active {
  513. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  514. }
  515. div.vis-network div.vis-manipulation div.vis-button.vis-none {
  516. padding: 0;
  517. }
  518. div.vis-network div.vis-manipulation div.notification {
  519. margin: 2px;
  520. font-weight: bold;
  521. }
  522. div.vis-network div.vis-manipulation div.vis-button.vis-add {
  523. background-image: url("img/network/addNodeIcon.png");
  524. }
  525. div.vis-network div.vis-manipulation div.vis-button.vis-edit,
  526. div.vis-network div.vis-edit-mode div.vis-button.vis-edit {
  527. background-image: url("img/network/editIcon.png");
  528. }
  529. div.vis-network div.vis-edit-mode div.vis-button.vis-edit.vis-edit-mode {
  530. background-color: #fcfcfc;
  531. border: 1px solid #cccccc;
  532. }
  533. div.vis-network div.vis-manipulation div.vis-button.vis-connect {
  534. background-image: url("img/network/connectIcon.png");
  535. }
  536. div.vis-network div.vis-manipulation div.vis-button.vis-delete {
  537. background-image: url("img/network/deleteIcon.png");
  538. }
  539. /* top right bottom left */
  540. div.vis-network div.vis-manipulation div.vis-label,
  541. div.vis-network div.vis-edit-mode div.vis-label {
  542. margin: 0 0 0 23px;
  543. line-height: 25px;
  544. }
  545. div.vis-network div.vis-manipulation div.vis-separator-line {
  546. float:left;
  547. display:inline-block;
  548. width:1px;
  549. height:21px;
  550. background-color: #bdbdbd;
  551. margin: 0px 7px 0 15px; /*top right bottom left*/
  552. }
  553. /* TODO: is this redundant?
  554. div.network-navigation_wrapper {
  555. position: absolute;
  556. left: 0;
  557. top: 0;
  558. width: 100%;
  559. height: 100%;
  560. }
  561. */
  562. div.vis-network div.vis-navigation div.vis-button {
  563. width:34px;
  564. height:34px;
  565. -moz-border-radius: 17px;
  566. border-radius: 17px;
  567. position:absolute;
  568. display:inline-block;
  569. background-position: 2px 2px;
  570. background-repeat:no-repeat;
  571. cursor: pointer;
  572. -webkit-touch-callout: none;
  573. -webkit-user-select: none;
  574. -khtml-user-select: none;
  575. -moz-user-select: none;
  576. -ms-user-select: none;
  577. user-select: none;
  578. }
  579. div.vis-network div.vis-navigation div.vis-button:hover {
  580. box-shadow: 0 0 3px 3px rgba(56, 207, 21, 0.30);
  581. }
  582. div.vis-network div.vis-navigation div.vis-button:active {
  583. box-shadow: 0 0 1px 3px rgba(56, 207, 21, 0.95);
  584. }
  585. div.vis-network div.vis-navigation div.vis-button.vis-up {
  586. background-image: url("img/network/upArrow.png");
  587. bottom:50px;
  588. left:55px;
  589. }
  590. div.vis-network div.vis-navigation div.vis-button.vis-down {
  591. background-image: url("img/network/downArrow.png");
  592. bottom:10px;
  593. left:55px;
  594. }
  595. div.vis-network div.vis-navigation div.vis-button.vis-left {
  596. background-image: url("img/network/leftArrow.png");
  597. bottom:10px;
  598. left:15px;
  599. }
  600. div.vis-network div.vis-navigation div.vis-button.vis-right {
  601. background-image: url("img/network/rightArrow.png");
  602. bottom:10px;
  603. left:95px;
  604. }
  605. div.vis-network div.vis-navigation div.vis-button.vis-zoomIn {
  606. background-image: url("img/network/plus.png");
  607. bottom:10px;
  608. right:15px;
  609. }
  610. div.vis-network div.vis-navigation div.vis-button.vis-zoomOut {
  611. background-image: url("img/network/minus.png");
  612. bottom:10px;
  613. right:55px;
  614. }
  615. div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends {
  616. background-image: url("img/network/zoomExtends.png");
  617. bottom:50px;
  618. right:15px;
  619. }
  620. div.vis-network-tooltip {
  621. position: absolute;
  622. visibility: hidden;
  623. padding: 5px;
  624. white-space: nowrap;
  625. font-family: verdana;
  626. font-size:14px;
  627. color:#000000;
  628. background-color: #f5f4ed;
  629. -moz-border-radius: 3px;
  630. -webkit-border-radius: 3px;
  631. border-radius: 3px;
  632. border: 1px solid #808074;
  633. box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  634. pointer-events: none;
  635. }
  636. .vis-timeline {
  637. /*
  638. -webkit-transition: height .4s ease-in-out;
  639. transition: height .4s ease-in-out;
  640. */
  641. }
  642. .vis-panel {
  643. /*
  644. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  645. transition: height .4s ease-in-out, top .4s ease-in-out;
  646. */
  647. }
  648. .vis-axis {
  649. /*
  650. -webkit-transition: top .4s ease-in-out;
  651. transition: top .4s ease-in-out;
  652. */
  653. }
  654. /* TODO: get animation working nicely
  655. .vis-item {
  656. -webkit-transition: top .4s ease-in-out;
  657. transition: top .4s ease-in-out;
  658. }
  659. .vis-item.line {
  660. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  661. transition: height .4s ease-in-out, top .4s ease-in-out;
  662. }
  663. /**/
  664. .vis-current-time {
  665. background-color: #FF7F6E;
  666. width: 2px;
  667. z-index: 1;
  668. }
  669. .vis-custom-time {
  670. background-color: #6E94FF;
  671. width: 2px;
  672. cursor: move;
  673. z-index: 1;
  674. }
  675. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-horizontal {
  676. position: absolute;
  677. width: 100%;
  678. height: 0;
  679. border-bottom: 1px solid;
  680. }
  681. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-minor {
  682. border-color: #e5e5e5;
  683. }
  684. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-major {
  685. border-color: #bfbfbf;
  686. }
  687. .vis-data-axis .vis-y-axis.vis-major {
  688. width: 100%;
  689. position: absolute;
  690. color: #4d4d4d;
  691. white-space: nowrap;
  692. }
  693. .vis-data-axis .vis-y-axis.vis-major.vis-measure {
  694. padding: 0;
  695. margin: 0;
  696. border: 0;
  697. visibility: hidden;
  698. width: auto;
  699. }
  700. .vis-data-axis .vis-y-axis.vis-minor {
  701. position: absolute;
  702. width: 100%;
  703. color: #bebebe;
  704. white-space: nowrap;
  705. }
  706. .vis-data-axis .vis-y-axis.vis-minor.vis-measure {
  707. padding: 0;
  708. margin: 0;
  709. border: 0;
  710. visibility: hidden;
  711. width: auto;
  712. }
  713. .vis-data-axis .vis-y-axis.vis-title {
  714. position: absolute;
  715. color: #4d4d4d;
  716. white-space: nowrap;
  717. bottom: 20px;
  718. text-align: center;
  719. }
  720. .vis-data-axis .vis-y-axis.vis-title.vis-measure {
  721. padding: 0;
  722. margin: 0;
  723. visibility: hidden;
  724. width: auto;
  725. }
  726. .vis-data-axis .vis-y-axis.vis-title.vis-left {
  727. bottom: 0;
  728. -webkit-transform-origin: left top;
  729. -moz-transform-origin: left top;
  730. -ms-transform-origin: left top;
  731. -o-transform-origin: left top;
  732. transform-origin: left bottom;
  733. -webkit-transform: rotate(-90deg);
  734. -moz-transform: rotate(-90deg);
  735. -ms-transform: rotate(-90deg);
  736. -o-transform: rotate(-90deg);
  737. transform: rotate(-90deg);
  738. }
  739. .vis-data-axis .vis-y-axis.vis-title.vis-right {
  740. bottom: 0;
  741. -webkit-transform-origin: right bottom;
  742. -moz-transform-origin: right bottom;
  743. -ms-transform-origin: right bottom;
  744. -o-transform-origin: right bottom;
  745. transform-origin: right bottom;
  746. -webkit-transform: rotate(90deg);
  747. -moz-transform: rotate(90deg);
  748. -ms-transform: rotate(90deg);
  749. -o-transform: rotate(90deg);
  750. transform: rotate(90deg);
  751. }
  752. .vis-legend {
  753. background-color: rgba(247, 252, 255, 0.65);
  754. padding: 5px;
  755. border: 1px solid #b3b3b3;
  756. box-shadow: 2px 2px 10px rgba(154, 154, 154, 0.55);
  757. }
  758. .vis-legend-text {
  759. /*font-size: 10px;*/
  760. white-space: nowrap;
  761. display: inline-block
  762. }
  763. .vis-item {
  764. position: absolute;
  765. color: #1A1A1A;
  766. border-color: #97B0F8;
  767. border-width: 1px;
  768. background-color: #D5DDF6;
  769. display: inline-block;
  770. /*overflow: hidden;*/
  771. }
  772. .vis-item.vis-selected {
  773. border-color: #FFC200;
  774. background-color: #FFF785;
  775. /* z-index must be higher than the z-index of custom time bar and current time bar */
  776. z-index: 2;
  777. }
  778. .vis-editable.vis-selected {
  779. cursor: move;
  780. }
  781. .vis-item.vis-point.vis-selected {
  782. background-color: #FFF785;
  783. }
  784. .vis-item.vis-box {
  785. text-align: center;
  786. border-style: solid;
  787. border-radius: 2px;
  788. }
  789. .vis-item.vis-point {
  790. background: none;
  791. }
  792. .vis-item.vis-dot {
  793. position: absolute;
  794. padding: 0;
  795. border-width: 4px;
  796. border-style: solid;
  797. border-radius: 4px;
  798. }
  799. .vis-item.vis-range {
  800. border-style: solid;
  801. border-radius: 2px;
  802. box-sizing: border-box;
  803. }
  804. .vis-item.vis-background {
  805. border: none;
  806. background-color: rgba(213, 221, 246, 0.4);
  807. box-sizing: border-box;
  808. padding: 0;
  809. margin: 0;
  810. }
  811. .vis-item .vis-item-overflow {
  812. position: relative;
  813. width: 100%;
  814. height: 100%;
  815. padding: 0;
  816. margin: 0;
  817. overflow: hidden;
  818. }
  819. .vis-item.vis-range .vis-item-content {
  820. position: relative;
  821. display: inline-block;
  822. }
  823. .vis-item.vis-background .vis-item-content {
  824. position: absolute;
  825. display: inline-block;
  826. }
  827. .vis-item.vis-line {
  828. padding: 0;
  829. position: absolute;
  830. width: 0;
  831. border-left-width: 1px;
  832. border-left-style: solid;
  833. }
  834. .vis-item .vis-item-content {
  835. white-space: nowrap;
  836. box-sizing: border-box;
  837. padding: 5px;
  838. }
  839. .vis-item .vis-onUpdateTime-tooltip {
  840. position: absolute;
  841. background: #4f81bd;
  842. color: white;
  843. width: 200px;
  844. text-align: center;
  845. white-space: nowrap;
  846. padding: 5px;
  847. border-radius: 1px;
  848. }
  849. .vis-item .vis-delete, .vis-item .vis-delete-rtl {
  850. position: absolute;
  851. top: 0px;
  852. width: 24px;
  853. height: 24px;
  854. box-sizing: border-box;
  855. padding: 0px 5px;
  856. cursor: pointer;
  857. -webkit-transition: background 0.2s linear;
  858. -moz-transition: background 0.2s linear;
  859. -ms-transition: background 0.2s linear;
  860. -o-transition: background 0.2s linear;
  861. transition: background 0.2s linear;
  862. }
  863. .vis-item .vis-delete {
  864. right: -24px;
  865. }
  866. .vis-item .vis-delete-rtl {
  867. left: -24px;
  868. }
  869. .vis-item .vis-delete:after, .vis-item .vis-delete-rtl:after {
  870. content: "\00D7"; /* MULTIPLICATION SIGN */
  871. color: red;
  872. font-family: arial, sans-serif;
  873. font-size: 22px;
  874. font-weight: bold;
  875. -webkit-transition: color 0.2s linear;
  876. -moz-transition: color 0.2s linear;
  877. -ms-transition: color 0.2s linear;
  878. -o-transition: color 0.2s linear;
  879. transition: color 0.2s linear;
  880. }
  881. .vis-item .vis-delete:hover, .vis-item .vis-delete-rtl:hover {
  882. background: red;
  883. }
  884. .vis-item .vis-delete:hover:after, .vis-item .vis-delete-rtl:hover:after {
  885. color: white;
  886. }
  887. .vis-item .vis-drag-center {
  888. position: absolute;
  889. width: 100%;
  890. height: 100%;
  891. top: 0;
  892. left: 0px;
  893. cursor: move;
  894. }
  895. .vis-item.vis-range .vis-drag-left {
  896. position: absolute;
  897. width: 24px;
  898. max-width: 20%;
  899. min-width: 2px;
  900. height: 100%;
  901. top: 0;
  902. left: -4px;
  903. cursor: w-resize;
  904. }
  905. .vis-item.vis-range .vis-drag-right {
  906. position: absolute;
  907. width: 24px;
  908. max-width: 20%;
  909. min-width: 2px;
  910. height: 100%;
  911. top: 0;
  912. right: -4px;
  913. cursor: e-resize;
  914. }
  915. .vis-range.vis-item.vis-readonly .vis-drag-left,
  916. .vis-range.vis-item.vis-readonly .vis-drag-right {
  917. cursor: auto;
  918. }
  919. .vis-itemset {
  920. position: relative;
  921. padding: 0;
  922. margin: 0;
  923. box-sizing: border-box;
  924. }
  925. .vis-itemset .vis-background,
  926. .vis-itemset .vis-foreground {
  927. position: absolute;
  928. width: 100%;
  929. height: 100%;
  930. overflow: visible;
  931. }
  932. .vis-axis {
  933. position: absolute;
  934. width: 100%;
  935. height: 0;
  936. left: 0;
  937. z-index: 1;
  938. }
  939. .vis-foreground .vis-group {
  940. position: relative;
  941. box-sizing: border-box;
  942. border-bottom: 1px solid #bfbfbf;
  943. }
  944. .vis-foreground .vis-group:last-child {
  945. border-bottom: none;
  946. }
  947. .vis-overlay {
  948. position: absolute;
  949. top: 0;
  950. left: 0;
  951. width: 100%;
  952. height: 100%;
  953. z-index: 10;
  954. }
  955. .vis-labelset {
  956. position: relative;
  957. overflow: hidden;
  958. box-sizing: border-box;
  959. }
  960. .vis-labelset .vis-label {
  961. position: relative;
  962. left: 0;
  963. top: 0;
  964. width: 100%;
  965. color: #4d4d4d;
  966. box-sizing: border-box;
  967. }
  968. .vis-labelset .vis-label {
  969. border-bottom: 1px solid #bfbfbf;
  970. }
  971. .vis-labelset .vis-label.draggable {
  972. cursor: pointer;
  973. }
  974. .vis-labelset .vis-label:last-child {
  975. border-bottom: none;
  976. }
  977. .vis-labelset .vis-label .vis-inner {
  978. display: inline-block;
  979. padding: 5px;
  980. }
  981. .vis-labelset .vis-label .vis-inner.vis-hidden {
  982. padding: 0;
  983. }
  984. .vis-panel {
  985. position: absolute;
  986. padding: 0;
  987. margin: 0;
  988. box-sizing: border-box;
  989. }
  990. .vis-panel.vis-center,
  991. .vis-panel.vis-left,
  992. .vis-panel.vis-right,
  993. .vis-panel.vis-top,
  994. .vis-panel.vis-bottom {
  995. border: 1px #bfbfbf;
  996. }
  997. .vis-panel.vis-center,
  998. .vis-panel.vis-left,
  999. .vis-panel.vis-right {
  1000. border-top-style: solid;
  1001. border-bottom-style: solid;
  1002. overflow: hidden;
  1003. }
  1004. .vis-left.vis-panel.vis-vertical-scroll, .vis-right.vis-panel.vis-vertical-scroll {
  1005. height: 100%;
  1006. overflow-x: hidden;
  1007. overflow-y: scroll;
  1008. }
  1009. .vis-left.vis-panel.vis-vertical-scroll {
  1010. direction: rtl;
  1011. }
  1012. .vis-left.vis-panel.vis-vertical-scroll .vis-content {
  1013. direction: ltr;
  1014. }
  1015. .vis-right.vis-panel.vis-vertical-scroll {
  1016. direction: ltr;
  1017. }
  1018. .vis-right.vis-panel.vis-vertical-scroll .vis-content {
  1019. direction: rtl;
  1020. }
  1021. .vis-panel.vis-center,
  1022. .vis-panel.vis-top,
  1023. .vis-panel.vis-bottom {
  1024. border-left-style: solid;
  1025. border-right-style: solid;
  1026. }
  1027. .vis-background {
  1028. overflow: hidden;
  1029. }
  1030. .vis-panel > .vis-content {
  1031. position: relative;
  1032. }
  1033. .vis-panel .vis-shadow {
  1034. position: absolute;
  1035. width: 100%;
  1036. height: 1px;
  1037. box-shadow: 0 0 10px rgba(0,0,0,0.8);
  1038. /* TODO: find a nice way to ensure vis-shadows are drawn on top of items
  1039. z-index: 1;
  1040. */
  1041. }
  1042. .vis-panel .vis-shadow.vis-top {
  1043. top: -1px;
  1044. left: 0;
  1045. }
  1046. .vis-panel .vis-shadow.vis-bottom {
  1047. bottom: -1px;
  1048. left: 0;
  1049. }
  1050. .vis-graph-group0 {
  1051. fill:#4f81bd;
  1052. fill-opacity:0;
  1053. stroke-width:2px;
  1054. stroke: #4f81bd;
  1055. }
  1056. .vis-graph-group1 {
  1057. fill:#f79646;
  1058. fill-opacity:0;
  1059. stroke-width:2px;
  1060. stroke: #f79646;
  1061. }
  1062. .vis-graph-group2 {
  1063. fill: #8c51cf;
  1064. fill-opacity:0;
  1065. stroke-width:2px;
  1066. stroke: #8c51cf;
  1067. }
  1068. .vis-graph-group3 {
  1069. fill: #75c841;
  1070. fill-opacity:0;
  1071. stroke-width:2px;
  1072. stroke: #75c841;
  1073. }
  1074. .vis-graph-group4 {
  1075. fill: #ff0100;
  1076. fill-opacity:0;
  1077. stroke-width:2px;
  1078. stroke: #ff0100;
  1079. }
  1080. .vis-graph-group5 {
  1081. fill: #37d8e6;
  1082. fill-opacity:0;
  1083. stroke-width:2px;
  1084. stroke: #37d8e6;
  1085. }
  1086. .vis-graph-group6 {
  1087. fill: #042662;
  1088. fill-opacity:0;
  1089. stroke-width:2px;
  1090. stroke: #042662;
  1091. }
  1092. .vis-graph-group7 {
  1093. fill:#00ff26;
  1094. fill-opacity:0;
  1095. stroke-width:2px;
  1096. stroke: #00ff26;
  1097. }
  1098. .vis-graph-group8 {
  1099. fill:#ff00ff;
  1100. fill-opacity:0;
  1101. stroke-width:2px;
  1102. stroke: #ff00ff;
  1103. }
  1104. .vis-graph-group9 {
  1105. fill: #8f3938;
  1106. fill-opacity:0;
  1107. stroke-width:2px;
  1108. stroke: #8f3938;
  1109. }
  1110. .vis-timeline .vis-fill {
  1111. fill-opacity:0.1;
  1112. stroke: none;
  1113. }
  1114. .vis-timeline .vis-bar {
  1115. fill-opacity:0.5;
  1116. stroke-width:1px;
  1117. }
  1118. .vis-timeline .vis-point {
  1119. stroke-width:2px;
  1120. fill-opacity:1.0;
  1121. }
  1122. .vis-timeline .vis-legend-background {
  1123. stroke-width:1px;
  1124. fill-opacity:0.9;
  1125. fill: #ffffff;
  1126. stroke: #c2c2c2;
  1127. }
  1128. .vis-timeline .vis-outline {
  1129. stroke-width:1px;
  1130. fill-opacity:1;
  1131. fill: #ffffff;
  1132. stroke: #e5e5e5;
  1133. }
  1134. .vis-timeline .vis-icon-fill {
  1135. fill-opacity:0.3;
  1136. stroke: none;
  1137. }
  1138. .vis-time-axis {
  1139. position: relative;
  1140. overflow: hidden;
  1141. }
  1142. .vis-time-axis.vis-foreground {
  1143. top: 0;
  1144. left: 0;
  1145. width: 100%;
  1146. }
  1147. .vis-time-axis.vis-background {
  1148. position: absolute;
  1149. top: 0;
  1150. left: 0;
  1151. width: 100%;
  1152. height: 100%;
  1153. }
  1154. .vis-time-axis .vis-text {
  1155. position: absolute;
  1156. color: #4d4d4d;
  1157. padding: 3px;
  1158. overflow: hidden;
  1159. box-sizing: border-box;
  1160. white-space: nowrap;
  1161. }
  1162. .vis-time-axis .vis-text.vis-measure {
  1163. position: absolute;
  1164. padding-left: 0;
  1165. padding-right: 0;
  1166. margin-left: 0;
  1167. margin-right: 0;
  1168. visibility: hidden;
  1169. }
  1170. .vis-time-axis .vis-grid.vis-vertical {
  1171. position: absolute;
  1172. border-left: 1px solid;
  1173. }
  1174. .vis-time-axis .vis-grid.vis-vertical-rtl {
  1175. position: absolute;
  1176. border-right: 1px solid;
  1177. }
  1178. .vis-time-axis .vis-grid.vis-minor {
  1179. border-color: #e5e5e5;
  1180. }
  1181. .vis-time-axis .vis-grid.vis-major {
  1182. border-color: #bfbfbf;
  1183. }
  1184. .vis-timeline {
  1185. position: relative;
  1186. border: 1px solid #bfbfbf;
  1187. overflow: hidden;
  1188. padding: 0;
  1189. margin: 0;
  1190. box-sizing: border-box;
  1191. }