forms.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  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-file .bx-btn {
  161. float: none;
  162. display: inline-block;
  163. }
  164. .bx-form-input-file {
  165. position: fixed;
  166. top: -1000px;
  167. border: none;
  168. background-color: transparent;
  169. }
  170. .bx-form-input-wrapper-slider,
  171. .bx-form-input-wrapper-doublerange {
  172. position:relative;
  173. }
  174. .bx-form-input-wrapper-slider .ui-slider,
  175. .bx-form-input-wrapper-doublerange .ui-slider {
  176. position:absolute;
  177. top:0px;
  178. right:0px;
  179. }
  180. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  181. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  182. z-index: 1;
  183. }
  184. /* switcher */
  185. .bx-switcher-cont {
  186. position:relative;
  187. width:60px;
  188. width:3.8rem;
  189. height:24px;
  190. height:1.5rem;
  191. overflow:hidden;
  192. cursor:pointer;
  193. background-color:#fff;
  194. border:2px solid #79bd9a;
  195. border:0.125rem solid #79bd9a;
  196. -moz-border-radius: 1rem;
  197. -webkit-border-radius: 1rem;
  198. border-radius: 1rem;
  199. }
  200. .bx-switcher-cont input {
  201. position:absolute;
  202. top:-32px;
  203. top:-2rem;
  204. }
  205. .bx-switcher-canvas {
  206. position:relative;
  207. width:90px;
  208. width:5.7rem;
  209. -webkit-transition: left 0.2s ease-in-out;
  210. -moz-transition: left 0.2s ease-in-out;
  211. -ms-transition: left 0.2s ease-in-out;
  212. -o-transition: left 0.2s ease-in-out;
  213. }
  214. .bx-switcher-cont.on .bx-switcher-canvas {
  215. left:3px;
  216. left:0.2rem;
  217. }
  218. .bx-switcher-cont.off .bx-switcher-canvas {
  219. left:-34px;
  220. left:-2.1rem;
  221. }
  222. .bx-switcher-on,
  223. .bx-switcher-off,
  224. .bx-switcher-handler {
  225. position:absolute;
  226. top:0rem;
  227. line-height:24px;
  228. line-height:1.5rem;
  229. color:#999;
  230. }
  231. .bx-switcher-on {
  232. left:0rem;
  233. width:34px;
  234. width:2.1rem;
  235. height:24px;
  236. height:1.5rem;
  237. margin-left:8px;
  238. margin-left:0.5rem;
  239. }
  240. .bx-switcher-off {
  241. left:65px;
  242. left:4.05rem;
  243. width:34px;
  244. width:2.1rem;
  245. height:24px;
  246. height:1.5rem;
  247. margin-left:3px;
  248. margin-left:0.2rem;
  249. }
  250. .bx-switcher-handler {
  251. left:36px;
  252. left:2.23rem;
  253. top:2px;
  254. top:0.13rem;
  255. width:20px;
  256. width:1.25rem;
  257. height:20px;
  258. height:1.25rem;
  259. margin:0rem;
  260. -moz-border-radius: 1rem;
  261. -webkit-border-radius: 1rem;
  262. border-radius: 1rem;
  263. -webkit-transition: background-color 0.2s ease-in-out;
  264. -moz-transition: background-color 0.2s ease-in-out;
  265. -ms-transition: background-color 0.2s ease-in-out;
  266. -o-transition: background-color 0.2s ease-in-out;
  267. transition: background-color 0.2s ease-in-out;
  268. }
  269. .bx-switcher-cont.on .bx-switcher-handler {
  270. background-color:#d0efa2;
  271. }
  272. .bx-switcher-cont.off .bx-switcher-handler {
  273. background-color:#e7938a;
  274. }
  275. .bx-form-value-oneline,
  276. .bx-form-caption-oneline {
  277. float:left;
  278. }
  279. .bx-form-caption-oneline-switcher {
  280. line-height:26px;
  281. }
  282. .bx-form-input-wrapper-submit .bx-btn {
  283. float: none;
  284. }
  285. .bx-form-input-wrapper-input_set .bx-btn {
  286. float:left;
  287. }
  288. /* extra features */
  289. .bx-form-right-line-aligned {
  290. float:right;
  291. margin-top: 5px;
  292. }
  293. /* view mode */
  294. .bx-form-row-view-wrapper > div {
  295. display: inline-block;
  296. white-space: normal;
  297. vertical-align: bottom;
  298. }
  299. .bx-form-row-view-wrapper-textarea > div {
  300. vertical-align:top;
  301. }
  302. .bx-form-row-view-caption {
  303. font-weight:bold;
  304. }
  305. /****************************************
  306. * Custom reCaptcha Theme
  307. ****************************************/
  308. .bx-form-input-captcha {
  309. background-color: #b71800;
  310. padding: 0.5em;
  311. border-radius: 1em;
  312. position: relative;
  313. overflow: auto;
  314. max-width: 480px;
  315. font: 0.75em/1em Helvetica, Arial, sans-serif;
  316. color: #ffffff;
  317. }
  318. .bx-form-input-captcha a {
  319. color: #ffffff;
  320. text-decoration: none;
  321. }
  322. .bx-form-input-captcha img,
  323. .bx-form-input-captcha #recaptcha_image {
  324. width: 100% !important;
  325. height: auto !important;
  326. -webkit-border-radius: 0.5em;
  327. -moz-border-radius: 0.5em;
  328. border-radius: 0.5em;
  329. -moz-background-clip: padding;
  330. -webkit-background-clip: padding-box;
  331. background-clip: padding-box;
  332. }
  333. .bx-form-input-captcha .solution {
  334. position: relative;
  335. float: left;
  336. width: 75%;
  337. }
  338. .bx-form-input-captcha .solution-cnt {
  339. margin-top: 0.5em;
  340. padding: 1.2em 1em;
  341. -webkit-border-radius: 0.5em;
  342. -moz-border-radius: 0.5em;
  343. border-radius: 0.5em;
  344. -moz-background-clip: padding;
  345. -webkit-background-clip: padding-box;
  346. background-clip: padding-box;
  347. background-color: #fbe098;
  348. color: #000000;
  349. display: block;
  350. }
  351. .bx-form-input-captcha .solution-cnt input {
  352. display: block;
  353. width: calc(90% - 2px);
  354. margin: 0.35em auto;
  355. -webkit-appereance: none;
  356. border: 1px solid #f7c236;
  357. font: inherit;
  358. font-size: 150%;
  359. outline: none;
  360. }
  361. .bx-form-input-captcha .solution-cnt input:focus {
  362. border-color: #b71800;
  363. }
  364. .bx-form-input-captcha .options {
  365. position: relative;
  366. float: right;
  367. width: 25%;
  368. }
  369. .bx-form-input-captcha .options-cnt {
  370. margin-top: 0.5em;
  371. padding-left: 0.5em;
  372. -webkit-border-radius: 0.5em;
  373. -moz-border-radius: 0.5em;
  374. border-radius: 0.5em;
  375. -moz-background-clip: padding;
  376. -webkit-background-clip: padding-box;
  377. background-clip: padding-box;
  378. }
  379. .bx-form-input-captcha .options-cnt a {
  380. background-color: #c5523d;
  381. display: block;
  382. padding: 0.5em 1.0em;
  383. border-top: 1px solid #000000;
  384. border-left: 1px solid #000000;
  385. border-right: 1px solid #000000;
  386. }
  387. .bx-form-input-captcha .options-cnt a:first-child {
  388. border-radius: 0.5em 0.5em 0 0;
  389. }
  390. .bx-form-input-captcha .options-cnt a:last-child {
  391. border-radius: 0 0 0.5em 0.5em;
  392. border-bottom: 1px solid #000000;
  393. }
  394. /****************************************
  395. * Overwrite 3d Party MiniColors plug-in
  396. ****************************************/
  397. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  398. top: 6px;
  399. left: 6px;
  400. width: 25px;
  401. width: 1.5625rem;
  402. height: 25px;
  403. height: 1.5625rem;
  404. border-radius: 20px;
  405. border-radius: 1.25rem;
  406. }
  407. /* auto-siggestion input */
  408. .bx-form-value .bx-form-input-autotoken {
  409. float:left;
  410. padding:0px;
  411. height:auto;
  412. }
  413. .bx-form-value .bx-form-input-autotoken b {
  414. cursor:pointer;
  415. display:block;
  416. float:left;
  417. padding:0.55em 1.5em 0.55em 0.5em;
  418. margin:0.1em;
  419. font-weight:normal;
  420. }
  421. .bx-form-value .bx-form-input-autotoken b:hover {
  422. opacity:0.7;
  423. }
  424. .bx-form-value .bx-form-input-autotoken b:after {
  425. position:absolute;
  426. content:"x";
  427. padding:0 0.5em;
  428. margin:0.2em 0 0.7em 0.5em;
  429. font-size:0.7em;
  430. font-weight:bold;
  431. }
  432. .bx-form-value .bx-form-input-autotoken input {
  433. border:0;
  434. margin:0;
  435. padding:0 0 0 5px;
  436. width:auto;
  437. }