vc_panels.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. @vc_panel-width: 700px;
  2. .vc_input-group {
  3. position: relative;
  4. display: table;
  5. border-collapse: separate;
  6. .vc_form-control {
  7. display: table-cell;
  8. position: relative;
  9. z-index: 2;
  10. float: left;
  11. width: 100%;
  12. margin-bottom: 0;
  13. }
  14. .vc_input-group-btn {
  15. position: relative;
  16. font-size: 0;
  17. white-space: nowrap;
  18. width: 1%;
  19. vertical-align: middle;
  20. display: table-cell;
  21. }
  22. }
  23. .vc_panel {
  24. .panel;
  25. width: @vc_panel-width;
  26. position: fixed;
  27. z-index: 100000;
  28. top: 74px;
  29. left: 50%;
  30. // height: auto !important;
  31. min-height: 150px;
  32. .panel-body {
  33. padding: 0;
  34. }
  35. display: none;
  36. border-color: #DDDDDD;
  37. }
  38. .vc_panel-body {
  39. .panel-body;
  40. overflow-y: auto;
  41. overflow-x: hidden;
  42. &.vc_with-tabs {
  43. margin-top: 50px;
  44. }
  45. }
  46. .vc_panel-heading {
  47. .vc_box-heading;
  48. cursor: move;
  49. }
  50. .vc_panel-footer {
  51. .panel-footer;
  52. box-sizing: border-box;
  53. .vc_btn-default {
  54. &:hover {
  55. border-color: #CCC;
  56. }
  57. &:focus {
  58. background-color: #FFF; // TODO: check
  59. }
  60. }
  61. }
  62. .vc_panel-title {
  63. .panel-title;
  64. .vc_heading(16px);
  65. border: 0 !important;
  66. }
  67. .vc_properties-list {
  68. //padding: 10px 16px;
  69. input,
  70. select,
  71. textarea {
  72. width: 100%;
  73. padding: 8px 6px;
  74. margin: 0;
  75. }
  76. input,
  77. select {
  78. font-size: 1em;
  79. }
  80. select {
  81. height: auto;
  82. }
  83. input[type="checkbox"] {
  84. width: auto;
  85. margin-left: 5px;
  86. margin-right: 2px;
  87. display: inline-block;
  88. &:nth-child(2) {
  89. margin-left: 0;
  90. }
  91. }
  92. }
  93. .vc_panel-tabs {
  94. > .vc_edit-form-tabs-menu {
  95. margin: 38px 0 10px;
  96. // margin-top 38px comes from panel-heading.OuterHeight
  97. padding-left: 10px;
  98. display: block;
  99. position: absolute;
  100. top: 0; // fixes firefox bug!
  101. left: 0;
  102. right: 0;
  103. background-color: #e6e6e6;
  104. .vc_edit-form-tab-control {
  105. display: list-item;
  106. list-style: none;
  107. float: left;
  108. position: relative;
  109. top: 0;
  110. margin: 9px 2px 0 0; // see border-bottom-width: 0
  111. border: 1px solid transparent;
  112. border-top-left-radius: 4px;
  113. border-top-right-radius: 4px;
  114. border-bottom-width: 0;
  115. padding: 0;
  116. white-space: nowrap;
  117. font-weight: normal;
  118. .transition(background-color 0.5s ease-out);
  119. color: #949494;
  120. .vc_edit-form-link {
  121. color: #949494;
  122. float: left;
  123. padding: 11px 15px;
  124. text-decoration: none;
  125. outline: none;
  126. cursor: pointer;
  127. font-size: 12px;
  128. &:focus {
  129. .box-shadow(none);
  130. }
  131. }
  132. &.vc_active {
  133. background: #ffffff;
  134. font-weight: normal;
  135. color: #595959;
  136. a {
  137. color: #595959;
  138. }
  139. }
  140. &.vc_tab-color-animated {
  141. background-color: #d7d7d7;
  142. }
  143. }
  144. > :first-child {
  145. margin-left: 6px;
  146. }
  147. }
  148. > .vc_edit-form-tab {
  149. display: none;
  150. &.vc_active {
  151. display: block;
  152. }
  153. }
  154. }
  155. .vc_panel-tabs {
  156. > .vc_panel-tabs-menu {
  157. margin: 38px 0 10px;
  158. // margin-top 38px comes from panel-heading.OuterHeight
  159. padding-left: 10px;
  160. display: block;
  161. position: absolute;
  162. top: 0; // fixes firefox bug!
  163. left: 0;
  164. right: 0;
  165. background-color: #e6e6e6;
  166. .vc_panel-tabs-control {
  167. display: list-item;
  168. list-style: none;
  169. float: left;
  170. position: relative;
  171. top: 0;
  172. margin: 9px 2px 0 0; // see border-bottom-width: 0
  173. border: 1px solid transparent;
  174. border-top-left-radius: 4px;
  175. border-top-right-radius: 4px;
  176. border-bottom-width: 0;
  177. padding: 0;
  178. white-space: nowrap;
  179. font-weight: normal;
  180. .transition(background-color 0.5s ease-out);
  181. color: #949494;
  182. .vc_panel-tabs-link {
  183. color: #949494;
  184. float: left;
  185. padding: 11px 15px;
  186. text-decoration: none;
  187. outline: none;
  188. cursor: pointer;
  189. font-size: 12px;
  190. &:focus {
  191. .box-shadow(none);
  192. }
  193. }
  194. &.vc_active {
  195. background: #ffffff;
  196. font-weight: normal;
  197. color: #595959;
  198. a {
  199. color: #595959;
  200. }
  201. }
  202. &.vc_panel-tabs-color-animated {
  203. background-color: #d7d7d7;
  204. }
  205. }
  206. > :first-child {
  207. margin-left: 6px;
  208. }
  209. }
  210. > .vc_panel-tab {
  211. display: none;
  212. padding: 10px 15px;
  213. &.vc_active {
  214. display: block;
  215. }
  216. }
  217. }
  218. .vc_panel-opacity {
  219. height: 38px !important;
  220. overflow: hidden !important;
  221. min-height: 0; // fixes min-height problem in frontend
  222. &.vc_shortcode-edit-form {
  223. padding-bottom: 0;
  224. }
  225. .vc_panel-footer, .vc_panel-body {
  226. display: none;
  227. }
  228. }
  229. .vc_description {
  230. color: #999999;
  231. display: block;
  232. font-style: italic;
  233. line-height: 20px;
  234. margin-top: 8px;
  235. clear: both;
  236. }
  237. .vc_google_fonts_form_field-preview-wrapper {
  238. margin-top: 10px;
  239. }
  240. .vc_google_fonts_form_field-preview-container {
  241. > span {
  242. font-size: 20px;
  243. }
  244. }