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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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-label .prefix {
  103. display: none;
  104. }
  105. .fl-field-connections-property-label .swatch {
  106. position: relative;
  107. top: 0px;
  108. left: 3px;
  109. display: inline-block;
  110. width: 8px;
  111. height: 8px;
  112. border-radius: 50%;
  113. }
  114. .fl-field-connections-property-connect,
  115. .fl-field-connections-property-token {
  116. background: #9E9E9E;
  117. border-bottom-right-radius: 4px;
  118. border-top-right-radius: 4px;
  119. bottom: 0;
  120. color: #fff !important;
  121. display: none;
  122. overflow: hidden;
  123. padding: 4px 4px 4px 4px;
  124. position: absolute;
  125. right: 0;
  126. text-align: center;
  127. text-overflow: ellipsis;
  128. top: 0;
  129. white-space: nowrap;
  130. width: 80px;
  131. }
  132. .fl-field-connections-property:hover .fl-field-connections-property-connect,
  133. .fl-field-connection-tokens-visible .fl-field-connections-property:hover .fl-field-connections-property-token {
  134. border-left: 2px solid #fff;
  135. display: block;
  136. }
  137. .fl-field-connection-tokens-visible .fl-field-connections-property:hover .fl-field-connections-property-connect:hover,
  138. .fl-field-connection-tokens-visible .fl-field-connections-property:hover .fl-field-connections-property-token:hover {
  139. background: #808080 !important;
  140. color: #fff !important;
  141. }
  142. .fl-field-connection-tokens-visible .fl-field-connections-property-has-token .fl-field-connections-property-connect {
  143. border-bottom-right-radius: 0;
  144. border-top-right-radius: 0;
  145. right: 80px;
  146. }
  147. /* Connection */
  148. .fl-field-connection {
  149. bottom: 0;
  150. display: none;
  151. left: 0;
  152. position: absolute;
  153. right: 0;
  154. top: 0;
  155. z-index: 10;
  156. }
  157. .fl-field-connection-visible:not(.fl-field) {
  158. display: block;
  159. }
  160. .fl-field-connection-content {
  161. background: #F3F3F3;
  162. border-radius: 4px;
  163. border: 1px solid #DFDFDF;
  164. bottom: 0;
  165. left: 0;
  166. position: absolute;
  167. right: 1px;
  168. top: 0;
  169. }
  170. .fl-field-connection-label {
  171. align-items: center;
  172. bottom: 0;
  173. color: #999 !important;
  174. display: inline-flex;
  175. left: 10px;
  176. position: absolute;
  177. right:25px;
  178. text-align: left;
  179. top: 0;
  180. }
  181. .fl-field-connection-label .prefix {
  182. margin-right: 3px;
  183. }
  184. .fl-field-connection-label .swatch {
  185. display: inline-block;
  186. width: 8px;
  187. height: 8px;
  188. border-radius: 50%;
  189. margin-top: 2px;
  190. margin-left: 4px;
  191. }
  192. .fl-field-connection-edit.fas {
  193. align-items: center;
  194. bottom: 0;
  195. color: #ccc;
  196. cursor: pointer;
  197. display: none;
  198. font-size: 15px;
  199. justify-content: center;
  200. opacity: 0;
  201. position: absolute;
  202. right: 25px;
  203. top: 0;
  204. width: 25px;
  205. }
  206. .fl-field-connection[data-form] .fl-field-connection-edit.fas {
  207. display: inline-flex;
  208. }
  209. .fl-field-connection-remove.fas {
  210. align-items: center;
  211. bottom: 0;
  212. color: #ccc;
  213. cursor: pointer;
  214. display: inline-flex;
  215. font-size: 15px;
  216. justify-content: center;
  217. opacity: 0;
  218. position: absolute;
  219. right: 0;
  220. top: 0;
  221. width: 25px;
  222. }
  223. .fl-field-connection-edit.fas:hover,
  224. .fl-field-connection-remove.fas:hover {
  225. color: #999;
  226. }
  227. .fl-field:hover .fl-field-connection-edit.fas,
  228. .fl-field:hover .fl-field-connection-remove.fas {
  229. opacity: 1;
  230. }
  231. /* Color Connections */
  232. .fl-field[data-type="color"] .fl-field-connection {
  233. cursor: pointer;
  234. }