forms.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. .bx-form-advanced-wrapper .bx-form-section-wrapper:first-child {
  2. margin-top:0;
  3. }
  4. .bx-form-advanced-wrapper .bx-form-section-divider:first-child {
  5. border-top:none;
  6. padding-top:0;
  7. }
  8. .bx-form-advanced-wrapper .bx-form-section-divider:first-child .bx-form-section-content {
  9. padding-top:0;
  10. }
  11. .bx-form-advanced-wrapper .bx-form-section-wrapper:last-child .bx-form-section-content {
  12. padding-bottom:0;
  13. }
  14. .bx-form-advanced-wrapper .bx-form-section-wrapper:first-child .bx-form-row-view-wrapper:first-child {
  15. padding-top:0;
  16. }
  17. .bx-form-section-wrapper {
  18. position:relative;
  19. }
  20. .bx-form-section {
  21. padding:0px;
  22. }
  23. .bx-form-section {
  24. margin:0;
  25. border: none;
  26. }
  27. .bx-form-section-header legend {
  28. position:relative;
  29. text-transform:uppercase;
  30. }
  31. .bx-form-section-header legend u {
  32. cursor:pointer;
  33. }
  34. .bx-form-section-hidden .bx-form-section-content {
  35. display:none;
  36. }
  37. .bx-form-element-wrapper:first-child {
  38. margin-top:0px;
  39. }
  40. .bx-form-caption {
  41. margin-bottom:5px;
  42. }
  43. .bx-form-required {
  44. color:red;
  45. }
  46. .bx-form-warn {
  47. color:red;
  48. font-style:italic;
  49. }
  50. .bx-form-info {
  51. }
  52. /* section toggler */
  53. .bx-form-collapsable .bx-form-section-toggler {
  54. position:absolute;
  55. left: -2px;
  56. top: 2px;
  57. width:20px;
  58. height:20px;
  59. text-decoration:none;
  60. -moz-transform: rotate(90deg);
  61. -webkit-transform: rotate(90deg);
  62. -ms-transform: rotate(90deg);
  63. -o-transform: rotate(90deg);
  64. -webkit-transition: all 0.5s ease;
  65. -moz-transition: all 0.5s ease;
  66. -ms-transition: all 0.5s ease;
  67. -o-transition: all 0.5s ease;
  68. }
  69. .bx-form-collapsed .bx-form-section-toggler {
  70. -moz-transform: rotate(0deg);
  71. -webkit-transform: rotate(0deg);
  72. -ms-transform: rotate(0deg);
  73. -o-transform: rotate(0deg);
  74. }
  75. .bx-form-section-toggler .sys-icon {
  76. display: inline-block;
  77. vertical-align: top;
  78. margin: 0 0 0 5px;
  79. font-size:1.2rem;
  80. line-height:1.2rem;
  81. }
  82. /* form inputs */
  83. .bx-form-input-wrapper {
  84. position: relative;
  85. }
  86. .bx-form-input-slider,
  87. .bx-form-input-doublerange,
  88. .bx-form-input-select_multiple,
  89. .bx-form-input-select,
  90. .bx-form-input-radio_set,
  91. .bx-form-input-checkbox_set,
  92. .bx-form-input-number,
  93. .bx-form-input-datepicker,
  94. .bx-form-input-datetime,
  95. .bx-form-input-textarea,
  96. .bx-form-input-password,
  97. .bx-form-input-text {
  98. height:40px;
  99. height:2.5rem;
  100. width:100%;
  101. -moz-box-sizing: border-box;
  102. -ms-box-sizing: border-box;
  103. -webkit-box-sizing: border-box;
  104. box-sizing: border-box;
  105. padding:7px 3px 7px 3px;
  106. padding:0.2rem 0.4rem;
  107. vertical-align:middle;
  108. border:2px solid #79bd9a;
  109. border:0.125rem solid #79bd9a;
  110. -webkit-border-radius:0.3rem;
  111. -moz-border-radius:0.3rem;
  112. border-radius:0.3rem;
  113. outline:none;
  114. background-color: #fff;
  115. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  116. filter: alpha(opacity=90);
  117. -moz-opacity: 0.9;
  118. -khtml-opacity: 0.9;
  119. opacity: 0.9;
  120. }
  121. .bx-form-input-slider:focus,
  122. .bx-form-input-doublerange:focus,
  123. .bx-form-input-number:focus,
  124. .bx-form-input-datepicker:focus,
  125. .bx-form-input-datetime:focus,
  126. .bx-form-input-textarea:focus,
  127. .bx-form-input-password:focus,
  128. .bx-form-input-text:focus {
  129. border-color:#6caa8a;
  130. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  131. filter: alpha(opacity=100);
  132. -moz-opacity: 1.0;
  133. -khtml-opacity: 1.0;
  134. opacity: 1.0;
  135. -webkit-transition: all 0.2s linear;
  136. -moz-transition: all 0.2s linear;
  137. -o-transition: all 0.2s linear;
  138. transition: all 0.2s linear;
  139. }
  140. .bx-form-input-select_multiple,
  141. .bx-form-input-radio_set,
  142. .bx-form-input-checkbox_set {
  143. height:auto;
  144. }
  145. .bx-form-input-textarea {
  146. padding:0.5rem;
  147. height:150px;
  148. height:10rem;
  149. line-height:normal;
  150. }
  151. .bx-form-input-datepicker {
  152. width:7.5rem;
  153. }
  154. .bx-form-input-datetime {
  155. width:10.2rem;
  156. }
  157. .bx-form-input-number {
  158. width:6rem;
  159. }
  160. .bx-form-input-wrapper-slider,
  161. .bx-form-input-wrapper-doublerange {
  162. position:relative;
  163. }
  164. .bx-form-input-wrapper-slider .ui-slider,
  165. .bx-form-input-wrapper-doublerange .ui-slider {
  166. position:absolute;
  167. top:0px;
  168. right:0px;
  169. }
  170. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  171. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  172. z-index: 1;
  173. }
  174. /* switcher */
  175. .bx-switcher-cont {
  176. position:relative;
  177. width:60px;
  178. width:3.8rem;
  179. height:24px;
  180. height:1.5rem;
  181. overflow:hidden;
  182. cursor:pointer;
  183. background-color:#fff;
  184. border:2px solid #79bd9a;
  185. border:0.125rem solid #79bd9a;
  186. -moz-border-radius: 1rem;
  187. -webkit-border-radius: 1rem;
  188. border-radius: 1rem;
  189. }
  190. .bx-switcher-cont input {
  191. position:absolute;
  192. top:-32px;
  193. top:-2rem;
  194. }
  195. .bx-switcher-canvas {
  196. position:relative;
  197. width:90px;
  198. width:5.7rem;
  199. -webkit-transition: left 0.2s ease-in-out;
  200. -moz-transition: left 0.2s ease-in-out;
  201. -ms-transition: left 0.2s ease-in-out;
  202. -o-transition: left 0.2s ease-in-out;
  203. }
  204. .bx-switcher-cont.on .bx-switcher-canvas {
  205. left:3px;
  206. left:0.2rem;
  207. }
  208. .bx-switcher-cont.off .bx-switcher-canvas {
  209. left:-34px;
  210. left:-2.1rem;
  211. }
  212. .bx-switcher-on,
  213. .bx-switcher-off,
  214. .bx-switcher-handler {
  215. position:absolute;
  216. top:0rem;
  217. line-height:24px;
  218. line-height:1.5rem;
  219. color:#999;
  220. }
  221. .bx-switcher-on {
  222. left:0rem;
  223. width:34px;
  224. width:2.1rem;
  225. height:24px;
  226. height:1.5rem;
  227. margin-left:8px;
  228. margin-left:0.5rem;
  229. }
  230. .bx-switcher-off {
  231. left:65px;
  232. left:4.05rem;
  233. width:34px;
  234. width:2.1rem;
  235. height:24px;
  236. height:1.5rem;
  237. margin-left:3px;
  238. margin-left:0.2rem;
  239. }
  240. .bx-switcher-handler {
  241. left:36px;
  242. left:2.23rem;
  243. top:2px;
  244. top:0.13rem;
  245. width:20px;
  246. width:1.25rem;
  247. height:20px;
  248. height:1.25rem;
  249. margin:0rem;
  250. -moz-border-radius: 1rem;
  251. -webkit-border-radius: 1rem;
  252. border-radius: 1rem;
  253. -webkit-transition: background-color 0.2s ease-in-out;
  254. -moz-transition: background-color 0.2s ease-in-out;
  255. -ms-transition: background-color 0.2s ease-in-out;
  256. -o-transition: background-color 0.2s ease-in-out;
  257. transition: background-color 0.2s ease-in-out;
  258. }
  259. .bx-switcher-cont.on .bx-switcher-handler {
  260. background-color:#d0efa2;
  261. }
  262. .bx-switcher-cont.off .bx-switcher-handler {
  263. background-color:#e7938a;
  264. }
  265. .bx-form-value-oneline,
  266. .bx-form-caption-oneline {
  267. float:left;
  268. }
  269. .bx-form-caption-oneline-switcher {
  270. line-height:26px;
  271. }
  272. .bx-form-input-wrapper-submit .bx-btn {
  273. float: none;
  274. }
  275. .bx-form-input-wrapper-input_set .bx-btn {
  276. float:left;
  277. }
  278. /* extra features */
  279. .bx-form-right-line-aligned {
  280. float:right;
  281. margin-top: 5px;
  282. }
  283. /* view mode */
  284. .bx-form-row-view-wrapper > div {
  285. display: inline-block;
  286. white-space: normal;
  287. vertical-align: bottom;
  288. }
  289. .bx-form-row-view-wrapper-textarea > div {
  290. vertical-align:top;
  291. }
  292. .bx-form-row-view-caption {
  293. font-weight:bold;
  294. }
  295. /****************************************
  296. * Custom reCaptcha Theme
  297. ****************************************/
  298. .bx-form-input-captcha {
  299. background-color: #b71800;
  300. padding: 0.5em;
  301. border-radius: 1em;
  302. position: relative;
  303. overflow: auto;
  304. max-width: 480px;
  305. font: 0.75em/1em Helvetica, Arial, sans-serif;
  306. color: #ffffff;
  307. }
  308. .bx-form-input-captcha a {
  309. color: #ffffff;
  310. text-decoration: none;
  311. }
  312. .bx-form-input-captcha img,
  313. .bx-form-input-captcha #recaptcha_image {
  314. width: 100% !important;
  315. height: auto !important;
  316. -webkit-border-radius: 0.5em;
  317. -moz-border-radius: 0.5em;
  318. border-radius: 0.5em;
  319. -moz-background-clip: padding;
  320. -webkit-background-clip: padding-box;
  321. background-clip: padding-box;
  322. }
  323. .bx-form-input-captcha .solution {
  324. position: relative;
  325. float: left;
  326. width: 75%;
  327. }
  328. .bx-form-input-captcha .solution-cnt {
  329. margin-top: 0.5em;
  330. padding: 1.2em 1em;
  331. -webkit-border-radius: 0.5em;
  332. -moz-border-radius: 0.5em;
  333. border-radius: 0.5em;
  334. -moz-background-clip: padding;
  335. -webkit-background-clip: padding-box;
  336. background-clip: padding-box;
  337. background-color: #fbe098;
  338. color: #000000;
  339. display: block;
  340. }
  341. .bx-form-input-captcha .solution-cnt input {
  342. display: block;
  343. width: calc(90% - 2px);
  344. margin: 0.35em auto;
  345. -webkit-appereance: none;
  346. border: 1px solid #f7c236;
  347. font: inherit;
  348. font-size: 150%;
  349. outline: none;
  350. }
  351. .bx-form-input-captcha .solution-cnt input:focus {
  352. border-color: #b71800;
  353. }
  354. .bx-form-input-captcha .options {
  355. position: relative;
  356. float: right;
  357. width: 25%;
  358. }
  359. .bx-form-input-captcha .options-cnt {
  360. margin-top: 0.5em;
  361. padding-left: 0.5em;
  362. -webkit-border-radius: 0.5em;
  363. -moz-border-radius: 0.5em;
  364. border-radius: 0.5em;
  365. -moz-background-clip: padding;
  366. -webkit-background-clip: padding-box;
  367. background-clip: padding-box;
  368. }
  369. .bx-form-input-captcha .options-cnt a {
  370. background-color: #c5523d;
  371. display: block;
  372. padding: 0.5em 1.0em;
  373. border-top: 1px solid #000000;
  374. border-left: 1px solid #000000;
  375. border-right: 1px solid #000000;
  376. }
  377. .bx-form-input-captcha .options-cnt a:first-child {
  378. border-radius: 0.5em 0.5em 0 0;
  379. }
  380. .bx-form-input-captcha .options-cnt a:last-child {
  381. border-radius: 0 0 0.5em 0.5em;
  382. border-bottom: 1px solid #000000;
  383. }
  384. /****************************************
  385. * Overwrite 3d Party MiniColors plug-in
  386. ****************************************/
  387. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  388. top: 6px;
  389. left: 6px;
  390. width: 25px;
  391. width: 1.5625rem;
  392. height: 25px;
  393. height: 1.5625rem;
  394. border-radius: 20px;
  395. border-radius: 1.25rem;
  396. }
  397. /* auto-siggestion input */
  398. .bx-form-value .bx-form-input-autotoken {
  399. float:left;
  400. padding:0px;
  401. height:auto;
  402. }
  403. .bx-form-value .bx-form-input-autotoken b {
  404. cursor:pointer;
  405. display:block;
  406. float:left;
  407. padding:0.55em 1.5em 0.55em 0.5em;
  408. margin:0.1em;
  409. font-weight:normal;
  410. }
  411. .bx-form-value .bx-form-input-autotoken b:hover {
  412. opacity:0.7;
  413. }
  414. .bx-form-value .bx-form-input-autotoken b:after {
  415. position:absolute;
  416. content:"x";
  417. padding:0 0.5em;
  418. margin:0.2em 0 0.7em 0.5em;
  419. font-size:0.7em;
  420. font-weight:bold;
  421. }
  422. .bx-form-value .bx-form-input-autotoken input {
  423. border:0;
  424. margin:0;
  425. padding:0 0 0 5px;
  426. width:auto;
  427. }