ivprog-visual-1.0.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793
  1. html {
  2. height: 100%;
  3. }
  4. body {
  5. height: 100%;
  6. }
  7. .ui.raised.container.segment.div_to_body {
  8. height: 92%;
  9. padding: 10px;
  10. padding-left: 6px;
  11. padding-right: 6px;
  12. background-color: #1279c6;
  13. }
  14. .ivprog_visual_panel {
  15. height: 96%;
  16. overflow: auto;
  17. overflow-x: auto;
  18. }
  19. .ivprog_textual_code {
  20. width: 100%;
  21. min-height: 500px;
  22. resize: none;
  23. background-color: white;
  24. }
  25. .main_title h2 {
  26. margin: 0;
  27. color: white;
  28. }
  29. .main_title span {
  30. font-size: 80%;
  31. font-style: italic;
  32. }
  33. .ivprog_format_info {
  34. cursor: pointer;
  35. margin-left: 10px;
  36. }
  37. .ivprog_visual_panel {
  38. border: 2px solid #A0A0A0;
  39. background-color: red;
  40. }
  41. .ui.container.main_title {
  42. float: left;
  43. width: 200px;
  44. }
  45. .ui.container.content_margin {
  46. margin-top: 10px;
  47. }
  48. .content_margin .content_sub_margin {
  49. display: inline;
  50. margin-left: 34%;
  51. margin-top: 50px;
  52. }
  53. .ui.icon.menu.center.aligned.container {
  54. width: 438px;
  55. margin-top: -10px;
  56. }
  57. .ghost {
  58. opacity: .5;
  59. background: #C8EBFB;
  60. }
  61. /* editor visual: **/
  62. .function_signature_div,
  63. .function_close_div {
  64. font-weight: bold;
  65. color: black;
  66. }
  67. .ui.selection.data_types_dropdown.visible.dropdown>.text:not(.default),
  68. .ui.selection.parameter_data_types_dropdown.visible.dropdown>.text:not(.default) {
  69. font-weight: bold;
  70. }
  71. .ui.selection.data_types_dropdown.dropdown,
  72. .ui.selection.parameter_data_types_dropdown.dropdown {
  73. padding-bottom: 0;
  74. }
  75. .ui.fluid.dropdown.data_types_dropdown {
  76. display: inline;
  77. width: 150px;
  78. border: none;
  79. background: none;
  80. }
  81. .ui.fluid.dropdown.parameter_data_types_dropdown {
  82. display: inline;
  83. border: none;
  84. background: none;
  85. }
  86. .ui.fluid.dropdown.data_types_dropdown.selection .dropdown.icon,
  87. .ui.fluid.dropdown.parameter_data_types_dropdown.selection .dropdown.icon {
  88. font-size: 1em;
  89. }
  90. .function_close_div {
  91. margin-left: 20px;
  92. }
  93. .command_div {
  94. margin-left: 16px;
  95. }
  96. .function_draggable_div {
  97. width: 16px;
  98. float: left;
  99. }
  100. .function_draggable_div img {
  101. margin-bottom: -4px;
  102. margin-left: -2px;
  103. }
  104. .input_name_function{
  105. min-width: 50px;
  106. }
  107. .text_attr_receives {
  108. margin-left: 20px;
  109. margin-right: 20px;
  110. }
  111. .menu_operations {
  112. margin-left: 10px;
  113. margin-right: 10px;
  114. }
  115. .case_commands_block {
  116. /*border: 1px solid red;*/
  117. }
  118. .context_menu {
  119. display: inline;
  120. float: right;
  121. margin-right: 25px;
  122. margin-top: -4px;
  123. }
  124. .case_div {
  125. border: 1px solid gray;
  126. margin-left: 30px;
  127. padding-left: 5px;
  128. margin-top: 5px;
  129. }
  130. .function_name_div, .function_return_div, .function_name_parameter, .created_div_valor_var, .function_return, .var_value_menu_div, .variable_rendered, .variable_rendered div, .var_attributed,
  131. .expression_operand_1, .expression_operand_2, .operator, .div_comment_text, .value_rendered, .parameters_function_called, .parameters_function_called div, .expression_elements,
  132. .expression_element, .var_rendered, .menu_add_item, .component_element, .component_element, .conditional_expression, .variable_attribution, .attribution_expression, .var_value_expression,
  133. .incrementation_field, .incrementation_variable, .first_operand, .operator, .second_operand, .variable_to_switch, .variable_case, .button_remove_case, .editing_name_var, .parameter_div_edit,
  134. .all_elements_write, .container_var_element_control, .inline_add_command {
  135. display: inline;
  136. }
  137. .conditional_comands_block {
  138. min-height: 10px;
  139. }
  140. .div_comment_text {
  141. min-width: 100px;
  142. font-style: italic;
  143. }
  144. .enable_edit_name_function, .add_parameter, .remove_parameter, .add_parameter_button, .remove_variable {
  145. cursor: pointer;
  146. }
  147. [contenteditable="true"]:active,
  148. [contenteditable="true"]:focus,
  149. [contenteditable="true"]:hover {
  150. border: 1px dashed #000;
  151. background: white;
  152. }
  153. .ui.segment.ivprog_visual_panel {
  154. padding: 3px;
  155. margin-top: -5px;
  156. background: white;
  157. }
  158. .ui.segment.function_div {
  159. padding: 5px;
  160. margin: 0;
  161. margin-bottom: 5px;
  162. background-color: #bddbff;
  163. }
  164. .ui.button.add_function_button,
  165. .ui.button.add_variable_button,
  166. .ui.button.add_command_button {
  167. padding: 8px;
  168. margin: 0;
  169. }
  170. .glyphicon-move {
  171. cursor: move;
  172. cursor: -webkit-grabbing;
  173. }
  174. .glyphicon.glyphicon-move {
  175. float: left;
  176. }
  177. .remove_function_button, .minimize_function_button, .add_var_top_button, .add_command_top_button {
  178. float: right;
  179. }
  180. .ui.icon.button.remove_function_button,
  181. .ui.icon.button.minimize_function_button {
  182. background: none;
  183. padding: 0;
  184. margin-top: 12px;
  185. }
  186. .ui.segment.variables_list_div,
  187. .ui.segment.commands_list_div {
  188. padding: 5px;
  189. margin: 0;
  190. margin-left: 30px;
  191. width: calc(100% - 30px);
  192. background-color: #f9f9f9;
  193. min-height: 30px;
  194. }
  195. .ui.segment.variables_list_div {
  196. margin-top: 5px;
  197. }
  198. .ui.labeled.icon.button.add_variable_button,
  199. .ui.labeled.icon.button.add_command_button {
  200. }
  201. .program_signature {
  202. font-weight: bold;
  203. margin: -3px 0 10px -5px;
  204. }
  205. .program_final {
  206. font-weight: bold;
  207. margin: 5px 0 0 -5px;
  208. }
  209. .parameters_list {
  210. display: inline;
  211. }
  212. .parameter_type {
  213. margin-left: 10px;
  214. margin-right: 15px;
  215. }
  216. .function_return .dropdown .icon, .parameter_type .dropdown .icon {
  217. margin-left: 6px;
  218. }
  219. .tabela_var {
  220. display: inline;
  221. }
  222. .buttons_manage_columns i, .tr_manage_lines i {
  223. cursor: pointer;
  224. display: inline;
  225. }
  226. div.buttons_manage_columns {
  227. display: inline;
  228. }
  229. .tr_manage_lines {
  230. text-align: center;
  231. }
  232. .div_valor_var {
  233. display: inline;
  234. }
  235. .ui.comment span {
  236. font-style: italic;
  237. }
  238. .ui.comment, .ui.reader, .ui.writer, .ui.attribution, .ui.iftrue, .ui.repeatNtimes, .ui.whiletrue, .ui.dowhiletrue, .ui.switch, .ui.functioncall,
  239. .ui.return {
  240. border: 1px solid gray;
  241. padding: 5px;
  242. border-radius: 5px;
  243. margin: 5px;
  244. background: #f9f9f9;
  245. }
  246. .ui.repeatNtimes .separator_character {
  247. margin-right: 10px;
  248. }
  249. .ui.repeatNtimes, .ui.whiletrue {
  250. min-height: 50px;
  251. }
  252. .ui.dowhiletrue .ui.block_commands {
  253. min-height: 10px;
  254. }
  255. .add_var_top_button {
  256. padding-right: 50px;
  257. }
  258. .function_signature_div {
  259. min-height: 40px;
  260. padding-top: 8px;
  261. }
  262. .move_function {
  263. margin-top: 9px;
  264. }
  265. .div_start_minimize_v {
  266. float: right;
  267. width: 22px;
  268. height: 10px;
  269. }
  270. .global_var {
  271. margin-bottom: 7px;
  272. }
  273. .list_globals, .global_const {
  274. display: inline;
  275. }
  276. .created_element {
  277. position: absolute;
  278. width: 50%;
  279. z-index: 99999999;
  280. opacity: .8;
  281. cursor: move;
  282. }
  283. .width-dynamic {
  284. min-width: 100px;
  285. }
  286. .ui.icon.plus.square.outline.icon_add_item_to_writer {
  287. margin-right: 10px;
  288. margin-left: 10px;
  289. cursor: pointer;
  290. }
  291. .button_remove_command, .button_refresh_attribution {
  292. float: right;
  293. cursor: pointer;
  294. }
  295. .expression_drag {
  296. cursor: col-resize;
  297. border: 2px gray solid;
  298. display: inline;
  299. width: 5px;
  300. }
  301. .ui.icon.red.exclamation.triangle.error_icon {
  302. float: left;
  303. margin-left: -30px;
  304. }
  305. .height_100 {
  306. height: 100%;
  307. }
  308. .default_visual_title {
  309. display: none;
  310. }
  311. .expandingArea textarea {
  312. min-height: 30px;
  313. resize: none;
  314. padding: 5px;
  315. }
  316. .ui table .btn_actions {
  317. text-align: center;
  318. }
  319. .button_remove_case {
  320. cursor: pointer;
  321. padding: 3px;
  322. }
  323. .ui.button_add_case {
  324. margin-top: 10px;
  325. }
  326. .accordion {
  327. margin: auto;
  328. }
  329. .global_container:hover,
  330. .variable_container:hover {
  331. border: 2px solid gray;
  332. padding-left: 8px;
  333. padding-right: 8px;
  334. padding-top: 5px;
  335. padding-bottom: 4px;
  336. }
  337. .ui.label.function_name_parameter:hover {
  338. border: 2px solid gray;
  339. padding: 5px 6px 5px 6px;
  340. }
  341. .ui.label.function_name_parameter {
  342. padding: 7px 8px 7px 8px;
  343. }
  344. .global_container:hover, .variable_container:hover {
  345. margin-bottom: 4px !important;
  346. }
  347. .global_container .global_type, .editing_name_var, .global_container .span_value_variable,
  348. .variable_container .variable_type, .variable_container .span_value_variable,
  349. .ui.dropdown.function_return, div.function_name_div_updated,
  350. .ui.dropdown.parameter_type, .parameter_div_edit {
  351. background: #cecece;
  352. border-radius: 5px;
  353. padding: 4px;
  354. margin-left: 5px;
  355. margin-right: 5px;
  356. }
  357. .parameter_div_edit {
  358. padding-bottom: 2px;
  359. padding-top: 2px;
  360. }
  361. .ui.dropdown.parameter_type {
  362. }
  363. div.function_name_div_updated {
  364. padding-top: 5px;
  365. padding-bottom: 5px;
  366. margin-right: 10px;
  367. }
  368. .function_name_div_updated .name_function_updated {
  369. padding-left: 10px;
  370. padding-right: 10px;
  371. }
  372. .variable_container .variable_type {
  373. padding: 5px;
  374. margin-left: 0;
  375. margin-right: 3px;
  376. }
  377. .global_container .global_type:hover, .global_container .span_value_variable:hover,
  378. .variable_container .variable_type:hover, .variable_container .span_value_variable:hover,
  379. .ui.dropdown.function_return:hover, div.function_name_div_updated:hover,
  380. .ui.dropdown.parameter_type:hover, .parameter_div_edit:hover {
  381. background: #848484;
  382. color: #fff;
  383. z-index: 999999;
  384. }
  385. .editing_name_var {
  386. min-width: 40px;
  387. padding-top: 3px;
  388. padding-bottom: 3px;
  389. }
  390. .global_container .global_type:active,
  391. .variable_container .variable_type:active,
  392. .ui.dropdown.function_return:active,
  393. div.function_name_div_updated:active,
  394. .ui.dropdown.parameter_type:active {
  395. background: #636363;
  396. color: #fff;
  397. }
  398. .global_container i {
  399. cursor: pointer;
  400. }
  401. .global_container .ui.icon.plus.square.outline, .global_container .ui.icon.minus.square.outline {
  402. font-size: 120%;
  403. }
  404. .character_equals {
  405. vertical-align: sub;
  406. font-size: 150%;
  407. }
  408. .yellow.icon.times.remove_global,
  409. .yellow.icon.times.remove_variable,
  410. .yellow.icon.times.remove_parameter {
  411. float: right;
  412. margin-right: -1px;
  413. margin-left: 8px;
  414. opacity: 0;
  415. }
  416. .global_container:hover > .yellow.icon.times.remove_global, .variable_container:hover > .yellow.icon.times.remove_variable,
  417. .function_name_parameter:hover > .yellow.icon.times.remove_parameter {
  418. opacity: 1;
  419. }
  420. .tr_manage_lines {
  421. padding-top: 10px;
  422. }
  423. .ui.icon.button.add-globalVar-button.add_global_button {
  424. padding: 7px;
  425. margin-bottom: 4px;
  426. padding-bottom: 9px;
  427. }
  428. .all_functions {
  429. margin-top: -5px;
  430. }
  431. .only_in_frame {
  432. position: absolute;
  433. z-index: 9999;
  434. width: 90px;
  435. top: 5px;
  436. left: 5px;
  437. opacity: .6;
  438. }
  439. .only_in_frame:hover {
  440. opacity: 1;
  441. }
  442. .only_in_frame:hover span {
  443. display: block;
  444. }
  445. .only_in_frame span {
  446. display: none;
  447. margin-top: -5px;
  448. }
  449. .ui.container.main_title {
  450. width: 85px;
  451. }
  452. .ui.label.global_container {
  453. margin-bottom: 3px;
  454. }
  455. .ui.label.variable_container {
  456. margin-bottom: 3px;
  457. }
  458. .created_div_valor_var {
  459. display: inline-block;
  460. }
  461. .ui.dropdown.function_return {
  462. padding-left: 15px;
  463. padding-right: 15px;
  464. margin-left: 10px;
  465. margin-right: 10px;
  466. }
  467. .parethesis_function {
  468. font-size: 120%;
  469. }
  470. .var_value_menu_div,
  471. .attribution .var_attributed,
  472. .component_element,
  473. .conditional_expression .expression_element,
  474. .menu_start_rendered,
  475. .attribution_expression .variable_attribution,
  476. .render_style_param,
  477. .attribution_expression .div_expression_st:not(:empty),
  478. .incrementation_field .incrementation_variable,
  479. .incrementation_field .first_operand:not(:empty),
  480. .incrementation_field .operator:not(:empty),
  481. .incrementation_field .second_operand:not(:empty) {
  482. background: #e8e8e8;
  483. border-radius: 5px;
  484. min-width: 40px;
  485. padding: 2px;
  486. padding-left: 5px;
  487. padding-right: 5px;
  488. border: 1px solid gray;
  489. box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.19);
  490. color: black;
  491. }
  492. .menu_start_rendered {
  493. padding-left: 12px;
  494. }
  495. .menu_start_rendered i {
  496. width: 1.5em;
  497. margin-right: -1em;
  498. }
  499. .row_container:hover, .column_container:hover {
  500. background: #cecece;
  501. }
  502. .column_container, .row_container {
  503. border-radius: 4px;
  504. border: 1px solid gray;
  505. padding: 1px 2px 1px 2px;
  506. background: #e8e8e8;
  507. box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.19);
  508. }
  509. .var_value_menu_div div i {
  510. color: black;
  511. }
  512. .span_command_spec {
  513. color: black;
  514. font-weight: bold;
  515. font-size: 110%;
  516. }
  517. .ui.comment.command_container .var_value_menu_div {
  518. display: inline-block;
  519. width: 93%;
  520. }
  521. .ui.comment.command_container .var_value_menu_div .variable_rendered,
  522. .ui.comment.command_container .var_value_menu_div .value_rendered {
  523. width: 100%;
  524. cursor: text;
  525. font-style: italic;
  526. }
  527. .ui.comment.command_container .var_value_menu_div {
  528. cursor: text;
  529. }
  530. .ui.comment.command_container .var_value_menu_div {
  531. background: none;
  532. border-radius: 0;
  533. border: 0px solid gray;
  534. box-shadow: none;
  535. padding: 0px;
  536. font-size: 110%;
  537. }
  538. .ui.comment.command_container .var_name,
  539. .ui.comment.command_container .value_rendered {
  540. color: rgba(0,0,0,.6);
  541. }
  542. .ui.comment.command_container .var_value_menu_div input {
  543. width: 100%;
  544. display: inline-block;
  545. font-style: italic;
  546. }
  547. .ui.dropdown.menu_start_rendered .text i {
  548. padding-right: 8px;
  549. }
  550. * {
  551. font-family: 'Roboto', sans-serif;
  552. }
  553. .add_global_button i {
  554. font-size: 130%;
  555. }
  556. .global_var .circle.add_global_button, .global_var i.back,
  557. .ui.add_var_context .icon.plus.circle, .ui.add_var_context .icon.circle.back,
  558. .ui.inline_add_command .icon.plus.circle, .ui.inline_add_command .icon.circle.back {
  559. position: absolute;
  560. }
  561. .global_var .circle.add_global_button,
  562. .ui.add_var_context .icon.plus.circle,
  563. .inline_add_command .icon.plus.circle {
  564. z-index: 10;
  565. color: #bf80d4!important;
  566. cursor: pointer;
  567. font-style: 120%;
  568. }
  569. .global_var i.back,
  570. .ui.add_var_context .icon.circle.back,
  571. .inline_add_command .icon.circle.back {
  572. z-index: 9;
  573. color: white !important;
  574. }
  575. .ui.add_var_context{
  576. margin-left: -4px;
  577. }
  578. .inline_add_command {
  579. color: #ab0054 !important;
  580. }
  581. .ui.add_var_context .icon.superscript {
  582. font-size: 110%;
  583. }
  584. .ui.add_var_context .ui.icon.button.purple {
  585. padding: 8px;
  586. }
  587. .global_container .global_const, .global_container .global_type,
  588. .variable_container .variable_type {
  589. font-size: 114%;
  590. }
  591. .global_container .editing_name_var,
  592. .variable_container .editing_name_var {
  593. font-size: 108%;
  594. }
  595. .global_container .global_const i {
  596. font-size: 120%;
  597. }
  598. .global_container .span_value_variable,
  599. .variable_container .span_value_variable {
  600. font-size: 110%;
  601. }
  602. .global_container .global_type, .global_container .editing_name_var, .global_container .span_value_variable,
  603. .variable_container .variable_type, .variable_container .span_value_variable, .variable_container .editing_name_var,
  604. .ui.dropdown.parameter_type, .parameter_div_edit {
  605. background: black;
  606. border-radius: 5px;
  607. padding: 4px;
  608. margin-left: 5px;
  609. margin-right: 5px;
  610. }
  611. .global_container .global_type:hover, .global_container .editing_name_var:hover, .global_container .span_value_variable:hover,
  612. .variable_container .variable_type:hover, .variable_container .span_value_variable:hover, .variable_container .editing_name_var:hover,
  613. .ui.dropdown.parameter_type:hover, .parameter_div_edit:hover {
  614. background-color: #545353;
  615. }
  616. .yellow.icon.times.remove_global,
  617. .yellow.icon.times.remove_variable {
  618. color: yellow;
  619. font-size: 125%;
  620. }
  621. .inline_add_command .icon.plus.circle {
  622. color: #ec9962 !important;
  623. }
  624. .inline_add_command .icon.plus.circle,
  625. .inline_add_command .icon.circle.back,
  626. .ui.add_var_context .icon.plus.circle,
  627. .ui.add_var_context .icon.circle.back,
  628. .global_var .icon.plus.circle,
  629. .global_var .icon.circle.back {
  630. left: 1.8em !important;
  631. margin-top: 1.5em !important;
  632. }
  633. .ui.icon.button.dropdown.menu_commands {
  634. float: left;
  635. color: white;
  636. margin-left: -4px;
  637. padding: 8px;
  638. margin-top: 0.3em;
  639. }
  640. .ui.dropdown.variable_type {
  641. padding: 5px;
  642. }
  643. .global_var .global_container .ellipsis,
  644. .variable_container .ui.icon.ellipsis.vertical.inverted,
  645. .ui.label.function_name_parameter.pink .ui.icon.ellipsis.vertical.inverted {
  646. position: relative;
  647. margin-left: -3px;
  648. margin-right: 4px;
  649. opacity: 0;
  650. cursor: move;
  651. font-size: 120%;
  652. }
  653. .global_container:hover > .ellipsis,
  654. .variable_container:hover > .ui.icon.ellipsis.vertical.inverted {
  655. opacity: 1;
  656. }
  657. .glyphicon.glyphicon-move.move_function i {
  658. font-size: 130%;
  659. }
  660. .span_name_parameter.label_enable_name_parameter {
  661. font-size: 94%;
  662. font-weight: 700;
  663. }
  664. .ui.dropdown.parameter_type {
  665. font-size: 96%;
  666. }
  667. .ui.label.function_name_parameter .ellipsis {
  668. font-size: 96% !important;
  669. margin-left: .05em !important;
  670. }
  671. .ui.label.function_name_parameter:hover > .ellipsis {
  672. opacity: 1 !important;
  673. }
  674. .command_container {
  675. background: #e9dede !important;
  676. border: 2px solid #e76060 !important;
  677. border-radius: 0.25em !important;
  678. }
  679. .command_drag {
  680. cursor: move;
  681. }
  682. .command_container.over_command_drag {
  683. border: 3px dotted blue !important;
  684. padding: 0.315em !important;
  685. }
  686. .commands_list_div.over_command_drag {
  687. border: 3px dotted blue !important;
  688. padding: 0.2em !important;
  689. }
  690. .ui.segment:first-child {
  691. margin-top: 1em !important;
  692. }
  693. div.ui.checkbox.transition.visible {
  694. margin-bottom: 1em;
  695. }