Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

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