demo-all.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  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: -moz-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("font/OpenSans-Regular.ttf") format('truetype'),
  18. url("font/OpenSans.woff") format('woff');
  19. }
  20. /** PAGE STRUCTURE **/
  21. .dropdown {
  22. display:inline;
  23. }
  24. .dropdown-menu>li>a {
  25. width:80%;
  26. text-transform: uppercase;
  27. font-size:12px;
  28. }
  29. /** FB **/
  30. #like {
  31. position: fixed;
  32. width: 77px;
  33. height: 70px;
  34. border: 0;
  35. right: 11px;
  36. bottom: -40px;
  37. }
  38. #retweet_button {
  39. position: fixed;
  40. bottom: 30px;
  41. right: -7px;
  42. }
  43. body {
  44. padding:0;
  45. margin:0;
  46. font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  47. background-color:#eaedef;
  48. }
  49. #headerWrapper {
  50. width:100%;
  51. background-color:white;
  52. position:fixed;
  53. top:0;left:0;
  54. z-index:100001;
  55. height:44px;
  56. padding:0;
  57. opacity:0.8;
  58. }
  59. #header {
  60. margin-top:0;
  61. height:44px;
  62. font-size:13px;
  63. margin-left:auto;
  64. margin-right:auto;
  65. padding-right: 50px;
  66. padding-left: 50px;
  67. }
  68. .explanation i {
  69. float: right;
  70. margin-right: 25px;
  71. margin-top: 13px;
  72. font-size: 25px;
  73. cursor:pointer;
  74. }
  75. .explanation i:hover {
  76. color:orange;
  77. }
  78. .logo {
  79. font-size:30px;
  80. color:#1f1f1f;
  81. text-shadow: 1px 1px #ccc;
  82. float:left;
  83. /*background-image:url(logo-export-35h.png);
  84. background-repeat:no-repeat; */
  85. width:154px;
  86. height:44px;
  87. background-position:0px 5px;
  88. }
  89. #main {
  90. margin-top:85px;
  91. font-size: 80%;
  92. width:75%;
  93. margin-left:auto;
  94. margin-right: auto;
  95. height:600px;
  96. text-align: center;
  97. position: relative;
  98. max-width:852px;
  99. }
  100. .demo {
  101. position: relative;
  102. width:100%;
  103. background-color:white;
  104. height:563px;
  105. overflow:auto;
  106. margin-top:35px;
  107. margin-bottom:25px;
  108. }
  109. .explanation {
  110. position: absolute;
  111. text-align: center;
  112. background-color: #7AB02C;
  113. opacity: 0.8;
  114. filter: alpha(opacity=80);
  115. color: white;
  116. width: 100%;
  117. height: 54px;
  118. z-index: 10000;
  119. overflow: hidden;
  120. box-shadow: 0px 0px 10px gray;
  121. }
  122. .explanation.expanded {
  123. height:auto;
  124. min-height:54px;
  125. max-height:100%;
  126. }
  127. .commands {
  128. margin-bottom:10px;
  129. }
  130. .commands:hover {
  131. z-index:10000;
  132. }
  133. /* demo elements */
  134. a, a:visited {
  135. text-decoration:none;
  136. /*color:#057D9F; */
  137. color:black;
  138. border-radius:0.2em;
  139. -webkit-transition: color 0.15s ease-in;
  140. -moz-transition: color 0.15s ease-in;
  141. -o-transition: color 0.15s ease-in;
  142. transition: color 0.15s ease-in;
  143. }
  144. a:hover {
  145. color:#7AB02C;
  146. }
  147. a:active {
  148. color:#FF2300;
  149. }
  150. .menu, #render, #explanation {
  151. background-color:#fff;
  152. }
  153. .menu {
  154. height: 15px;
  155. float:right;
  156. padding-top:1em;
  157. padding-bottom:0.4em;
  158. background-color: transparent;
  159. margin-right:30px;
  160. font-size:12px;
  161. }
  162. .menu a {
  163. margin-right: 19px;
  164. }
  165. .otherLibraries {
  166. display:inline;
  167. }
  168. #render a {
  169. margin-right:10px;
  170. }
  171. .selected {
  172. color:orange !important;
  173. }
  174. .window, .label {
  175. text-align:center;
  176. z-index:24;
  177. cursor:pointer;
  178. box-shadow: 2px 2px 19px #aaa;
  179. -o-box-shadow: 2px 2px 19px #aaa;
  180. -webkit-box-shadow: 2px 2px 19px #aaa;
  181. -moz-box-shadow: 2px 2px 19px #aaa;
  182. }
  183. path, ._jsPlumb_endpoint { cursor:pointer; }
  184. .cmd {
  185. color:white;
  186. margin-right:25px;
  187. }
  188. .cmd:hover {
  189. color:#FF2300;
  190. text-decoration: underline;
  191. }
  192. .cmd:active {
  193. color:#FF2300;
  194. }
  195. .label {
  196. font-size:13px;
  197. padding:8px;
  198. padding:8px;
  199. }
  200. .component {
  201. border:1px solid #346789;
  202. border-radius:0.5em;
  203. opacity:0.8;
  204. filter:alpha(opacity=80);
  205. background-color:white;
  206. color:black;
  207. padding:0.5em;
  208. font-size:0.8em;
  209. }
  210. .component:hover {
  211. border:1px solid #123456;
  212. box-shadow: 2px 2px 19px #444;
  213. -o-box-shadow: 2px 2px 19px #444;
  214. -webkit-box-shadow: 2px 2px 19px #444;
  215. -moz-box-shadow: 2px 2px 19px #fff;
  216. opacity:0.9;
  217. filter:alpha(opacity=90);
  218. }
  219. .window {
  220. background-color:white;
  221. border:1px solid #346789;
  222. box-shadow: 2px 2px 19px #e0e0e0;
  223. -o-box-shadow: 2px 2px 19px #e0e0e0;
  224. -webkit-box-shadow: 2px 2px 19px #e0e0e0;
  225. -moz-box-shadow: 2px 2px 19px #e0e0e0;
  226. -moz-border-radius:0.5em;
  227. border-radius:0.5em;
  228. width:5em; height:5em;
  229. position:absolute;
  230. color:black;
  231. padding:0.5em;
  232. width:80px;
  233. height:80px;
  234. line-height: 80px;
  235. -webkit-transition: -webkit-box-shadow 0.15s ease-in;
  236. -moz-transition: -moz-box-shadow 0.15s ease-in;
  237. -o-transition: -o-box-shadow 0.15s ease-in;
  238. transition: box-shadow 0.15s ease-in;
  239. }
  240. .window:hover {
  241. border:1px solid #123456;
  242. box-shadow: 2px 2px 19px #444;
  243. -o-box-shadow: 2px 2px 19px #444;
  244. -webkit-box-shadow: 2px 2px 19px #444;
  245. -moz-box-shadow: 2px 2px 19px #fff;
  246. opacity:0.9;
  247. filter:alpha(opacity=90);
  248. }
  249. .window a {
  250. font-family:helvetica;
  251. }
  252. .demo-links, .library-links {
  253. position: fixed;
  254. right: 0;
  255. top: 44px;
  256. font-size: 11px;
  257. background-color: white;
  258. opacity: 0.8;
  259. padding-right: 10px;
  260. padding-left: 5px;
  261. text-transform: uppercase;
  262. z-index:100001;
  263. }
  264. .demo-links div, .library-links a {
  265. display:inline;
  266. margin-right:7px;
  267. margin-left:7px;
  268. }
  269. .demo-links i, .library-links i {
  270. padding:4px;
  271. }
  272. .library-links {
  273. right: 454px;
  274. height: 19px;
  275. line-height: 19px;
  276. }
  277. .current-library {
  278. color:#7AB02C !important;
  279. }
  280. /** Z-INDEX **/
  281. ._jsPlumb_connector { z-index:18; }
  282. ._jsPlumb_endpoint { z-index:19; }
  283. ._jsPlumb_overlay { z-index:20; }
  284. /*
  285. ._jsPlumb_connector._jsPlumb_hover {
  286. z-index:21 !important;
  287. }
  288. ._jsPlumb_endpoint._jsPlumb_hover {
  289. z-index:22 !important;
  290. }
  291. ._jsPlumb_overlay._jsPlumb_hover {
  292. z-index:23 !important;
  293. }
  294. */
  295. .aLabel {
  296. background-color:white;
  297. padding:0.4em;
  298. font:12px sans-serif;
  299. color:#444;
  300. z-index:21;
  301. border:1px dotted gray;
  302. opacity:0.8;
  303. filter:alpha(opacity=80);
  304. cursor: pointer;
  305. }
  306. .aLabel._jsPlumb_hover {
  307. background-color:#5C96BC;
  308. color:white;
  309. border:1px solid white;
  310. }
  311. /* A TEST
  312. ._jsPlumb_element_dragging path {
  313. z-index:21 !important;
  314. stroke:green;
  315. }
  316. ._jsPlumb_endpoint._jsPlumb_element_dragging * {
  317. fill:green;
  318. }
  319. */
  320. /* ANOTHER TEST
  321. ._jsPlumb_endpoint_anchor_foo * {
  322. fill:black;
  323. }
  324. ._jsPlumb_endpoint_anchor_bar * {
  325. fill:red;
  326. }
  327. */
  328. /**
  329. COMPLEMENT SCHEME
  330. *** Primary Color:
  331. var. 1 = #5C96BC = rgb(92,150,188)
  332. var. 2 = #57788D = rgb(87,120,141)
  333. var. 3 = #1E567A = rgb(30,86,122)
  334. var. 4 = #89BCDE = rgb(137,188,222)
  335. var. 5 = #9FC5DE = rgb(159,197,222)
  336. *** Complementary Color:
  337. var. 1 = #FFC275 = rgb(255,194,117)
  338. var. 2 = #BF9D71 = rgb(191,157,113)
  339. var. 3 = #A66D26 = rgb(166,109,38)
  340. var. 4 = #FFD197 = rgb(255,209,151)
  341. ANALOGIC SCHEME
  342. *** Primary Color:
  343. var. 1 = #5C96BC = rgb(92,150,188)
  344. var. 2 = #57788D = rgb(87,120,141)
  345. var. 3 = #1E567A = rgb(30,86,122)
  346. var. 4 = #89BCDE = rgb(137,188,222)
  347. var. 5 = #9FC5DE = rgb(159,197,222)
  348. *** Secondary Color A:
  349. var. 1 = #6A6FC6 = rgb(106,111,198)
  350. var. 2 = #616395 = rgb(97,99,149)
  351. var. 3 = #222781 = rgb(34,39,129)
  352. var. 4 = #9498E3 = rgb(148,152,227)
  353. var. 5 = #A9ACE3 = rgb(169,172,227)
  354. *** Secondary Color B:
  355. var. 1 = #5BC793 = rgb(91,199,147)
  356. var. 2 = #589578 = rgb(88,149,120)
  357. var. 3 = #1E8151 = rgb(30,129,81)
  358. var. 4 = #86E3B6 = rgb(134,227,182)
  359. var. 5 = #9FE3C2 = rgb(159,227,194)
  360. */
  361. /* ---------------------- bootstrap dropdowns ------------------------- */
  362. .clearfix {
  363. *zoom: 1;
  364. }
  365. .clearfix:before,
  366. .clearfix:after {
  367. display: table;
  368. line-height: 0;
  369. content: "";
  370. }
  371. .clearfix:after {
  372. clear: both;
  373. }
  374. .hide-text {
  375. font: 0/0 a;
  376. color: transparent;
  377. text-shadow: none;
  378. background-color: transparent;
  379. border: 0;
  380. }
  381. .input-block-level {
  382. display: block;
  383. width: 100%;
  384. min-height: 30px;
  385. -webkit-box-sizing: border-box;
  386. -moz-box-sizing: border-box;
  387. box-sizing: border-box;
  388. }
  389. .dropup,
  390. .dropdown {
  391. position: relative;
  392. }
  393. .dropdown-toggle {
  394. *margin-bottom: -3px;
  395. }
  396. .dropdown-toggle:active,
  397. .open .dropdown-toggle {
  398. outline: 0;
  399. }
  400. .caret {
  401. display: inline-block;
  402. width: 0;
  403. height: 0;
  404. vertical-align: top;
  405. border-top: 4px solid #000000;
  406. border-right: 4px solid transparent;
  407. border-left: 4px solid transparent;
  408. content: "";
  409. }
  410. .dropdown .caret {
  411. margin-top: 8px;
  412. margin-left: 2px;
  413. }
  414. .dropdown-menu {
  415. position: absolute;
  416. top: 100%;
  417. left: 0;
  418. z-index: 1000;
  419. display: none;
  420. float: left;
  421. min-width: 160px;
  422. padding: 5px 0;
  423. margin: 2px 0 0;
  424. list-style: none;
  425. background-color: #ffffff;
  426. border: 1px solid #ccc;
  427. border: 1px solid rgba(0, 0, 0, 0.2);
  428. *border-right-width: 2px;
  429. *border-bottom-width: 2px;
  430. -webkit-border-radius: 6px;
  431. -moz-border-radius: 6px;
  432. border-radius: 6px;
  433. -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  434. -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  435. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  436. -webkit-background-clip: padding-box;
  437. -moz-background-clip: padding;
  438. background-clip: padding-box;
  439. }
  440. .dropdown-menu.pull-right {
  441. right: 0;
  442. left: auto;
  443. }
  444. .dropdown-menu .divider {
  445. *width: 100%;
  446. height: 1px;
  447. margin: 9px 1px;
  448. *margin: -5px 0 5px;
  449. overflow: hidden;
  450. background-color: #e5e5e5;
  451. border-bottom: 1px solid #ffffff;
  452. }
  453. .dropdown-menu > li > a {
  454. display: block;
  455. padding: 3px 20px;
  456. clear: both;
  457. font-weight: normal;
  458. line-height: 20px;
  459. color: #333333;
  460. white-space: nowrap;
  461. }
  462. .dropdown-menu > li > a:hover,
  463. .dropdown-menu > li > a:focus,
  464. .dropdown-submenu:hover > a,
  465. .dropdown-submenu:focus > a {
  466. color: #ffffff;
  467. text-decoration: none;
  468. background-color: #0081c2;
  469. background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  470. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  471. background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  472. background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  473. background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  474. background-repeat: repeat-x;
  475. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
  476. }
  477. .dropdown-menu > .active > a,
  478. .dropdown-menu > .active > a:hover,
  479. .dropdown-menu > .active > a:focus {
  480. color: #ffffff;
  481. text-decoration: none;
  482. background-color: #0081c2;
  483. background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  484. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  485. background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  486. background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  487. background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  488. background-repeat: repeat-x;
  489. outline: 0;
  490. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
  491. }
  492. .dropdown-menu > .disabled > a,
  493. .dropdown-menu > .disabled > a:hover,
  494. .dropdown-menu > .disabled > a:focus {
  495. color: #999999;
  496. }
  497. .dropdown-menu > .disabled > a:hover,
  498. .dropdown-menu > .disabled > a:focus {
  499. text-decoration: none;
  500. cursor: default;
  501. background-color: transparent;
  502. background-image: none;
  503. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  504. }
  505. .open {
  506. *z-index: 1000;
  507. }
  508. .open > .dropdown-menu {
  509. display: block;
  510. }
  511. .pull-right > .dropdown-menu {
  512. right: 0;
  513. left: auto;
  514. }
  515. .dropup .caret,
  516. .navbar-fixed-bottom .dropdown .caret {
  517. border-top: 0;
  518. border-bottom: 4px solid #000000;
  519. content: "";
  520. }
  521. .dropup .dropdown-menu,
  522. .navbar-fixed-bottom .dropdown .dropdown-menu {
  523. top: auto;
  524. bottom: 100%;
  525. margin-bottom: 1px;
  526. }
  527. .dropdown-submenu {
  528. position: relative;
  529. }
  530. .dropdown-submenu > .dropdown-menu {
  531. top: 0;
  532. left: 100%;
  533. margin-top: -6px;
  534. margin-left: -1px;
  535. -webkit-border-radius: 0 6px 6px 6px;
  536. -moz-border-radius: 0 6px 6px 6px;
  537. border-radius: 0 6px 6px 6px;
  538. }
  539. .dropdown-submenu:hover > .dropdown-menu {
  540. display: block;
  541. }
  542. .dropup .dropdown-submenu > .dropdown-menu {
  543. top: auto;
  544. bottom: 0;
  545. margin-top: 0;
  546. margin-bottom: -2px;
  547. -webkit-border-radius: 5px 5px 5px 0;
  548. -moz-border-radius: 5px 5px 5px 0;
  549. border-radius: 5px 5px 5px 0;
  550. }
  551. .dropdown-submenu > a:after {
  552. display: block;
  553. float: right;
  554. width: 0;
  555. height: 0;
  556. margin-top: 5px;
  557. margin-right: -10px;
  558. border-color: transparent;
  559. border-left-color: #cccccc;
  560. border-style: solid;
  561. border-width: 5px 0 5px 5px;
  562. content: " ";
  563. }
  564. .dropdown-submenu:hover > a:after {
  565. border-left-color: #ffffff;
  566. }
  567. .dropdown-submenu.pull-left {
  568. float: none;
  569. }
  570. .dropdown-submenu.pull-left > .dropdown-menu {
  571. left: -100%;
  572. margin-left: 10px;
  573. -webkit-border-radius: 6px 0 6px 6px;
  574. -moz-border-radius: 6px 0 6px 6px;
  575. border-radius: 6px 0 6px 6px;
  576. }
  577. .dropdown .dropdown-menu .nav-header {
  578. padding-right: 20px;
  579. padding-left: 20px;
  580. }
  581. .typeahead {
  582. z-index: 1051;
  583. margin-top: 2px;
  584. -webkit-border-radius: 4px;
  585. -moz-border-radius: 4px;
  586. border-radius: 4px;
  587. }