forms.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  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. position: relative;
  299. display: inline-block;
  300. width: 100%;
  301. vertical-align: bottom;
  302. white-space: normal;
  303. text-overflow: ellipsis;
  304. overflow: hidden;
  305. }
  306. .bx-form-row-view-wrapper-textarea > div {
  307. vertical-align:top;
  308. }
  309. .bx-form-row-view-caption {
  310. font-weight:bold;
  311. }
  312. /****************************************
  313. * Custom reCaptcha Theme
  314. ****************************************/
  315. .bx-form-input-captcha-custom {
  316. background-color: #b71800;
  317. padding: 0.5em;
  318. border-radius: 1em;
  319. position: relative;
  320. overflow: auto;
  321. max-width: 480px;
  322. font: 0.75em/1em Helvetica, Arial, sans-serif;
  323. color: #ffffff;
  324. }
  325. .bx-form-input-captcha-custom a {
  326. color: #ffffff;
  327. text-decoration: none;
  328. }
  329. .bx-form-input-captcha-custom img,
  330. .bx-form-input-captcha-custom #recaptcha_image {
  331. width: 100% !important;
  332. height: auto !important;
  333. -webkit-border-radius: 0.5em;
  334. -moz-border-radius: 0.5em;
  335. border-radius: 0.5em;
  336. -moz-background-clip: padding;
  337. -webkit-background-clip: padding-box;
  338. background-clip: padding-box;
  339. }
  340. .bx-form-input-captcha-custom .solution {
  341. position: relative;
  342. float: left;
  343. width: 75%;
  344. }
  345. .bx-form-input-captcha-custom .solution-cnt {
  346. margin-top: 0.5em;
  347. padding: 1.2em 1em;
  348. -webkit-border-radius: 0.5em;
  349. -moz-border-radius: 0.5em;
  350. border-radius: 0.5em;
  351. -moz-background-clip: padding;
  352. -webkit-background-clip: padding-box;
  353. background-clip: padding-box;
  354. background-color: #fbe098;
  355. color: #000000;
  356. display: block;
  357. }
  358. .bx-form-input-captcha-custom .solution-cnt input {
  359. display: block;
  360. width: calc(90% - 2px);
  361. margin: 0.35em auto;
  362. -webkit-appereance: none;
  363. border: 1px solid #f7c236;
  364. font: inherit;
  365. font-size: 150%;
  366. outline: none;
  367. }
  368. .bx-form-input-captcha-custom .solution-cnt input:focus {
  369. border-color: #b71800;
  370. }
  371. .bx-form-input-captcha-custom .options {
  372. position: relative;
  373. float: right;
  374. width: 25%;
  375. }
  376. .bx-form-input-captcha-custom .options-cnt {
  377. margin-top: 0.5em;
  378. padding-left: 0.5em;
  379. -webkit-border-radius: 0.5em;
  380. -moz-border-radius: 0.5em;
  381. border-radius: 0.5em;
  382. -moz-background-clip: padding;
  383. -webkit-background-clip: padding-box;
  384. background-clip: padding-box;
  385. }
  386. .bx-form-input-captcha-custom .options-cnt a {
  387. background-color: #c5523d;
  388. display: block;
  389. padding: 0.5em 1.0em;
  390. border-top: 1px solid #000000;
  391. border-left: 1px solid #000000;
  392. border-right: 1px solid #000000;
  393. }
  394. .bx-form-input-captcha-custom .options-cnt a:first-child {
  395. border-radius: 0.5em 0.5em 0 0;
  396. }
  397. .bx-form-input-captcha-custom .options-cnt a:last-child {
  398. border-radius: 0 0 0.5em 0.5em;
  399. border-bottom: 1px solid #000000;
  400. }
  401. /****************************************
  402. * Overwrite 3d Party MiniColors plug-in
  403. ****************************************/
  404. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  405. top: 6px;
  406. left: 6px;
  407. width: 25px;
  408. width: 1.5625rem;
  409. height: 25px;
  410. height: 1.5625rem;
  411. border-radius: 20px;
  412. border-radius: 1.25rem;
  413. }
  414. /* auto-siggestion input */
  415. .bx-form-value .bx-form-input-autotoken {
  416. float:left;
  417. padding:0px;
  418. height:auto;
  419. box-shadow: none;
  420. }
  421. .bx-form-value .bx-form-input-autotoken b {
  422. cursor:pointer;
  423. display:block;
  424. float:left;
  425. line-height: 40px;
  426. line-height: 2.5rem;
  427. padding-right: 1.5em;
  428. margin-left:0.1em;
  429. margin-right:0.1em;
  430. font-weight:normal;
  431. border-radius: 1.25rem;
  432. }
  433. .bx-form-value .bx-form-input-autotoken b:hover {
  434. opacity:0.7;
  435. }
  436. .bx-form-value .bx-form-input-autotoken b:after {
  437. font-family: 'sys-user';
  438. content: "\f00d";
  439. position:absolute;
  440. padding:0 0.5em;
  441. margin-left: 0.5em;
  442. font-size:0.7em;
  443. font-weight:bold;
  444. }
  445. .bx-form-value .bx-form-input-autotoken input {
  446. border:0;
  447. margin:0;
  448. padding:0 0 0 5px;
  449. width:auto;
  450. float:left;
  451. }
  452. .bx-form-value .bx-form-input-autotoken .bx-def-thumb-size {
  453. width: 2.5rem;
  454. height: 2.5rem;
  455. line-height: 2.5rem;
  456. float:left;
  457. }
  458. .bx-form-value .bx-form-input-autotoken .bx-base-pofile-unit-wo-info {
  459. display: inline-block;
  460. vertical-align: middle;
  461. margin-right: 8px;
  462. margin-right: 0.5rem;
  463. }