forms.css 10 KB

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