form-render.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. /*
  2. formBuilder - git@github.com:kevinchappell/formBuilder.git
  3. Version: 1.6.2
  4. Author: Kevin Chappell <kevin.b.chappell@gmail.com>
  5. */
  6. * {
  7. box-sizing: border-box;
  8. }
  9. button,
  10. input,
  11. select,
  12. textarea {
  13. font-family: inherit;
  14. font-size: inherit;
  15. line-height: inherit;
  16. }
  17. input {
  18. line-height: normal;
  19. }
  20. button,
  21. input,
  22. optgroup,
  23. select,
  24. textarea {
  25. margin: 0;
  26. font: inherit;
  27. color: inherit;
  28. }
  29. textarea {
  30. overflow: auto;
  31. }
  32. button,
  33. input,
  34. select,
  35. textarea {
  36. font-family: inherit;
  37. font-size: inherit;
  38. line-height: inherit;
  39. }
  40. .btn-group {
  41. position: relative;
  42. display: inline-block;
  43. vertical-align: middle;
  44. }
  45. .btn-group > .btn {
  46. position: relative;
  47. float: left;
  48. }
  49. .btn {
  50. display: inline-block;
  51. padding: 6px 12px;
  52. margin-bottom: 0;
  53. font-size: 14px;
  54. font-weight: 400;
  55. line-height: 1.42857143;
  56. text-align: center;
  57. white-space: nowrap;
  58. vertical-align: middle;
  59. -ms-touch-action: manipulation;
  60. touch-action: manipulation;
  61. cursor: pointer;
  62. -webkit-user-select: none;
  63. -moz-user-select: none;
  64. -ms-user-select: none;
  65. user-select: none;
  66. background-image: none;
  67. border: 1px solid transparent;
  68. border-radius: 4px;
  69. }
  70. .btn.btn-default {
  71. color: #333;
  72. background-color: #fff;
  73. border-color: #ccc;
  74. }
  75. .btn-group .btn + .btn,
  76. .btn-group .btn + .btn-group,
  77. .btn-group .btn-group + .btn,
  78. .btn-group .btn-group + .btn-group {
  79. margin-left: -1px;
  80. }
  81. .btn-group > .btn:last-child:not(:first-child),
  82. .btn-group > .dropdown-toggle:not(:first-child) {
  83. border-top-left-radius: 0;
  84. border-bottom-left-radius: 0;
  85. }
  86. .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  87. border-top-right-radius: 0;
  88. border-bottom-right-radius: 0;
  89. }
  90. .btn-group-vertical > .btn.active,
  91. .btn-group-vertical > .btn:active,
  92. .btn-group-vertical > .btn:focus,
  93. .btn-group-vertical > .btn:hover,
  94. .btn-group > .btn.active,
  95. .btn-group > .btn:active,
  96. .btn-group > .btn:focus,
  97. .btn-group > .btn:hover {
  98. z-index: 2;
  99. }
  100. .btn-primary {
  101. color: #fff;
  102. background-color: #337ab7;
  103. border-color: #2e6da4;
  104. }
  105. .btn-danger {
  106. color: #fff;
  107. background-color: #d9534f;
  108. border-color: #d43f3a;
  109. }
  110. .btn-default {
  111. color: #333;
  112. background-color: #fff;
  113. border-color: #ccc;
  114. }
  115. .btn-primary:hover {
  116. color: #fff;
  117. background-color: #286090;
  118. border-color: #204d74;
  119. }
  120. .input-group .form-control:last-child,
  121. .input-group-addon:last-child,
  122. .input-group-btn:first-child > .btn-group:not(:first-child) > .btn,
  123. .input-group-btn:first-child > .btn:not(:first-child),
  124. .input-group-btn:last-child > .btn,
  125. .input-group-btn:last-child > .btn-group > .btn,
  126. .input-group-btn:last-child > .dropdown-toggle {
  127. border-top-left-radius: 0;
  128. border-bottom-left-radius: 0;
  129. }
  130. .input-group .form-control,
  131. .input-group-addon,
  132. .input-group-btn {
  133. display: table-cell;
  134. }
  135. .input-group-lg > .form-control,
  136. .input-group-lg > .input-group-addon,
  137. .input-group-lg > .input-group-btn > .btn {
  138. height: 46px;
  139. padding: 10px 16px;
  140. font-size: 18px;
  141. line-height: 1.3333333;
  142. border-radius: 6px;
  143. }
  144. .input-group .form-control {
  145. position: relative;
  146. z-index: 2;
  147. float: left;
  148. width: 100%;
  149. margin-bottom: 0;
  150. }
  151. .input-group {
  152. position: relative;
  153. display: table;
  154. border-collapse: separate;
  155. }
  156. .form-control,
  157. output {
  158. font-size: 14px;
  159. line-height: 1.42857143;
  160. color: #555;
  161. display: block;
  162. }
  163. textarea.form-control {
  164. height: auto;
  165. }
  166. .form-control {
  167. height: 34px;
  168. display: block;
  169. width: 100%;
  170. padding: 6px 12px;
  171. font-size: 14px;
  172. line-height: 1.42857143;
  173. color: #555;
  174. background-color: #fff;
  175. background-image: none;
  176. border: 1px solid #ccc;
  177. border-radius: 4px;
  178. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  179. -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  180. transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  181. }
  182. .form-group {
  183. margin-bottom: 15px;
  184. height: auto;
  185. overflow: hidden;
  186. }
  187. .btn,
  188. .form-control {
  189. background-image: none;
  190. }
  191. .kc-toggle {
  192. position: relative;
  193. margin: 4px 0 0 2px;
  194. width: 60px;
  195. height: 21px;
  196. border-radius: 3px;
  197. cursor: pointer;
  198. overflow: hidden;
  199. display: inline-block;
  200. background: #e9e9e9;
  201. border: 1px solid #cbcbcb;
  202. vertical-align: bottom;
  203. -webkit-touch-callout: none;
  204. -webkit-user-select: none;
  205. -khtml-user-select: none;
  206. -moz-user-select: none;
  207. -ms-user-select: none;
  208. user-select: none;
  209. }
  210. .kc-toggle .kct-inner {
  211. position: absolute;
  212. top: 0;
  213. left: -28px;
  214. width: 115px;
  215. height: 100%;
  216. -webkit-transition: left 150ms ease;
  217. transition: left 150ms ease;
  218. }
  219. .kc-toggle.on .kct-inner {
  220. background: #e2e2e2;
  221. background: -webkit-linear-gradient(top, #e2e2e2 0%, #ffffff 100%);
  222. background: linear-gradient(to bottom, #e2e2e2 0%, #ffffff 100%);
  223. left: 0;
  224. }
  225. .kc-toggle input {
  226. display: none;
  227. position: absolute;
  228. z-index: -1;
  229. opacity: 0;
  230. margin: 0;
  231. padding: 0;
  232. width: 100%;
  233. height: 100%;
  234. }
  235. .kc-toggle
  236. .kct-on {
  237. color: #12a912;
  238. }
  239. .kct-off {
  240. color: #666;
  241. }
  242. .kct-on, .kct-off, .kct-handle {
  243. width: 28px;
  244. height: 100%;
  245. font-family: Arial, Tahoma, sans-serif;
  246. font-size: 12px;
  247. text-align: center;
  248. line-height: 22px;
  249. font-weight: bold;
  250. float: left;
  251. }
  252. .kct-on, .kct-off {
  253. position: relative;
  254. }
  255. .kct-handle {
  256. position: relative;
  257. height: 17px;
  258. background: #ffffff;
  259. background: -webkit-linear-gradient(top, #ffffff 0%, #cecece 100%);
  260. background: linear-gradient(to bottom, #ffffff 0%, #cecece 100%);
  261. border: 1px solid #999;
  262. font-weight: 100;
  263. color: #4b4b4b;
  264. text-shadow: none;
  265. border-radius: 3px;
  266. margin: 1px;
  267. }
  268. .inner-checkbox {
  269. float: left;
  270. display: block;
  271. height: auto;
  272. overflow: hidden;
  273. padding-right: 5px;
  274. line-height: 25px;
  275. }