fl-theme-builder-field-connections.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. /* Connections Menu Toggle */
  2. .fl-field-connections-toggle {
  3. bottom: 0;
  4. align-items: center;
  5. display: inline-flex;
  6. justify-content: center;
  7. position: absolute;
  8. right:-25px;
  9. top: 0;
  10. transition-property: opacity, transform;
  11. transition-duration: .25s;
  12. width: 25px;
  13. z-index: 999;
  14. }
  15. .fl-field-connections-toggle-open {
  16. transform: rotate(-45deg);
  17. }
  18. .fl-field-connections-toggle i {
  19. color: #999;
  20. cursor: pointer;
  21. font-size: 17px !important;
  22. height: 17px;
  23. line-height: 17px !important;
  24. text-align: center;
  25. width: 17px;
  26. }
  27. .fl-field-connections-toggle i:hover {
  28. color: #777;
  29. }
  30. /* Connections Menu */
  31. .fl-field-connections-menu {
  32. background: #fff;
  33. border: 1px solid #DFDFDF;
  34. border-radius: 4px;
  35. box-shadow: 1px 6px 12px rgba(0, 0, 0, 0.1);
  36. display: none;
  37. max-height: 250px;
  38. overflow: auto;
  39. padding: 10px;
  40. position: absolute;
  41. text-align: left;
  42. z-index: 100020;
  43. }
  44. .fl-field-connections-menu * {
  45. color: #333;
  46. font-family: Helvetica, Verdana, sans-serif;
  47. font-size: 12px;
  48. line-height: 16px;
  49. text-decoration: none;
  50. text-transform: none;
  51. }
  52. input[type=text].fl-field-connections-search {
  53. background-color: #fff;
  54. border-color: #dfdfdf;
  55. border-style: solid;
  56. border-width: 1px;
  57. border-radius: 3px;
  58. -moz-border-radius: 3px;
  59. -webkit-border-radius: 3px;
  60. -webkit-box-sizing: border-box;
  61. -moz-box-sizing: border-box;
  62. box-sizing: border-box;
  63. box-shadow: none;
  64. -moz-box-shadow: none;
  65. -webkit-box-shadow: none;
  66. color: #333;
  67. display: none;
  68. font-size: 12px;
  69. height: auto;
  70. line-height: 15px;
  71. margin: 0 0 6px 0 !important;
  72. outline: none;
  73. padding: 3px;
  74. width: 100% !important;
  75. }
  76. input[type=text].fl-field-connections-search:focus {
  77. background: transparent;
  78. border-color: #aaa;
  79. }
  80. .fl-field-connections-group-label {
  81. color: #949494 !important;
  82. padding:2px 0;
  83. }
  84. .fl-field-connections-properties {
  85. margin: 0px 0px 4px;
  86. }
  87. .fl-field-connections-property {
  88. border-radius: 4px;
  89. cursor: pointer;
  90. padding: 4px 6px;
  91. position: relative;
  92. }
  93. .fl-field-connections-property:hover {
  94. background-color: #ECECEC;
  95. }
  96. .fl-field-connections-property-label {
  97. margin-right: 75px;
  98. overflow: hidden;
  99. text-overflow: ellipsis;
  100. white-space: nowrap;
  101. }
  102. .fl-field-connections-property-connect,
  103. .fl-field-connections-property-token {
  104. background: #9E9E9E;
  105. border-bottom-right-radius: 4px;
  106. border-top-right-radius: 4px;
  107. bottom: 0;
  108. color: #fff !important;
  109. display: none;
  110. overflow: hidden;
  111. padding: 4px 4px 4px 4px;
  112. position: absolute;
  113. right: 0;
  114. text-align: center;
  115. text-overflow: ellipsis;
  116. top: 0;
  117. white-space: nowrap;
  118. width: 80px;
  119. }
  120. .fl-field-connections-property:hover .fl-field-connections-property-connect,
  121. .fl-field-connection-tokens-visible .fl-field-connections-property:hover .fl-field-connections-property-token {
  122. border-left: 2px solid #fff;
  123. display: block;
  124. }
  125. .fl-field-connection-tokens-visible .fl-field-connections-property:hover .fl-field-connections-property-connect:hover,
  126. .fl-field-connection-tokens-visible .fl-field-connections-property:hover .fl-field-connections-property-token:hover {
  127. background: #808080 !important;
  128. color: #fff !important;
  129. }
  130. .fl-field-connection-tokens-visible .fl-field-connections-property-has-token .fl-field-connections-property-connect {
  131. border-bottom-right-radius: 0;
  132. border-top-right-radius: 0;
  133. right: 80px;
  134. }
  135. /* Connection */
  136. .fl-field-connection {
  137. bottom: 0;
  138. display: none;
  139. left: 0;
  140. position: absolute;
  141. right: 0;
  142. top: 0;
  143. z-index: 10;
  144. }
  145. .fl-field-connection-visible {
  146. display: block;
  147. }
  148. .fl-field-connection-content {
  149. background: #F3F3F3;
  150. border-radius: 4px;
  151. border: 1px solid #DFDFDF;
  152. bottom: 0;
  153. left: 0;
  154. position: absolute;
  155. right: 0;
  156. top: 0;
  157. }
  158. .fl-field-connection-label {
  159. align-items: center;
  160. bottom: 0;
  161. color: #999 !important;
  162. display: inline-flex;
  163. left: 10px;
  164. position: absolute;
  165. right:25px;
  166. text-align: left;
  167. top: 0;
  168. }
  169. .fl-field-connection-edit.fas {
  170. align-items: center;
  171. bottom: 0;
  172. color: #ccc;
  173. cursor: pointer;
  174. display: none;
  175. font-size: 15px;
  176. justify-content: center;
  177. opacity: 0;
  178. position: absolute;
  179. right: 25px;
  180. top: 0;
  181. width: 25px;
  182. }
  183. .fl-field-connection[data-form] .fl-field-connection-edit.fas {
  184. display: inline-flex;
  185. }
  186. .fl-field-connection-remove.fas {
  187. align-items: center;
  188. bottom: 0;
  189. color: #ccc;
  190. cursor: pointer;
  191. display: inline-flex;
  192. font-size: 15px;
  193. justify-content: center;
  194. opacity: 0;
  195. position: absolute;
  196. right: 0;
  197. top: 0;
  198. width: 25px;
  199. }
  200. .fl-field-connection-edit.fas:hover,
  201. .fl-field-connection-remove.fas:hover {
  202. color: #999;
  203. }
  204. .fl-field:hover .fl-field-connection-edit.fas,
  205. .fl-field:hover .fl-field-connection-remove.fas {
  206. opacity: 1;
  207. }