wms-formdesigner.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. /*
  2. * 描 述:自定义表单设计
  3. */
  4. .lr-custmerform-designer-layout {
  5. -moz-user-select: none;
  6. -webkit-user-select: none;
  7. -ms-user-select: none;
  8. -khtml-user-select: none;
  9. user-select: none;
  10. padding:0 0px 0 260px;
  11. }
  12. .lr-custmerform-designer-layout-left {
  13. position: absolute;
  14. top: 0;
  15. left: 0;
  16. height: 100%;
  17. width: 260px;
  18. border-right: 1px solid #ddd;
  19. overflow:visible;
  20. }
  21. .lr-custmerform-designer-layout-left .lr-scroll-box {
  22. height: 320px;
  23. overflow:visible;
  24. }
  25. .lr-custmerform-designer-layout-left .lr-scroll-vertical {
  26. right: 255px;
  27. }
  28. .lr-custmerform-designer-layout-right {
  29. position:absolute;
  30. top:0;
  31. right:-240px;
  32. height:100%;
  33. width:240px;
  34. border-left:1px solid #ddd;
  35. background-color:#fff;
  36. padding:6px 6px 0 6px;
  37. }
  38. .lr-custmerform-designer-layout-center {
  39. position:relative;
  40. height:100%;
  41. width:100%;
  42. padding:0 0 31px 0;
  43. }
  44. .lr-custmerform-designer-layout-center.hasTab {
  45. padding-top:44px;
  46. }
  47. .lr-custmerform-designer-layout-header {
  48. position:absolute;
  49. top:0;
  50. left:0;
  51. width:100%;
  52. height:44px;
  53. padding: 5px 5px 0 5px;
  54. display:none;
  55. }
  56. .lr-custmerform-designer-tabs .lr-scroll-box{
  57. border-bottom: 1px solid #ddd;
  58. white-space: nowrap;
  59. overflow:visible;
  60. }
  61. .lr-custmerform-designer-tabs .lr-scroll-box > div {
  62. moz-user-select: none;
  63. -webkit-user-select: none;
  64. -ms-user-select: none;
  65. -khtml-user-select: none;
  66. user-select: none;
  67. cursor: pointer;
  68. position: relative;
  69. padding: 10px 15px;
  70. margin-right: 2px;
  71. margin-bottom: -1px;
  72. border: 1px solid transparent;
  73. border-radius: 4px 4px 0 0;
  74. display: inline-block;
  75. }
  76. .lr-custmerform-designer-tabs .lr-scroll-box > div:hover {
  77. background-color: #eee;
  78. border-color: #eee #eee #ccc;
  79. }
  80. .lr-custmerform-designer-tabs .lr-scroll-box > div.active {
  81. color: #555;
  82. cursor: default;
  83. background-color: #fff;
  84. border: 1px solid #ddd;
  85. border-bottom-color: transparent;
  86. }
  87. .lr-custmerform-designer-layout-center.hasTab .lr-custmerform-designer-layout-header {
  88. display: block;
  89. }
  90. /*.lr-form-tab {
  91. white-space: nowrap;
  92. }
  93. .lr-form-tab>li {
  94. white-space: nowrap;
  95. display: inline-block !important;
  96. float: initial;
  97. }*/
  98. .lr-custmerform-designer-layout-footer {
  99. position:absolute;
  100. bottom:0;
  101. left:0;
  102. height:31px;
  103. width:100%;
  104. border-top:1px solid #ddd;
  105. z-index: 3;
  106. background-color:#fff;
  107. }
  108. .lr-custmerform-designer-layout-footer-item {
  109. position:relative;
  110. float:left;
  111. height:100%;
  112. width:100px;
  113. text-align:center;
  114. color:#666;
  115. cursor:pointer;
  116. border-right:1px solid #ddd;
  117. line-height:30px;
  118. }
  119. .lr-custmerform-designer-layout-footer-item:hover {
  120. background-color: #eee;
  121. }
  122. .lr-custmerform-designer-layout-footer-item i {
  123. width:17px;
  124. }
  125. .lr-custmerform-designer-layout-center-bg {
  126. position:absolute;
  127. top:44px;
  128. left:0;
  129. width:100%;
  130. overflow-x:hidden;
  131. }
  132. .lr-custmerform-designer-layout-tabedit {
  133. position: absolute;
  134. bottom: -269px;
  135. left: 0;
  136. width: 100%;
  137. height: 300px;
  138. z-index: 2;
  139. background-color: #fff;
  140. border-top: 1px solid #ccc;
  141. }
  142. /*设计区域*/
  143. .lr-custmerform-designer-layout-area {
  144. position: relative;
  145. width: 100%;
  146. height: 100%;
  147. z-index: 1;
  148. }
  149. .lr-custmerform-designer-layout-area .lr-scroll-box {
  150. position: relative;
  151. min-height: 100%;
  152. width: 100%;
  153. z-index: 1;
  154. padding: 8px;
  155. }
  156. .ui-state-highlight {
  157. position:relative;
  158. width:100%;
  159. height:39px;
  160. line-height:37px;
  161. margin:1px 0 2px 0;
  162. background: #FAFAE9!important;
  163. border: 2px dotted #d5d5d5;
  164. text-align:center;
  165. color: #9f9f9f;
  166. float:left;
  167. }
  168. .lr-compont-item {
  169. position: relative;
  170. height:40px!important;
  171. line-height:38px;
  172. border-top: 1px solid #eeecec;
  173. border-bottom: 1px solid #eeecec;
  174. overflow: hidden;
  175. cursor: move;
  176. margin-top: -1px;
  177. padding-left:110px;
  178. float:left;
  179. border-right: 1px solid #eeecec;
  180. }
  181. .lr-compont-title {
  182. position:absolute;
  183. top:0;
  184. left:0;
  185. width:110px;
  186. height:100%;
  187. padding-left:10px;
  188. background-color:#f5f5f5;
  189. }
  190. .lr-compont-item.active .lr-compont-title{
  191. background-color:#3498DB;
  192. color:#fff;
  193. }
  194. .lr-compont-remove {
  195. position:absolute;
  196. top:0;
  197. right:4px;
  198. z-index:1;
  199. cursor:pointer;
  200. color:#cf5c60;
  201. display:none;
  202. }
  203. .lr-compont-item.active .lr-compont-remove {
  204. display:block;
  205. }
  206. .lr-compont-value {
  207. padding-left:10px;
  208. color: #9f9f9f;
  209. }
  210. /*表单设计组件*/
  211. .lr-custmerform-component {
  212. position:relative;
  213. width: 107px;
  214. height: 30px;
  215. line-height: 28px;
  216. border: 1px solid #ddd;
  217. border-radius: 5px;
  218. cursor: pointer;
  219. box-shadow: 2px 1px 1px 1px rgba(0,0,0,.05);
  220. z-index:2;
  221. margin:12px 0 0 15px;
  222. float:left;
  223. }
  224. .lr-custmerform-component i {
  225. padding-left: 10px;
  226. width:28px;
  227. color: #2c3849;
  228. opacity: .9;
  229. }
  230. .lr-custmerform-designer-layout-left .lr-custmerform-component {
  231. margin:10px 0 0 15px;
  232. }
  233. .lr-custmerform-designer-layout-left .lr-custmerform-component:hover {
  234. color: #333;
  235. background-color: #e6e6e6;
  236. }
  237. /*组件属性设置*/
  238. .lr-component-tips{
  239. color: #9f9f9f;
  240. padding-bottom: 5px;
  241. }
  242. .lr-component-tips i
  243. {
  244. padding-right: 5px;
  245. padding-left: 2px;
  246. }
  247. .lr-component-title
  248. {
  249. height: 28px;
  250. line-height: 28px;
  251. }
  252. .lr-component-title .help
  253. {
  254. color: #9f9f9f;
  255. cursor: help;
  256. padding-left: 5px;
  257. }