automapper.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. @import "../backend_shortcodes/rows_columns.less";
  2. @import "../lib/controls.less";
  3. @import "../lib/backend_controls.less";
  4. @import "../backend_shortcodes/empty_containers.less";
  5. @import "../shortcodes/_shortcodes_container.less";
  6. #vc_settings-automapper {
  7. .vc_atm-message {
  8. padding: 10px;
  9. }
  10. .vc_automapper-toolbar {
  11. margin-bottom: 15px;
  12. }
  13. .vc_automapper-list {
  14. width: 100%;
  15. .vc_automapper-item {
  16. label {
  17. color: #446591;
  18. }
  19. display: block;
  20. margin: 0 0 1px 0;
  21. background: #E7E7E7;
  22. padding: 10px;
  23. .vc_automapper-item-controls {
  24. a {
  25. display: block;
  26. float: right;
  27. cursor: pointer;
  28. background-image: url('../vc/atm_controls.png');
  29. background-repeat: no-repeat;
  30. width: 16px;
  31. height: 16px;
  32. &.vc_automapper-edit-btn {
  33. background-position: -16px -32px;
  34. margin-right: 5px;
  35. }
  36. &.vc_automapper-delete-btn {
  37. }
  38. background-position: -16px -64px;
  39. }
  40. }
  41. }
  42. }
  43. .vc_add-form-atm {
  44. padding: 15px;
  45. border: 1px solid #e5e5e5;
  46. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  47. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  48. label {
  49. font-size: 16px;
  50. }
  51. .description {
  52. display: block;
  53. }
  54. .vc_wrapper {
  55. display: table;
  56. margin: 10px 0;
  57. .vc_string {
  58. display: table-cell;
  59. width: 100%;
  60. padding: 0;
  61. input {
  62. .box-sizing(border-box);
  63. width: 100%;
  64. }
  65. }
  66. .vc_buttons {
  67. width: 190px;
  68. margin-left: 10px;
  69. display: inline-block;
  70. .button {
  71. margin-top: -6px;
  72. }
  73. }
  74. }
  75. }
  76. .vc_edit-form {
  77. h4 {
  78. margin: 0.5em 0;
  79. font-size: 16px;
  80. font-weight: normal;
  81. }
  82. .vc_line {
  83. height: 1px;
  84. margin: 0;
  85. background: #e3e3e3;
  86. }
  87. .vc_wrapper {
  88. padding: 15px;
  89. position: relative;
  90. }
  91. .vc_shortcode-preview {
  92. text-align: center;
  93. width: 90%;
  94. margin: 15px auto;
  95. padding: 10px;
  96. background: #f2f2f2;
  97. border: 1px solid #e3e3e3;
  98. color: #8a8a8a;
  99. .vc_active {
  100. color: #0074A2;
  101. }
  102. }
  103. .vc_field {
  104. float: left;
  105. padding: 5px;
  106. width: 48%;
  107. .box-sizing(border-box);
  108. label {
  109. padding: 0;
  110. display: inline-block;
  111. vertical-align: top;
  112. margin-top: 6px;
  113. height: 22px;
  114. width: 30%;
  115. font-weight: bold;
  116. }
  117. input[type=text], textarea {
  118. width: 65%;
  119. float: right;
  120. }
  121. &.vc_is-container {
  122. clear: both;
  123. float: none;
  124. label {
  125. margin-left: 30%;
  126. width: 65%;
  127. }
  128. }
  129. &.vc_description {
  130. float: right;
  131. textarea {
  132. height: 70px;
  133. }
  134. }
  135. }
  136. .vc_add-param {
  137. position: absolute;
  138. top: 18px;
  139. right: 15px;
  140. }
  141. .vc_params {
  142. margin-top: 30px;
  143. display: table;
  144. width: 100%;
  145. .vc_param {
  146. .vc_fields {
  147. .vc_param-field {
  148. display: inline-block;
  149. height: auto;
  150. vertical-align: top;
  151. padding: 3px 6px 3px 8px;
  152. .box-sizing(border-box);
  153. width: 19%;
  154. label {
  155. font-weight: bold;
  156. padding: 6px 0;
  157. display: block;
  158. }
  159. .description {
  160. margin: 6px 0;
  161. display: block;
  162. }
  163. input[type=text], select, textarea {
  164. width: 100%;
  165. }
  166. }
  167. // 782 because it is wordpress value
  168. @media (max-width: 782px) {
  169. .vc_param-field {
  170. width: 100%;
  171. float: left;
  172. }
  173. }
  174. }
  175. &.vc_content {
  176. .vc_delete-param {
  177. display: none;
  178. }
  179. }
  180. }
  181. .vc_sortable-placeholder {
  182. height: 30px;
  183. background: url(../vc/pattern.gif);
  184. }
  185. }
  186. > .vc_buttons {
  187. clear: both;
  188. background-color: #F7F7F7;
  189. padding: 15px;
  190. .vc_atm-delete {
  191. float: right;
  192. clear: both;
  193. }
  194. }
  195. }
  196. // Widget like style
  197. .widget {
  198. .widget-top {
  199. cursor: pointer;
  200. .vc_atm-header {
  201. display: block;
  202. margin: 0;
  203. padding: 7px 15px;
  204. line-height: 1;
  205. overflow: hidden;
  206. white-space: nowrap;
  207. text-overflow: ellipsis;
  208. .user-select(none);
  209. }
  210. }
  211. &.vc_opened {
  212. .vc_header-name {
  213. width: 245px;
  214. }
  215. .widget-top {
  216. cursor: default;
  217. background: #f1f1f1;
  218. .toggle-indicator:after { display: none; }
  219. .toggle-indicator:before {
  220. content: '\f142';
  221. cursor: pointer;
  222. }
  223. }
  224. }
  225. }
  226. }