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.

1213 lines
26 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
  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.network-manipulationDiv {
  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.network-manipulation-editMode {
  500. position:absolute;
  501. left: 0;
  502. top: 15px;
  503. height: 30px;
  504. }
  505. div.network-manipulation-closeDiv {
  506. position:absolute;
  507. right: 0;
  508. top: 0;
  509. width: 30px;
  510. height: 30px;
  511. background-position: 20px 3px;
  512. background-repeat: no-repeat;
  513. background-image: url("img/network/cross.png");
  514. cursor: pointer;
  515. -webkit-touch-callout: none;
  516. -webkit-user-select: none;
  517. -khtml-user-select: none;
  518. -moz-user-select: none;
  519. -ms-user-select: none;
  520. user-select: none;
  521. }
  522. div.network-manipulation-closeDiv:hover {
  523. opacity: 0.6;
  524. }
  525. div.network-manipulationUI {
  526. position:relative;
  527. top:-7px;
  528. font-family: verdana;
  529. font-size: 12px;
  530. -moz-border-radius: 15px;
  531. border-radius: 15px;
  532. display:inline-block;
  533. background-position: 0px 0px;
  534. background-repeat:no-repeat;
  535. height:24px;
  536. margin: 0px 0px 0px 10px;
  537. vertical-align:middle;
  538. cursor: pointer;
  539. padding: 0px 8px 0px 8px;
  540. -webkit-touch-callout: none;
  541. -webkit-user-select: none;
  542. -khtml-user-select: none;
  543. -moz-user-select: none;
  544. -ms-user-select: none;
  545. user-select: none;
  546. }
  547. div.network-manipulationUI:hover {
  548. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.20);
  549. }
  550. div.network-manipulationUI:active {
  551. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.50);
  552. }
  553. div.network-manipulationUI.back {
  554. background-image: url("img/network/backIcon.png");
  555. }
  556. div.network-manipulationUI.none:hover {
  557. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  558. cursor: default;
  559. }
  560. div.network-manipulationUI.none:active {
  561. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  562. }
  563. div.network-manipulationUI.none {
  564. padding: 0;
  565. }
  566. div.network-manipulationUI.notification{
  567. margin: 2px;
  568. font-weight: bold;
  569. }
  570. div.network-manipulationUI.add {
  571. background-image: url("img/network/addNodeIcon.png");
  572. }
  573. div.network-manipulationUI.edit {
  574. background-image: url("img/network/editIcon.png");
  575. }
  576. div.network-manipulationUI.edit.editmode {
  577. background-color: #fcfcfc;
  578. border-style:solid;
  579. border-width:1px;
  580. border-color: #cccccc;
  581. }
  582. div.network-manipulationUI.connect {
  583. background-image: url("img/network/connectIcon.png");
  584. }
  585. div.network-manipulationUI.delete {
  586. background-image: url("img/network/deleteIcon.png");
  587. }
  588. /* top right bottom left */
  589. div.network-manipulationLabel {
  590. margin: 0px 0px 0px 23px;
  591. line-height: 25px;
  592. }
  593. div.network-seperatorLine {
  594. display:inline-block;
  595. width:1px;
  596. height:20px;
  597. background-color: #bdbdbd;
  598. margin: 5px 7px 0px 15px;
  599. }
  600. div.network-navigation_wrapper {
  601. position: absolute;
  602. left: 0;
  603. top: 0;
  604. width: 100%;
  605. height: 100%;
  606. }
  607. div.network-navigation {
  608. width:34px;
  609. height:34px;
  610. -moz-border-radius: 17px;
  611. border-radius: 17px;
  612. position:absolute;
  613. display:inline-block;
  614. background-position: 2px 2px;
  615. background-repeat:no-repeat;
  616. cursor: pointer;
  617. -webkit-touch-callout: none;
  618. -webkit-user-select: none;
  619. -khtml-user-select: none;
  620. -moz-user-select: none;
  621. -ms-user-select: none;
  622. user-select: none;
  623. }
  624. div.network-navigation:hover {
  625. box-shadow: 0px 0px 3px 3px rgba(56, 207, 21, 0.30);
  626. }
  627. div.network-navigation:active {
  628. box-shadow: 0px 0px 1px 3px rgba(56, 207, 21, 0.95);
  629. }
  630. div.network-navigation.up {
  631. background-image: url("img/network/upArrow.png");
  632. bottom:50px;
  633. left:55px;
  634. }
  635. div.network-navigation.down {
  636. background-image: url("img/network/downArrow.png");
  637. bottom:10px;
  638. left:55px;
  639. }
  640. div.network-navigation.left {
  641. background-image: url("img/network/leftArrow.png");
  642. bottom:10px;
  643. left:15px;
  644. }
  645. div.network-navigation.right {
  646. background-image: url("img/network/rightArrow.png");
  647. bottom:10px;
  648. left:95px;
  649. }
  650. div.network-navigation.zoomIn {
  651. background-image: url("img/network/plus.png");
  652. bottom:10px;
  653. right:15px;
  654. }
  655. div.network-navigation.zoomOut {
  656. background-image: url("img/network/minus.png");
  657. bottom:10px;
  658. right:55px;
  659. }
  660. div.network-navigation.zoomExtends {
  661. background-image: url("img/network/zoomExtends.png");
  662. bottom:50px;
  663. right:15px;
  664. }
  665. div.vis-network-tooltip {
  666. position: absolute;
  667. visibility: hidden;
  668. padding: 5px;
  669. white-space: nowrap;
  670. -moz-border-radius: 3px;
  671. -webkit-border-radius: 3px;
  672. border-radius: 3px;
  673. border: 1px solid;
  674. box-shadow: 3px 3px 10px rgba(128, 128, 128, 0.5);
  675. }
  676. div.vis-network-configuration {
  677. position:relative;
  678. display:block;
  679. float:left;
  680. font-size:12px;
  681. }
  682. div.vis-network-configuration.vis-option-container{
  683. display:block;
  684. width:495px;
  685. background-color: #ffffff;
  686. border:2px solid #f7f8fa;
  687. border-radius:4px;
  688. margin-top:20px;
  689. left:10px;
  690. padding-left:5px;
  691. }
  692. div.vis-network-configuration.button{
  693. display:block;
  694. width:495px;
  695. height:25px;
  696. vertical-align: middle;
  697. line-height:25px;
  698. background-color: #f7f8fa;
  699. border:2px solid #ceced0;
  700. border-radius:4px;
  701. margin-top:20px;
  702. left:10px;
  703. padding-left:5px;
  704. cursor: pointer;
  705. margin-bottom:30px;
  706. }
  707. div.vis-network-configuration.button.hover{
  708. background-color: #4588e6;
  709. border:2px solid #214373;
  710. color:#ffffff;
  711. }
  712. div.vis-network-configuration.entree{
  713. display:block;
  714. width:495px;
  715. height:25px;
  716. vertical-align: middle;
  717. line-height:25px;
  718. }
  719. div.vis-network-configuration.entree.s2{
  720. left:10px;
  721. background-color: #f7f8fa;
  722. padding-left:5px;
  723. border-radius:3px;
  724. }
  725. div.vis-network-configuration.entree.s3{
  726. left:20px;
  727. background-color: #e4e9f0;
  728. padding-left:5px;
  729. border-radius:3px;
  730. }
  731. div.vis-network-configuration.entree.s4{
  732. left:30px;
  733. background-color: #cfd8e6;
  734. padding-left:5px;
  735. border-radius:3px;
  736. }
  737. div.vis-network-configuration.header{
  738. font-size:18px;
  739. font-weight: bold;
  740. }
  741. div.vis-network-configuration.label{
  742. width:120px;
  743. height:25px;
  744. line-height: 25px;
  745. }
  746. div.vis-network-configuration.label.s3{
  747. width:110px;
  748. }
  749. div.vis-network-configuration.label.s4{
  750. width:100px;
  751. }
  752. div.vis-network-configuration.colorBlock{
  753. top:1px;
  754. width:30px;
  755. height:19px;
  756. border:1px solid #444444;
  757. border-radius:2px;
  758. padding:0px;
  759. margin:0px;
  760. cursor:pointer;
  761. }
  762. input.vis-network-configuration.checkbox {
  763. left:-5px;
  764. }
  765. input.vis-network-configuration.rangeinput{
  766. position:relative;
  767. top:-5px;
  768. width:60px;
  769. height:13px;
  770. padding:1px;
  771. margin:0;
  772. pointer-events:none;
  773. }
  774. input.vis-network-configuration.range{
  775. /*removes default webkit styles*/
  776. -webkit-appearance: none;
  777. /*fix for FF unable to apply focus style bug */
  778. border: 0px solid white;
  779. background-color:rgba(0,0,0,0);
  780. /*required for proper track sizing in FF*/
  781. width: 300px;
  782. height:20px;
  783. }
  784. input.vis-network-configuration.range::-webkit-slider-runnable-track {
  785. width: 300px;
  786. height: 5px;
  787. background: #dedede; /* Old browsers */
  788. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  789. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  790. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  791. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  792. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  793. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  794. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  795. border: 1px solid #999999;
  796. box-shadow: #aaaaaa 0px 0px 3px 0px;
  797. border-radius: 3px;
  798. }
  799. input.vis-network-configuration.range::-webkit-slider-thumb {
  800. -webkit-appearance: none;
  801. border: 1px solid #14334b;
  802. height: 17px;
  803. width: 17px;
  804. border-radius: 50%;
  805. background: #3876c2; /* Old browsers */
  806. background: -moz-linear-gradient(top, #3876c2 0%, #385380 100%); /* FF3.6+ */
  807. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3876c2), color-stop(100%,#385380)); /* Chrome,Safari4+ */
  808. background: -webkit-linear-gradient(top, #3876c2 0%,#385380 100%); /* Chrome10+,Safari5.1+ */
  809. background: -o-linear-gradient(top, #3876c2 0%,#385380 100%); /* Opera 11.10+ */
  810. background: -ms-linear-gradient(top, #3876c2 0%,#385380 100%); /* IE10+ */
  811. background: linear-gradient(to bottom, #3876c2 0%,#385380 100%); /* W3C */
  812. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3876c2', endColorstr='#385380',GradientType=0 ); /* IE6-9 */
  813. box-shadow: #111927 0px 0px 1px 0px;
  814. margin-top: -7px;
  815. }
  816. input.vis-network-configuration.range:focus {
  817. outline: none;
  818. }
  819. input.vis-network-configuration.range:focus::-webkit-slider-runnable-track {
  820. background: #9d9d9d; /* Old browsers */
  821. background: -moz-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* FF3.6+ */
  822. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9d9d9d), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  823. background: -webkit-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  824. background: -o-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Opera 11.10+ */
  825. background: -ms-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* IE10+ */
  826. background: linear-gradient(to bottom, #9d9d9d 0%,#c8c8c8 99%); /* W3C */
  827. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d9d9d', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  828. }
  829. input.vis-network-configuration.range::-moz-range-track {
  830. width: 300px;
  831. height: 10px;
  832. background: #dedede; /* Old browsers */
  833. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  834. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  835. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  836. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  837. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  838. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  839. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  840. border: 1px solid #999999;
  841. box-shadow: #aaaaaa 0px 0px 3px 0px;
  842. border-radius: 3px;
  843. }
  844. input.vis-network-configuration.range::-moz-range-thumb {
  845. border: none;
  846. height: 16px;
  847. width: 16px;
  848. border-radius: 50%;
  849. background: #385380;
  850. }
  851. /*hide the outline behind the border*/
  852. input.vis-network-configuration.range:-moz-focusring{
  853. outline: 1px solid white;
  854. outline-offset: -1px;
  855. }
  856. input.vis-network-configuration.range::-ms-track {
  857. width: 300px;
  858. height: 5px;
  859. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  860. background: transparent;
  861. /*leave room for the larger thumb to overflow with a transparent border */
  862. border-color: transparent;
  863. border-width: 6px 0;
  864. /*remove default tick marks*/
  865. color: transparent;
  866. }
  867. input.vis-network-configuration.range::-ms-fill-lower {
  868. background: #777;
  869. border-radius: 10px;
  870. }
  871. input.vis-network-configuration.range::-ms-fill-upper {
  872. background: #ddd;
  873. border-radius: 10px;
  874. }
  875. input.vis-network-configuration.range::-ms-thumb {
  876. border: none;
  877. height: 16px;
  878. width: 16px;
  879. border-radius: 50%;
  880. background: #385380;
  881. }
  882. input.vis-network-configuration.range:focus::-ms-fill-lower {
  883. background: #888;
  884. }
  885. input.vis-network-configuration.range:focus::-ms-fill-upper {
  886. background: #ccc;
  887. }
  888. div.vis-color-picker {
  889. position:absolute;
  890. margin-top:-140px;
  891. margin-left:30px;
  892. width:293px;
  893. height:425px;
  894. padding: 10px;
  895. border-radius:15px;
  896. background-color:#ffffff;
  897. display:none;
  898. box-shadow: rgba(0,0,0,0.5) 0px 0px 10px 0px;
  899. }
  900. div.vis-color-picker div.vis-arrow {
  901. position: absolute;
  902. top:147px;
  903. left:5px;
  904. }
  905. div.vis-color-picker div.vis-arrow:after,
  906. div.vis-color-picker div.vis-arrow:before {
  907. right: 100%;
  908. top: 50%;
  909. border: solid transparent;
  910. content: " ";
  911. height: 0;
  912. width: 0;
  913. position: absolute;
  914. pointer-events: none;
  915. }
  916. div.vis-color-picker div.vis-arrow:after {
  917. border-color: rgba(255, 255, 255, 0);
  918. border-right-color: #ffffff;
  919. border-width: 30px;
  920. margin-top: -30px;
  921. }
  922. div.vis-color-picker div.vis-color {
  923. position:absolute;
  924. width: 289px;
  925. height: 289px;
  926. cursor: pointer;
  927. }
  928. div.vis-color-picker div.vis-brightness {
  929. position: absolute;
  930. top:313px;
  931. }
  932. div.vis-color-picker div.vis-opacity {
  933. position:absolute;
  934. top:350px;
  935. }
  936. div.vis-color-picker div.vis-selector {
  937. position:absolute;
  938. top:137px;
  939. left:137px;
  940. width:15px;
  941. height:15px;
  942. border-radius:15px;
  943. border:1px solid #ffffff;
  944. background: #4c4c4c; /* Old browsers */
  945. 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+ */
  946. 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+ */
  947. 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+ */
  948. 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+ */
  949. 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+ */
  950. 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 */
  951. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  952. }
  953. div.vis-color-picker div.vis-new-color {
  954. position:absolute;
  955. width:140px;
  956. height:20px;
  957. border:1px solid rgba(0,0,0,0.1);
  958. border-radius:5px;
  959. top:380px;
  960. left:159px;
  961. text-align:right;
  962. padding-right:2px;
  963. font-size:10px;
  964. color:rgba(0,0,0,0.4);
  965. vertical-align:middle;
  966. line-height:20px;
  967. }
  968. div.vis-color-picker div.vis-initial-color {
  969. position:absolute;
  970. width:140px;
  971. height:20px;
  972. border:1px solid rgba(0,0,0,0.1);
  973. border-radius:5px;
  974. top:380px;
  975. left:10px;
  976. text-align:left;
  977. padding-left:2px;
  978. font-size:10px;
  979. color:rgba(0,0,0,0.4);
  980. vertical-align:middle;
  981. line-height:20px;
  982. }
  983. div.vis-color-picker div.vis-label {
  984. position:absolute;
  985. width:300px;
  986. left:10px;
  987. }
  988. div.vis-color-picker div.vis-label.vis-brightness {
  989. top:300px;
  990. }
  991. div.vis-color-picker div.vis-label.vis-opacity {
  992. top:338px;
  993. }
  994. div.vis-color-picker div.vis-button {
  995. position:absolute;
  996. width:68px;
  997. height:25px;
  998. border-radius:10px;
  999. vertical-align: middle;
  1000. text-align:center;
  1001. line-height: 25px;
  1002. top:410px;
  1003. border:2px solid #d9d9d9;
  1004. background-color: #f7f7f7;
  1005. cursor:pointer;
  1006. }
  1007. div.vis-color-picker div.vis-button.vis-cancel {
  1008. /*border:2px solid #ff4e33;*/
  1009. /*background-color: #ff7761;*/
  1010. left:5px;
  1011. }
  1012. div.vis-color-picker div.vis-button.vis-load {
  1013. /*border:2px solid #a153e6;*/
  1014. /*background-color: #cb8dff;*/
  1015. left:82px;
  1016. }
  1017. div.vis-color-picker div.vis-button.vis-apply {
  1018. /*border:2px solid #4588e6;*/
  1019. /*background-color: #82b6ff;*/
  1020. left:159px;
  1021. }
  1022. div.vis-color-picker div.vis-button.vis-save {
  1023. /*border:2px solid #45e655;*/
  1024. /*background-color: #6dff7c;*/
  1025. left:236px;
  1026. }
  1027. div.vis-color-picker input.vis-range {
  1028. width: 290px;
  1029. height:20px;
  1030. }
  1031. /* TODO: is this redundant?
  1032. div.vis-color-picker input.vis-range-brightness {
  1033. width: 289px !important;
  1034. }
  1035. div.vis-color-picker input.vis-saturation-range {
  1036. width: 289px !important;
  1037. }*/