forms.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  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-header span {
  35. white-space: nowrap;
  36. text-transform: none;
  37. font-size: 0.75rem;
  38. }
  39. .bx-form-section-hidden .bx-form-section-content {
  40. display:none;
  41. }
  42. .bx-form-caption {
  43. margin-bottom:5px;
  44. }
  45. .bx-form-required {
  46. color:red;
  47. }
  48. .bx-form-warn {
  49. color:red;
  50. font-style:italic;
  51. }
  52. .bx-form-info {
  53. }
  54. /* section toggler */
  55. .bx-form-collapsable .bx-form-section-toggler {
  56. position:absolute;
  57. left: -2px;
  58. top: 2px;
  59. width:20px;
  60. height:20px;
  61. text-decoration:none;
  62. -moz-transform: rotate(90deg);
  63. -webkit-transform: rotate(90deg);
  64. -ms-transform: rotate(90deg);
  65. -o-transform: rotate(90deg);
  66. -webkit-transition: all 0.5s ease;
  67. -moz-transition: all 0.5s ease;
  68. -ms-transition: all 0.5s ease;
  69. -o-transition: all 0.5s ease;
  70. }
  71. .bx-form-collapsed .bx-form-section-toggler {
  72. -moz-transform: rotate(0deg);
  73. -webkit-transform: rotate(0deg);
  74. -ms-transform: rotate(0deg);
  75. -o-transform: rotate(0deg);
  76. }
  77. .bx-form-section-toggler .sys-icon {
  78. display: inline-block;
  79. vertical-align: top;
  80. margin: 0 0 0 5px;
  81. font-size:0.875rem;
  82. line-height:1.2rem;
  83. }
  84. /* form inputs */
  85. .bx-form-input-wrapper {
  86. position: relative;
  87. }
  88. .bx-form-input-disabled {}
  89. .bx-form-input-slider,
  90. .bx-form-input-doublerange,
  91. .bx-form-input-select_multiple,
  92. .bx-form-input-select,
  93. .bx-form-input-radio_set,
  94. .bx-form-input-checkbox_set,
  95. .bx-form-input-number,
  96. .bx-form-input-time,
  97. .bx-form-input-datepicker,
  98. .bx-form-input-datetime,
  99. .bx-form-input-textarea,
  100. .bx-form-input-wrapper-password,
  101. .bx-form-input-text,
  102. .bx-form-input-price,
  103. .bx-form-input-wrapper-price span {
  104. height:40px;
  105. height:2.5rem;
  106. width:100%;
  107. -moz-box-sizing: border-box;
  108. -ms-box-sizing: border-box;
  109. -webkit-box-sizing: border-box;
  110. box-sizing: border-box;
  111. -webkit-appearance: none;
  112. -moz-appearance: none;
  113. appearance: none;
  114. padding:7px 3px 7px 3px;
  115. padding:0.2rem 0.4rem;
  116. vertical-align:middle;
  117. border:2px solid #79bd9a;
  118. border:0.125rem solid #79bd9a;
  119. -webkit-border-radius:0.3rem;
  120. -moz-border-radius:0.3rem;
  121. border-radius:0.3rem;
  122. outline:none;
  123. background-color: #fff;
  124. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  125. filter: alpha(opacity=90);
  126. -moz-opacity: 0.9;
  127. -khtml-opacity: 0.9;
  128. opacity: 0.9;
  129. }
  130. .bx-form-input-slider:focus,
  131. .bx-form-input-doublerange:focus,
  132. .bx-form-input-number:focus,
  133. .bx-form-input-time:focus,
  134. .bx-form-input-datepicker:focus,
  135. .bx-form-input-datetime:focus,
  136. .bx-form-input-textarea:focus,
  137. .bx-form-input-text:focus,
  138. .bx-form-input-price:focus,
  139. .bx-form-input-wrapper-password.bx-form-input-focus {
  140. border-color:#6caa8a;
  141. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  142. filter: alpha(opacity=100);
  143. -moz-opacity: 1.0;
  144. -khtml-opacity: 1.0;
  145. opacity: 1.0;
  146. -webkit-transition: all 0.2s linear;
  147. -moz-transition: all 0.2s linear;
  148. -o-transition: all 0.2s linear;
  149. transition: all 0.2s linear;
  150. }
  151. .bx-form-input-wrapper-password {
  152. padding: 0 2.125rem 0 0;
  153. }
  154. .bx-form-input-wrapper-password > a {
  155. position: absolute;
  156. z-index: 1000;
  157. display: -webkit-flex;
  158. display: flex;
  159. -webkit-align-items: center;
  160. align-items: center;
  161. -webkit-justify-content: center;
  162. justify-content: center;
  163. top: 0;
  164. right: 0;
  165. height: 100%;
  166. margin: 0 0.5rem;
  167. }
  168. .bx-form-input-password {
  169. position: relative;
  170. -moz-box-sizing: border-box;
  171. -ms-box-sizing: border-box;
  172. -webkit-box-sizing: border-box;
  173. box-sizing: border-box;
  174. width: 100%;
  175. height: 100%;
  176. margin: 0;
  177. padding: 7px 3px 7px 3px;
  178. padding: 0.2rem 0.4rem;
  179. border: 0;
  180. background-color: transparent;
  181. }
  182. .bx-form-input-password:focus {
  183. border-color: transparent;
  184. outline: none;
  185. box-shadow: none;
  186. }
  187. .bx-form-input-select_multiple,
  188. .bx-form-input-radio_set,
  189. .bx-form-input-checkbox_set {
  190. height:auto;
  191. }
  192. .bx-form-value .bx-form-input-radio_set,
  193. .bx-form-value .bx-form-input-checkbox_set {
  194. line-height: 1.25;
  195. }
  196. .bx-form-value .bx-form-input-radio_set label,
  197. .bx-form-value .bx-form-input-checkbox_set label {
  198. padding-left: 0.25rem;
  199. }
  200. .bx-form-input-textarea {
  201. padding:0.5rem;
  202. height:150px;
  203. height:10rem;
  204. line-height:normal;
  205. }
  206. .bx-form-input-datepicker {
  207. width:7.5rem;
  208. }
  209. .bx-form-input-wrapper-dateselect select{
  210. min-width:70px;
  211. }
  212. .bx-form-input-wrapper-dateselect select.month{
  213. min-width:120px;
  214. }
  215. .bx-form-input-datetime {
  216. width:10.2rem;
  217. }
  218. .bx-form-datepicker-modal {
  219. z-index:10001 !important;
  220. }
  221. .bx-form-input-number,
  222. .bx-form-input-time
  223. {
  224. width:6rem;
  225. }
  226. .bx-form-input-wrapper-file .bx-btn {
  227. float: none;
  228. display: inline-block;
  229. }
  230. .bx-form-input-file {
  231. position: fixed;
  232. top: -1000px;
  233. border: none;
  234. background-color: transparent;
  235. }
  236. .bx-form-input-wrapper-slider,
  237. .bx-form-input-wrapper-doublerange {
  238. position:relative;
  239. }
  240. .bx-form-input-wrapper-slider .ui-slider,
  241. .bx-form-input-wrapper-doublerange .ui-slider {
  242. position:absolute;
  243. top:0px;
  244. right:0px;
  245. }
  246. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  247. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  248. z-index: 1;
  249. }
  250. /* price */
  251. .bx-form-element .bx-form-value .bx-form-input-wrapper-price {
  252. display: -webkit-flex;
  253. display: flex;
  254. -webkit-align-items: stretch;
  255. align-items: stretch;
  256. }
  257. .bx-form-element .bx-form-value .bx-form-input-wrapper-price span {
  258. display: -webkit-flex;
  259. display: flex;
  260. -webkit-align-items: center;
  261. align-items: center;
  262. width: auto;
  263. border-right-width: 0;
  264. border-top-right-radius: 0;
  265. border-bottom-right-radius: 0;
  266. }
  267. .bx-form-input-wrapper-price span {
  268. background-color: rgba(249, 250, 251, 1.0);
  269. }
  270. .bx-form-element .bx-form-value .bx-form-input-price:not(:first-child) {
  271. border-top-left-radius: 0;
  272. border-bottom-left-radius: 0;
  273. }
  274. /* privacy group chooser */
  275. .bx-form-input-wrapper-pgc {
  276. position: relative;
  277. }
  278. .bx-form-input-pgc {
  279. position: absolute;
  280. display: -webkit-flex;
  281. display: flex;
  282. -webkit-align-items: center;
  283. align-items: center;
  284. -webkit-justify-content: center;
  285. justify-content: center;
  286. top: -1.375rem;
  287. right: 0;
  288. width: 1rem;
  289. height: 1rem;
  290. }
  291. .bx-form-input-pgc-popup .bx-form-input-wrapper-input_set {
  292. display: -webkit-flex;
  293. display: flex;
  294. -webkit-flex-wrap: nowrap;
  295. flex-wrap: nowrap;
  296. -webkit-align-items: center;
  297. align-items: center;
  298. }
  299. /* help popup */
  300. .bx-form-input-help-popup {
  301. max-width: 25rem;
  302. max-height: 25rem;
  303. overflow: auto;
  304. }
  305. /* switcher */
  306. .bx-switcher-cont {
  307. position:relative;
  308. box-sizing: content-box;
  309. width:60px;
  310. width:3.8rem;
  311. height:24px;
  312. height:1.5rem;
  313. overflow:hidden;
  314. cursor:pointer;
  315. background-color:#fff;
  316. border:2px solid #79bd9a;
  317. border:0.125rem solid #79bd9a;
  318. -moz-border-radius: 1rem;
  319. -webkit-border-radius: 1rem;
  320. border-radius: 1rem;
  321. }
  322. .bx-switcher-cont input {
  323. position:absolute;
  324. top:-32px;
  325. top:-2rem;
  326. }
  327. .bx-switcher-canvas {
  328. position:relative;
  329. width:90px;
  330. width:5.7rem;
  331. -webkit-transition: left 0.2s ease-in-out;
  332. -moz-transition: left 0.2s ease-in-out;
  333. -ms-transition: left 0.2s ease-in-out;
  334. -o-transition: left 0.2s ease-in-out;
  335. }
  336. .bx-switcher-cont.on .bx-switcher-canvas {
  337. left:3px;
  338. left:0.2rem;
  339. }
  340. .bx-switcher-cont.off .bx-switcher-canvas {
  341. left:-34px;
  342. left:-2.1rem;
  343. }
  344. .bx-switcher-on,
  345. .bx-switcher-off,
  346. .bx-switcher-handler {
  347. position:absolute;
  348. top:0rem;
  349. line-height:24px;
  350. line-height:1.5rem;
  351. color:#999;
  352. }
  353. .bx-switcher-on {
  354. left:0rem;
  355. width:34px;
  356. width:2.1rem;
  357. height:24px;
  358. height:1.5rem;
  359. margin-left:8px;
  360. margin-left:0.5rem;
  361. }
  362. .bx-switcher-off {
  363. left:65px;
  364. left:4.05rem;
  365. width:34px;
  366. width:2.1rem;
  367. height:24px;
  368. height:1.5rem;
  369. margin-left:3px;
  370. margin-left:0.2rem;
  371. }
  372. .bx-switcher-handler {
  373. left:36px;
  374. left:2.23rem;
  375. top:2px;
  376. top:0.13rem;
  377. width:20px;
  378. width:1.25rem;
  379. height:20px;
  380. height:1.25rem;
  381. margin:0rem;
  382. -moz-border-radius: 1rem;
  383. -webkit-border-radius: 1rem;
  384. border-radius: 1rem;
  385. -webkit-transition: background-color 0.2s ease-in-out;
  386. -moz-transition: background-color 0.2s ease-in-out;
  387. -ms-transition: background-color 0.2s ease-in-out;
  388. -o-transition: background-color 0.2s ease-in-out;
  389. transition: background-color 0.2s ease-in-out;
  390. }
  391. .bx-switcher-cont.on .bx-switcher-handler {
  392. background-color:#d0efa2;
  393. }
  394. .bx-switcher-cont.off .bx-switcher-handler {
  395. background-color:#e7938a;
  396. }
  397. .bx-form-element-wrapper-oneline .bx-form-element {
  398. display: -webkit-flex;
  399. display: flex;
  400. -webkit-flex-flow: row nowrap;
  401. flex-flow: row nowrap;
  402. -webkit-align-items: flex-start;
  403. align-items: flex-start;
  404. -webkit-justify-content: flex-start;
  405. justify-content: flex-start;
  406. }
  407. .bx-form-value-oneline,
  408. .bx-form-caption-oneline {
  409. float: none;
  410. }
  411. .bx-form-caption-oneline-switcher {
  412. line-height:26px;
  413. }
  414. .bx-form-input-wrapper-submit .bx-btn {
  415. float: none;
  416. }
  417. .bx-form-input-wrapper-input_set .bx-btn {
  418. float:left;
  419. }
  420. /* extra features */
  421. .bx-form-right-line-aligned {
  422. float:right;
  423. margin-top: 5px;
  424. }
  425. /* view mode */
  426. .bx-form-row-view-wrapper > div {
  427. position: relative;
  428. display: inline-block;
  429. width: 100%;
  430. vertical-align: bottom;
  431. white-space: normal;
  432. text-overflow: ellipsis;
  433. overflow: hidden;
  434. }
  435. .bx-form-row-view-ratevalue{
  436. display: flex !important;
  437. justify-content: flex-start;
  438. }
  439. .bx-form-row-view-ratevalue .bx-form-row-view-value{
  440. flex-grow: 2;
  441. }
  442. .bx-form-row-view-wrapper-textarea > div {
  443. vertical-align:top;
  444. }
  445. .bx-form-row-view-caption {
  446. font-weight:bold;
  447. }
  448. /****************************************
  449. * Custom reCaptcha Theme
  450. ****************************************/
  451. .bx-form-input-captcha-custom {
  452. background-color: #b71800;
  453. padding: 0.5em;
  454. border-radius: 1em;
  455. position: relative;
  456. overflow: auto;
  457. max-width: 480px;
  458. font: 0.75em/1em Helvetica, Arial, sans-serif;
  459. color: #ffffff;
  460. }
  461. .bx-form-input-captcha-custom a {
  462. color: #ffffff;
  463. text-decoration: none;
  464. }
  465. .bx-form-input-captcha-custom img,
  466. .bx-form-input-captcha-custom #recaptcha_image {
  467. width: 100% !important;
  468. height: auto !important;
  469. -webkit-border-radius: 0.5em;
  470. -moz-border-radius: 0.5em;
  471. border-radius: 0.5em;
  472. -moz-background-clip: padding;
  473. -webkit-background-clip: padding-box;
  474. background-clip: padding-box;
  475. }
  476. .bx-form-input-captcha-custom .solution {
  477. position: relative;
  478. float: left;
  479. width: 75%;
  480. }
  481. .bx-form-input-captcha-custom .solution-cnt {
  482. margin-top: 0.5em;
  483. padding: 1.2em 1em;
  484. -webkit-border-radius: 0.5em;
  485. -moz-border-radius: 0.5em;
  486. border-radius: 0.5em;
  487. -moz-background-clip: padding;
  488. -webkit-background-clip: padding-box;
  489. background-clip: padding-box;
  490. background-color: #fbe098;
  491. color: #000000;
  492. display: block;
  493. }
  494. .bx-form-input-captcha-custom .solution-cnt input {
  495. display: block;
  496. width: calc(90% - 2px);
  497. margin: 0.35em auto;
  498. -webkit-appereance: none;
  499. border: 1px solid #f7c236;
  500. font: inherit;
  501. font-size: 150%;
  502. outline: none;
  503. }
  504. .bx-form-input-captcha-custom .solution-cnt input:focus {
  505. border-color: #b71800;
  506. }
  507. .bx-form-input-captcha-custom .options {
  508. position: relative;
  509. float: right;
  510. width: 25%;
  511. }
  512. .bx-form-input-captcha-custom .options-cnt {
  513. margin-top: 0.5em;
  514. padding-left: 0.5em;
  515. -webkit-border-radius: 0.5em;
  516. -moz-border-radius: 0.5em;
  517. border-radius: 0.5em;
  518. -moz-background-clip: padding;
  519. -webkit-background-clip: padding-box;
  520. background-clip: padding-box;
  521. }
  522. .bx-form-input-captcha-custom .options-cnt a {
  523. background-color: #c5523d;
  524. display: block;
  525. padding: 0.5em 1.0em;
  526. border-top: 1px solid #000000;
  527. border-left: 1px solid #000000;
  528. border-right: 1px solid #000000;
  529. }
  530. .bx-form-input-captcha-custom .options-cnt a:first-child {
  531. border-radius: 0.5em 0.5em 0 0;
  532. }
  533. .bx-form-input-captcha-custom .options-cnt a:last-child {
  534. border-radius: 0 0 0.5em 0.5em;
  535. border-bottom: 1px solid #000000;
  536. }
  537. /****************************************
  538. * Overwrite 3d Party MiniColors plug-in
  539. ****************************************/
  540. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  541. top: 6px;
  542. left: 6px;
  543. width: 25px;
  544. width: 1.5625rem;
  545. height: 25px;
  546. height: 1.5625rem;
  547. border-radius: 20px;
  548. border-radius: 1.25rem;
  549. }
  550. /* auto-siggestion input */
  551. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) {
  552. float:left;
  553. padding:0px;
  554. height:auto;
  555. box-shadow: none;
  556. min-height: 2.8rem;
  557. }
  558. .bx-form-value .bx-form-input-autotoken b {
  559. cursor:pointer;
  560. display:block;
  561. float:left;
  562. line-height: 40px;
  563. line-height: 2.5rem;
  564. padding-right: 1.5em;
  565. margin-left:0.1em;
  566. margin-right:0.1em;
  567. font-weight:normal;
  568. border-radius: 1.25rem;
  569. }
  570. .bx-form-value .bx-form-input-autotoken b.val-wo-icon {
  571. padding-left: 1.5em;
  572. }
  573. .bx-form-value .bx-form-input-autotoken b:hover {
  574. opacity:0.7;
  575. }
  576. .bx-form-value .bx-form-input-autotoken b:after {
  577. font-family: 'sys-user', 'sys-user-fal';
  578. content: "\f00d";
  579. position:absolute;
  580. padding:0 0.5em;
  581. margin-left: 0.5em;
  582. font-size:0.7em;
  583. font-weight:bold;
  584. }
  585. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b {
  586. cursor: default;
  587. }
  588. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b:after{
  589. display: none;
  590. }
  591. .bx-form-value .bx-form-input-autotoken input {
  592. border:0;
  593. margin:0;
  594. padding:0 0 0 5px;
  595. width:auto;
  596. float:left;
  597. box-shadow: none;
  598. }
  599. .bx-form-value .bx-form-input-autotoken .bx-def-thumb-size {
  600. width: 2.5rem;
  601. height: 2.5rem;
  602. line-height: 2.5rem;
  603. float:left;
  604. }
  605. .bx-form-value .bx-form-input-autotoken .bx-base-pofile-unit-wo-info {
  606. display: inline-block;
  607. vertical-align: middle;
  608. margin-right: 8px;
  609. margin-right: 0.5rem;
  610. }
  611. .bx-form-value .bx-form-input-labels-sel b {
  612. display:inline-block;
  613. line-height:1.5rem;
  614. font-size:85%;
  615. padding-right:1em;
  616. margin-top:0.625rem;
  617. font-style:normal;
  618. }
  619. .bx-form-value .bx-form-input-labels-sel b:after {
  620. display:none;
  621. }
  622. .select2-container {
  623. width:100% !important;
  624. }
  625. /* Location field */
  626. .bx-form-input-location-country,
  627. .bx-form-input-location-zip,
  628. .bx-form-input-location-state,
  629. .bx-form-input-location-city {
  630. width:49%;
  631. }
  632. .bx-form-input-location-street {
  633. width:83%;
  634. }
  635. .bx-form-input-location-street_number {
  636. width:15%;
  637. }
  638. .bx-form-input-location-street_number,
  639. .bx-form-input-location-street,
  640. .bx-form-input-location-state,
  641. .bx-form-input-location-city {
  642. margin-bottom:0.25rem;
  643. }
  644. .bx-form-input-location-cont .bx-form-input-location-status-cont {
  645. float:none;
  646. width:98%;
  647. line-height:normal;
  648. }
  649. .bx-form-input-location-status {
  650. float:left;
  651. }
  652. .bx-form-input-location-copyright {
  653. float:right;
  654. }
  655. .bx-form-input-location-auto-cont {
  656. display:table;
  657. }
  658. .bx-form-input-location-auto-cont > div {
  659. display:table-cell;
  660. vertical-align:middle;
  661. }