default-theme.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. :root {
  2. --header-background: #113244;
  3. --header-color: #fff;
  4. --background: #f4f4f4;
  5. --background-secondary: rgba(208, 208, 208, 1);
  6. --background-tertiary: rgba(188, 188, 188, 1);
  7. --normal: #333;
  8. --normal-secondary: #999;
  9. --primary: #5060a0;
  10. --primary-darker: #405090;
  11. --primary-lighter: #6080b0;
  12. --primary-inverse: #fff;
  13. --secondary: #666;
  14. --secondary-inverse: #fff;
  15. --node-label: #fff;
  16. --node-socket: #444;
  17. --link-hover: #f00;
  18. --selector-background: rgba(0, 0, 200, 0.1);
  19. --selector-color: var(--primary);
  20. --transition-speed: 0.2s;
  21. --transition-speed-slow: 0.7s;
  22. }
  23. .vertical_sep {
  24. flex-basis: 1px;
  25. width: 1px;
  26. height: 30px;
  27. background: var(--primary);
  28. }
  29. .primary {
  30. color: var(--primary);
  31. }
  32. .primary-inverse {
  33. position: relative;
  34. background: var(--primary);
  35. color: var(--primary-inverse);
  36. }
  37. button.active:hover::after,
  38. .primary-inverse:hover::after {
  39. content: " ";
  40. position: absolute;
  41. top: 0;
  42. right: 0;
  43. bottom: 0;
  44. left: 0;
  45. transition: all var(--transition-speed);
  46. opacity: 0.4;
  47. background: #000;
  48. }
  49. .secondary {
  50. color: var(--secondary);
  51. }
  52. .secondary-inverse {
  53. background: var(--secondary);
  54. color: var(--secondary-inverse);
  55. }
  56. button {
  57. color: inherit;
  58. }
  59. button.active {
  60. background: var(--primary);
  61. color: var(--primary-inverse);
  62. }
  63. .hover {
  64. position: relative;
  65. }
  66. button::after,
  67. .hover::after {
  68. background: var(--primary);
  69. opacity: 0;
  70. }
  71. button:hover::after,
  72. .hover:hover::after {
  73. opacity: 0.2;
  74. }
  75. input {
  76. padding: 20px;
  77. outline: none;
  78. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  79. transition: all var(--transition-speed);
  80. }
  81. h3 {
  82. font-weight: bold;
  83. color: var(--primary);
  84. }
  85. .app-header {
  86. display: flex;
  87. align-items: center;
  88. color: var(--header-color);
  89. background: var(--header-background);
  90. box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  91. overflow: visible;
  92. z-index: 10;
  93. transition: all var(--transition-speed);
  94. }
  95. .app-info {
  96. color: var(--normal);
  97. }
  98. .app-watermark {
  99. color: black;
  100. opacity: 0.02;
  101. }
  102. .app-flow-container {
  103. background: var(--background);
  104. transition: all var(--transition-speed);
  105. }
  106. .flow-panel__container {
  107. background: var(--background-secondary) !important;
  108. }
  109. /* Flow Funcs PANEL */
  110. .flow-funcs__control {
  111. border-bottom: solid 1px var(--primary);
  112. }
  113. .flow-funcs__container {
  114. }
  115. .flow-funcs__group {
  116. background: var(--background-tertiary);
  117. }
  118. .flow-funcs__search input {
  119. color: var(--normal);
  120. border-bottom: solid 1px rgba(150, 150, 150, 0.2);
  121. }
  122. .flow-funcs__src {
  123. background: #777;
  124. color: var(--node-label);
  125. text-shadow: 0 0 14px #000, 0 0 4px #000;
  126. }
  127. .flow-funcs__src b {
  128. text-shadow: 0 0 14px #000, 0 0 4px #000;
  129. }
  130. .flow-funcs__container .flow-funcs__header {
  131. color: var(--normal);
  132. }
  133. .hx-toggle-arrow {
  134. color: var(--normal-secondary);
  135. }
  136. .hx-toggle-arrow.active {
  137. color: var(--primary);
  138. }
  139. .flow-funcs__inner {
  140. display: flex;
  141. flex: 1;
  142. flex-flow: column;
  143. justify-content: center;
  144. }
  145. .flow-funcs__inner .hx-collapsible {
  146. border: none !important;
  147. }
  148. .flow-funcs__container .item {
  149. color: var(--normal) !important;
  150. border: none !important;
  151. }
  152. .flow-funcs__control .item {
  153. color: var(--normal) !important;
  154. }
  155. .flow-container__control button {
  156. color: var(--normal) !important;
  157. }
  158. .flow-container__info {
  159. color: var(--normal);
  160. }
  161. /*
  162. * FLOW manager
  163. */
  164. .flow-selector {
  165. /* TODO: theme */
  166. stroke: var(--selector-color);
  167. fill: var(--selector-background);
  168. }
  169. /*
  170. * LINKS
  171. */
  172. .flow-link__visible {
  173. opacity: 1;
  174. stroke: var(--normal);
  175. }
  176. .flow-view:not(.activity)
  177. .flow-link:not(.flow-link--pointer):hover
  178. .flow-link__visible {
  179. stroke: var(--link-hover);
  180. }
  181. .flow-link__head {
  182. fill: var(--normal) !important;
  183. }
  184. /*
  185. * TRIGGERS
  186. */
  187. .flow-trigger-link__visible {
  188. opacity: 0.5;
  189. stroke: var(--normal);
  190. }
  191. .flow-view:not(.activity)
  192. .flow-trigger-link:not(.flow-trigger-link--pointer):hover
  193. .flow-trigger-link__visible {
  194. stroke: var(--link-hover);
  195. }
  196. /*
  197. * NODES
  198. */
  199. .flow-node {
  200. /*filter: url(#highlight-border);*/
  201. }
  202. .flow-node__label {
  203. font-family: RobotoMono, monospace;
  204. letter-spacing: -0.05em;
  205. font-size: 14px;
  206. fill: var(--node-label);
  207. }
  208. .flow-node__selection {
  209. transition: all var(--transition-speed);
  210. }
  211. .flow-node--selected .flow-node__selection {
  212. stroke: var(--primary);
  213. }
  214. .flow-node--dragging .flow-node__body,
  215. .flow-view:not(.activity) .flow-node:hover .flow-node__body {
  216. stroke-width: 1.5;
  217. stroke: var(--normal);
  218. }
  219. .flow-node__socket {
  220. fill: var(--node-socket);
  221. stroke: var(--node-socket);
  222. }
  223. .flow-linking.flow-node__socket--match,
  224. .flow-node__socket.flow-node__socket--match {
  225. stroke: #2f2 !important;
  226. fill: #2f2 !important;
  227. }
  228. .flow-node__socket-detail {
  229. font-size: 12px;
  230. font-weight: 100;
  231. transition: all var(--transition-speed);
  232. fill: var(--normal);
  233. }
  234. .flow-node__socket-detail--background {
  235. fill: rgba(230, 230, 230, 0.7);
  236. }
  237. .flow-node__trigger {
  238. fill: var(--node-socket);
  239. stroke: var(--node-socket);
  240. }
  241. .flow-node__trigger--match {
  242. stroke: #2f2 !important;
  243. fill: #2f2 !important;
  244. }
  245. /*
  246. * NODE ACTIVITY
  247. */
  248. .flow-node__activity {
  249. fill: white;
  250. /* fill: var(--background-secondary); */
  251. }
  252. .flow-node__activity-icon > * {
  253. stroke: var(--normal);
  254. }
  255. .flow-node__activity-time {
  256. fill: var(--normal);
  257. }
  258. /*
  259. * CHAT
  260. */
  261. .flow-chat {
  262. background: var(--background-secondary);
  263. color: var(--normal);
  264. }
  265. .flow-chat__users {
  266. border-left: solid 1px rgba(150, 150, 150, 0.2);
  267. }
  268. .flow-chat__toggle {
  269. border: none;
  270. background: var(--background-secondary);
  271. border-top: solid 1px rgba(208, 208, 208, 0.4);
  272. border-left: solid 1px rgba(208, 208, 208, 0.4);
  273. border-bottom: solid 1px rgba(208, 208, 208, 0.4);
  274. }
  275. .flow-chat__messages .message {
  276. border-bottom: solid 1px rgba(150, 150, 150, 0.1);
  277. }
  278. .flow-chat__messages .handle .name {
  279. font-weight: bold;
  280. }
  281. .flow-chat__messages .message .text {
  282. color: #777;
  283. }
  284. .flow-chat__messages .handle .time {
  285. color: #999;
  286. }
  287. .flow-chat input.handle {
  288. background: #777;
  289. color: #fff;
  290. }
  291. .flow-chat input.message {
  292. background: var(--background) !important;
  293. color: var(--normal);
  294. }
  295. /* End notification */
  296. .fade-enter-active,
  297. .fade-leave-active {
  298. transition: opacity 0.5s;
  299. }
  300. .fade-enter,
  301. .fade-leave-to {
  302. opacity: 0;
  303. }