default-theme.css 6.1 KB

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