ivprog-visual-1.0.css 15 KB

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