ivprog-visual-1.0.css 12 KB

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