forms.css 10 KB

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