暂无描述

um-admin-builder.css 6.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. /*
  2. - General
  3. */
  4. .um-admin-builder * {
  5. -webkit-font-smoothing: antialiased !important;
  6. -moz-osx-font-smoothing: grayscale;
  7. }
  8. .um-admin-builder i {
  9. font-size: 15px !important;
  10. height: 100% !important;
  11. line-height: 100% !important;
  12. margin: 0 5px 0 0 !important;
  13. }
  14. .um-admin-builder .um-admin-drag {margin-top: 40px}
  15. /*
  16. - Add field
  17. */
  18. .um-admin-drag-add-field {
  19. display: block;
  20. width: 100%;
  21. height: 30px;
  22. line-height: 30px;
  23. text-align: center;
  24. color: #aaa;
  25. text-decoration: none;
  26. }
  27. .um-admin-drag-add-field:hover {color: #0085ba}
  28. .um-admin-drag-add-field i {
  29. font-size: 23px !important;
  30. margin: 0 !important;
  31. }
  32. /*
  33. - Drag controls
  34. */
  35. .um-admin-drag-ctrls-demo.um-admin-drag-ctrls {
  36. position: absolute;
  37. right: 7px;
  38. top: -30px;
  39. left: auto;
  40. }
  41. .um-admin-drag-ctrls {
  42. position: absolute;
  43. top: -30px;
  44. left: 0;
  45. }
  46. .um-admin-drag-ctrls a {
  47. float: left;
  48. margin: 0 5px 0 0;
  49. height: 30px;
  50. line-height: 30px;
  51. background: #eee;
  52. color: #888;
  53. padding: 0 8px;
  54. text-decoration: none;
  55. border-radius: 2px 2px 0 0;
  56. }
  57. .um-admin-drag-ctrls a:hover {background-color: #e5e5e5}
  58. .um-admin-drag-ctrls a.active,
  59. .um-admin-drag-ctrls a.active:hover {
  60. /*background-color: #3ba1da;*/
  61. background-color: #0085ba;
  62. color: #fff;
  63. }
  64. .um-admin-drag-ctrls.columns a {width: 30px !important;background-image: url(../img/1-column.gif); background-repeat: no-repeat; background-position: center;}
  65. .um-admin-drag-ctrls.columns a:nth-child(2) {background-image: url(../img/2-columns.gif);}
  66. .um-admin-drag-ctrls.columns a:last-child {background-image: url(../img/3-columns.gif);}
  67. .um-admin-drag-ctrls.columns a.active {background-image: url(../img/1-column-active.gif)}
  68. .um-admin-drag-ctrls.columns a.active:nth-child(2) {background-image: url(../img/2-columns-active.gif);}
  69. .um-admin-drag-ctrls.columns a.active:last-child {background-image: url(../img/3-columns-active.gif);}
  70. /*
  71. - Drag Area
  72. */
  73. .um-admin-drag {
  74. width: 100%;
  75. background: #f1f1f1;
  76. box-sizing: border-box;
  77. position: relative;
  78. padding: 60px 20px 20px 20px;
  79. }
  80. .um-admin-drag-row {
  81. width: 100%;
  82. background: #fefefe;
  83. box-sizing: border-box;
  84. position: relative;
  85. padding: 60px 20px 20px 20px;
  86. margin: 0 0 60px 0;
  87. }
  88. .um-admin-drag-row:last-child {margin-bottom: 0}
  89. .um-admin-drag-row-icons {
  90. position: absolute;
  91. right: 0;
  92. top: -30px;
  93. height: 30px;
  94. }
  95. .um-admin-drag-rowsub {
  96. position: relative;
  97. box-sizing: border-box;
  98. background: #f1f1f1;
  99. padding: 20px;
  100. margin: 0 0 60px 0;
  101. }
  102. .um-admin-drag-rowsub:last-child {margin-bottom: 0}
  103. .um-admin-drag-rowsub-icons {
  104. position: absolute;
  105. right: 0;
  106. top: -30px;
  107. height: 30px;
  108. }
  109. .um-admin-drag-col {
  110. float: left;
  111. width: 100%;
  112. background: #fff;
  113. border: 1px dashed #bbb;
  114. box-sizing: border-box;
  115. padding: 20px;
  116. }
  117. .um-admin-drag-col.cols-3 {width: 32%;}
  118. .um-admin-drag-col.cols-3.cols-last {width: 32%;}
  119. .um-admin-drag-col.cols-3.cols-middle {width: 32%;margin: 0 2%;}
  120. .um-admin-drag-col.cols-1 {width: 100%;}
  121. .um-admin-drag-col.cols-1.cols-last {width: 100%;}
  122. .um-admin-drag-col.cols-1.cols-middle {}
  123. .um-admin-drag-col.cols-2 {width: 49%;margin: 0 1% 0 0}
  124. .um-admin-drag-col.cols-2.cols-last {width: 49%;margin: 0 0 0 1%;}
  125. .um-admin-drag-col.cols-2.cols-middle {}
  126. .um-admin-drag-addrow {
  127. text-align: center;
  128. font-size: 14px;
  129. color: #888;
  130. cursor: pointer;
  131. border: 1px dashed #bbb;
  132. padding: 10px 0;
  133. margin: 20px 0 0 0;
  134. }
  135. .um-admin-drag-addrow i {
  136. font-size: 23px !important;
  137. margin: 0 !important;
  138. }
  139. .um-admin-drag-addrow:hover {color: #0085ba}
  140. /*
  141. - Fields
  142. */
  143. .um-admin-drag-fld {
  144. display: block;
  145. position: relative;
  146. border: 1px solid #dddddd;
  147. margin: 0 0 15px 0;
  148. background: #F5F5F5;
  149. cursor: move !important;
  150. }
  151. .um-admin-drag-fld-title i {
  152. width: 24px;
  153. display: inline-block;
  154. text-align: center;
  155. }
  156. .um-admin-drag-fld.um-field-type-group {background: #555;border: 0}
  157. .um-admin-drag-fld-title.um-field-type-group,.um-admin-drag-fld-type.um-field-type-group {color: #fff}
  158. .um-admin-drag-group {background: #FCFCFC;cursor: default;padding: 20px;border: 1px dashed #bbb;}
  159. .um-admin-drag-col.cols-3 .um-admin-drag-fld-icons.um-field-type-group{float: left;position: relative;bottom: auto;right: auto;height: 30px;display: block;}
  160. .um-admin-drag-fld-icons.um-field-type-group a.um_admin_duplicate_field {display: none !important}
  161. .um-admin-drag-fld-title,
  162. .um-admin-drag-fld-type {
  163. float: left;
  164. font-weight: bold;
  165. font-size: 13px;
  166. color: #666;
  167. height: 30px;
  168. line-height: 30px;
  169. margin: 0 0 0 20px;
  170. }
  171. .um-admin-drag-fld-type {
  172. font-weight: 400;
  173. color: #999;
  174. }
  175. .um-admin-drag-fld-icons {
  176. float: right;
  177. }
  178. /*
  179. - Responsive cols appearance
  180. */
  181. .um-admin-drag-col.cols-3 .um-admin-drag-fld-title,
  182. .um-admin-drag-col.cols-3 .um-admin-drag-fld-type {
  183. height: auto;
  184. line-height: 18px;
  185. margin: 10px;
  186. margin-bottom: 0;
  187. }
  188. .um-admin-drag-col.cols-3 .um-admin-drag-fld-type {
  189. margin: 10px;
  190. }
  191. .um-admin-drag-col.cols-3 .um-admin-drag-fld-icons {
  192. float: none;
  193. position: absolute;
  194. bottom: 0;
  195. right: 0;
  196. height: 30px;
  197. display: none;
  198. }
  199. .um-admin-drag-col.cols-3 .um-admin-drag-fld:hover .um-admin-drag-fld-icons{display: block;}
  200. /*
  201. - Icons
  202. */
  203. .um-admin-drag-row-icons a,
  204. .um-admin-drag-row-icons span,
  205. .um-admin-drag-rowsub-icons a,
  206. .um-admin-drag-rowsub-icons span,
  207. .um-admin-drag-fld-icons a{
  208. text-decoration: none;
  209. color: #fff;
  210. width: 40px;
  211. height: 30px;
  212. line-height: 30px;
  213. text-align: center;
  214. display: block !important;
  215. float: left;
  216. /*background: #44b0ec;*/
  217. background: #0085ba;
  218. padding: 0 4px;
  219. transition: all .2s linear;
  220. border-left: 1px solid #379dd5;
  221. }
  222. .um-admin-drag-row-icons span,
  223. .um-admin-drag-rowsub-icons span
  224. {cursor: move!important}
  225. .um-admin-drag-row-icons a:hover,
  226. .um-admin-drag-row-icons span:hover,
  227. .um-admin-drag-rowsub-icons a:hover,
  228. .um-admin-drag-rowsub-icons span:hover,
  229. .um-admin-drag-fld-icons a:hover {background: #008ec2;/*background: #3396cd;*/}
  230. .um-admin-drag-row-icons i,
  231. .um-admin-drag-rowsub-icons i,
  232. .um-admin-drag-fld-icons i{
  233. font-size: 18px !important;
  234. margin: 0 !important;
  235. top: 2px;
  236. position: relative;
  237. }
  238. /*
  239. - UI Placeholders
  240. */
  241. .um-row-placeholder {
  242. width: 100%;
  243. border: 2px dashed #aaa;
  244. box-sizing: border-box;
  245. }
  246. .um-rowsub-placeholder {
  247. width: 100%;
  248. border: 2px dashed #ccc;
  249. box-sizing: border-box;
  250. display: block;
  251. }
  252. .um-fld-placeholder {
  253. display: block;
  254. border: 1px dashed #dddddd;
  255. background: #fff;
  256. box-sizing: border-box;
  257. width: 100%;
  258. }
  259. .um-admin-preview-overlay {
  260. position: absolute;
  261. top:0;
  262. bottom: 0;
  263. left: 0;
  264. right: 0;
  265. background-color: rgba(255,255,255,0);
  266. z-index: 100;
  267. }
  268. #UM_preview_form .um-admin-modal-body {
  269. position: relative;
  270. }