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.

1158 lines
26 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
  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.entree{
  687. display:block;
  688. width:495px;
  689. height:25px;
  690. vertical-align: middle;
  691. line-height:25px;
  692. }
  693. div.vis-network-configuration.entree.s2{
  694. left:10px;
  695. background-color: #f7f8fa;
  696. padding-left:5px;
  697. border-radius:3px;
  698. }
  699. div.vis-network-configuration.entree.s3{
  700. left:20px;
  701. background-color: #e4e9f0;
  702. padding-left:5px;
  703. border-radius:3px;
  704. }
  705. div.vis-network-configuration.entree.s4{
  706. left:30px;
  707. background-color: #cfd8e6;
  708. padding-left:5px;
  709. border-radius:3px;
  710. }
  711. div.vis-network-configuration.header{
  712. font-size:18px;
  713. font-weight: bold;
  714. }
  715. div.vis-network-configuration.label{
  716. width:120px;
  717. height:25px;
  718. line-height: 25px;
  719. }
  720. div.vis-network-configuration.label.s3{
  721. width:110px;
  722. }
  723. div.vis-network-configuration.label.s4{
  724. width:100px;
  725. }
  726. div.vis-network-configuration.colorBlock{
  727. top:1px;
  728. width:30px;
  729. height:19px;
  730. border:1px solid #444444;
  731. border-radius:2px;
  732. padding:0px;
  733. margin:0px;
  734. cursor:pointer;
  735. }
  736. input.vis-network-configuration.checkbox {
  737. left:-5px;
  738. }
  739. input.vis-network-configuration.rangeinput{
  740. position:relative;
  741. top:-5px;
  742. width:60px;
  743. height:13px;
  744. padding:1px;
  745. margin:0;
  746. pointer-events:none;
  747. }
  748. input.vis-network-configuration.range{
  749. /*removes default webkit styles*/
  750. -webkit-appearance: none;
  751. /*fix for FF unable to apply focus style bug */
  752. border: 0px solid white;
  753. background-color:rgba(0,0,0,0);
  754. /*required for proper track sizing in FF*/
  755. width: 300px;
  756. height:20px;
  757. }
  758. input.vis-network-configuration.range::-webkit-slider-runnable-track {
  759. width: 300px;
  760. height: 5px;
  761. background: #dedede; /* Old browsers */
  762. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  763. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  764. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  765. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  766. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  767. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  768. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  769. border: 1px solid #999999;
  770. box-shadow: #aaaaaa 0px 0px 3px 0px;
  771. border-radius: 3px;
  772. }
  773. input.vis-network-configuration.range::-webkit-slider-thumb {
  774. -webkit-appearance: none;
  775. border: 1px solid #14334b;
  776. height: 17px;
  777. width: 17px;
  778. border-radius: 50%;
  779. background: #3876c2; /* Old browsers */
  780. background: -moz-linear-gradient(top, #3876c2 0%, #385380 100%); /* FF3.6+ */
  781. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3876c2), color-stop(100%,#385380)); /* Chrome,Safari4+ */
  782. background: -webkit-linear-gradient(top, #3876c2 0%,#385380 100%); /* Chrome10+,Safari5.1+ */
  783. background: -o-linear-gradient(top, #3876c2 0%,#385380 100%); /* Opera 11.10+ */
  784. background: -ms-linear-gradient(top, #3876c2 0%,#385380 100%); /* IE10+ */
  785. background: linear-gradient(to bottom, #3876c2 0%,#385380 100%); /* W3C */
  786. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3876c2', endColorstr='#385380',GradientType=0 ); /* IE6-9 */
  787. box-shadow: #111927 0px 0px 1px 0px;
  788. margin-top: -7px;
  789. }
  790. input.vis-network-configuration.range:focus {
  791. outline: none;
  792. }
  793. input.vis-network-configuration.range:focus::-webkit-slider-runnable-track {
  794. background: #9d9d9d; /* Old browsers */
  795. background: -moz-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* FF3.6+ */
  796. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9d9d9d), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  797. background: -webkit-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  798. background: -o-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Opera 11.10+ */
  799. background: -ms-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* IE10+ */
  800. background: linear-gradient(to bottom, #9d9d9d 0%,#c8c8c8 99%); /* W3C */
  801. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d9d9d', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  802. }
  803. input.vis-network-configuration.range::-moz-range-track {
  804. width: 300px;
  805. height: 10px;
  806. background: #dedede; /* Old browsers */
  807. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  808. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  809. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  810. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  811. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  812. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  813. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  814. border: 1px solid #999999;
  815. box-shadow: #aaaaaa 0px 0px 3px 0px;
  816. border-radius: 3px;
  817. }
  818. input.vis-network-configuration.range::-moz-range-thumb {
  819. border: none;
  820. height: 16px;
  821. width: 16px;
  822. border-radius: 50%;
  823. background: #385380;
  824. }
  825. /*hide the outline behind the border*/
  826. input.vis-network-configuration.range:-moz-focusring{
  827. outline: 1px solid white;
  828. outline-offset: -1px;
  829. }
  830. input.vis-network-configuration.range::-ms-track {
  831. width: 300px;
  832. height: 5x;
  833. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  834. background: transparent;
  835. /*leave room for the larger thumb to overflow with a transparent border */
  836. border-color: transparent;
  837. border-width: 6px 0;
  838. /*remove default tick marks*/
  839. color: transparent;
  840. }
  841. input.vis-network-configuration.range::-ms-fill-lower {
  842. background: #777;
  843. border-radius: 10px;
  844. }
  845. input.vis-network-configuration.range::-ms-fill-upper {
  846. background: #ddd;
  847. border-radius: 10px;
  848. }
  849. input.vis-network-configuration.range::-ms-thumb {
  850. border: none;
  851. height: 16px;
  852. width: 16px;
  853. border-radius: 50%;
  854. background: #385380;
  855. }
  856. input.vis-network-configuration.range:focus::-ms-fill-lower {
  857. background: #888;
  858. }
  859. input.vis-network-configuration.range:focus::-ms-fill-upper {
  860. background: #ccc;
  861. }
  862. div.vis-network-colorPicker-frame {
  863. position:absolute;
  864. margin-top:-140px;
  865. margin-left:30px;
  866. width:293px;
  867. height:425px;
  868. padding: 10px;
  869. border-radius:15px;
  870. background-color:#ffffff;
  871. display:none;
  872. box-shadow: rgba(0,0,0,0.5) 0px 0px 10px 0px;
  873. }
  874. div.vis-network-colorPicker-color {
  875. position:absolute;
  876. width: 289px;
  877. height: 289px;
  878. cursor: pointer;
  879. }
  880. div.vis-network-colorPicker-brightness {
  881. position: absolute;
  882. top:313px;
  883. }
  884. div.vis-network-colorPicker-opacity {
  885. position:absolute;
  886. top:350px;
  887. }
  888. div.vis-network-colorPicker-selector{
  889. position:absolute;
  890. top:137px;
  891. left:137px;
  892. width:15px;
  893. height:15px;
  894. border-radius:15px;
  895. border:1px solid #ffffff;
  896. background: #4c4c4c; /* Old browsers */
  897. 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+ */
  898. 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+ */
  899. 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+ */
  900. 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+ */
  901. 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+ */
  902. 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 */
  903. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  904. }
  905. div.vis-network-colorPicker-newColor {
  906. position:absolute;
  907. width:140px;
  908. height:20px;
  909. border:1px solid rgba(0,0,0,0.1);
  910. border-radius:5px;
  911. top:380px;
  912. left:159px;
  913. text-align:right;
  914. padding-right:2px;
  915. font-size:10px;
  916. color:rgba(0,0,0,0.4);
  917. vertical-align:middle;
  918. line-height:20px;
  919. }
  920. div.vis-network-colorPicker-initialColor {
  921. position:absolute;
  922. width:140px;
  923. height:20px;
  924. border:1px solid rgba(0,0,0,0.1);
  925. border-radius:5px;
  926. top:380px;
  927. left:10px;
  928. text-align:left;
  929. padding-left:2px;
  930. font-size:10px;
  931. color:rgba(0,0,0,0.4);
  932. vertical-align:middle;
  933. line-height:20px;
  934. }
  935. div.vis-network-colorPicker-label {
  936. position:absolute;
  937. width:300px;
  938. left:10px;
  939. }
  940. div.vis-network-colorPicker-label.brightness {
  941. top:300px;
  942. }
  943. div.vis-network-colorPicker-label.opacity {
  944. top:338px;
  945. }
  946. div.vis-network-colorPicker-button {
  947. position:absolute;
  948. width:68px;
  949. height:25px;
  950. border-radius:10px;
  951. vertical-align: middle;
  952. text-align:center;
  953. line-height: 25px;
  954. top:410px;
  955. border:2px solid #d9d9d9;
  956. background-color: #f7f7f7;
  957. cursor:pointer;
  958. }
  959. div.vis-network-colorPicker-button.cancel {
  960. border:2px solid #ff4e33;
  961. background-color: #ff7761;
  962. left:5px;
  963. }
  964. div.vis-network-colorPicker-button.load {
  965. border:2px solid #a153e6;
  966. background-color: #cb8dff;
  967. left:82px;
  968. }
  969. div.vis-network-colorPicker-button.apply {
  970. border:2px solid #4588e6;
  971. background-color: #82b6ff;
  972. left:159px;
  973. }
  974. div.vis-network-colorPicker-button.save {
  975. border:2px solid #45e655;
  976. background-color: #6dff7c;
  977. left:236px;
  978. }
  979. input.vis-network-configuration.range.colorPicker{
  980. width: 290px;
  981. height:20px;
  982. }
  983. input.vis-network-brightnessRange {
  984. width: 289px !important;
  985. }
  986. input.vis-network-saturationRange {
  987. width: 289px !important;
  988. }