ivprog-visual-1.0.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. html {
  2. height: 100%;
  3. }
  4. body {
  5. height: 100%;
  6. }
  7. .ui.raised.container.segment.div_to_body {
  8. height: 96%;
  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: 15%;
  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 {
  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. .function_return, .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: 10px;
  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. border: 2px solid gray;
  318. padding-left: 8px;
  319. padding-right: 8px;
  320. padding-top: 6px;
  321. padding-bottom: 4px;
  322. }
  323. .global_container .global_type, .editing_name_var, .global_container .span_value_variable {
  324. background: #cecece;
  325. border-radius: 5px;
  326. padding: 4px;
  327. margin-left: 5px;
  328. margin-right: 5px;
  329. }
  330. .global_container .global_type:hover, .editing_name_var:hover, .global_container .span_value_variable:hover {
  331. background: #848484;
  332. color: #fff;
  333. z-index: 999999;
  334. }
  335. .editing_name_var {
  336. min-width: 40px;
  337. padding-top: 3px;
  338. padding-bottom: 3px;
  339. }
  340. .global_container .global_type:active {
  341. background: #636363;
  342. color: #fff;
  343. }
  344. .global_container i {
  345. cursor: pointer;
  346. }
  347. .global_container .ui.icon.plus.square.outline, .global_container .ui.icon.minus.square.outline {
  348. font-size: 120%;
  349. }
  350. .character_equals {
  351. vertical-align: sub;
  352. font-size: 150%;
  353. }
  354. .red.icon.times.remove_global {
  355. float: right;
  356. margin-right: -1px;
  357. margin-left: 8px;
  358. }
  359. .tr_manage_lines {
  360. padding-top: 10px;
  361. }
  362. .ui.icon.button.add-globalVar-button.add_global_button {
  363. padding: 8px;
  364. }
  365. .all_functions {
  366. margin-top: -5px;
  367. }
  368. /* DOUGLAS */
  369. /*
  370. .div-over {
  371. border-style: dotted;
  372. }*/
  373. .div-over {
  374. outline: dashed 2px blue;
  375. }
  376. button.ui.segment {
  377. margin-bottom: 0.5em;
  378. margin-top: 0.5em;
  379. }