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.

1216 lines
27 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 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. }
  20. .vis.timeline.root {
  21. position: relative;
  22. border: 1px solid #bfbfbf;
  23. overflow: hidden;
  24. padding: 0;
  25. margin: 0;
  26. box-sizing: border-box;
  27. }
  28. .vis.timeline .vispanel {
  29. position: absolute;
  30. padding: 0;
  31. margin: 0;
  32. box-sizing: border-box;
  33. }
  34. .vis.timeline .vispanel.center,
  35. .vis.timeline .vispanel.left,
  36. .vis.timeline .vispanel.right,
  37. .vis.timeline .vispanel.top,
  38. .vis.timeline .vispanel.bottom {
  39. border: 1px #bfbfbf;
  40. }
  41. .vis.timeline .vispanel.center,
  42. .vis.timeline .vispanel.left,
  43. .vis.timeline .vispanel.right {
  44. border-top-style: solid;
  45. border-bottom-style: solid;
  46. overflow: hidden;
  47. }
  48. .vis.timeline .vispanel.center,
  49. .vis.timeline .vispanel.top,
  50. .vis.timeline .vispanel.bottom {
  51. border-left-style: solid;
  52. border-right-style: solid;
  53. }
  54. .vis.timeline .background {
  55. overflow: hidden;
  56. }
  57. .vis.timeline .vispanel > .content {
  58. position: relative;
  59. }
  60. .vis.timeline .vispanel .shadow {
  61. position: absolute;
  62. width: 100%;
  63. height: 1px;
  64. box-shadow: 0 0 10px rgba(0,0,0,0.8);
  65. /* TODO: find a nice way to ensure shadows are drawn on top of items
  66. z-index: 1;
  67. */
  68. }
  69. .vis.timeline .vispanel .shadow.top {
  70. top: -1px;
  71. left: 0;
  72. }
  73. .vis.timeline .vispanel .shadow.bottom {
  74. bottom: -1px;
  75. left: 0;
  76. }
  77. .vis.timeline .labelset {
  78. position: relative;
  79. overflow: hidden;
  80. box-sizing: border-box;
  81. }
  82. .vis.timeline .labelset .vlabel {
  83. position: relative;
  84. left: 0;
  85. top: 0;
  86. width: 100%;
  87. color: #4d4d4d;
  88. box-sizing: border-box;
  89. }
  90. .vis.timeline .labelset .vlabel {
  91. border-bottom: 1px solid #bfbfbf;
  92. }
  93. .vis.timeline .labelset .vlabel:last-child {
  94. border-bottom: none;
  95. }
  96. .vis.timeline .labelset .vlabel .inner {
  97. display: inline-block;
  98. padding: 5px;
  99. }
  100. .vis.timeline .labelset .vlabel .inner.hidden {
  101. padding: 0;
  102. }
  103. .vis.timeline .itemset {
  104. position: relative;
  105. padding: 0;
  106. margin: 0;
  107. box-sizing: border-box;
  108. }
  109. .vis.timeline .itemset .background,
  110. .vis.timeline .itemset .foreground {
  111. position: absolute;
  112. width: 100%;
  113. height: 100%;
  114. overflow: visible;
  115. }
  116. .vis.timeline .axis {
  117. position: absolute;
  118. width: 100%;
  119. height: 0;
  120. left: 0;
  121. z-index: 1;
  122. }
  123. .vis.timeline .foreground .group {
  124. position: relative;
  125. box-sizing: border-box;
  126. border-bottom: 1px solid #bfbfbf;
  127. }
  128. .vis.timeline .foreground .group:last-child {
  129. border-bottom: none;
  130. }
  131. .vis.timeline .item {
  132. position: absolute;
  133. color: #1A1A1A;
  134. border-color: #97B0F8;
  135. border-width: 1px;
  136. background-color: #D5DDF6;
  137. display: inline-block;
  138. overflow: hidden;
  139. }
  140. .vis.timeline .item.selected {
  141. border-color: #FFC200;
  142. background-color: #FFF785;
  143. /* z-index must be higher than the z-index of custom time bar and current time bar */
  144. z-index: 2;
  145. }
  146. .vis.timeline .editable .item.selected {
  147. cursor: move;
  148. }
  149. .vis.timeline .item.point.selected {
  150. background-color: #FFF785;
  151. }
  152. .vis.timeline .item.box {
  153. text-align: center;
  154. border-style: solid;
  155. border-radius: 2px;
  156. }
  157. .vis.timeline .item.point {
  158. background: none;
  159. }
  160. .vis.timeline .item.dot {
  161. position: absolute;
  162. padding: 0;
  163. border-width: 4px;
  164. border-style: solid;
  165. border-radius: 4px;
  166. }
  167. .vis.timeline .item.range {
  168. border-style: solid;
  169. border-radius: 2px;
  170. box-sizing: border-box;
  171. }
  172. .vis.timeline .item.background {
  173. border: none;
  174. background-color: rgba(213, 221, 246, 0.4);
  175. box-sizing: border-box;
  176. padding: 0;
  177. margin: 0;
  178. }
  179. .vis.timeline .item.range .content {
  180. position: relative;
  181. display: inline-block;
  182. max-width: 100%;
  183. }
  184. .vis.timeline .item.background .content {
  185. position: absolute;
  186. display: inline-block;
  187. max-width: 100%;
  188. margin: 5px;
  189. }
  190. .vis.timeline .item.line {
  191. padding: 0;
  192. position: absolute;
  193. width: 0;
  194. border-left-width: 1px;
  195. border-left-style: solid;
  196. }
  197. .vis.timeline .item .content {
  198. white-space: nowrap;
  199. box-sizing: border-box;
  200. padding: 5px;
  201. }
  202. .vis.timeline .item .delete {
  203. background: url('img/timeline/delete.png') no-repeat top center;
  204. position: absolute;
  205. width: 24px;
  206. height: 24px;
  207. top: 0;
  208. right: -24px;
  209. cursor: pointer;
  210. }
  211. .vis.timeline .item.range .drag-left {
  212. position: absolute;
  213. width: 24px;
  214. height: 100%;
  215. top: 0;
  216. left: -4px;
  217. cursor: w-resize;
  218. }
  219. .vis.timeline .item.range .drag-right {
  220. position: absolute;
  221. width: 24px;
  222. height: 100%;
  223. top: 0;
  224. right: -4px;
  225. cursor: e-resize;
  226. }
  227. .vis.timeline .timeaxis {
  228. position: relative;
  229. overflow: hidden;
  230. }
  231. .vis.timeline .timeaxis.foreground {
  232. top: 0;
  233. left: 0;
  234. width: 100%;
  235. }
  236. .vis.timeline .timeaxis.background {
  237. position: absolute;
  238. top: 0;
  239. left: 0;
  240. width: 100%;
  241. height: 100%;
  242. }
  243. .vis.timeline .timeaxis .text {
  244. position: absolute;
  245. color: #4d4d4d;
  246. padding: 3px;
  247. white-space: nowrap;
  248. }
  249. .vis.timeline .timeaxis .text.measure {
  250. position: absolute;
  251. padding-left: 0;
  252. padding-right: 0;
  253. margin-left: 0;
  254. margin-right: 0;
  255. visibility: hidden;
  256. }
  257. .vis.timeline .timeaxis .grid.vertical {
  258. position: absolute;
  259. border-left: 1px solid;
  260. }
  261. .vis.timeline .timeaxis .grid.minor {
  262. border-color: #e5e5e5;
  263. }
  264. .vis.timeline .timeaxis .grid.major {
  265. border-color: #bfbfbf;
  266. }
  267. .vis.timeline .currenttime {
  268. background-color: #FF7F6E;
  269. width: 2px;
  270. z-index: 1;
  271. }
  272. .vis.timeline .customtime {
  273. background-color: #6E94FF;
  274. width: 2px;
  275. cursor: move;
  276. z-index: 1;
  277. }
  278. .vis.timeline.root {
  279. /*
  280. -webkit-transition: height .4s ease-in-out;
  281. transition: height .4s ease-in-out;
  282. */
  283. }
  284. .vis.timeline .vispanel {
  285. /*
  286. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  287. transition: height .4s ease-in-out, top .4s ease-in-out;
  288. */
  289. }
  290. .vis.timeline .axis {
  291. /*
  292. -webkit-transition: top .4s ease-in-out;
  293. transition: top .4s ease-in-out;
  294. */
  295. }
  296. /* TODO: get animation working nicely
  297. .vis.timeline .item {
  298. -webkit-transition: top .4s ease-in-out;
  299. transition: top .4s ease-in-out;
  300. }
  301. .vis.timeline .item.line {
  302. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  303. transition: height .4s ease-in-out, top .4s ease-in-out;
  304. }
  305. /**/
  306. .vis.timeline .vispanel.background.horizontal .grid.horizontal {
  307. position: absolute;
  308. width: 100%;
  309. height: 0;
  310. border-bottom: 1px solid;
  311. }
  312. .vis.timeline .vispanel.background.horizontal .grid.minor {
  313. border-color: #e5e5e5;
  314. }
  315. .vis.timeline .vispanel.background.horizontal .grid.major {
  316. border-color: #bfbfbf;
  317. }
  318. .vis.timeline .dataaxis .yAxis.major {
  319. width: 100%;
  320. position: absolute;
  321. color: #4d4d4d;
  322. white-space: nowrap;
  323. }
  324. .vis.timeline .dataaxis .yAxis.major.measure{
  325. padding: 0px 0px 0px 0px;
  326. margin: 0px 0px 0px 0px;
  327. border: 0px;
  328. visibility: hidden;
  329. width: auto;
  330. }
  331. .vis.timeline .dataaxis .yAxis.minor{
  332. position: absolute;
  333. width: 100%;
  334. color: #bebebe;
  335. white-space: nowrap;
  336. }
  337. .vis.timeline .dataaxis .yAxis.minor.measure{
  338. padding: 0px 0px 0px 0px;
  339. margin: 0px 0px 0px 0px;
  340. border: 0px;
  341. visibility: hidden;
  342. width: auto;
  343. }
  344. .vis.timeline .dataaxis .yAxis.title{
  345. position: absolute;
  346. color: #4d4d4d;
  347. white-space: nowrap;
  348. bottom: 20px;
  349. text-align: center;
  350. }
  351. .vis.timeline .dataaxis .yAxis.title.measure{
  352. padding: 0px 0px 0px 0px;
  353. margin: 0px 0px 0px 0px;
  354. visibility: hidden;
  355. width: auto;
  356. }
  357. .vis.timeline .dataaxis .yAxis.title.left {
  358. bottom: 0px;
  359. -webkit-transform-origin: left top;
  360. -moz-transform-origin: left top;
  361. -ms-transform-origin: left top;
  362. -o-transform-origin: left top;
  363. transform-origin: left bottom;
  364. -webkit-transform: rotate(-90deg);
  365. -moz-transform: rotate(-90deg);
  366. -ms-transform: rotate(-90deg);
  367. -o-transform: rotate(-90deg);
  368. transform: rotate(-90deg);
  369. }
  370. .vis.timeline .dataaxis .yAxis.title.right {
  371. bottom: 0px;
  372. -webkit-transform-origin: right bottom;
  373. -moz-transform-origin: right bottom;
  374. -ms-transform-origin: right bottom;
  375. -o-transform-origin: right bottom;
  376. transform-origin: right bottom;
  377. -webkit-transform: rotate(90deg);
  378. -moz-transform: rotate(90deg);
  379. -ms-transform: rotate(90deg);
  380. -o-transform: rotate(90deg);
  381. transform: rotate(90deg);
  382. }
  383. .vis.timeline .legend {
  384. background-color: rgba(247, 252, 255, 0.65);
  385. padding: 5px;
  386. border-color: #b3b3b3;
  387. border-style:solid;
  388. border-width: 1px;
  389. box-shadow: 2px 2px 10px rgba(154, 154, 154, 0.55);
  390. }
  391. .vis.timeline .legendText {
  392. /*font-size: 10px;*/
  393. white-space: nowrap;
  394. display: inline-block
  395. }
  396. .vis.timeline .graphGroup0 {
  397. fill:#4f81bd;
  398. fill-opacity:0;
  399. stroke-width:2px;
  400. stroke: #4f81bd;
  401. }
  402. .vis.timeline .graphGroup1 {
  403. fill:#f79646;
  404. fill-opacity:0;
  405. stroke-width:2px;
  406. stroke: #f79646;
  407. }
  408. .vis.timeline .graphGroup2 {
  409. fill: #8c51cf;
  410. fill-opacity:0;
  411. stroke-width:2px;
  412. stroke: #8c51cf;
  413. }
  414. .vis.timeline .graphGroup3 {
  415. fill: #75c841;
  416. fill-opacity:0;
  417. stroke-width:2px;
  418. stroke: #75c841;
  419. }
  420. .vis.timeline .graphGroup4 {
  421. fill: #ff0100;
  422. fill-opacity:0;
  423. stroke-width:2px;
  424. stroke: #ff0100;
  425. }
  426. .vis.timeline .graphGroup5 {
  427. fill: #37d8e6;
  428. fill-opacity:0;
  429. stroke-width:2px;
  430. stroke: #37d8e6;
  431. }
  432. .vis.timeline .graphGroup6 {
  433. fill: #042662;
  434. fill-opacity:0;
  435. stroke-width:2px;
  436. stroke: #042662;
  437. }
  438. .vis.timeline .graphGroup7 {
  439. fill:#00ff26;
  440. fill-opacity:0;
  441. stroke-width:2px;
  442. stroke: #00ff26;
  443. }
  444. .vis.timeline .graphGroup8 {
  445. fill:#ff00ff;
  446. fill-opacity:0;
  447. stroke-width:2px;
  448. stroke: #ff00ff;
  449. }
  450. .vis.timeline .graphGroup9 {
  451. fill: #8f3938;
  452. fill-opacity:0;
  453. stroke-width:2px;
  454. stroke: #8f3938;
  455. }
  456. .vis.timeline .fill {
  457. fill-opacity:0.1;
  458. stroke: none;
  459. }
  460. .vis.timeline .bar {
  461. fill-opacity:0.5;
  462. stroke-width:1px;
  463. }
  464. .vis.timeline .point {
  465. stroke-width:2px;
  466. fill-opacity:1.0;
  467. }
  468. .vis.timeline .legendBackground {
  469. stroke-width:1px;
  470. fill-opacity:0.9;
  471. fill: #ffffff;
  472. stroke: #c2c2c2;
  473. }
  474. .vis.timeline .outline {
  475. stroke-width:1px;
  476. fill-opacity:1;
  477. fill: #ffffff;
  478. stroke: #e5e5e5;
  479. }
  480. .vis.timeline .iconFill {
  481. fill-opacity:0.3;
  482. stroke: none;
  483. }
  484. div.network-manipulationDiv {
  485. border-width: 0;
  486. border-bottom: 1px;
  487. border-style:solid;
  488. border-color: #d6d9d8;
  489. background: #ffffff; /* Old browsers */
  490. background: -moz-linear-gradient(top, #ffffff 0%, #fcfcfc 48%, #fafafa 50%, #fcfcfc 100%); /* FF3.6+ */
  491. 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+ */
  492. background: -webkit-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Chrome10+,Safari5.1+ */
  493. background: -o-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Opera 11.10+ */
  494. background: -ms-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* IE10+ */
  495. background: linear-gradient(to bottom, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* W3C */
  496. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
  497. position: absolute;
  498. left: 0;
  499. top: 0;
  500. width: 100%;
  501. height: 30px;
  502. }
  503. div.network-manipulation-editMode {
  504. position:absolute;
  505. left: 0;
  506. top: 15px;
  507. height: 30px;
  508. }
  509. div.network-manipulation-closeDiv {
  510. position:absolute;
  511. right: 0;
  512. top: 0;
  513. width: 30px;
  514. height: 30px;
  515. background-position: 20px 3px;
  516. background-repeat: no-repeat;
  517. background-image: url("img/network/cross.png");
  518. cursor: pointer;
  519. -webkit-touch-callout: none;
  520. -webkit-user-select: none;
  521. -khtml-user-select: none;
  522. -moz-user-select: none;
  523. -ms-user-select: none;
  524. user-select: none;
  525. }
  526. div.network-manipulation-closeDiv:hover {
  527. opacity: 0.6;
  528. }
  529. div.network-manipulationUI {
  530. position:relative;
  531. top:-7px;
  532. font-family: verdana;
  533. font-size: 12px;
  534. -moz-border-radius: 15px;
  535. border-radius: 15px;
  536. display:inline-block;
  537. background-position: 0px 0px;
  538. background-repeat:no-repeat;
  539. height:24px;
  540. margin: 0px 0px 0px 10px;
  541. vertical-align:middle;
  542. cursor: pointer;
  543. padding: 0px 8px 0px 8px;
  544. -webkit-touch-callout: none;
  545. -webkit-user-select: none;
  546. -khtml-user-select: none;
  547. -moz-user-select: none;
  548. -ms-user-select: none;
  549. user-select: none;
  550. }
  551. div.network-manipulationUI:hover {
  552. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.20);
  553. }
  554. div.network-manipulationUI:active {
  555. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.50);
  556. }
  557. div.network-manipulationUI.back {
  558. background-image: url("img/network/backIcon.png");
  559. }
  560. div.network-manipulationUI.none:hover {
  561. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  562. cursor: default;
  563. }
  564. div.network-manipulationUI.none:active {
  565. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  566. }
  567. div.network-manipulationUI.none {
  568. padding: 0;
  569. }
  570. div.network-manipulationUI.notification{
  571. margin: 2px;
  572. font-weight: bold;
  573. }
  574. div.network-manipulationUI.add {
  575. background-image: url("img/network/addNodeIcon.png");
  576. }
  577. div.network-manipulationUI.edit {
  578. background-image: url("img/network/editIcon.png");
  579. }
  580. div.network-manipulationUI.edit.editmode {
  581. background-color: #fcfcfc;
  582. border-style:solid;
  583. border-width:1px;
  584. border-color: #cccccc;
  585. }
  586. div.network-manipulationUI.connect {
  587. background-image: url("img/network/connectIcon.png");
  588. }
  589. div.network-manipulationUI.delete {
  590. background-image: url("img/network/deleteIcon.png");
  591. }
  592. /* top right bottom left */
  593. div.network-manipulationLabel {
  594. margin: 0px 0px 0px 23px;
  595. line-height: 25px;
  596. }
  597. div.network-seperatorLine {
  598. display:inline-block;
  599. width:1px;
  600. height:20px;
  601. background-color: #bdbdbd;
  602. margin: 5px 7px 0px 15px;
  603. }
  604. div.network-navigation_wrapper {
  605. position: absolute;
  606. left: 0;
  607. top: 0;
  608. width: 100%;
  609. height: 100%;
  610. }
  611. div.network-navigation {
  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.network-navigation:hover {
  629. box-shadow: 0px 0px 3px 3px rgba(56, 207, 21, 0.30);
  630. }
  631. div.network-navigation:active {
  632. box-shadow: 0px 0px 1px 3px rgba(56, 207, 21, 0.95);
  633. }
  634. div.network-navigation.up {
  635. background-image: url("img/network/upArrow.png");
  636. bottom:50px;
  637. left:55px;
  638. }
  639. div.network-navigation.down {
  640. background-image: url("img/network/downArrow.png");
  641. bottom:10px;
  642. left:55px;
  643. }
  644. div.network-navigation.left {
  645. background-image: url("img/network/leftArrow.png");
  646. bottom:10px;
  647. left:15px;
  648. }
  649. div.network-navigation.right {
  650. background-image: url("img/network/rightArrow.png");
  651. bottom:10px;
  652. left:95px;
  653. }
  654. div.network-navigation.zoomIn {
  655. background-image: url("img/network/plus.png");
  656. bottom:10px;
  657. right:15px;
  658. }
  659. div.network-navigation.zoomOut {
  660. background-image: url("img/network/minus.png");
  661. bottom:10px;
  662. right:55px;
  663. }
  664. div.network-navigation.zoomExtends {
  665. background-image: url("img/network/zoomExtends.png");
  666. bottom:50px;
  667. right:15px;
  668. }
  669. div.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.optionContainer{
  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-network-colorPicker-frame {
  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-network-colorPicker-arrowDiv {
  905. position: absolute;
  906. top:147px;
  907. left:5px;
  908. }
  909. div.vis-network-colorPicker-arrowDiv:after, .vis-network-colorPicker-arrowDiv:before {
  910. right: 100%;
  911. top: 50%;
  912. border: solid transparent;
  913. content: " ";
  914. height: 0;
  915. width: 0;
  916. position: absolute;
  917. pointer-events: none;
  918. }
  919. div.vis-network-colorPicker-arrowDiv:after {
  920. border-color: rgba(255, 255, 255, 0);
  921. border-right-color: #ffffff;
  922. border-width: 30px;
  923. margin-top: -30px;
  924. }
  925. div.vis-network-colorPicker-color {
  926. position:absolute;
  927. width: 289px;
  928. height: 289px;
  929. cursor: pointer;
  930. }
  931. div.vis-network-colorPicker-brightness {
  932. position: absolute;
  933. top:313px;
  934. }
  935. div.vis-network-colorPicker-opacity {
  936. position:absolute;
  937. top:350px;
  938. }
  939. div.vis-network-colorPicker-selector{
  940. position:absolute;
  941. top:137px;
  942. left:137px;
  943. width:15px;
  944. height:15px;
  945. border-radius:15px;
  946. border:1px solid #ffffff;
  947. background: #4c4c4c; /* Old browsers */
  948. 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+ */
  949. 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+ */
  950. 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+ */
  951. 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+ */
  952. 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+ */
  953. 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 */
  954. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  955. }
  956. div.vis-network-colorPicker-newColor {
  957. position:absolute;
  958. width:140px;
  959. height:20px;
  960. border:1px solid rgba(0,0,0,0.1);
  961. border-radius:5px;
  962. top:380px;
  963. left:159px;
  964. text-align:right;
  965. padding-right:2px;
  966. font-size:10px;
  967. color:rgba(0,0,0,0.4);
  968. vertical-align:middle;
  969. line-height:20px;
  970. }
  971. div.vis-network-colorPicker-initialColor {
  972. position:absolute;
  973. width:140px;
  974. height:20px;
  975. border:1px solid rgba(0,0,0,0.1);
  976. border-radius:5px;
  977. top:380px;
  978. left:10px;
  979. text-align:left;
  980. padding-left:2px;
  981. font-size:10px;
  982. color:rgba(0,0,0,0.4);
  983. vertical-align:middle;
  984. line-height:20px;
  985. }
  986. div.vis-network-colorPicker-label {
  987. position:absolute;
  988. width:300px;
  989. left:10px;
  990. }
  991. div.vis-network-colorPicker-label.brightness {
  992. top:300px;
  993. }
  994. div.vis-network-colorPicker-label.opacity {
  995. top:338px;
  996. }
  997. div.vis-network-colorPicker-button {
  998. position:absolute;
  999. width:68px;
  1000. height:25px;
  1001. border-radius:10px;
  1002. vertical-align: middle;
  1003. text-align:center;
  1004. line-height: 25px;
  1005. top:410px;
  1006. border:2px solid #d9d9d9;
  1007. background-color: #f7f7f7;
  1008. cursor:pointer;
  1009. }
  1010. div.vis-network-colorPicker-button.cancel {
  1011. /*border:2px solid #ff4e33;*/
  1012. /*background-color: #ff7761;*/
  1013. left:5px;
  1014. }
  1015. div.vis-network-colorPicker-button.load {
  1016. /*border:2px solid #a153e6;*/
  1017. /*background-color: #cb8dff;*/
  1018. left:82px;
  1019. }
  1020. div.vis-network-colorPicker-button.apply {
  1021. /*border:2px solid #4588e6;*/
  1022. /*background-color: #82b6ff;*/
  1023. left:159px;
  1024. }
  1025. div.vis-network-colorPicker-button.save {
  1026. /*border:2px solid #45e655;*/
  1027. /*background-color: #6dff7c;*/
  1028. left:236px;
  1029. }
  1030. input.vis-network-configuration.range.colorPicker{
  1031. width: 290px;
  1032. height:20px;
  1033. }
  1034. input.vis-network-brightnessRange {
  1035. width: 289px !important;
  1036. }
  1037. input.vis-network-saturationRange {
  1038. width: 289px !important;
  1039. }