jsplumb.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. /** DISABLE TEXT SELECTION (SET ON BODY WHEN DRAGGING IS OCCURRING) **/
  2. ._jsPlumb_drag_select * {
  3. -webkit-touch-callout: none;
  4. -webkit-user-select: none;
  5. -khtml-user-select: none;
  6. -moz-user-select: none;
  7. -ms-user-select: none;
  8. user-select: none;
  9. }
  10. /** OPEN SANS FONT **/
  11. @font-face {
  12. font-family: 'Open Sans';
  13. font-style: normal;
  14. font-weight: 400;
  15. src:local('Open Sans'),
  16. local('OpenSans'),
  17. url("OpenSans-Regular.ttf") format('truetype'),
  18. url("OpenSans.woff") format('woff');
  19. }
  20. /** FB **/
  21. #like {
  22. position: fixed;
  23. width: 77px;
  24. height: 70px;
  25. border: 0;
  26. right: 11px;
  27. bottom: -40px;
  28. }
  29. #retweet_button {
  30. position: fixed;
  31. bottom: 30px;
  32. right: -7px;
  33. }
  34. body {
  35. padding:0;
  36. margin:0;
  37. font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  38. background-color: whitesmoke;
  39. }
  40. #headerWrapper {
  41. width:100%;
  42. background-color:white;
  43. position:fixed;
  44. top:0;left:0;
  45. z-index:100001;
  46. height:44px;
  47. padding:0;
  48. opacity:0.8;
  49. text-align: center;
  50. border-bottom: 1px solid #e5e5e5;
  51. box-shadow: 0px 1px #eee;
  52. }
  53. #header {
  54. margin-top:0;
  55. height:44px;
  56. font-size:13px;
  57. margin-left:auto;
  58. margin-right:auto;
  59. line-height: 44px;
  60. max-width:1000px;
  61. width:80%;
  62. }
  63. @media screen and (max-width:1000px) {
  64. #header {
  65. width:100%;
  66. }
  67. }
  68. @media screen and (max-width:800px) {
  69. #header select {
  70. display:none;
  71. }
  72. }
  73. @media screen and (max-width:700px) {
  74. .library-links {
  75. right:330px;
  76. }
  77. }
  78. @media screen and (max-width:640px) {
  79. .logo {
  80. display:none;
  81. }
  82. #header {
  83. text-align:center;
  84. overflow:hidden;
  85. }
  86. }
  87. .explanation i {
  88. float: right;
  89. margin-right: 25px;
  90. margin-top: 13px;
  91. font-size: 25px;
  92. cursor:pointer;
  93. }
  94. .explanation i:hover {
  95. color:orange;
  96. }
  97. .words {
  98. text-align: left;
  99. padding:50px;
  100. background-color:white;
  101. }
  102. .code {
  103. border:1px solid #456;
  104. }
  105. .logo {
  106. font-size:30px;
  107. color:#1f1f1f;
  108. text-shadow: 1px 1px #ccc;
  109. float:left;
  110. width:154px;
  111. height:44px;
  112. background-position:0px 5px;
  113. }
  114. #main {
  115. margin-top: 106px;
  116. font-size: 80%;
  117. width: 80%;
  118. margin-left:auto;
  119. margin-right: auto;
  120. height: 600px;
  121. text-align: center;
  122. position: relative;
  123. max-width: 1200px;
  124. max-height: 1000px;
  125. }
  126. .demo {
  127. position: relative;
  128. width:100%;
  129. background-color:white;
  130. overflow:auto;
  131. margin-top: 53px;
  132. margin-bottom:25px;
  133. height: 600px;
  134. }
  135. .explanation {
  136. position: absolute;
  137. text-align: center;
  138. background-color: #7AB02C;
  139. opacity: 0.8;
  140. filter: alpha(opacity=80);
  141. color: white;
  142. width: 100%;
  143. height: 54px;
  144. z-index: 10000;
  145. overflow: hidden;
  146. box-shadow: 0px 0px 10px gray;
  147. }
  148. .explanation.expanded {
  149. height:auto;
  150. min-height:54px;
  151. -webkit-transition: max-height 0.8s;
  152. max-height:100%;
  153. }
  154. .commands {
  155. margin-bottom:10px;
  156. }
  157. .commands:hover {
  158. z-index:10000;
  159. }
  160. /* demo elements */
  161. a, a:visited {
  162. text-decoration:none;
  163. color:black;
  164. border-radius:0.2em;
  165. -webkit-transition: color 0.15s ease-in;
  166. -moz-transition: color 0.15s ease-in;
  167. -o-transition: color 0.15s ease-in;
  168. transition: color 0.15s ease-in;
  169. }
  170. a:hover {
  171. color:#7AB02C;
  172. }
  173. a:active {
  174. color:#FF2300;
  175. }
  176. .menu, #render, #explanation {
  177. background-color:#fff;
  178. }
  179. .menu {
  180. float:right;
  181. font-size:12px;
  182. }
  183. .menu a {
  184. margin-right: 19px;
  185. }
  186. .otherLibraries {
  187. display:inline;
  188. }
  189. #render a {
  190. margin-right:10px;
  191. }
  192. .selected {
  193. color:orange !important;
  194. }
  195. .window, .label {
  196. text-align:center;
  197. z-index:24;
  198. cursor:pointer;
  199. box-shadow: 2px 2px 19px #aaa;
  200. -o-box-shadow: 2px 2px 19px #aaa;
  201. -webkit-box-shadow: 2px 2px 19px #aaa;
  202. -moz-box-shadow: 2px 2px 19px #aaa;
  203. }
  204. path, ._jsPlumb_endpoint { cursor:pointer; }
  205. .cmd {
  206. color:white;
  207. margin-right:25px;
  208. }
  209. .cmd:hover {
  210. color:#FF2300;
  211. text-decoration: underline;
  212. }
  213. .cmd:active {
  214. color:#FF2300;
  215. }
  216. .label {
  217. font-size:13px;
  218. padding:8px;
  219. padding:8px;
  220. }
  221. .component {
  222. border:1px solid #346789;
  223. border-radius:0.5em;
  224. opacity:0.8;
  225. filter:alpha(opacity=80);
  226. background-color:white;
  227. color:black;
  228. padding:0.5em;
  229. font-size:0.8em;
  230. }
  231. .component:hover {
  232. border:1px solid #123456;
  233. box-shadow: 2px 2px 19px #444;
  234. -o-box-shadow: 2px 2px 19px #444;
  235. -webkit-box-shadow: 2px 2px 19px #444;
  236. -moz-box-shadow: 2px 2px 19px #fff;
  237. opacity:0.9;
  238. filter:alpha(opacity=90);
  239. }
  240. .window {
  241. background-color:white;
  242. border:1px solid #346789;
  243. box-shadow: 2px 2px 19px #e0e0e0;
  244. -o-box-shadow: 2px 2px 19px #e0e0e0;
  245. -webkit-box-shadow: 2px 2px 19px #e0e0e0;
  246. -moz-box-shadow: 2px 2px 19px #e0e0e0;
  247. -moz-border-radius:0.5em;
  248. border-radius:0.5em;
  249. width:5em; height:5em;
  250. position:absolute;
  251. color:black;
  252. padding:0.5em;
  253. width:80px;
  254. height:80px;
  255. line-height: 80px;
  256. -webkit-transition: -webkit-box-shadow 0.15s ease-in;
  257. -moz-transition: -moz-box-shadow 0.15s ease-in;
  258. -o-transition: -o-box-shadow 0.15s ease-in;
  259. transition: box-shadow 0.15s ease-in;
  260. }
  261. .window:hover {
  262. border:1px solid #123456;
  263. box-shadow: 2px 2px 19px #444;
  264. -o-box-shadow: 2px 2px 19px #444;
  265. -webkit-box-shadow: 2px 2px 19px #444;
  266. -moz-box-shadow: 2px 2px 19px #fff;
  267. opacity:0.9;
  268. filter:alpha(opacity=90);
  269. }
  270. .window a {
  271. font-family:helvetica;
  272. }
  273. .demo-links, .library-links {
  274. position: fixed;
  275. right: 0;
  276. top: 44px;
  277. font-size: 11px;
  278. background-color: white;
  279. opacity: 0.8;
  280. padding-right: 10px;
  281. padding-left: 5px;
  282. text-transform: uppercase;
  283. z-index:100001;
  284. }
  285. .demo-links div, .library-links a {
  286. display:inline;
  287. margin-right:7px;
  288. margin-left:7px;
  289. }
  290. .demo-links i, .library-links i {
  291. padding:4px;
  292. }
  293. .library-links {
  294. right: 515px;
  295. height: 19px;
  296. line-height: 19px;
  297. }
  298. .current-library {
  299. color:#7AB02C !important;
  300. }
  301. /** Z-INDEX **/
  302. ._jsPlumb_connector { z-index:18; }
  303. ._jsPlumb_endpoint { z-index:19; }
  304. ._jsPlumb_overlay { z-index:20; }
  305. .aLabel {
  306. background-color:white;
  307. padding:0.4em;
  308. font:12px sans-serif;
  309. color:#444;
  310. z-index:21;
  311. border:1px dotted gray;
  312. opacity:0.8;
  313. filter:alpha(opacity=80);
  314. cursor: pointer;
  315. }
  316. .aLabel._jsPlumb_hover {
  317. background-color:#5C96BC;
  318. color:white;
  319. border:1px solid white;
  320. }
  321. /* ---------------------- bootstrap dropdowns ------------------------- */
  322. .clearfix {
  323. *zoom: 1;
  324. }
  325. .clearfix:before,
  326. .clearfix:after {
  327. display: table;
  328. line-height: 0;
  329. content: "";
  330. }
  331. .clearfix:after {
  332. clear: both;
  333. }
  334. .hide-text {
  335. font: 0/0 a;
  336. color: transparent;
  337. text-shadow: none;
  338. background-color: transparent;
  339. border: 0;
  340. }
  341. .input-block-level {
  342. display: block;
  343. width: 100%;
  344. min-height: 30px;
  345. -webkit-box-sizing: border-box;
  346. -moz-box-sizing: border-box;
  347. box-sizing: border-box;
  348. }
  349. /* load test */
  350. #iframe {
  351. width: 98%;
  352. height: 1000px;
  353. position: absolute;
  354. top: 8px;
  355. left: 1%;
  356. border: 0;
  357. }
  358. #render { height:20px;}
  359. #links {
  360. width: 143px;
  361. font-size: 14px;
  362. padding-left: 0px;
  363. position: fixed;
  364. left: 9px;
  365. top: 52px;
  366. z-index: 20;
  367. background-color: white;
  368. }
  369. ul { padding:0; }
  370. li {
  371. list-style-type:none;
  372. }
  373. .current-tests {
  374. color:orange !important;
  375. }
  376. #qunit-tests li.pass, #qunit-tests li.fail {
  377. background-color:transparent;
  378. }
  379. .loadtest #main, #main.test {
  380. max-width: none;
  381. margin-top: 52px;
  382. background-color: white;
  383. margin-left: 162px;
  384. }
  385. .loadtest ._jsPlumb_connection { z-index:3; }
  386. .loadtest .jspLoad {
  387. z-index:4;
  388. position:absolute;
  389. width:70px;
  390. height:70px;
  391. cursor:pointer;
  392. }
  393. .loadtest #header {
  394. height:11em;
  395. border:2px solid #824563;
  396. }
  397. .loadtest #setup {
  398. float:left;
  399. }
  400. .loadtest #demo {
  401. margin-top:10em;
  402. position:relative;
  403. }
  404. .loadtest #setup, .loadtest #output {
  405. font-size:12px;
  406. }