forms.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  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. }
  229. .bx-form-input-file {
  230. position: fixed;
  231. top: -1000px;
  232. border: none;
  233. background-color: transparent;
  234. }
  235. .bx-form-input-wrapper-slider,
  236. .bx-form-input-wrapper-doublerange {
  237. position:relative;
  238. }
  239. .bx-form-input-wrapper-slider .ui-slider,
  240. .bx-form-input-wrapper-doublerange .ui-slider {
  241. position:absolute;
  242. top:0px;
  243. right:0px;
  244. }
  245. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  246. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  247. z-index: 1;
  248. }
  249. /* price */
  250. .bx-form-element .bx-form-value .bx-form-input-wrapper-price {
  251. display: -webkit-flex;
  252. display: flex;
  253. -webkit-align-items: stretch;
  254. align-items: stretch;
  255. }
  256. .bx-form-element .bx-form-value .bx-form-input-wrapper-price span {
  257. display: -webkit-flex;
  258. display: flex;
  259. -webkit-align-items: center;
  260. align-items: center;
  261. width: auto;
  262. border-right-width: 0;
  263. border-top-right-radius: 0;
  264. border-bottom-right-radius: 0;
  265. }
  266. .bx-form-input-wrapper-price span {
  267. background-color: rgba(249, 250, 251, 1.0);
  268. }
  269. .bx-form-element .bx-form-value .bx-form-input-price:not(:first-child) {
  270. border-top-left-radius: 0;
  271. border-bottom-left-radius: 0;
  272. }
  273. /* privacy group chooser */
  274. .bx-form-input-wrapper-pgc {
  275. position: relative;
  276. }
  277. .bx-form-input-pgc {
  278. position: absolute;
  279. display: -webkit-flex;
  280. display: flex;
  281. -webkit-align-items: center;
  282. align-items: center;
  283. -webkit-justify-content: center;
  284. justify-content: center;
  285. top: -1.375rem;
  286. right: 0;
  287. width: 1rem;
  288. height: 1rem;
  289. }
  290. .bx-form-input-pgc-popup .bx-form-input-wrapper-input_set {
  291. display: -webkit-flex;
  292. display: flex;
  293. -webkit-flex-wrap: nowrap;
  294. flex-wrap: nowrap;
  295. -webkit-align-items: center;
  296. align-items: center;
  297. }
  298. /* help popup */
  299. .bx-form-input-help-popup {
  300. max-width: 25rem;
  301. max-height: 25rem;
  302. overflow: auto;
  303. }
  304. /* switcher */
  305. .bx-switcher-cont {
  306. position:relative;
  307. box-sizing: content-box;
  308. width:60px;
  309. width:3.8rem;
  310. height:24px;
  311. height:1.5rem;
  312. overflow:hidden;
  313. cursor:pointer;
  314. background-color:#fff;
  315. border:2px solid #79bd9a;
  316. border:0.125rem solid #79bd9a;
  317. -moz-border-radius: 1rem;
  318. -webkit-border-radius: 1rem;
  319. border-radius: 1rem;
  320. }
  321. .bx-switcher-cont input {
  322. position:absolute;
  323. top:-32px;
  324. top:-2rem;
  325. }
  326. .bx-switcher-canvas {
  327. position:relative;
  328. width:90px;
  329. width:5.7rem;
  330. -webkit-transition: left 0.2s ease-in-out;
  331. -moz-transition: left 0.2s ease-in-out;
  332. -ms-transition: left 0.2s ease-in-out;
  333. -o-transition: left 0.2s ease-in-out;
  334. }
  335. .bx-switcher-cont.on .bx-switcher-canvas {
  336. left:3px;
  337. left:0.2rem;
  338. }
  339. .bx-switcher-cont.off .bx-switcher-canvas {
  340. left:-34px;
  341. left:-2.1rem;
  342. }
  343. .bx-switcher-on,
  344. .bx-switcher-off,
  345. .bx-switcher-handler {
  346. position:absolute;
  347. top:0rem;
  348. line-height:24px;
  349. line-height:1.5rem;
  350. color:#999;
  351. }
  352. .bx-switcher-on {
  353. left:0rem;
  354. width:34px;
  355. width:2.1rem;
  356. height:24px;
  357. height:1.5rem;
  358. margin-left:8px;
  359. margin-left:0.5rem;
  360. }
  361. .bx-switcher-off {
  362. left:65px;
  363. left:4.05rem;
  364. width:34px;
  365. width:2.1rem;
  366. height:24px;
  367. height:1.5rem;
  368. margin-left:3px;
  369. margin-left:0.2rem;
  370. }
  371. .bx-switcher-handler {
  372. left:36px;
  373. left:2.23rem;
  374. top:2px;
  375. top:0.13rem;
  376. width:20px;
  377. width:1.25rem;
  378. height:20px;
  379. height:1.25rem;
  380. margin:0rem;
  381. -moz-border-radius: 1rem;
  382. -webkit-border-radius: 1rem;
  383. border-radius: 1rem;
  384. -webkit-transition: background-color 0.2s ease-in-out;
  385. -moz-transition: background-color 0.2s ease-in-out;
  386. -ms-transition: background-color 0.2s ease-in-out;
  387. -o-transition: background-color 0.2s ease-in-out;
  388. transition: background-color 0.2s ease-in-out;
  389. }
  390. .bx-switcher-cont.on .bx-switcher-handler {
  391. background-color:#d0efa2;
  392. }
  393. .bx-switcher-cont.off .bx-switcher-handler {
  394. background-color:#e7938a;
  395. }
  396. .bx-form-element-wrapper-oneline .bx-form-element {
  397. display: -webkit-flex;
  398. display: flex;
  399. -webkit-flex-flow: row nowrap;
  400. flex-flow: row nowrap;
  401. -webkit-align-items: flex-start;
  402. align-items: flex-start;
  403. -webkit-justify-content: flex-start;
  404. justify-content: flex-start;
  405. }
  406. .bx-form-value-oneline,
  407. .bx-form-caption-oneline {
  408. float: none;
  409. }
  410. .bx-form-caption-oneline-switcher {
  411. line-height:26px;
  412. }
  413. .bx-form-input-wrapper-submit .bx-btn {
  414. float: none;
  415. }
  416. .bx-form-input-wrapper-input_set .bx-btn {
  417. float:left;
  418. }
  419. /* extra features */
  420. .bx-form-right-line-aligned {
  421. float:right;
  422. margin-top: 5px;
  423. }
  424. /* view mode */
  425. .bx-form-row-view-wrapper > div {
  426. position: relative;
  427. display: inline-block;
  428. width: 100%;
  429. vertical-align: bottom;
  430. white-space: normal;
  431. text-overflow: ellipsis;
  432. overflow: hidden;
  433. }
  434. .bx-form-row-view-ratevalue{
  435. display: flex !important;
  436. justify-content: flex-start;
  437. }
  438. .bx-form-row-view-ratevalue .bx-form-row-view-value{
  439. flex-grow: 2;
  440. }
  441. .bx-form-row-view-wrapper-textarea > div {
  442. vertical-align:top;
  443. }
  444. .bx-form-row-view-caption {
  445. font-weight:bold;
  446. }
  447. /****************************************
  448. * Custom reCaptcha Theme
  449. ****************************************/
  450. .bx-form-input-captcha-custom {
  451. background-color: #b71800;
  452. padding: 0.5em;
  453. border-radius: 1em;
  454. position: relative;
  455. overflow: auto;
  456. max-width: 480px;
  457. font: 0.75em/1em Helvetica, Arial, sans-serif;
  458. color: #ffffff;
  459. }
  460. .bx-form-input-captcha-custom a {
  461. color: #ffffff;
  462. text-decoration: none;
  463. }
  464. .bx-form-input-captcha-custom img,
  465. .bx-form-input-captcha-custom #recaptcha_image {
  466. width: 100% !important;
  467. height: auto !important;
  468. -webkit-border-radius: 0.5em;
  469. -moz-border-radius: 0.5em;
  470. border-radius: 0.5em;
  471. -moz-background-clip: padding;
  472. -webkit-background-clip: padding-box;
  473. background-clip: padding-box;
  474. }
  475. .bx-form-input-captcha-custom .solution {
  476. position: relative;
  477. float: left;
  478. width: 75%;
  479. }
  480. .bx-form-input-captcha-custom .solution-cnt {
  481. margin-top: 0.5em;
  482. padding: 1.2em 1em;
  483. -webkit-border-radius: 0.5em;
  484. -moz-border-radius: 0.5em;
  485. border-radius: 0.5em;
  486. -moz-background-clip: padding;
  487. -webkit-background-clip: padding-box;
  488. background-clip: padding-box;
  489. background-color: #fbe098;
  490. color: #000000;
  491. display: block;
  492. }
  493. .bx-form-input-captcha-custom .solution-cnt input {
  494. display: block;
  495. width: calc(90% - 2px);
  496. margin: 0.35em auto;
  497. -webkit-appereance: none;
  498. border: 1px solid #f7c236;
  499. font: inherit;
  500. font-size: 150%;
  501. outline: none;
  502. }
  503. .bx-form-input-captcha-custom .solution-cnt input:focus {
  504. border-color: #b71800;
  505. }
  506. .bx-form-input-captcha-custom .options {
  507. position: relative;
  508. float: right;
  509. width: 25%;
  510. }
  511. .bx-form-input-captcha-custom .options-cnt {
  512. margin-top: 0.5em;
  513. padding-left: 0.5em;
  514. -webkit-border-radius: 0.5em;
  515. -moz-border-radius: 0.5em;
  516. border-radius: 0.5em;
  517. -moz-background-clip: padding;
  518. -webkit-background-clip: padding-box;
  519. background-clip: padding-box;
  520. }
  521. .bx-form-input-captcha-custom .options-cnt a {
  522. background-color: #c5523d;
  523. display: block;
  524. padding: 0.5em 1.0em;
  525. border-top: 1px solid #000000;
  526. border-left: 1px solid #000000;
  527. border-right: 1px solid #000000;
  528. }
  529. .bx-form-input-captcha-custom .options-cnt a:first-child {
  530. border-radius: 0.5em 0.5em 0 0;
  531. }
  532. .bx-form-input-captcha-custom .options-cnt a:last-child {
  533. border-radius: 0 0 0.5em 0.5em;
  534. border-bottom: 1px solid #000000;
  535. }
  536. /****************************************
  537. * Overwrite 3d Party MiniColors plug-in
  538. ****************************************/
  539. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  540. top: 6px;
  541. left: 6px;
  542. width: 25px;
  543. width: 1.5625rem;
  544. height: 25px;
  545. height: 1.5625rem;
  546. border-radius: 20px;
  547. border-radius: 1.25rem;
  548. }
  549. /* auto-siggestion input */
  550. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) {
  551. float:left;
  552. padding:0px;
  553. height:auto;
  554. box-shadow: none;
  555. min-height: 2.8rem;
  556. }
  557. .bx-form-value .bx-form-input-autotoken b {
  558. cursor:pointer;
  559. display:block;
  560. float:left;
  561. line-height: 40px;
  562. line-height: 2.5rem;
  563. padding-right: 1.5em;
  564. margin-left:0.1em;
  565. margin-right:0.1em;
  566. font-weight:normal;
  567. border-radius: 1.25rem;
  568. }
  569. .bx-form-value .bx-form-input-autotoken b.val-wo-icon {
  570. padding-left: 1.5em;
  571. }
  572. .bx-form-value .bx-form-input-autotoken b:hover {
  573. opacity:0.7;
  574. }
  575. .bx-form-value .bx-form-input-autotoken b:after {
  576. font-family: 'sys-user', 'sys-user-fal';
  577. content: "\f00d";
  578. position:absolute;
  579. padding:0 0.5em;
  580. margin-left: 0.5em;
  581. font-size:0.7em;
  582. font-weight:bold;
  583. }
  584. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b {
  585. cursor: default;
  586. }
  587. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b:after{
  588. display: none;
  589. }
  590. .bx-form-value .bx-form-input-autotoken input {
  591. border:0;
  592. margin:0;
  593. padding:0 0 0 5px;
  594. width:auto;
  595. float:left;
  596. box-shadow: none;
  597. }
  598. .bx-form-value .bx-form-input-autotoken .bx-def-thumb-size {
  599. width: 2.5rem;
  600. height: 2.5rem;
  601. line-height: 2.5rem;
  602. float:left;
  603. }
  604. .bx-form-value .bx-form-input-autotoken .bx-base-pofile-unit-wo-info {
  605. display: inline-block;
  606. vertical-align: middle;
  607. margin-right: 8px;
  608. margin-right: 0.5rem;
  609. }
  610. .bx-form-value .bx-form-input-labels-sel b {
  611. display:inline-block;
  612. line-height:1.5rem;
  613. font-size:85%;
  614. padding-right:1em;
  615. margin-top:0.625rem;
  616. font-style:normal;
  617. }
  618. .bx-form-value .bx-form-input-labels-sel b:after {
  619. display:none;
  620. }
  621. .select2-container {
  622. width:100% !important;
  623. }
  624. /* Location field */
  625. .bx-form-input-location-country,
  626. .bx-form-input-location-zip,
  627. .bx-form-input-location-state,
  628. .bx-form-input-location-city {
  629. width:49%;
  630. }
  631. .bx-form-input-location-street {
  632. width:83%;
  633. }
  634. .bx-form-input-location-street_number {
  635. width:15%;
  636. }
  637. .bx-form-input-location-street_number,
  638. .bx-form-input-location-street,
  639. .bx-form-input-location-state,
  640. .bx-form-input-location-city {
  641. margin-bottom:0.25rem;
  642. }
  643. .bx-form-input-location-cont .bx-form-input-location-status-cont {
  644. float:none;
  645. width:98%;
  646. line-height:normal;
  647. }
  648. .bx-form-input-location-status {
  649. float:left;
  650. }
  651. .bx-form-input-location-copyright {
  652. float:right;
  653. }
  654. .bx-form-input-location-auto-cont {
  655. display:table;
  656. }
  657. .bx-form-input-location-auto-cont > div {
  658. display:table-cell;
  659. vertical-align:middle;
  660. }