No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

876 líneas
16KB

  1. /**
  2. * Copyright 2013 IBM Corp.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. **/
  16. body {
  17. font: 13px "Helvetica" !important;
  18. padding-top: 100px;
  19. background: url("pw_maze_white.png");
  20. }
  21. #dropTarget {
  22. position: absolute;
  23. top: 0; bottom: 0;
  24. left: 0; right: 0;
  25. background: rgba(100,100,100,0.5);
  26. display:table;
  27. width: 100%;
  28. height: 100%;
  29. display: none;
  30. }
  31. #dropTarget div {
  32. display: table-cell;
  33. vertical-align: middle;
  34. text-align: center;
  35. font-size: 40px;
  36. color: #fff;
  37. }
  38. div.btn-group, a.btn {
  39. -webkit-user-select: none;
  40. -khtml-user-select: none;
  41. -moz-user-select: none;
  42. -ms-user-select: none;
  43. user-select: none;
  44. }
  45. a.brand {
  46. line-height: 16px;
  47. }
  48. a.brand span {
  49. vertical-align: middle;
  50. font-size: 16px;
  51. }
  52. a.brand img {
  53. height: 16px;
  54. }
  55. .navbar-fixed-top {
  56. position: absolute !important;
  57. z-index: 100 !important;
  58. }
  59. .navbar-inner > .container-fluid {
  60. padding-right: 10px;
  61. }
  62. #workspace {
  63. margin-left: 160px;
  64. overflow: hidden;
  65. }
  66. #chart {
  67. overflow: auto;
  68. background: #e3e3e3;
  69. position: absolute;
  70. bottom:0px;
  71. top: 30px;
  72. left:0px;
  73. right:0px;
  74. }
  75. #workspace-toolbar {
  76. display: none;
  77. position: absolute;
  78. top: 30px;
  79. left:0;
  80. right: 18px;
  81. padding: 5px;
  82. background: #f3f3f3;
  83. }
  84. #chart-zoom-controls {
  85. padding-top: 3px;
  86. text-align: right;
  87. float: right;
  88. }
  89. #palette {
  90. background: #f3f3f3;
  91. width: 140px;
  92. text-align: center;
  93. -webkit-user-select: none;
  94. -khtml-user-select: none;
  95. -moz-user-select: none;
  96. -ms-user-select: none;
  97. user-select: none;
  98. }
  99. .palette-scroll {
  100. display: none;
  101. position: absolute;
  102. top: 0;
  103. left:0;
  104. right: 0;
  105. bottom: 35px;
  106. padding: 5px;
  107. overflow-y: auto;
  108. box-sizing:border-box;
  109. -moz-box-sizing: border-box;
  110. }
  111. .palette-spinner {
  112. padding-top: 40px;
  113. }
  114. #palette-search {
  115. position: absolute;
  116. display: none;
  117. bottom: 0;
  118. left:0;
  119. right:0;
  120. overflow: hidden;
  121. background: #f3f3f3;
  122. text-align: center;
  123. height: 35px;
  124. padding: 3px;
  125. border-top: 1px solid #999;
  126. box-sizing:border-box;
  127. -moz-box-sizing: border-box;
  128. }
  129. #palette-search i.icon-search {
  130. position: absolute;
  131. pointer-events: none;
  132. left: 3px;
  133. top: 10px;
  134. }
  135. #palette-search i.icon-remove {
  136. position: absolute;
  137. right: 3px;
  138. top: 10px;
  139. }
  140. #palette-search-clear {
  141. display: none;
  142. }
  143. #palette-search input {
  144. border-radius: 0;
  145. border: none;
  146. width: 100%;
  147. box-shadow: none;
  148. -webkit-box-shadow: none;
  149. padding: 3px 17px;
  150. margin: 0px;
  151. height: 30px;
  152. box-sizing:border-box;
  153. -moz-box-sizing: border-box;
  154. }
  155. #palette-search input:focus {
  156. border: none;
  157. box-shadow: none;
  158. -webkit-box-shadow: none;
  159. }
  160. .palette-category {
  161. border: 1px solid #999;
  162. border-radius: 3px;
  163. margin-bottom: 5px;
  164. }
  165. .palette-content {
  166. background: #fff;
  167. border-top: 1px solid #aaa;
  168. padding-bottom: 3px;
  169. }
  170. .palette-header {
  171. background: #f3f3f3;
  172. border-radius: 3px;
  173. cursor: pointer;
  174. text-align: left;
  175. padding: 3px;
  176. }
  177. .palette-header i {
  178. float: right;
  179. -webkit-transition: all 0.2s ease-in-out;
  180. -moz-transition: all 0.2s ease-in-out;
  181. -o-transition: all 0.2s ease-in-out;
  182. -webkit-transform: rotate(-90deg);
  183. -moz-transform: rotate(-90deg);
  184. -o-transform: rotate(-90deg);
  185. }
  186. .palette-header i.expanded {
  187. -webkit-transform: rotate(0deg);
  188. -moz-transform: rotate(0deg);
  189. -o-transform: rotate(0deg);
  190. }
  191. .palette-header span {
  192. clear: both;
  193. }
  194. .palette_label {
  195. line-height: 25px;
  196. text-align: center;
  197. }
  198. .palette_node {
  199. cursor:move;
  200. font-size:13px;
  201. background: #ddd;
  202. margin: 10px auto;
  203. height: 25px;
  204. border-radius: 6px;
  205. border: 2px solid #999;
  206. background-position: 5% 50%;
  207. background-repeat: no-repeat;
  208. width: 90px;
  209. background-size: contain;
  210. position: relative;
  211. }
  212. .palette_node:hover {
  213. border-color: #ff7f0e;
  214. background-color: #eee;
  215. }
  216. .palette_port {
  217. position: absolute;
  218. top:8px;
  219. left: -5px;
  220. box-sizing: border-box;
  221. -moz-box-sizing: border-box;
  222. background:#d9d9d9;
  223. border-radius: 3px;
  224. width: 10px;
  225. height: 10px;
  226. border: 1px solid #999;
  227. }
  228. .palette_port_output {
  229. left:85px;
  230. }
  231. .palette_node:hover .palette_port {
  232. border-color: #999;
  233. background-color: #eee;
  234. }
  235. #sidebar {
  236. background: #fff;
  237. box-sizing: border-box;
  238. -moz-box-sizing: border-box;
  239. }
  240. #sidebar.closing {
  241. background: #eee;
  242. border-color: #900;
  243. border-style: dashed;
  244. }
  245. /* ---------- Layout ---------- */
  246. #main-container {
  247. position: absolute;
  248. top:50px; left:0; bottom: 0; right:0;
  249. overflow:hidden;
  250. }
  251. #palette {
  252. position: absolute;
  253. top: 5px; left:10px; bottom: 10px;
  254. }
  255. #workspace {
  256. position: absolute;
  257. margin: 0;
  258. top:5px; left:160px; bottom: 10px; right: 330px;
  259. }
  260. #chart-zoom-controls {
  261. position: absolute;
  262. bottom:30px; right: 350px;
  263. }
  264. #sidebar {
  265. width: 305px;
  266. position: absolute;
  267. right: 10px; top: 5px; bottom:10px;
  268. }
  269. #sidebar-separator {
  270. width: 15px;
  271. background: url(grip.png) no-repeat 50% 50%;
  272. position: absolute;
  273. right: 316px; top: 5px; bottom:10px;
  274. cursor: col-resize;
  275. }
  276. .sidebar-closed > #sidebar { display: none; }
  277. .sidebar-closed > #sidebar-separator { right: 0px !important; }
  278. .sidebar-closed > #workspace { right: 15px !important; }
  279. .sidebar-closed > #chart-zoom-controls { right: 35px !important; }
  280. /* ---------- end layout ---------- */
  281. .lasso {
  282. stroke-width: 2px;
  283. stroke: #ff7f0e;
  284. fill: rgba(20,125,255,0.1);
  285. stroke-dasharray: 10 5;
  286. }
  287. .group-box {
  288. stroke-width: 1px;
  289. stroke: #aaaaaa;
  290. fill: rgba(208, 211, 238, 0.1);
  291. stroke-dasharray: 3 3;
  292. }
  293. .group-box-active {
  294. fill: #fff;
  295. stroke: #ff7f0e;
  296. }
  297. .group_label {
  298. stroke-width: 0;
  299. fill: #999;
  300. font-size: 11px;
  301. pointer-events: none;
  302. -webkit-touch-callout: none;
  303. -webkit-user-select: none;
  304. -khtml-user-select: none;
  305. -moz-user-select: none;
  306. -ms-user-select: none;
  307. user-select: none;
  308. }
  309. .pull-right {
  310. margin-left: 20px;
  311. }
  312. #workspace, #palette, #sidebar {
  313. border: 1px solid #000;
  314. border-radius: 3px;
  315. }
  316. #sidebar-content {
  317. font-size: 1.2em;
  318. overflow-y: auto;
  319. position: absolute;
  320. top: 30px; left: 0px; right: 0; bottom: 1px;
  321. }
  322. .node_label_italic {
  323. font-style: italic;
  324. }
  325. .node_label_unknown {
  326. font-style: italic;
  327. fill: #e00 !important;
  328. }
  329. .node_label_white {
  330. fill: #eee !important;
  331. }
  332. .node_label {
  333. stroke-width: 0;
  334. fill: #333;
  335. font-size: 14px;
  336. pointer-events: none;
  337. -webkit-touch-callout: none;
  338. -webkit-user-select: none;
  339. -khtml-user-select: none;
  340. -moz-user-select: none;
  341. -ms-user-select: none;
  342. user-select: none;
  343. }
  344. .function_label {
  345. font-size: 12px;
  346. }
  347. .node {
  348. stroke: #999;
  349. cursor: move;
  350. stroke-width: 2;
  351. }
  352. .node_unknown {
  353. stroke-dasharray:10,4;
  354. stroke: #f33;
  355. }
  356. .tool_arrow {
  357. stroke-width: 1;
  358. stroke: #999;
  359. fill: #999;
  360. cursor: pointer;
  361. }
  362. .node_tools {
  363. fill: #ddd;
  364. stroke: #999;
  365. cursor: move;
  366. stroke-width: 1;
  367. cursor: pointer;
  368. }
  369. .node_tools_hovered {
  370. stroke: #ff7f0e;
  371. fill: #eee;
  372. }
  373. .node_button {
  374. fill: inherit;
  375. }
  376. .port {
  377. fill: #ddd;
  378. cursor: crosshair;
  379. }
  380. .node_error {
  381. stroke: #ff0000;
  382. stroke-width: 2;
  383. fill: #ff7f0e;
  384. }
  385. .node_badge {
  386. stroke: rgb(93, 114, 145);
  387. stroke-width: 1;
  388. fill: rgb(190, 209, 255);
  389. }
  390. .node_badge_label {
  391. stroke-width:0;
  392. fill: #fff;
  393. font-size: 11px;
  394. pointer-events: none;
  395. -webkit-touch-callout: none;
  396. -webkit-user-select: none;
  397. -khtml-user-select: none;
  398. -moz-user-select: none;
  399. -ms-user-select: none;
  400. user-select: none;
  401. }
  402. .node_invalid {
  403. stroke: #ff0000;
  404. }
  405. .node_selected {
  406. stroke: #ff7f0e;
  407. }
  408. .node_highlighted {
  409. stroke: #dd1616;
  410. stroke-width: 3;
  411. stroke-dasharray: 10, 4;
  412. }
  413. .node_hovered {
  414. }
  415. .port_hovered {
  416. stroke: #ff7f0e;
  417. fill: #ff7f0e;
  418. }
  419. .drag_line {
  420. stroke: #ff7f0e;
  421. stroke-width: 5;
  422. fill: none;
  423. pointer-events: none;
  424. }
  425. .drag_line_hidden {
  426. stroke: #ff7f0e;
  427. stroke-width: 0;
  428. pointer-events: none;
  429. fill: none;
  430. }
  431. .link_line {
  432. stroke: #7f7f7f;
  433. stroke-width: 4;
  434. fill: none;
  435. pointer-events: none;
  436. }
  437. .link_outline {
  438. stroke: #fff;
  439. stroke-width: 6;
  440. cursor: crosshair;
  441. fill: none;
  442. pointer-events: none;
  443. }
  444. .link_background {
  445. stroke: #fff;
  446. opacity: 0;
  447. stroke-width: 25;
  448. cursor: crosshair;
  449. fill: none;
  450. }
  451. g.link_selected path.link_line {
  452. stroke: #ff7f0e;
  453. }
  454. g.link_unknown path.link_line {
  455. stroke: #f00;
  456. stroke-width: 2;
  457. stroke-dasharray: 10, 4;
  458. }
  459. #shade {
  460. position: absolute;
  461. top:0;
  462. left:0;
  463. width: 100%;
  464. height: 100%;
  465. background: rgba(0,0,0,0.5);
  466. text-align: center;
  467. display: none;
  468. }
  469. #dialog {
  470. }
  471. .container {
  472. }
  473. .notification {
  474. position: absolute;
  475. }
  476. #notifications {
  477. z-index: 10000;
  478. width: 500px;
  479. margin-left: -250px;
  480. left: 50%;
  481. position: absolute;
  482. top: 1px;
  483. }
  484. #notifications .alert {
  485. box-shadow: 0 0 1px 1px;
  486. margin-bottom: 5px;
  487. }
  488. .form-row {
  489. clear: both;
  490. margin-bottom: 7px;
  491. }
  492. .form-row label {
  493. display: inline-block;
  494. width: 100px;
  495. }
  496. .form-row input {
  497. width:70%;
  498. }
  499. input.input-append-left {
  500. border-top-right-radius: 0px;
  501. border-bottom-right-radius: 0px;
  502. }
  503. button.input-append-right {
  504. border-top-left-radius: 0px !important;
  505. border-bottom-left-radius: 0px !important;
  506. border-top-right-radius: 4px !important;
  507. border-bottom-right-radius: 4px !important;
  508. margin-left: -1px !important;
  509. padding-left: 4px !important;
  510. padding-right: 4px !important;
  511. }
  512. .form-tips {
  513. background: lightgoldenrodyellow;
  514. font-size: 12px;
  515. padding: 8px;
  516. border-radius: 5px;
  517. border: 1px solid #999;
  518. }
  519. .form-tips code {
  520. border: none;
  521. padding: auto;
  522. }
  523. .ui-tabs .ui-tabs-panel {
  524. padding: 0px;
  525. }
  526. table.node-info {
  527. margin: 5px;
  528. width: 97%;
  529. }
  530. table.node-info tr {
  531. border: 1px solid #ddd;
  532. }
  533. table.node-info tr.blank {
  534. border: none;
  535. }
  536. table.node-info tr.blank td {
  537. padding-top: 8px;
  538. }
  539. table.node-info td:first-child{
  540. color: #000;
  541. vertical-align: top;
  542. width: 90px;
  543. padding: 0 3px;
  544. border-right: 1px solid #ddd;
  545. }
  546. table.node-info td:last-child{
  547. padding-left: 5px;
  548. color: #666;
  549. }
  550. div.node-info {
  551. margin: 5px;
  552. }
  553. .input-error {
  554. border-color: rgb(214, 97, 95) !important;
  555. }
  556. .hidden {
  557. display: none;
  558. }
  559. .dropdown-menu * .icon-ok {
  560. display: none;
  561. }
  562. .dropdown-menu * a.active > .icon-ok {
  563. display: inline-block;
  564. }
  565. .dropdown-menu>li.disabled>a:hover>[class^="icon-"] {
  566. background-image: url("bootstrap/img/glyphicons-halflings.png") !important;
  567. }
  568. /** Fix for unreachable dropdown menu **/
  569. .dropdown-menu {
  570. width: 200px !important;
  571. }
  572. .dropdown-menu > li > a {
  573. padding-left: 28px ;
  574. text-indent: -8px ;
  575. white-space: normal !important;
  576. }
  577. .navbar-fixed-top, .navbar-fixed-bottom {
  578. z-index: 1000;
  579. }
  580. .popover-title { display: none; }
  581. .ui-autocomplete {
  582. max-height: 250px;
  583. overflow-x: hidden;
  584. overflow-y: scroll;
  585. }
  586. .leftButton {
  587. margin-right: 200px !important;
  588. }
  589. #node-help {
  590. width: 700px;
  591. }
  592. #node-help * td {
  593. padding: 0.8em 0.5em;
  594. }
  595. #node-help * tr > td:first-child+td+td {
  596. padding-left: 5em;
  597. }
  598. .help-key {
  599. border: 1px solid #ddd;
  600. padding: 4px;
  601. border-radius: 3px;
  602. background: #f6f6f6;
  603. font-family: Courier, monospace;
  604. box-shadow: #999 1px 1px 1px;
  605. }
  606. #helpcontent {
  607. padding: 20px;
  608. border: 1px solid #ddd;
  609. border-radius: 10px;
  610. background: #fff;
  611. }
  612. #helpnavigation {
  613. overflow: hidden;
  614. border: 1px solid #ddd;
  615. border-radius: 10px;
  616. background: #fff;
  617. }
  618. #helpnavigation li a{
  619. font-size: 1.2em;
  620. padding: 10px;
  621. border-bottom: 1px solid #ddd;
  622. }
  623. #node-select-library {
  624. overflow: hidden;
  625. }
  626. #node-select-library ul {
  627. list-style: none;
  628. padding: 0px;
  629. margin: 2px;
  630. }
  631. #node-select-library li {
  632. cursor: pointer;
  633. }
  634. #node-select-library li.list-selected {
  635. background: #eee;
  636. }
  637. #node-select-library li.list-hover {
  638. background: #ffffd0;
  639. }
  640. .node-text-editor {
  641. border:1px solid #ccc;
  642. border-radius:5px;
  643. overflow: hidden;
  644. }
  645. #workspace-tabs {
  646. margin-right: 28px;
  647. }
  648. #workspace-add-tab {
  649. position: absolute;
  650. top: 0;
  651. right: 0;
  652. height: 29px;
  653. width: 28px;
  654. border-bottom: 1px solid #999;
  655. }
  656. #btn-workspace-add-tab {
  657. display: inline-block;
  658. width: 100%;
  659. background: #e3e3e3;
  660. height: 100%;
  661. line-height: 28px;
  662. text-align: center;
  663. }
  664. #btn-workspace-add-tab:hover {
  665. background: #efefef;
  666. }
  667. ul.red-ui-tabs {
  668. list-style-type: none;
  669. padding:5px 2px 0px 5px;
  670. margin: 0;
  671. display: block;
  672. height: 24px;
  673. border-bottom: 1px solid #999;
  674. background: #e3e3e3;
  675. -webkit-user-select: none;
  676. -khtml-user-select: none;
  677. -moz-user-select: none;
  678. -ms-user-select: none;
  679. user-select: none;
  680. }
  681. ul.red-ui-tabs li {
  682. border-top-left-radius: 5px;
  683. border-top-right-radius: 5px;
  684. display: inline-block;
  685. border-left: 1px solid #999;
  686. border-top: 1px solid #999;
  687. border-right: 1px solid #999;
  688. border-bottom: 1px solid #999;
  689. background: #e3e3e3;
  690. margin: 0 5px 0 0;
  691. height: 23px;
  692. line-height: 17px;
  693. max-width: 150px;
  694. width: 14%;
  695. overflow: hidden;
  696. white-space: nowrap;
  697. }
  698. ul.red-ui-tabs li a.red-ui-tab-label {
  699. display: block;
  700. padding: 3px 16px;
  701. color: #666;
  702. }
  703. ul.red-ui-tabs li {
  704. position: relative;
  705. }
  706. ul.red-ui-tabs li a.red-ui-tab-close {
  707. background: rgba(227,227,227,0.8);
  708. position: absolute;
  709. right: 2px;
  710. top: 2px;
  711. display: block;
  712. width: 20px;
  713. height: 20px;
  714. line-height: 20px;
  715. text-align: center;
  716. padding: 0px;
  717. border-radius: 5px;
  718. }
  719. ul.red-ui-tabs li a.red-ui-tab-close:hover {
  720. background: #bbb !important;
  721. }
  722. ul.red-ui-tabs li a:hover {
  723. text-decoration: none;
  724. background: #f0f0f0;
  725. }
  726. ul.red-ui-tabs li.active {
  727. background: #fff;
  728. border-bottom: 1px solid #fff;
  729. }
  730. ul.red-ui-tabs li.active a {
  731. color: #333;
  732. }
  733. ul.red-ui-tabs li.active a.red-ui-tab-close {
  734. background: rgba(255,255,255,0.8);
  735. }
  736. ul.red-ui-tabs li.active a.red-ui-tab-label:hover {
  737. background: #fff;
  738. }
  739. ul.red-ui-tabs li.red-ui-add-tab {
  740. width: 25px;
  741. border-top-right-radius: 15px;
  742. line-height: 22px;
  743. }
  744. ul.red-ui-tabs li.red-ui-add-tab a {
  745. padding: 2px 4px;
  746. }
  747. ul.tab-config-list {
  748. list-style-type: none;
  749. padding: 3px;
  750. margin: 0;
  751. -webkit-user-select: none;
  752. -khtml-user-select: none;
  753. -moz-user-select: none;
  754. -ms-user-select: none;
  755. user-select: none;
  756. }
  757. ul.tab-config-list li {
  758. max-width: 400px;
  759. font-size: 13px;
  760. background: #f3f3f3;
  761. margin: 10px auto;
  762. border-radius: 3px;
  763. border: 1px solid #ccc;
  764. padding: 3px 8px;
  765. }
  766. div.tab-config-list-type {
  767. }
  768. div.tab-config-list-entry {
  769. position: relative;
  770. margin: 4px 0;
  771. padding: 8px 4px 8px 10px;
  772. background: #fff;
  773. border: 1px solid #ccc;
  774. border-radius: 4px;
  775. cursor: pointer;
  776. }
  777. div.tab-config-list-entry:hover {
  778. background: #f6f6f6;
  779. }
  780. div.tab-config-list-label {
  781. }
  782. div.tab-config-list-users {
  783. position: absolute;
  784. right: 3px;
  785. top: 3px;
  786. bottom: 3px;
  787. line-height: 27px;
  788. font-size: 11px;
  789. background: #f6f6f6;
  790. float: right;
  791. border: 1px solid #eee;
  792. border-radius: 3px;
  793. padding: 1px 5px;
  794. }
  795. i.spinner {
  796. display: inline-block;
  797. width: 14px;
  798. height: 14px;
  799. line-height: 14px;
  800. vertical-align: text-top;
  801. margin-top: 0px;
  802. background: url(spin.svg) no-repeat 50% 50%;
  803. background-size: contain
  804. }